On Mon, 28 May 2012 16:01:41 +0200 Fulvio Senore wrote:
FS> I did not test it because the docs write:
FS>
FS> "Note that this function only works in the icon and small icon views,
FS> not in list or report views (this is a limitation of the native Win32
FS> control)."
Sorry, I forgot about this.
It looks like you need to manually query the main window for its size
then. This is definitely ugly, we should do something about it... But
making GetClientSize() of wxListCtrl itself lie about its size will
probably result in its own problems. You could try forwarding it to
wxListMainWindow and see what happens though.