#if wxUSE_STATUSBAR
-#include "wx/window.h"
+#include "wx/control.h"
#include "wx/list.h"
#include "wx/dynarray.h"
#define wxSB_NORMAL 0x0000
#define wxSB_FLAT 0x0001
#define wxSB_RAISED 0x0002
+#define wxSB_SUNKEN 0x0003
// ----------------------------------------------------------------------------
// wxStatusBarPane: an helper for wxStatusBar
// wxStatusBar: a window near the bottom of the frame used for status info
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxStatusBarBase : public wxWindow
+class WXDLLIMPEXP_CORE wxStatusBarBase : public wxControl
{
public:
wxStatusBarBase();
// field styles
// ------------
- // Set the field style. Use either wxSB_NORMAL (default) for a standard 3D
- // border around a field, wxSB_FLAT for no border around a field, so that it
- // appears flat or wxSB_POPOUT to make the field appear raised.
- // Setting field styles only works on wxMSW
+ // Set the field border style to one of wxSB_XXX values.
virtual void SetStatusStyles(int n, const int styles[]);
int GetStatusStyle(int n) const
#if defined(__WXUNIVERSAL__)
#define wxStatusBarUniv wxStatusBar
#include "wx/univ/statusbr.h"
-#elif defined(__WXPALMOS__)
- #define wxStatusBarPalm wxStatusBar
- #include "wx/palmos/statusbr.h"
-#elif defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR
+#elif defined(__WXMSW__) && wxUSE_NATIVE_STATUSBAR
#include "wx/msw/statusbar.h"
#elif defined(__WXMAC__)
#define wxStatusBarMac wxStatusBar