X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a075e27bf3c21a4fa2a8b6349ea194132fdb3497..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/gtk1/spinctrl.h diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index 1fa6b82982..b02797c3e7 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(NO_GCC_PRAGMA) #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()