]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/button.h
Set initial window size as its minimal size.
[wxWidgets.git] / include / wx / osx / button.h
index 8959d9b14200c3a1d3de8c7363bbf035b6b7c78c..75108eeb248a5f8d43a77a31b5b8262cf96721be 100644 (file)
@@ -89,7 +89,7 @@ public:
              const wxString& label = wxEmptyString,
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
-             long style = 0,
+             long style = wxBORDER_NONE,
              const wxValidator& validator = wxDefaultValidator,
              const wxString& name = wxButtonNameStr)
     {
@@ -101,7 +101,7 @@ public:
                 const wxString& label = wxEmptyString,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
-                long style = 0,
+                long style = wxBORDER_NONE,
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxButtonNameStr);