X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498fd97d9e8eafbc1c12b8721bc739c492bdf22e..9f4de6b2cf06f53a98b28f53640f3b9ec8cf4182:/src/msw/statbr95.cpp?ds=sidebyside diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index d85ba867de..45d66c2fcf 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -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[])