]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/statusbr.h
not needed for CG
[wxWidgets.git] / include / wx / mac / carbon / statusbr.h
CommitLineData
8cf73271
SC
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
65571936 10// Licence: wxWindows licence
8cf73271
SC
11///////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_STATBAR_H_
14#define _WX_STATBAR_H_
15
8cf73271
SC
16class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
17{
48456801 18 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
8cf73271
SC
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 ~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
8ab50549
SC
40 virtual void MacHiliteChanged() ;
41
8cf73271
SC
42 void OnPaint(wxPaintEvent& event);
43protected:
44
45 DECLARE_EVENT_TABLE()
46};
47
48#endif
49 // _WX_STATBAR_H_