]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbr95.cpp
Added inline setters for wxTreeEvent so we don't need to add new
[wxWidgets.git] / src / msw / statbr95.cpp
index d85ba867dedab47c6a234d7d354f018ca099a38f..cab0b401bece8d5e21b615c93faa328a92b06360 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     04.04.98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -115,6 +115,8 @@ bool wxStatusBar95::Create(wxWindow *parent,
     SetFieldsCount(1);
     SubclassWin(m_hWnd);
 
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR));
+
     return TRUE;
 }
 
@@ -128,6 +130,8 @@ void wxStatusBar95::SetFieldsCount(int nFields, const int *widths)
     wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );
 
     wxStatusBarBase::SetFieldsCount(nFields, widths);
+
+    SetFieldsWidth();
 }
 
 void wxStatusBar95::SetStatusWidths(int n, const int widths[])