]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/statusbr.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[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
6762286d
SC
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBAR_H_
13#define _WX_STATBAR_H_
14
15class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
16{
cff9681b 17public:
6762286d
SC
18 wxStatusBarMac();
19 wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 20 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
21 const wxString& name = wxStatusBarNameStr);
22
23 virtual ~wxStatusBarMac();
24
25 bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
c4c178c1 26 long style = wxSTB_DEFAULT_STYLE,
6762286d
SC
27 const wxString& name = wxStatusBarNameStr);
28
6762286d
SC
29 // Implementation
30 virtual void MacHiliteChanged();
31 void OnPaint(wxPaintEvent& event);
32
33protected:
cff9681b
PC
34 virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
35 virtual void DrawField(wxDC& dc, int i, int textHeight);
6cf68971
VZ
36 virtual void DoUpdateStatusText(int number = 0);
37
cff9681b 38 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
6762286d
SC
39 DECLARE_EVENT_TABLE()
40};
41
42#endif // _WX_STATBAR_H_