]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbr95.cpp
implemented menu drawing in the GTK theme
[wxWidgets.git] / src / msw / statbr95.cpp
index d85ba867dedab47c6a234d7d354f018ca099a38f..45d66c2fcf10d022a20c38b8ca0f4f31b5bb07b5 100644 (file)
@@ -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[])