1999-01-01 11:05:26 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: statusbr.h
|
|
|
|
// Purpose: native implementation of wxStatusBar. Optional; can use generic
|
|
|
|
// version instead.
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_STATBAR_H_
|
|
|
|
#define _WX_STATBAR_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
2001-07-22 13:03:06 -04:00
|
|
|
#pragma interface "statbrma.h"
|
1999-01-01 11:05:26 -05:00
|
|
|
#endif
|
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
|
1999-01-01 11:05:26 -05:00
|
|
|
{
|
2000-08-09 07:02:59 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxStatusBarMac);
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2001-02-08 16:13:12 -05:00
|
|
|
wxStatusBarMac();
|
|
|
|
wxStatusBarMac(wxWindow *parent, wxWindowID id,
|
2000-08-09 07:02:59 -04:00
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxPanelNameStr)
|
|
|
|
{
|
|
|
|
Create(parent, id, style, name);
|
|
|
|
}
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
~wxStatusBarMac();
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
2001-02-08 16:13:12 -05:00
|
|
|
long style ,
|
2000-08-09 07:02:59 -04:00
|
|
|
const wxString& name = wxPanelNameStr) ;
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
virtual void DrawFieldText(wxDC& dc, int i);
|
|
|
|
virtual void DrawField(wxDC& dc, int i);
|
2001-12-19 16:30:54 -05:00
|
|
|
virtual void SetStatusText(const wxString& text, int number = 0) ;
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
////////////////////////////////////////////////////////////////////////
|
|
|
|
// Implementation
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
void OnPaint(wxPaintEvent& event);
|
|
|
|
protected:
|
1999-01-01 11:05:26 -05:00
|
|
|
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2001-04-01 16:42:05 -04:00
|
|
|
// _WX_STATBAR_H_
|