X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f81dfa1a01ad34d59923a48868732de8de282ff..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/gtk/spinctrl.h?ds=inline diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 426a01f4b0..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,14 +55,14 @@ public: // implementation void OnChar( wxKeyEvent &event ); - bool IsOwnGtkWindow( GdkWindow *window ); - void GtkDisableEvents(); - void GtkEnableEvents(); - int m_pos; protected: + void GtkDisableEvents() const; + void GtkEnableEvents() const; + virtual wxSize DoGetBestSize() const; + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; // Widgets that use the style->base colour for the BG colour should // override this and return true. @@ -79,8 +73,4 @@ private: DECLARE_EVENT_TABLE() }; -#endif - // wxUSE_SPINCTRL - -#endif - // __GTKSPINCTRLH__ +#endif // _WX_GTK_SPINCTRL_H_