[wxPython] GetCountPerPage()

When will the ListCtrl's GetCountPerPage() give the correct value?
It seems that GetCountPerPage() can only give the right value after the
list ctrl has been filled.

Thanks,
thomas

When will the ListCtrl's GetCountPerPage() give the correct value?
It seems that GetCountPerPage() can only give the right value after the
list ctrl has been filled.

On MSW it is just a simple wrapper for ListView_GetCountPerPage API, and
MSDN says this about it, "Returns the number of fully visible items if
successful." The generic listctrl looks like it conforms a bit more to the
docs. You can enter a bug report about this inconsistency (or submit a
patch) at Sourceforge.

ยทยทยท

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