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