]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/control.h
Compile fix for GIF decoder,
[wxWidgets.git] / include / wx / gtk / control.h
index 45d0ea230ec327f8ab532a6e4ad6c25f03565bff..e7869e4f0e7de21cf8a730f7ff83690edd49c521 100644 (file)
@@ -31,8 +31,6 @@ class wxControl;
 
 class wxControl : public wxControlBase
 {
-    DECLARE_DYNAMIC_CLASS(wxControl)
-
 public:
     wxControl();
     wxControl( wxWindow *parent,
@@ -48,8 +46,13 @@ public:
     virtual wxString GetLabel() const;
 
 protected:
+    virtual wxSize DoGetBestSize() const;
+
     wxString   m_label;
     char       m_chAccel;  // enabled to avoid breaking binary compatibility later on
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxControl)
 };
 
 #endif // __GTKCONTROLH__