X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..07aaf32633ecf18ec3edfbb41793a112914792d0:/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; }