wxStatusBarGeneric() { Init(); }
wxStatusBarGeneric(wxWindow *parent,
wxWindowID winid = wxID_ANY,
- long style = wxST_SIZEGRIP,
+ long style = wxSTB_DEFAULT_STYLE,
const wxString& name = wxStatusBarNameStr)
{
Init();
virtual ~wxStatusBarGeneric();
bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
- long style = wxST_SIZEGRIP,
+ long style = wxSTB_DEFAULT_STYLE,
const wxString& name = wxStatusBarNameStr);
// Create status line
virtual int GetBorderY() const { return m_borderY; }
+ // implementation only (not part of wxStatusBar public API):
+
+ int GetFieldFromPoint(const wxPoint& point) const;
+
protected: // event handlers
void OnPaint(wxPaintEvent& event);
virtual void InitColours();
// true if the status bar shows the size grip: for this it must have
- // wxST_SIZEGRIP style and the window it is attached to must be resizeable
+ // wxSTB_SIZEGRIP style and the window it is attached to must be resizeable
// and not maximized
bool ShowsSizeGrip() const;
int m_borderX;
int m_borderY;
+
wxPen m_mediumShadowPen;
wxPen m_hilightPen;