X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f81dfa1a01ad34d59923a48868732de8de282ff..665e6a875343506ffe2b72e7a6cc26348ebffb99:/include/wx/gtk/spinctrl.h diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 426a01f4b0..898f1dcd1e 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,7 +55,6 @@ public: // implementation void OnChar( wxKeyEvent &event ); - bool IsOwnGtkWindow( GdkWindow *window ); void GtkDisableEvents(); void GtkEnableEvents(); @@ -69,6 +62,7 @@ public: protected: 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_