]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statusbr.h
create greyed image for wxBitmapButton in MSW automatically, as in wxGTK (replaces...
[wxWidgets.git] / include / wx / generic / statusbr.h
index 709e58faa69c7915373b4260ade9be966c1700f1..4cdae345f7c762c73ff798b591ba1f8819d15a0c 100644 (file)
 #ifndef _WX_GENERIC_STATUSBR_H_
 #define _WX_GENERIC_STATUSBR_H_
 
 #ifndef _WX_GENERIC_STATUSBR_H_
 #define _WX_GENERIC_STATUSBR_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_STATUSBAR
+
 #include "wx/pen.h"
 #include "wx/arrstr.h"
 
 #include "wx/pen.h"
 #include "wx/arrstr.h"
 
@@ -97,5 +101,7 @@ private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBarGeneric)
 };
 
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBarGeneric)
 };
 
+#endif // wxUSE_STATUSBAR
+
 #endif
     // _WX_GENERIC_STATUSBR_H_
 #endif
     // _WX_GENERIC_STATUSBR_H_