Applied patch for wxComboBox and wxListBox to
prevent "hanging" in single selection mode. Also removed call to AddPendingEvent and changed wxLB_EXTENDED mode so that no changes to the listbox go unnoticed. I do wonder what the difference between multiple and extended list boxes actually are. Not suer what I changed in the other files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,6 +114,7 @@ public:
|
||||
bool m_alreadySent;
|
||||
wxList m_clientDataList;
|
||||
wxList m_clientObjectList;
|
||||
int m_prevSelection;
|
||||
|
||||
void DisableEvents();
|
||||
void EnableEvents();
|
||||
|
@@ -96,6 +96,7 @@ public:
|
||||
bool m_hasCheckBoxes;
|
||||
#endif // wxUSE_CHECKLISTBOX
|
||||
|
||||
int m_prevSelection;
|
||||
protected:
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
|
Reference in New Issue
Block a user