From: Robert Roebling Date: Tue, 10 Jul 2007 11:50:14 +0000 (+0000) Subject: Block all events in wxSpinCtrl::SetValue etc. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/28529e37e2a4d9b1148a668505f1dc0c8f3a5d4d Block all events in wxSpinCtrl::SetValue etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 6b9def816f..98a9849da7 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -55,12 +55,12 @@ public: // implementation void OnChar( wxKeyEvent &event ); - void GtkDisableEvents() const; - void GtkEnableEvents() const; - int m_pos; protected: + void GtkDisableEvents() const; + void GtkEnableEvents() const; + virtual wxSize DoGetBestSize() const; virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;