]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statusbr.h
And a 'standard colours' bitmap to help fix wxToolBar colour mapping problem
[wxWidgets.git] / include / wx / statusbr.h
index 4a0345ec52c3883af4db7c38b594bb8effe6edb2..6857a952599d0c8c779dec4a5475714d34daf623 100644 (file)
@@ -54,6 +54,10 @@ protected:
     #include "wx/msw/statbr95.h"
 
     typedef wxStatusBar95 wxStatusBarReal;
+#elif defined(__WXMAC__)
+    #include "wx/mac/statusbr.h"
+
+    typedef wxStatusBarMac wxStatusBarReal;
 #else
     #include "wx/generic/statusbr.h"
 
@@ -63,7 +67,7 @@ protected:
 // 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() { }
@@ -71,7 +75,7 @@ public:
                 wxWindowID id,
                 const wxPoint& WXUNUSED(pos) = wxDefaultPosition,
                 const wxSize& WXUNUSED(size) = wxDefaultSize,
-                long style = 0,
+                long style = wxST_SIZEGRIP,
                 const wxString& name = wxPanelNameStr)
     {
         Create(parent, id, style, name);