]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
due to a typo in #if condition, validation was disabled for wizard pages -- fixed now
[wxWidgets.git] / include / wx / gtk1 / choice.h
index 8732297d191c78eaee4d0431f9ac841f75806e73..d2b9f17600a0cdc2fa5184fad0ad368b3840e264 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_BASE wxArrayString;
 // wxChoice
 //-----------------------------------------------------------------------------
 
-class wxChoice : public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase
 {
 public:
     wxChoice();
@@ -104,6 +104,12 @@ private:
     // 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)
 };