X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1db8dc4a2b5b664e922b9d049320ec0354e0eccf..c26dba42b75b2c19df5834417ffbe330bc375b20:/include/wx/gtk/tglbtn.h diff --git a/include/wx/gtk/tglbtn.h b/include/wx/gtk/tglbtn.h index 56a7eef4e3..f3ddd49404 100644 --- a/include/wx/gtk/tglbtn.h +++ b/include/wx/gtk/tglbtn.h @@ -23,7 +23,7 @@ class wxToggleButton; // global data //----------------------------------------------------------------------------- -extern const char *wxCheckBoxNameStr; +extern const wxChar *wxCheckBoxNameStr; //----------------------------------------------------------------------------- // wxToggleButton @@ -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);