X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a075e27bf3c21a4fa2a8b6349ea194132fdb3497..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/gtk1/spinctrl.h diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index 1fa6b82982..5f967589fd 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/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()