1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: native implementation of wxStatusBar. Optional; can use generic
5 // Author: Stefan Csomor
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_STATBAR_H_
14 #define _WX_STATBAR_H_
16 class WXDLLEXPORT wxStatusBarMac
: public wxStatusBarGeneric
18 DECLARE_DYNAMIC_CLASS(wxStatusBarMac
);
21 wxStatusBarMac(wxWindow
*parent
, wxWindowID id
,
23 const wxString
& name
= wxPanelNameStr
)
25 Create(parent
, id
, style
, name
);
28 virtual ~wxStatusBarMac();
30 bool Create(wxWindow
*parent
, wxWindowID id
,
32 const wxString
& name
= wxPanelNameStr
) ;
34 virtual void DrawFieldText(wxDC
& dc
, int i
);
35 virtual void DrawField(wxDC
& dc
, int i
);
36 virtual void SetStatusText(const wxString
& text
, int number
= 0) ;
37 ////////////////////////////////////////////////////////////////////////
40 virtual void MacSuperEnabled( bool enable
) ;
42 void OnPaint(wxPaintEvent
& event
);