X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621be1ec2672d922cfb95d6e8178b38c8ceaf52a..8add533eb22ba0756f5b426f77ee593bc1aa6fcd:/src/xrc/xh_wizrd.cpp diff --git a/src/xrc/xh_wizrd.cpp b/src/xrc/xh_wizrd.cpp index 2b9508ae05..8a758a1ad5 100644 --- a/src/xrc/xh_wizrd.cpp +++ b/src/xrc/xh_wizrd.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_wizrd.h" #endif @@ -32,6 +32,7 @@ wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler() m_wizard = NULL; m_lastSimplePage = NULL; XRC_ADD_STYLE(wxWIZARD_EX_HELPBUTTON); + AddWindowStyles(); } wxObject *wxWizardXmlHandler::DoCreateResource()