X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..6ecc0896d5d7b4c6477209a446094e5e77e17dad:/src/xrc/xh_wizrd.cpp diff --git a/src/xrc/xh_wizrd.cpp b/src/xrc/xh_wizrd.cpp index 6efb06635a..97dc42b94d 100644 --- a/src/xrc/xh_wizrd.cpp +++ b/src/xrc/xh_wizrd.cpp @@ -49,6 +49,7 @@ wxObject *wxWizardXmlHandler::DoCreateResource() GetText(wxT("title")), GetBitmap(), GetPosition()); + SetupWindow(wiz); wxWizard *old = m_wizard; m_wizard = wiz; @@ -74,7 +75,7 @@ wxObject *wxWizardXmlHandler::DoCreateResource() { if ( !m_instance ) { - wxLogError(wxT("wxWizardPage is abstract class, must be subclassed")); + ReportError("wxWizardPage is abstract class and must be subclassed"); return NULL; }