]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/button.h
added missing wx/sizer.h header
[wxWidgets.git] / include / wx / os2 / button.h
index ebb18cc31c45687d418ebdce9d8fae326408a9b8..272bb088992c72321f8de526ed987da7e9e74419 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     10/13/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BUTTON_H_
@@ -21,7 +21,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase
     inline wxButton() {}
     inline wxButton( wxWindow*          pParent
                     ,wxWindowID         vId
-                    ,const wxString&    rsLabel
+                    ,const wxString&    rsLabel = wxEmptyString
                     ,const wxPoint&     rPos = wxDefaultPosition
                     ,const wxSize&      rSize = wxDefaultSize
                     ,long               lStyle = 0
@@ -42,14 +42,14 @@ class WXDLLEXPORT wxButton: public wxButtonBase
 
     bool Create( wxWindow*          pParent
                 ,wxWindowID         vId
-                ,const wxString&    rsLabel
+                ,const wxString&    rsLabel = wxEmptyString
                 ,const wxPoint&     rPos = wxDefaultPosition
                 ,const wxSize&      rSize = wxDefaultSize
                 ,long               lStyle = 0
                 ,const wxValidator& rValidator = wxDefaultValidator
                 ,const wxString&    rsName = wxButtonNameStr
                );
-
+    
     virtual ~wxButton();
 
     virtual void     SetDefault(void);