X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19d0f58d39047447a6908520498720c8bff35a1b..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/src/xrc/xh_wizrd.cpp diff --git a/contrib/src/xrc/xh_wizrd.cpp b/contrib/src/xrc/xh_wizrd.cpp index e8cb354448..aff151cede 100644 --- a/contrib/src/xrc/xh_wizrd.cpp +++ b/contrib/src/xrc/xh_wizrd.cpp @@ -7,7 +7,7 @@ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + #ifdef __GNUG__ #pragma implementation "xh_wizrd.h" #endif @@ -35,7 +35,7 @@ wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler() } wxObject *wxWizardXmlHandler::DoCreateResource() -{ +{ if (m_class == wxT("wxWizard")) { XRC_MAKE_INSTANCE(wiz, wxWizard) @@ -92,7 +92,7 @@ wxObject *wxWizardXmlHandler::DoCreateResource() bool wxWizardXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, wxT("wxWizard")) || + return IsOfClass(node, wxT("wxWizard")) || (m_wizard != NULL && (IsOfClass(node, wxT("wxWizardPage")) || IsOfClass(node, wxT("wxWizardPageSimple")))