1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/statusbr.h
3 // Purpose: native implementation of wxStatusBar.
4 // Optional: can use generic version instead.
5 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBAR_H_
13 #define _WX_STATBAR_H_
15 class WXDLLIMPEXP_CORE wxStatusBarMac
: public wxStatusBarGeneric
19 wxStatusBarMac(wxWindow
*parent
, wxWindowID id
= wxID_ANY
,
20 long style
= wxSTB_DEFAULT_STYLE
,
21 const wxString
& name
= wxStatusBarNameStr
);
23 virtual ~wxStatusBarMac();
25 bool Create(wxWindow
*parent
, wxWindowID id
= wxID_ANY
,
26 long style
= wxSTB_DEFAULT_STYLE
,
27 const wxString
& name
= wxStatusBarNameStr
);
30 virtual void MacHiliteChanged();
31 void OnPaint(wxPaintEvent
& event
);
34 virtual void DrawFieldText(wxDC
& dc
, const wxRect
& rc
, int i
, int textHeight
);
35 virtual void DrawField(wxDC
& dc
, int i
, int textHeight
);
36 virtual void DoUpdateStatusText(int number
= 0);
38 DECLARE_DYNAMIC_CLASS(wxStatusBarMac
)
42 #endif // _WX_STATBAR_H_