X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce89fdd22ecbaf29569e70733d76c8f1eaca391e..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/gtk1/spinctrl.h diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index c2afe4645c..14065fb96a 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/spinctrl.h @@ -15,6 +15,12 @@ #pragma interface #endif +#include "wx/defs.h" + +#if wxUSE_SPINCTRL + +#include "wx/control.h" + //----------------------------------------------------------------------------- // wxSpinCtrl //----------------------------------------------------------------------------- @@ -53,15 +59,28 @@ public: virtual int GetMax() const; // implementation + // -------------- + + void OnChar( wxKeyEvent &event ); + bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle(); + void GtkDisableEvents(); + void GtkEnableEvents(); GtkAdjustment *m_adjust; float m_oldPos; +protected: + virtual wxSize DoGetBestSize() const; + private: DECLARE_DYNAMIC_CLASS(wxSpinCtrl) + DECLARE_EVENT_TABLE() }; +#endif + // wxUSE_SPINCTRL + #endif // __GTKSPINCTRLH__