1
///////////////////////////////////////////////////////////////////////////////
2
// Name: wx/osx/statusbr.h
3
// Purpose: native implementation of wxStatusBar.
4
// Optional: can use generic version instead.
5
// Author: Stefan Csomor
8
// RCS-ID: $Id: statusbr.h 64943 2010-07-13 13:29:58Z VZ $
9
// Copyright: (c) Stefan Csomor
10
// Licence: wxWindows licence
11
///////////////////////////////////////////////////////////////////////////////
13
#ifndef _WX_STATBAR_H_
14
#define _WX_STATBAR_H_
16
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
20
wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
21
long style = wxSTB_DEFAULT_STYLE,
22
const wxString& name = wxStatusBarNameStr);
24
virtual ~wxStatusBarMac();
26
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
27
long style = wxSTB_DEFAULT_STYLE,
28
const wxString& name = wxStatusBarNameStr);
31
virtual void MacHiliteChanged();
32
void OnPaint(wxPaintEvent& event);
35
virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
36
virtual void DrawField(wxDC& dc, int i, int textHeight);
37
virtual void DoUpdateStatusText(int number = 0);
39
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
43
#endif // _WX_STATBAR_H_