]>
Commit | Line | Data |
---|---|---|
0dbd6262 SC |
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 "statbar.h" | |
18 | #endif | |
19 | ||
20 | #include "wx/generic/statusbr.h" | |
21 | ||
05adb9d2 | 22 | class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric |
0dbd6262 | 23 | { |
05adb9d2 | 24 | DECLARE_DYNAMIC_CLASS(wxStatusBarMac); |
0dbd6262 | 25 | |
5b781a67 SC |
26 | wxStatusBarMac(); |
27 | wxStatusBarMac(wxWindow *parent, wxWindowID id, | |
05adb9d2 SC |
28 | long style = 0, |
29 | const wxString& name = wxPanelNameStr) | |
30 | { | |
31 | Create(parent, id, style, name); | |
32 | } | |
0dbd6262 | 33 | |
05adb9d2 | 34 | ~wxStatusBarMac(); |
0dbd6262 | 35 | |
05adb9d2 | 36 | bool Create(wxWindow *parent, wxWindowID id, |
5b781a67 | 37 | long style , |
05adb9d2 | 38 | const wxString& name = wxPanelNameStr) ; |
0dbd6262 | 39 | |
05adb9d2 SC |
40 | virtual void DrawFieldText(wxDC& dc, int i); |
41 | virtual void DrawField(wxDC& dc, int i); | |
0dbd6262 | 42 | |
05adb9d2 SC |
43 | //////////////////////////////////////////////////////////////////////// |
44 | // Implementation | |
0dbd6262 | 45 | |
05adb9d2 SC |
46 | void OnPaint(wxPaintEvent& event); |
47 | protected: | |
0dbd6262 SC |
48 | |
49 | DECLARE_EVENT_TABLE() | |
0dbd6262 SC |
50 | }; |
51 | ||
52 | #endif | |
519cb848 | 53 | // _WX_STATBAR_H_ |