]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix the style value in wxWizard::Create() documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Mar 2013 01:12:08 +0000 (01:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Mar 2013 01:12:08 +0000 (01:12 +0000)
Somehow the raw value was used instead of the symbolic constant.

Closes #15130.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/wizard.h

index 501815d41e1c8acf65b42ec9600dc4b558be1ddb..ca6287f53ab31536ea5f2ed997c63493e08692f5 100644 (file)
@@ -386,7 +386,7 @@ public:
     bool Create(wxWindow* parent, int id = wxID_ANY,
                 const wxString& title = wxEmptyString,
                 const wxBitmap& bitmap = wxNullBitmap,
-                const wxPoint& pos = wxDefaultPosition, long style = 536877056);
+                const wxPoint& pos = wxDefaultPosition, long style = wxDEFAULT_DIALOG_STYLE);
 
     /**
         This method is obsolete, use GetPageAreaSizer() instead.