wxListBox input handling works for single and multi selection ones (not
extended yet) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -123,6 +123,7 @@ public:
|
||||
// actions
|
||||
void Activate();
|
||||
void Select(bool sel = TRUE);
|
||||
void EnsureVisible();
|
||||
|
||||
// get, calculating it if necessary, the number of items per page and the
|
||||
// height of each line
|
||||
@@ -187,6 +188,15 @@ private:
|
||||
// the number of items per page
|
||||
size_t m_itemsPerPage;
|
||||
|
||||
// if the number of items has changed we may need to show/hide the
|
||||
// scrollbar
|
||||
bool m_updateScrollbar,
|
||||
m_showScrollbar;
|
||||
|
||||
// if the current item has changed, we might need to scroll if it went out
|
||||
// of the window
|
||||
bool m_currentChanged;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxListBox)
|
||||
};
|
||||
|
Reference in New Issue
Block a user