1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: msw/statbr95.h
3 // Purpose: native implementation of wxStatusBar
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
9 // Licence: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
16 #pragma interface "statbr95.h"
19 #if USE_NATIVE_STATUSBAR
21 class WXDLLEXPORT wxStatusBar95
: public wxStatusBar
23 DECLARE_DYNAMIC_CLASS(wxStatusBar95
);
28 wxStatusBar95(wxWindow
*parent
, wxWindowID id
= -1, long style
= wxST_SIZEGRIP
);
31 bool Create(wxWindow
*parent
, wxWindowID id
= -1, long style
= wxST_SIZEGRIP
);
33 // a status line can have several (<256) fields numbered from 0
34 virtual void SetFieldsCount(int number
= 1, int *widths
= NULL
);
36 // each field of status line has it's own text
37 virtual void SetStatusText(const wxString
& text
, int number
= 0);
38 virtual wxString
GetStatusText(int number
= 0) const;
40 // set status line fields' widths
41 virtual void SetStatusWidths(int n
, int *widths_field
);
43 // we're going to process WM_SIZE (of the parent window)
44 void OnSize(wxSizeEvent
& event
);
49 void CopyFieldsWidth(int *widths
);
50 void SetFieldsWidth();
53 #endif // USE_NATIVE_STATUSBAR