]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/tglbtn.h
Add wxBitmap::GetNSImage() which creates an autoreleased NSImage either
[wxWidgets.git] / include / wx / gtk1 / tglbtn.h
index 56a7eef4e35099e71b3ecb0e9ac3670c7e1ab49a..f3ddd49404e0efcc6b426065a3c677eeaaac1ae6 100644 (file)
@@ -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);