#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 WXDLLEXPORT wxStatusBarUniv : public wxStatusBarBase,
+class WXDLLIMPEXP_CORE wxStatusBarUniv : public wxStatusBarBase,
public wxInputConsumer
{
public:
virtual int GetBorderX() const;
virtual int GetBorderY() const;
+ // wxInputConsumer pure virtual
+ virtual wxWindow *GetInputWindow() const
+ { return const_cast<wxStatusBar*>(this); }
+
protected:
// recalculate the field widths
void OnSize(wxSizeEvent& event);
// draw the statusbar
virtual void DoDraw(wxControlRenderer *renderer);
- // wxInputConsumer pure virtual
- virtual wxWindow *GetInputWindow() const
- { return wxConstCast(this, wxStatusBar); }
-
// tell them about our preferred height
virtual wxSize DoGetBestSize() const;
void Init();
private:
- // the status fields strings
+ // the current status fields strings
wxArrayString m_statusText;
// the absolute status fields widths