]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/spinbutt.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / gtk / spinbutt.h
index 378b7f0f94a052a45e06a130d5beb611e16df827..96e13d0100bb4b25f501c597bab7c93b017900e6 100644 (file)
 #pragma interface
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_SPINBTN
+
+#include "wx/control.h"
+
 //-----------------------------------------------------------------------------
 // wxSpinButton
 //-----------------------------------------------------------------------------
@@ -49,10 +55,16 @@ public:
     GtkAdjustment  *m_adjust;
     float           m_oldPos;
 
+protected:
+    virtual wxSize DoGetBestSize() const;
+
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxSpinButton)
 };
 
+#endif
+  // wxUSE_SPINBTN
+
 #endif
     // __GTKSPINBUTTH__