]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/statusbr.h
GetMacXXXX renamed to MacGetXXXXX
[wxWidgets.git] / include / wx / mac / statusbr.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: statusbr.h
3 // Purpose: native implementation of wxStatusBar. Optional; can use generic
4 // version instead.
5 // Author: AUTHOR
6 // Modified by:
7 // Created: ??/??/98
8 // RCS-ID: $Id$
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_STATBAR_H_
14 #define _WX_STATBAR_H_
15
16 #ifdef __GNUG__
17 #pragma interface "statbrma.h"
18 #endif
19
20 class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
21 {
22 DECLARE_DYNAMIC_CLASS(wxStatusBarMac);
23
24 wxStatusBarMac();
25 wxStatusBarMac(wxWindow *parent, wxWindowID id,
26 long style = 0,
27 const wxString& name = wxPanelNameStr)
28 {
29 Create(parent, id, style, name);
30 }
31
32 ~wxStatusBarMac();
33
34 bool Create(wxWindow *parent, wxWindowID id,
35 long style ,
36 const wxString& name = wxPanelNameStr) ;
37
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
42 ////////////////////////////////////////////////////////////////////////
43 // Implementation
44
45 void OnPaint(wxPaintEvent& event);
46 protected:
47
48 DECLARE_EVENT_TABLE()
49 };
50
51 #endif
52 // _WX_STATBAR_H_