X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/gtk/spinbutt.h diff --git a/include/wx/gtk/spinbutt.h b/include/wx/gtk/spinbutt.h index 378b7f0f94..96e13d0100 100644 --- a/include/wx/gtk/spinbutt.h +++ b/include/wx/gtk/spinbutt.h @@ -15,6 +15,12 @@ #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__