]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/statusbr.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / osx / statusbr.h
CommitLineData
6762286d
SC
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
16class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
17{
18 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
19
20 wxStatusBarMac();
21 wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 22 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
23 const wxString& name = wxStatusBarNameStr);
24
25 virtual ~wxStatusBarMac();
26
27 bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 28 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
29 const wxString& name = wxStatusBarNameStr);
30
0cd15959
FM
31 virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
32 virtual void DrawField(wxDC& dc, int i, int textHeight);
33
6762286d
SC
34 virtual void SetStatusText(const wxString& text, int number = 0);
35
36 // Implementation
37 virtual void MacHiliteChanged();
38 void OnPaint(wxPaintEvent& event);
39
40protected:
41 DECLARE_EVENT_TABLE()
42};
43
44#endif // _WX_STATBAR_H_