Improve wxListBox::GetCountPerPage() in wxGTK and wxOSX

Provide native implementation of this function instead of using the ad hoc one
in common code, which didn't really work -- so remove it completely now.

Closes #17189.
This commit is contained in:
Andreas Falkenhahn
2017-04-07 00:04:20 +02:00
committed by Vadim Zeitlin
parent accf7ab117
commit e77cb6f31f
9 changed files with 55 additions and 37 deletions

View File

@@ -301,7 +301,9 @@ public:
Return the number of items that can fit vertically in the visible area of
the listbox.
Returns -1 if the number of items per page couldn't be determined.
Returns -1 if the number of items per page couldn't be determined. On
wxGTK this method can only determine the number of items per page if
there is at least one item in the listbox.
@since 3.1.0
*/