]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/tglbtn.h
Fixed typo in my last commit (it did break socket detection code :-( ).
[wxWidgets.git] / include / wx / gtk1 / tglbtn.h
index 56a7eef4e35099e71b3ecb0e9ac3670c7e1ab49a..1a76c9fae13f70579f8552bf509b2e2cf251b048 100644 (file)
@@ -63,12 +63,10 @@ public:
     void SetLabel(const wxString& label);
     bool Enable(bool enable = TRUE);
 
-protected:
-    // Callback function given to gtk
-    static void gtk_togglebutton_clicked_callback(GtkWidget *widget,
-                                                  wxToggleButton *win);
+    // implementation
+    bool m_blockEvent;
 
-    // wx stuff
     void ApplyWidgetStyle();
     bool IsOwnGtkWindow(GdkWindow *window);