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__
|
|
|
|
#pragma interface "statbar.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/generic/statusbr.h"
|
|
|
|
|
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
|
|
|
|
2000-08-09 07:02:59 -04:00
|
|
|
wxStatusBarMac(void);
|
|
|
|
inline wxStatusBarMac(wxWindow *parent, wxWindowID id,
|
|
|
|
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,
|
|
|
|
long style,
|
|
|
|
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);
|
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
|
1999-11-05 04:16:09 -05:00
|
|
|
// _WX_STATBAR_H_
|