]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/statusbr.h
Works a little better when you remember to say "virtual"
[wxWidgets.git] / include / wx / mac / statusbr.h
CommitLineData
0dbd6262
SC
1///////////////////////////////////////////////////////////////////////////////
2// Name: statusbr.h
3// Purpose: native implementation of wxStatusBar. Optional; can use generic
4// version instead.
a31a5f85
JS
5// Author: Stefan Csomor
6// Modified by:
7// Created: 1998-01-01
0dbd6262 8// RCS-ID: $Id$
a31a5f85 9// Copyright: (c) Stefan Csomor
0dbd6262
SC
10// Licence: wxWindows licence
11///////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_STATBAR_H_
14#define _WX_STATBAR_H_
15
12028905 16#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
b142515e 17#pragma interface "statbrma.h"
0dbd6262
SC
18#endif
19
05adb9d2 20class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
0dbd6262 21{
05adb9d2 22 DECLARE_DYNAMIC_CLASS(wxStatusBarMac);
0dbd6262 23
5b781a67
SC
24 wxStatusBarMac();
25 wxStatusBarMac(wxWindow *parent, wxWindowID id,
05adb9d2
SC
26 long style = 0,
27 const wxString& name = wxPanelNameStr)
28 {
29 Create(parent, id, style, name);
30 }
0dbd6262 31
05adb9d2 32 ~wxStatusBarMac();
0dbd6262 33
05adb9d2 34 bool Create(wxWindow *parent, wxWindowID id,
5b781a67 35 long style ,
05adb9d2 36 const wxString& name = wxPanelNameStr) ;
0dbd6262 37
05adb9d2
SC
38 virtual void DrawFieldText(wxDC& dc, int i);
39 virtual void DrawField(wxDC& dc, int i);
ae9283da 40 virtual void SetStatusText(const wxString& text, int number = 0) ;
05adb9d2
SC
41 ////////////////////////////////////////////////////////////////////////
42 // Implementation
0dbd6262 43
1c469f7f
SC
44 virtual void MacSuperEnabled( bool enable ) ;
45
05adb9d2
SC
46 void OnPaint(wxPaintEvent& event);
47protected:
0dbd6262
SC
48
49 DECLARE_EVENT_TABLE()
0dbd6262
SC
50};
51
52#endif
5fde6fcc 53 // _WX_STATBAR_H_