]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_wizrd.cpp
Changes that were in aclocal.m4 but not here
[wxWidgets.git] / contrib / src / xrc / xh_wizrd.cpp
index 958845ba649550aa4e0dea7ada47d0b0ce213e1f..e8cb35444837814b969f75022f50d04ff207a803 100644 (file)
@@ -25,6 +25,7 @@
 #include "wx/log.h"
 #include "wx/wizard.h"
 
 #include "wx/log.h"
 #include "wx/wizard.h"
 
+IMPLEMENT_DYNAMIC_CLASS(wxWizardXmlHandler, wxXmlResourceHandler)
 
 wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler()
 {
 
 wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler()
 {
@@ -58,6 +59,8 @@ wxObject *wxWizardXmlHandler::DoCreateResource()
     else
     {
         wxWizardPage *page = NULL;
     else
     {
         wxWizardPage *page = NULL;
+        wxUnusedVar(page);
+
         if (m_class == wxT("wxWizardPageSimple"))
         {
             XRC_MAKE_INSTANCE(p, wxWizardPageSimple)
         if (m_class == wxT("wxWizardPageSimple"))
         {
             XRC_MAKE_INSTANCE(p, wxWizardPageSimple)