#ifndef _WX_UNIV_STATUSBR_H_
#define _WX_UNIV_STATUSBR_H_
-#ifdef __GNUG__
- #pragma interface "univstatusbr.h"
-#endif
-
#include "wx/univ/inpcons.h"
#include "wx/arrstr.h"
wxStatusBarUniv() { Init(); }
wxStatusBarUniv(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = 0,
const wxString& name = wxPanelNameStr)
{
}
bool Create(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = 0,
const wxString& name = wxPanelNameStr);
virtual int GetBorderX() const;
virtual int GetBorderY() const;
+ // wxInputConsumer pure virtual
+ virtual wxWindow *GetInputWindow() const
+ { return wx_const_cast(wxStatusBar*, this); }
+
protected:
// recalculate the field widths
void OnSize(wxSizeEvent& event);
// draw the statusbar
virtual void DoDraw(wxControlRenderer *renderer);
- // wxInputConsumer pure virtual
- virtual wxWindow *GetInputWindow() const
- { return wxConstCast(this, wxStatusBar); }
-
// tell them about our preferred height
virtual wxSize DoGetBestSize() const;