]> git.saurik.com Git - wxWidgets.git/commitdiff
my previous backwards compatible fix wasn't really very compatible
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2002 15:37:54 +0000 (15:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2002 15:37:54 +0000 (15:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wizard.h

index 03ffe9a649806cefd7c47f6a9c607272cf7adf2d..ce716c5627b4df4640979812438c8f0379817027 100644 (file)
@@ -194,12 +194,12 @@ public:
 
     // wxWizard should be created using "new wxWizard" now, not with Create()
 #ifdef WXWIN_COMPATIBILITY_2_2
 
     // wxWizard should be created using "new wxWizard" now, not with Create()
 #ifdef WXWIN_COMPATIBILITY_2_2
-    wxWizard *Create(wxWindow *parent,
-                     int id = -1,
-                     const wxString& title = wxEmptyString,
-                     const wxBitmap& bitmap = wxNullBitmap,
-                     const wxPoint& pos = wxDefaultPosition,
-                     const wxSize& size = wxDefaultSize);
+    static wxWizard *Create(wxWindow *parent,
+                            int id = -1,
+                            const wxString& title = wxEmptyString,
+                            const wxBitmap& bitmap = wxNullBitmap,
+                            const wxPoint& pos = wxDefaultPosition,
+                            const wxSize& size = wxDefaultSize);
 #endif // WXWIN_COMPATIBILITY_2_2
 };
 
 #endif // WXWIN_COMPATIBILITY_2_2
 };