]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
fixes to static box borders calculations and significant code cleanup (finalizes...
[wxWidgets.git] / include / wx / gtk1 / choice.h
index 8732297d191c78eaee4d0431f9ac841f75806e73..a00f8258723c5d10e932ccb0c10f721de613fb8d 100644 (file)
@@ -104,6 +104,12 @@ private:
     // allocate it if it's needed (hence using pointer)
     wxSortedArrayString *m_strings;
 
     // allocate it if it's needed (hence using pointer)
     wxSortedArrayString *m_strings;
 
+public:
+    // this circumvents a GTK+ 2.0 bug so that the selection is 
+    // invalidated properly 
+    int m_selection_hack;
+
+private:
     DECLARE_DYNAMIC_CLASS(wxChoice)
 };
 
     DECLARE_DYNAMIC_CLASS(wxChoice)
 };