]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
[wxWidgets.git] / include / wx / gtk1 / choice.h
index 70fea3819b4b8ff6a5081386a8f94f12d6ee9fe5..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,10 +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)
 };