X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc579b3c5808934aaa8e53eab85060247993223..3e822cd8d0bdf04cd2c7a3dddff61dcc211f7439:/src/xrc/xh_panel.cpp diff --git a/src/xrc/xh_panel.cpp b/src/xrc/xh_panel.cpp index b05433b018..3ac8987d57 100644 --- a/src/xrc/xh_panel.cpp +++ b/src/xrc/xh_panel.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_panel.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_panel.h" #include "wx/panel.h" #include "wx/frame.h" // to get wxNO_3D @@ -54,3 +52,5 @@ bool wxPanelXmlHandler::CanHandle(wxXmlNode *node) { return IsOfClass(node, wxT("wxPanel")); } + +#endif // wxUSE_XRC