X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..7ef2db2570c8abd3b472ac91df5035534948c09f:/src/xrc/xh_sttxt.cpp diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index a65e2b4b4f..f3bb578bd6 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_sttxt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,6 +15,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xh_sttxt.h" #include "wx/stattext.h" @@ -54,3 +52,5 @@ bool wxStaticTextXmlHandler::CanHandle(wxXmlNode *node) { return IsOfClass(node, wxT("wxStaticText")); } + +#endif // wxUSE_XRC