X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5db28fd7cda3943b41e86a731c65358284bb0ce..31d7fc0f9cb3f5913ecd4a039a816487a6753a93:/contrib/src/xrc/xh_wizrd.cpp?ds=inline diff --git a/contrib/src/xrc/xh_wizrd.cpp b/contrib/src/xrc/xh_wizrd.cpp index 958845ba64..e8cb354448 100644 --- a/contrib/src/xrc/xh_wizrd.cpp +++ b/contrib/src/xrc/xh_wizrd.cpp @@ -25,6 +25,7 @@ #include "wx/log.h" #include "wx/wizard.h" +IMPLEMENT_DYNAMIC_CLASS(wxWizardXmlHandler, wxXmlResourceHandler) wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler() { @@ -58,6 +59,8 @@ wxObject *wxWizardXmlHandler::DoCreateResource() else { wxWizardPage *page = NULL; + wxUnusedVar(page); + if (m_class == wxT("wxWizardPageSimple")) { XRC_MAKE_INSTANCE(p, wxWizardPageSimple)