X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..e8823fa8cc39a5dc3d274c9dbc0f0bdc2b114fa7:/src/xrc/xh_wizrd.cpp?ds=sidebyside 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; }