]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/statusbr.h
Use shared pointers to hold wxWebHandlers throughout.
[wxWidgets.git] / include / wx / osx / statusbr.h
CommitLineData
6762286d 1///////////////////////////////////////////////////////////////////////////////
233f5738 2// Name: wx/osx/statusbr.h
6762286d
SC
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{
cff9681b 18public:
6762286d
SC
19 wxStatusBarMac();
20 wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 21 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
22 const wxString& name = wxStatusBarNameStr);
23
24 virtual ~wxStatusBarMac();
25
26 bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 27 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
28 const wxString& name = wxStatusBarNameStr);
29
6762286d
SC
30 // Implementation
31 virtual void MacHiliteChanged();
32 void OnPaint(wxPaintEvent& event);
33
34protected:
cff9681b
PC
35 virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
36 virtual void DrawField(wxDC& dc, int i, int textHeight);
6cf68971
VZ
37 virtual void DoUpdateStatusText(int number = 0);
38
cff9681b 39 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
6762286d
SC
40 DECLARE_EVENT_TABLE()
41};
42
43#endif // _WX_STATBAR_H_