X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/src/xrc/xh_notbk.cpp diff --git a/contrib/src/xrc/xh_notbk.cpp b/contrib/src/xrc/xh_notbk.cpp index e97598a225..1a0c7b14b4 100644 --- a/contrib/src/xrc/xh_notbk.cpp +++ b/contrib/src/xrc/xh_notbk.cpp @@ -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; } }