]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/button.h
Source cleaning: whitespaces, -1/wxDefaultCoord, TRUE/true, FALSE/false.
[wxWidgets.git] / include / wx / os2 / button.h
index ebb18cc31c45687d418ebdce9d8fae326408a9b8..16171921737764b62c1e9c797c84f2c1d0bd0fdd 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_
@@ -39,6 +39,16 @@ class WXDLLEXPORT wxButton: public wxButtonBase
                ,rsName
               );
     }
+    
+    wxButton(wxWindow *parent, wxWindowID id, wxStockItemID stock,
+           const wxString& descriptiveLabel = wxEmptyString,
+           const wxPoint& pos = wxDefaultPosition,
+           long style = 0,
+           const wxValidator& validator = wxDefaultValidator,
+           const wxString& name = wxButtonNameStr)
+    {
+        Create(parent, id, stock, descriptiveLabel, pos, style, validator, name);
+    }
 
     bool Create( wxWindow*          pParent
                 ,wxWindowID         vId
@@ -49,6 +59,17 @@ class WXDLLEXPORT wxButton: public wxButtonBase
                 ,const wxValidator& rValidator = wxDefaultValidator
                 ,const wxString&    rsName = wxButtonNameStr
                );
+    
+    bool Create(wxWindow *parent, wxWindowID id, wxStockItemID stock,
+           const wxString& descriptiveLabel = wxEmptyString,
+           const wxPoint& pos = wxDefaultPosition,
+           long style = 0,
+           const wxValidator& validator = wxDefaultValidator,
+           const wxString& name = wxButtonNameStr)
+    {
+        return CreateStock(parent, id, stock, descriptiveLabel,
+                           pos, style, validator, name);
+    }
 
     virtual ~wxButton();