1. many (minor) listbox fixes
2. scrollbar thumb now has min size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,8 +134,8 @@ public:
|
||||
// select or unselect the specified or current (if -1) item
|
||||
void Select(bool sel = TRUE, int item = -1);
|
||||
|
||||
// ensure that the current item is visible by scrolling it into view
|
||||
void EnsureVisible();
|
||||
// ensure that the given item is visible by scrolling it into view
|
||||
virtual void EnsureVisible(int n);
|
||||
|
||||
// find the first item after the current one which starts with the given
|
||||
// string and make it the current one, return TRUE if the current item
|
||||
@@ -175,7 +175,6 @@ protected:
|
||||
void Init();
|
||||
|
||||
// event handlers
|
||||
void OnChar(wxKeyEvent& event);
|
||||
void OnIdle(wxIdleEvent& event);
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
||||
@@ -202,6 +201,9 @@ protected:
|
||||
virtual void DoDrawRange(wxControlRenderer *renderer,
|
||||
int itemFirst, int itemLast);
|
||||
|
||||
// update the scrollbars and then ensure that the item is visible
|
||||
void DoEnsureVisible(int n);
|
||||
|
||||
// mark horz scrollbar for updating
|
||||
void RefreshHorzScrollbar();
|
||||
|
||||
|
Reference in New Issue
Block a user