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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
17 #pragma interface "statbrma.h"
20 class WXDLLEXPORT wxStatusBarMac
: public wxStatusBarGeneric
22 DECLARE_DYNAMIC_CLASS(wxStatusBarMac
);
25 wxStatusBarMac(wxWindow
*parent
, wxWindowID id
,
27 const wxString
& name
= wxPanelNameStr
)
29 Create(parent
, id
, style
, name
);
34 bool Create(wxWindow
*parent
, wxWindowID id
,
36 const wxString
& name
= wxPanelNameStr
) ;
38 virtual void DrawFieldText(wxDC
& dc
, int i
);
39 virtual void DrawField(wxDC
& dc
, int i
);
40 virtual void SetStatusText(const wxString
& text
, int number
= 0) ;
41 ////////////////////////////////////////////////////////////////////////
44 virtual void MacHiliteChanged() ;
46 void OnPaint(wxPaintEvent
& event
);