]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statusbr.h
give a name to the enumeration of the values which can be passed to OnDrawItem to...
[wxWidgets.git] / include / wx / generic / statusbr.h
index 709e58faa69c7915373b4260ade9be966c1700f1..2f58f2b93e11a394b251589832a42cde88c5509e 100644 (file)
 #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"
 
-class WXDLLEXPORT wxStatusBarGeneric : public wxStatusBarBase
+class WXDLLIMPEXP_CORE wxStatusBarGeneric : public wxStatusBarBase
 {
 public:
     wxStatusBarGeneric() { Init(); }
@@ -74,6 +78,11 @@ public:
     // Responds to colour changes
     void OnSysColourChanged(wxSysColourChangedEvent& event);
 
+    // true if the status bar shows the size grip: for this it must have
+    // wxST_SIZEGRIP style and the window it is attached to must be resizeable
+    // and not maximized
+    bool ShowsSizeGrip() const;
+
 protected:
     // common part of all ctors
     void Init();
@@ -97,5 +106,7 @@ private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBarGeneric)
 };
 
+#endif // wxUSE_STATUSBAR
+
 #endif
     // _WX_GENERIC_STATUSBR_H_