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

@@ -75,6 +75,7 @@ public:
virtual void EnsureVisible(int n) wxOVERRIDE;
virtual int GetTopItem() const wxOVERRIDE;
virtual int GetCountPerPage() const wxOVERRIDE;
virtual void Update() wxOVERRIDE;