]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/statusbr.h
minor cleanup
[wxWidgets.git] / include / wx / mac / carbon / statusbr.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/carbon/statusbr.h
3 // Purpose: native implementation of wxStatusBar.
4 // Optional: can use generic version instead.
5 // Author: Stefan Csomor
6 // Modified by:
7 // Created: 1998-01-01
8 // RCS-ID: $Id$
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_STATBAR_H_
14 #define _WX_STATBAR_H_
15
16 class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
17 {
18 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
19
20 wxStatusBarMac();
21 wxStatusBarMac(wxWindow *parent, wxWindowID id,
22 long style = 0,
23 const wxString& name = wxPanelNameStr);
24
25 ~wxStatusBarMac();
26
27 bool Create(wxWindow *parent, wxWindowID id,
28 long style ,
29 const wxString& name = wxPanelNameStr);
30
31 virtual void DrawFieldText(wxDC& dc, int i);
32 virtual void DrawField(wxDC& dc, int i);
33 virtual void SetStatusText(const wxString& text, int number = 0);
34
35 // Implementation
36 virtual void MacHiliteChanged();
37 void OnPaint(wxPaintEvent& event);
38
39 protected:
40 DECLARE_EVENT_TABLE()
41 };
42
43 #endif // _WX_STATBAR_H_