]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/control.h
don't try to build shared library on platforms not supporting it
[wxWidgets.git] / include / wx / gtk1 / control.h
index 45d0ea230ec327f8ab532a6e4ad6c25f03565bff..3b19b4c98c962b7ba33d20951b6feab35cab1015 100644 (file)
@@ -29,10 +29,8 @@ class wxControl;
 // wxControl
 //-----------------------------------------------------------------------------
 
-class wxControl : public wxControlBase
+class wxControl : public wxWindow
 {
-    DECLARE_DYNAMIC_CLASS(wxControl)
-
 public:
     wxControl();
     wxControl( wxWindow *parent,
@@ -50,6 +48,9 @@ public:
 protected:
     wxString   m_label;
     char       m_chAccel;  // enabled to avoid breaking binary compatibility later on
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxControl)
 };
 
 #endif // __GTKCONTROLH__