I looked at the MSW (is that what you use?) C++ code for the
wxListCtrl and I see that it automatically sets the control to show
the icons for each item.

I think the best you can do is to make your own blank image using a
wxBitmap and wxMemoryDC (see scribble.wx.lua) or find an inoffensive
icon to use, maybe a small bullet.

Regards,
    John

On Dec 1, 2007 5:35 AM, Attila <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I am using a wxImageList with four icon, the second and the third is an up
> and down arrow, which are added to a listview's column, when ordered (I
> see it on the samples -> bindings.wx.lua). My problem is when I used
> mylistview:SetImageList(myimagelist), the first icon appears on the items
> too. I want to use these arrows just in the column headers, but on the
> listitems not. I am setting now the image to -1 for each element, but an
> 'empty' icon still appears. Is there a way to don't add image to the
> items, but to the columns yes?
> Best regards: Attila
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> wxlua-users mailing list
> wxlua-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to