]>
Commit | Line | Data |
---|---|---|
8cf73271 | 1 | /////////////////////////////////////////////////////////////////////////////// |
3660902c DS |
2 | // Name: wx/mac/carbon/statusbr.h |
3 | // Purpose: native implementation of wxStatusBar. | |
4 | // Optional: can use generic version instead. | |
8cf73271 SC |
5 | // Author: Stefan Csomor |
6 | // Modified by: | |
7 | // Created: 1998-01-01 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) Stefan Csomor | |
65571936 | 10 | // Licence: wxWindows licence |
8cf73271 SC |
11 | /////////////////////////////////////////////////////////////////////////////// |
12 | ||
3660902c DS |
13 | #ifndef _WX_STATBAR_H_ |
14 | #define _WX_STATBAR_H_ | |
8cf73271 | 15 | |
8cf73271 SC |
16 | class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric |
17 | { | |
3660902c | 18 | DECLARE_DYNAMIC_CLASS(wxStatusBarMac) |
8cf73271 | 19 | |
3660902c DS |
20 | wxStatusBarMac(); |
21 | wxStatusBarMac(wxWindow *parent, wxWindowID id, | |
8cf73271 | 22 | long style = 0, |
3660902c | 23 | const wxString& name = wxPanelNameStr); |
8cf73271 | 24 | |
d3c7fc99 | 25 | virtual ~wxStatusBarMac(); |
8cf73271 | 26 | |
3660902c | 27 | bool Create(wxWindow *parent, wxWindowID id, |
8cf73271 | 28 | long style , |
3660902c | 29 | const wxString& name = wxPanelNameStr); |
8cf73271 | 30 | |
3660902c DS |
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); | |
8cf73271 | 34 | |
3660902c DS |
35 | // Implementation |
36 | virtual void MacHiliteChanged(); | |
37 | void OnPaint(wxPaintEvent& event); | |
8ab50549 | 38 | |
8cf73271 | 39 | protected: |
3660902c | 40 | DECLARE_EVENT_TABLE() |
8cf73271 SC |
41 | }; |
42 | ||
3660902c | 43 | #endif // _WX_STATBAR_H_ |