1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: msw/statbrxx.h
3 // Purpose: native implementation of wxStatusBar. Optional.
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBRXX_H
13 #define _WX_STATBRXX_H
16 #pragma interface "statbrxx.h"
19 class WXDLLEXPORT wxStatusBarXX
: public wxStatusBar
21 DECLARE_DYNAMIC_CLASS(wxStatusBarXX
);
26 wxStatusBarXX(wxWindow
*parent
, wxWindowID id
= -1, long style
= wxST_SIZEGRIP
);
29 bool Create(wxWindow
*parent
, wxWindowID id
= -1, long style
= wxST_SIZEGRIP
);
31 // a status line can have several (<256) fields numbered from 0
32 virtual void SetFieldsCount(int number
= 1, const int widths
[] = NULL
);
34 // each field of status line has it's own text
35 virtual void SetStatusText(const wxString
& text
, int number
= 0);
36 virtual wxString
GetStatusText(int number
= 0) const;
38 // set status line fields' widths
39 virtual void SetStatusWidths(int n
, const int widths_field
[]);
41 // we're going to process WM_SIZE (of the parent window)
42 void OnSize(wxSizeEvent
& event
);