X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/245243ec13829a457651f0b8717e79d414cdc840..6689960c3cea91383a8ce78de01cb30d1ddc54ef:/include/wx/generic/statusbr.h diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index 4cdae345f7..785011cbeb 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -19,7 +19,12 @@ #include "wx/pen.h" #include "wx/arrstr.h" -class WXDLLEXPORT wxStatusBarGeneric : public wxStatusBarBase + +// ---------------------------------------------------------------------------- +// wxStatusBarGeneric +// ---------------------------------------------------------------------------- + +class WXDLLIMPEXP_CORE wxStatusBarGeneric : public wxStatusBarBase { public: wxStatusBarGeneric() { Init(); } @@ -78,15 +83,22 @@ 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(); + // the array of the currently displayed strings wxArrayString m_statusStrings; // the last known width of the client rect (used to rebuild cache) int m_lastClientWidth; - // the widths of the status bar panes in pixels + + // the absolute widths of the status bar panes in pixels wxArrayInt m_widthsAbs; int m_borderX;