#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__) && !defined(__UNIX__)
+#elif defined(__WXMAC__)
+ #include "wx/generic/statusbr.h"
#include "wx/mac/statusbr.h"
typedef wxStatusBarMac wxStatusBarReal;
DECLARE_DYNAMIC_CLASS(wxStatusBar)
};
+#endif
+
#endif
// _WX_STATUSBR_H_BASE_