wxListCtrl, virtual + icon, not in report mode

I'm making an application to manage pictures with wxpython (http://jbrout.online.fr)
i've developped on windows with wxpython 2.4.2.4 : it works like a charm
i try to port it to gnu/linux (same wxpython)

but i've got a big problem

under win32, i'm able to setup a wxListCtrl with VIRTUAL + ICON (no report mode!) ... it works well
but refuse to be filled on linux ...

when i read the doc, it seems that VIRTUAL should be set with REPORT mode
so i tried to set style VIRTUAL+REPORT : it works better
but i don't want the report mode ... i want a list of icons ... in a virtual listctrl
is there a way to do that, under linux ? (should i switch to wxpython 2.5 ?)

manatlan a écrit :

I'm making an application to manage pictures with wxpython (http://jbrout.online.fr)
i've developped on windows with wxpython 2.4.2.4 : it works like a charm
i try to port it to gnu/linux (same wxpython)

but i've got a big problem

under win32, i'm able to setup a wxListCtrl with VIRTUAL + ICON (no report mode!) ... it works well
but refuse to be filled on linux ...

when i read the doc, it seems that VIRTUAL should be set with REPORT mode
so i tried to set style VIRTUAL+REPORT : it works better
but i don't want the report mode ... i want a list of icons ... in a virtual listctrl
is there a way to do that, under linux ? (should i switch to wxpython 2.5 ?)

do i understand that, in linux, it's not possible to do a wxListCtrl with VIRTUAL + ICON and no report mode ?! (and cancel the port of my apps to linux ?)

manatlan wrote:

I'm making an application to manage pictures with wxpython (http://jbrout.online.fr)
i've developped on windows with wxpython 2.4.2.4 : it works like a charm
i try to port it to gnu/linux (same wxpython)

but i've got a big problem

under win32, i'm able to setup a wxListCtrl with VIRTUAL + ICON (no report mode!) ... it works well
but refuse to be filled on linux ...

when i read the doc, it seems that VIRTUAL should be set with REPORT mode
so i tried to set style VIRTUAL+REPORT : it works better
but i don't want the report mode ... i want a list of icons ... in a virtual listctrl
is there a way to do that, under linux ? (should i switch to wxpython 2.5 ?)

No there is only support for REPORT+VIRTUAL in the generic ListCtrl. It could probably be made to work but nobody has done it yet.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!