X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90dedfca128528f322ef13bf772a211d4f5dc596..9cc62fc819e1b2b01af9732a3ad218aeec13e4d4:/src/xrc/xh_statbar.cpp diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index ec4eefc616..61b421a0d4 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_statbar.h" #endif @@ -19,12 +19,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 +105,5 @@ bool wxStatusBarXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxStatusBar")); } -#endif +#endif // wxUSE_XRC && wxUSE_STATUSBAR