From 28529e37e2a4d9b1148a668505f1dc0c8f3a5d4d Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Tue, 10 Jul 2007 11:50:14 +0000 Subject: [PATCH] Block all events in wxSpinCtrl::SetValue etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/spinctrl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.45.2