]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_statbar.cpp
implement date events here if wxDatePickerCtrl is not used (as we need them too)
[wxWidgets.git] / src / xrc / xh_statbar.cpp
index 43a3ce11414943724006a2f1ba73041388ba819f..61b421a0d458896e258c1b640bedd4c68417f1c0 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_statbar.h"
 #endif
 
     #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