]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
[wxWidgets.git] / include / wx / gtk1 / choice.h
index da0b83c2887039eb5d883730bbf5e9f7daf7e764..7b95f490da0844fc5d391c22f1245596ad624f3b 100644 (file)
@@ -15,6 +15,7 @@
 #endif
 
 #include "wx/defs.h"
+
 #include "wx/object.h"
 #include "wx/list.h"
 #include "wx/control.h"
@@ -29,7 +30,7 @@ class wxChoice;
 // global data
 //-----------------------------------------------------------------------------
 
-extern const char *wxChoiceNameStr;
+extern const wxChar *wxChoiceNameStr;
 
 //-----------------------------------------------------------------------------
 // wxChoice
@@ -37,8 +38,6 @@ extern const char *wxChoiceNameStr;
 
 class wxChoice : public wxControl
 {
-    DECLARE_DYNAMIC_CLASS(wxChoice)
-
 public:
     wxChoice();
     wxChoice( wxWindow *parent, wxWindowID id,
@@ -92,8 +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 // __GTKCHOICEH__