#include "wx/window.h"
+#if wxUSE_STATUSBAR
+
// ----------------------------------------------------------------------------
// wxStatusBar: a window near the bottom of the frame used for status info
// ----------------------------------------------------------------------------
virtual int GetBorderX() const = 0;
virtual int GetBorderY() const = 0;
+ // don't want status bars to accept the focus at all
+ virtual bool AcceptsFocus() const { return FALSE; }
+
protected:
int m_nFields; // the current number of fields
int *m_statusWidths; // the width (if !NULL) of the fields
#include "wx/msw/statbr95.h"
typedef wxStatusBar95 wxStatusBarReal;
+#elif defined(__WXMAC__)
+ #include "wx/generic/statusbr.h"
+ #include "wx/mac/statusbr.h"
+
+ typedef wxStatusBarMac wxStatusBarReal;
#else
#include "wx/generic/statusbr.h"
// we can't just typedef wxStatusBar to be one of 95/Generic because we should
// be able to forward declare it (done in several places) and because wxWin
// RTTI wouldn't work then
-class wxStatusBar : public wxStatusBarReal
+class WXDLLEXPORT wxStatusBar : public wxStatusBarReal
{
public:
wxStatusBar() { }
DECLARE_DYNAMIC_CLASS(wxStatusBar)
};
+#endif
+
#endif
// _WX_STATUSBR_H_BASE_