X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1db8dc4a2b5b664e922b9d049320ec0354e0eccf..31eefb998d894e3b566e13714fa53186101829a1:/include/wx/gtk1/tglbtn.h?ds=sidebyside diff --git a/include/wx/gtk1/tglbtn.h b/include/wx/gtk1/tglbtn.h index 56a7eef4e3..f3ddd49404 100644 --- a/include/wx/gtk1/tglbtn.h +++ b/include/wx/gtk1/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);