X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe9fea7ec75fe38527702b8ae7926a5609828b79..e5d92e2bef8fed2f3fabaf9662902eb7189f5f92:/include/wx/univ/statusbr.h?ds=sidebyside diff --git a/include/wx/univ/statusbr.h b/include/wx/univ/statusbr.h index 5c97873fe8..ab038d6700 100644 --- a/include/wx/univ/statusbr.h +++ b/include/wx/univ/statusbr.h @@ -12,11 +12,8 @@ #ifndef _WX_UNIV_STATUSBR_H_ #define _WX_UNIV_STATUSBR_H_ -#ifdef __GNUG__ - #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 @@ -29,7 +26,7 @@ public: wxStatusBarUniv() { Init(); } wxStatusBarUniv(wxWindow *parent, - wxWindowID id = -1, + wxWindowID id = wxID_ANY, long style = 0, const wxString& name = wxPanelNameStr) { @@ -39,7 +36,7 @@ public: } bool Create(wxWindow *parent, - wxWindowID id = -1, + wxWindowID id = wxID_ANY, long style = 0, const wxString& name = wxPanelNameStr); @@ -88,6 +85,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);