]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/spinctrl.h
Last part from weak ref patch for event sink disconnection
[wxWidgets.git] / include / wx / gtk / spinctrl.h
index 898f1dcd1e1f6500326f632a284e3ae1ec68205f..98a9849da762f3d22dd703a9809def5b835b843e 100644 (file)
@@ -55,12 +55,12 @@ public:
     // implementation
     void OnChar( wxKeyEvent &event );
     
-    void GtkDisableEvents();
-    void GtkEnableEvents();
-
     int m_pos;
 
 protected:
+    void GtkDisableEvents() const;
+    void GtkEnableEvents() const;
+
     virtual wxSize DoGetBestSize() const;
     virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;