X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a075e27bf3c21a4fa2a8b6349ea194132fdb3497..1542ea396a625766c59d683adbb1d613c1344d50:/include/wx/gtk/spinctrl.h diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 1fa6b82982..5f967589fd 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -59,16 +59,19 @@ 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()