]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wizard.h
Removed redundant code
[wxWidgets.git] / include / wx / wizard.h
index 4b61820ffab2b1d0ed949790237c1541634d387f..3674896fa4845183e3233dc4016d486b736e89ab 100644 (file)
 // headers and other simple declarations
 // ----------------------------------------------------------------------------
 
-#ifndef WX_PRECOMP
-    #include "wx/dialog.h"      // the base class
-    #include "wx/panel.h"       // ditto
-
-    #include "wx/event.h"       // wxEVT_XXX constants
-#endif // WX_PRECOMP
-
+#include "wx/dialog.h"      // the base class
+#include "wx/panel.h"       // ditto
+#include "wx/event.h"       // wxEVT_XXX constants
 #include "wx/bitmap.h"
 
 // Extended style to specify a help button
@@ -226,16 +222,6 @@ public:
     // page to GetPageAreaSizer and 5 if you don't.
     virtual void SetBorder(int border) = 0;
 
-    // wxWizard should be created using "new wxWizard" now, not with Create()
-#if WXWIN_COMPATIBILITY_2_2
-    wxDEPRECATED( static wxWizard *Create(wxWindow *parent,
-                                          int id = wxID_ANY,
-                                          const wxString& title = wxEmptyString,
-                                          const wxBitmap& bitmap = wxNullBitmap,
-                                          const wxPoint& pos = wxDefaultPosition,
-                                          const wxSize& size = wxDefaultSize) );
-#endif // WXWIN_COMPATIBILITY_2_2
-
     // the methods below may be overridden by the derived classes to provide
     // custom logic for determining the pages order