fixed bug with creating status bar with more than 1 pane (needed resize to refresh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -128,6 +128,8 @@ void wxStatusBar95::SetFieldsCount(int nFields, const int *widths)
|
|||||||
wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );
|
wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );
|
||||||
|
|
||||||
wxStatusBarBase::SetFieldsCount(nFields, widths);
|
wxStatusBarBase::SetFieldsCount(nFields, widths);
|
||||||
|
|
||||||
|
SetFieldsWidth();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxStatusBar95::SetStatusWidths(int n, const int widths[])
|
void wxStatusBar95::SetStatusWidths(int n, const int widths[])
|
||||||
|
Reference in New Issue
Block a user