2004-03-23 12:35:05 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2006-02-05 15:53:57 -05:00
|
|
|
// Name: wx/mac/carbon/statusbr.h
|
|
|
|
// Purpose: native implementation of wxStatusBar.
|
|
|
|
// Optional: can use generic version instead.
|
2004-03-23 12:35:05 -05:00
|
|
|
// Author: Stefan Csomor
|
|
|
|
// Modified by:
|
|
|
|
// Created: 1998-01-01
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Stefan Csomor
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2004-03-23 12:35:05 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
#ifndef _WX_STATBAR_H_
|
|
|
|
#define _WX_STATBAR_H_
|
2004-03-23 12:35:05 -05:00
|
|
|
|
|
|
|
class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
|
|
|
|
{
|
2006-02-05 15:53:57 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
|
2004-03-23 12:35:05 -05:00
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
wxStatusBarMac();
|
|
|
|
wxStatusBarMac(wxWindow *parent, wxWindowID id,
|
2004-03-23 12:35:05 -05:00
|
|
|
long style = 0,
|
2006-02-05 15:53:57 -05:00
|
|
|
const wxString& name = wxPanelNameStr);
|
2004-03-23 12:35:05 -05:00
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
~wxStatusBarMac();
|
2004-03-23 12:35:05 -05:00
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
2004-03-23 12:35:05 -05:00
|
|
|
long style ,
|
2006-02-05 15:53:57 -05:00
|
|
|
const wxString& name = wxPanelNameStr);
|
2004-03-23 12:35:05 -05:00
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
virtual void DrawFieldText(wxDC& dc, int i);
|
|
|
|
virtual void DrawField(wxDC& dc, int i);
|
|
|
|
virtual void SetStatusText(const wxString& text, int number = 0);
|
2004-03-23 12:35:05 -05:00
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
// Implementation
|
|
|
|
virtual void MacHiliteChanged();
|
|
|
|
void OnPaint(wxPaintEvent& event);
|
2004-03-29 03:39:31 -05:00
|
|
|
|
2004-03-23 12:35:05 -05:00
|
|
|
protected:
|
2006-02-05 15:53:57 -05:00
|
|
|
DECLARE_EVENT_TABLE()
|
2004-03-23 12:35:05 -05:00
|
|
|
};
|
|
|
|
|
2006-02-05 15:53:57 -05:00
|
|
|
#endif // _WX_STATBAR_H_
|