1. listbox sample fixed, now seems to work more or less (except for wxSizer problem)
2. wxRadioBox lays out items correctly 3. wxListBox::DoInsertItems() refreshes correctly 4. list box scrollbars are now refreshed correctly too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -200,6 +200,12 @@ protected:
|
||||
virtual void DoDrawRange(wxControlRenderer *renderer,
|
||||
int itemFirst, int itemLast);
|
||||
|
||||
// update (show/hide/adjust) the scrollbars
|
||||
void UpdateScrollbars();
|
||||
|
||||
// refresh the items specified by m_updateCount and m_updateFrom
|
||||
void UpdateItems();
|
||||
|
||||
// the array containing all items (it is sorted if the listbox has
|
||||
// wxLB_SORT style)
|
||||
wxArrayString m_strings;
|
||||
@@ -228,6 +234,10 @@ private:
|
||||
// the maximal width of a listbox item
|
||||
wxCoord m_maxWidth;
|
||||
|
||||
// the extents of horz and vert scrollbars
|
||||
int m_scrollRangeX,
|
||||
m_scrollRangeY;
|
||||
|
||||
// the number of items per page
|
||||
size_t m_itemsPerPage;
|
||||
|
||||
|
Reference in New Issue
Block a user