X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1db8dc4a2b5b664e922b9d049320ec0354e0eccf..a7910d97a37c967ee47813f9e3af33b1525d1269:/include/wx/gtk/tglbtn.h diff --git a/include/wx/gtk/tglbtn.h b/include/wx/gtk/tglbtn.h index 56a7eef4e3..1a76c9fae1 100644 --- a/include/wx/gtk/tglbtn.h +++ b/include/wx/gtk/tglbtn.h @@ -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);