]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_statbar.cpp
correct i18n problems in accel handling code (replaces patch 1465417; closes bug...
[wxWidgets.git] / src / xrc / xh_statbar.cpp
index ec4eefc61617241eb2c3c34d2ef133be8139f73a..d5b4fbfa4d04debf906bb410b09fa1b804717b4b 100644 (file)
@@ -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"
 
     #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