]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
split wxBase into wxBase and wxNet libraries
[wxWidgets.git] / include / wx / control.h
index 9493c91e48f09ef3160e38219641d03d77f87903..901615d51edec66ad3b88485c8b2c78e53a39e10 100644 (file)
@@ -20,6 +20,8 @@
     #pragma interface "controlbase.h"
 #endif
 
+#include "wx/defs.h"
+
 #if wxUSE_CONTROLS
 
 #include "wx/window.h"      // base class
@@ -33,6 +35,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
 class WXDLLEXPORT wxControlBase : public wxWindow
 {
 public:
+    wxControlBase() { }
+
     virtual ~wxControlBase();
 
     // Create() function adds the validator parameter
@@ -66,6 +70,8 @@ protected:
 
     // initialize the common fields of wxCommandEvent
     void InitCommandEvent(wxCommandEvent& event) const;
+
+    DECLARE_NO_COPY_CLASS(wxControlBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -82,6 +88,8 @@ protected:
     #include "wx/gtk/control.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/control.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/control.h"
 #elif defined(__WXPM__)
     #include "wx/os2/control.h"
 #endif