X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a439c1aa409584446946ef67b9181d25528bd3c..34b8f3ef3d7cb4389ef23cc4fb6a94c53b70f9db:/src/xrc/xh_notbk.cpp diff --git a/src/xrc/xh_notbk.cpp b/src/xrc/xh_notbk.cpp index cb2c6feae4..7ac56de506 100644 --- a/src/xrc/xh_notbk.cpp +++ b/src/xrc/xh_notbk.cpp @@ -101,6 +101,8 @@ wxObject *wxNotebookXmlHandler::DoCreateResource() GetStyle(wxT("style")), GetName()); + SetupWindow(nb); + wxNotebook *old_par = m_notebook; m_notebook = nb; bool old_ins = m_isInside;