X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5c70f96f5e06e1c8f8119f51b99dd019583d2b..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/gtk/spinctrl.h diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 77e2ae5fec..98a9849da7 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -8,14 +8,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKSPINCTRLH__ -#define __GTKSPINCTRLH__ - -#include "wx/defs.h" - -#if wxUSE_SPINCTRL - -#include "wx/control.h" +#ifndef _WX_GTK_SPINCTRL_H_ +#define _WX_GTK_SPINCTRL_H_ //----------------------------------------------------------------------------- // wxSpinCtrl @@ -61,12 +55,12 @@ public: // implementation void OnChar( wxKeyEvent &event ); - void GtkDisableEvents(); - void GtkEnableEvents(); - int m_pos; protected: + void GtkDisableEvents() const; + void GtkEnableEvents() const; + virtual wxSize DoGetBestSize() const; virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; @@ -79,8 +73,4 @@ private: DECLARE_EVENT_TABLE() }; -#endif - // wxUSE_SPINCTRL - -#endif - // __GTKSPINCTRLH__ +#endif // _WX_GTK_SPINCTRL_H_