X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90dedfca128528f322ef13bf772a211d4f5dc596..2f36e8dce5df017e609309190bc94fd45bad5293:/src/xrc/xh_statbar.cpp?ds=sidebyside diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index ec4eefc616..d5b4fbfa4d 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_statbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,12 +15,12 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_STATUSBAR + #include "wx/frame.h" #include "wx/string.h" #include "wx/log.h" -#if wxUSE_STATUSBAR - #include "wx/xrc/xh_statbar.h" #include "wx/statusbr.h" @@ -105,5 +101,5 @@ bool wxStatusBarXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxStatusBar")); } -#endif +#endif // wxUSE_XRC && wxUSE_STATUSBAR