]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
wxHTML classes description is now in alphabetical order
[wxWidgets.git] / include / wx / gtk1 / choice.h
index 796d625f4b9c94f6ca477a1fb3de50731947445e..7b95f490da0844fc5d391c22f1245596ad624f3b 100644 (file)
@@ -16,8 +16,6 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_CHOICE
-
 #include "wx/object.h"
 #include "wx/list.h"
 #include "wx/control.h"
@@ -32,7 +30,7 @@ class wxChoice;
 // global data
 //-----------------------------------------------------------------------------
 
-extern const char *wxChoiceNameStr;
+extern const wxChar *wxChoiceNameStr;
 
 //-----------------------------------------------------------------------------
 // wxChoice
@@ -40,8 +38,6 @@ extern const char *wxChoiceNameStr;
 
 class wxChoice : public wxControl
 {
-    DECLARE_DYNAMIC_CLASS(wxChoice)
-
 public:
     wxChoice();
     wxChoice( wxWindow *parent, wxWindowID id,
@@ -95,10 +91,14 @@ public:
     wxList   m_clientDataList;
     wxList   m_clientObjectList;
 
+    void DisableEvents();
+    void EnableEvents();
     void AppendCommon( const wxString &item );
     void ApplyWidgetStyle();
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxChoice)
 };
 
-#endif
 
 #endif // __GTKCHOICEH__