]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_notbk.cpp
fix for opening files with VC++ 8 (closes bug 994337)
[wxWidgets.git] / src / xrc / xh_notbk.cpp
index e97598a22515d8c6d91d472c6945940e2bb4fdb3..1a0c7b14b4d834d7c3c0b0a924bcc40e1d43d9fd 100644 (file)
@@ -88,10 +88,7 @@ wxObject *wxNotebookXmlHandler::DoCreateResource()
         m_isInside = old_ins;
         m_notebook = old_par;
 
-        if (GetBool(wxT("usenotebooksizer"), false))
-            return new wxNotebookSizer(nb);
-        else
-            return nb;
+        return nb;
     }
 }