#include "wx/arrstr.h"
// ----------------------------------------------------------------------------
-// wxStatusBar: a window near the bottom of the frame used for status info
+// wxStatusBarUniv: a window near the bottom of the frame used for status info
// ----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxStatusBarUniv : public wxStatusBarBase,
// get/set the text of the given field
virtual void SetStatusText(const wxString& text, int number = 0);
- virtual wxString GetStatusText(int number = 0) const;
// Get the position and size of the field's internal bounding rectangle
virtual bool GetFieldRect(int i, wxRect& rect) const;
// wxInputConsumer pure virtual
virtual wxWindow *GetInputWindow() const
- { return wx_const_cast(wxStatusBar*, this); }
+ { return const_cast<wxStatusBar*>(this); }
protected:
// recalculate the field widths
void Init();
private:
- // the status fields strings
- wxArrayString m_statusText;
+ // the current status fields strings
+ //wxArrayString m_statusText;
// the absolute status fields widths
wxArrayInt m_widthsAbs;