Apply choice patch for proper handling of clearing

wxChoice (it reported a selection value of 0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-12-06 12:47:06 +00:00
parent 6372b068b2
commit 16edee16a7
4 changed files with 104 additions and 0 deletions

View File

@@ -104,6 +104,10 @@ private:
// allocate it if it's needed (hence using pointer)
wxSortedArrayString *m_strings;
// this circumvents a GTK+ 2.0 bug so that the selection is
// invalidated properly
int m_selection_hack;
DECLARE_DYNAMIC_CLASS(wxChoice)
};