X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..ca71e3ae27676bd0c162487b40fc74afa59f54e8:/src/xrc/xh_wizrd.cpp diff --git a/src/xrc/xh_wizrd.cpp b/src/xrc/xh_wizrd.cpp index aff151cede..9016e921d8 100644 --- a/src/xrc/xh_wizrd.cpp +++ b/src/xrc/xh_wizrd.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_wizrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_WIZARDDLG +#if wxUSE_XRC && wxUSE_WIZARDDLG #include "wx/xrc/xh_wizrd.h" #include "wx/log.h" @@ -32,6 +28,7 @@ wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler() m_wizard = NULL; m_lastSimplePage = NULL; XRC_ADD_STYLE(wxWIZARD_EX_HELPBUTTON); + AddWindowStyles(); } wxObject *wxWizardXmlHandler::DoCreateResource() @@ -99,4 +96,4 @@ bool wxWizardXmlHandler::CanHandle(wxXmlNode *node) ); } -#endif // wxUSE_WIZARDDLG +#endif // wxUSE_XRC && wxUSE_WIZARDDLG