X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2919ab326e60322b63ae9b5d50e83bb5156efce..f5698096606b5a3d399018a20135f41d5ba05215:/src/xrc/xh_statbar.cpp diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index 43a3ce1141..5dead981da 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -19,10 +19,11 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_STATUSBAR + #include "wx/frame.h" #include "wx/string.h" - -#if wxUSE_STATUSBAR +#include "wx/log.h" #include "wx/xrc/xh_statbar.h" #include "wx/statusbr.h" @@ -104,5 +105,5 @@ bool wxStatusBarXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxStatusBar")); } -#endif +#endif // wxUSE_XRC && wxUSE_STATUSBAR