#ifndef _STATBR95_H
#define _STATBR95_H
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "statbr95.h"
#endif
// ctors and such
wxStatusBar95();
wxStatusBar95(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = wxST_SIZEGRIP,
const wxString& name = wxEmptyString)
{
}
bool Create(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = wxST_SIZEGRIP,
const wxString& name = wxEmptyString);
// set status line fields' widths
virtual void SetStatusWidths(int n, const int widths_field[]);
+ // set status line fields' styles
+ virtual void SetStatusStyles(int n, const int styles[]);
+
// sets the minimal vertical size of the status bar
virtual void SetMinHeight(int height);
virtual int GetBorderX() const;
virtual int GetBorderY() const;
- void OnSize(wxSizeEvent& event);
-
protected:
void CopyFieldsWidth(const int widths[]);
void SetFieldsWidth();
+ // override base class virtual
+ void DoMoveWindow(int x, int y, int width, int height);
+
private:
- DECLARE_EVENT_TABLE()
- DECLARE_DYNAMIC_CLASS(wxStatusBar95);
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95)
};
#endif // wxUSE_NATIVE_STATUSBAR