X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498fd97d9e8eafbc1c12b8721bc739c492bdf22e..81c9effa8462662263c3b4eac2cfae1ef5caae2c:/src/msw/statbr95.cpp 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[])