]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_wizrd.cpp
Added wxUSE_TOOLTIPS guard for previous patch
[wxWidgets.git] / src / xrc / xh_wizrd.cpp
index 958845ba649550aa4e0dea7ada47d0b0ce213e1f..e8cb35444837814b969f75022f50d04ff207a803 100644 (file)
@@ -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)