X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f138db83939ce7c59a942aaecca7fa98168db3..456fd7b661b2aa150443fe47a8c9c728c0509f73:/src/xrc/xmlrsall.cpp diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 44c417dc51..98cb54e3ad 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -9,7 +9,7 @@ ///////////////////////////////////////////////////////////////////////////// // -- Already done in xmlres.cpp -//#ifdef __GNUG__ +//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) //#pragma implementation "xmlres.h" //#endif @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xmlres.h" #include "wx/xrc/xh_all.h" @@ -106,3 +108,5 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxStatusBarXmlHandler); #endif } + +#endif // wxUSE_XRC