]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/button.h
made wxListbook events more consistent with wxNotebook ones (patch 1001271)
[wxWidgets.git] / include / wx / cocoa / button.h
index 36a8c1559f958108ffe134f2f59958c315108eb5..2624033e4a81351785193f116fc5faea106deb3c 100644 (file)
@@ -28,7 +28,7 @@ class WXDLLEXPORT wxButton : public wxButtonBase, protected wxCocoaNSButton
 public:
    wxButton() { }
    wxButton(wxWindow *parent, wxWindowID winid,
-             const wxString& label,
+             const wxString& label = wxEmptyString,
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize, long style = 0,
              const wxValidator& validator = wxDefaultValidator,
@@ -36,13 +36,15 @@ public:
     {
         Create(parent, winid, label, pos, size, style, validator, name);
     }
+    
 
     bool Create(wxWindow *parent, wxWindowID winid,
-            const wxString& label,
+            const wxString& label = wxEmptyString,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize, long style = 0,
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxButtonNameStr);
+    
     virtual ~wxButton();
 
 // ------------------------------------------------------------------------