]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/statusbr.h
don't define wxMBFILES for Borland, this breaks compilation with wxUSE_UNICODE_MSLU...
[wxWidgets.git] / include / wx / mac / classic / statusbr.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: statusbr.h
3 // Purpose: native implementation of wxStatusBar. Optional; can use generic
4 // 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 Create(parent, id, style, name);
26 }
27
28 virtual ~wxStatusBarMac();
29
30 bool Create(wxWindow *parent, wxWindowID id,
31 long style ,
32 const wxString& name = wxPanelNameStr) ;
33
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 ////////////////////////////////////////////////////////////////////////
38 // Implementation
39
40 virtual void MacSuperEnabled( bool enable ) ;
41
42 void OnPaint(wxPaintEvent& event);
43 protected:
44
45 DECLARE_EVENT_TABLE()
46 };
47
48 #endif
49 // _WX_STATBAR_H_