]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statusbr.h
don't draw buttons unless we have wxTR_HAS_BUTTONS style
[wxWidgets.git] / include / wx / univ / statusbr.h
index 804029fbc14d587826206cf59f3cdfaea3af4e29..7e3a7aac262699189edb352b4e99e410d172bed2 100644 (file)
@@ -16,6 +16,9 @@
     #pragma interface "univstatusbr.h"
 #endif
 
+#include "wx/univ/inpcons.h"
+#include "wx/arrstr.h"
+
 // ----------------------------------------------------------------------------
 // wxStatusBar: a window near the bottom of the frame used for status info
 // ----------------------------------------------------------------------------
@@ -86,6 +89,9 @@ protected:
     // also updates m_widthsAbs if necessary
     wxRect GetTotalFieldRect(wxCoord *borderBetweenFields);
 
+    // get the rect for this field without ani side effects (see code)
+    wxRect DoGetFieldRect(int n) const;
+
     // refresh the given field
     void RefreshField(int i);