]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statusbr.cpp
warning fix
[wxWidgets.git] / src / univ / statusbr.cpp
index ab7c9374cf8377887bd0a77e657350c350af54ea..143b6fcde885b2e9967c2dfa01ebdad0bdaec5ca 100644 (file)
@@ -186,9 +186,8 @@ wxString wxStatusBarUniv::GetStatusText(int number) const
 
 void wxStatusBarUniv::SetFieldsCount(int number, const int *widths)
 {
-    wxStatusBarBase::SetFieldsCount(number, widths);
-
     m_statusText.SetCount(number);
+    wxStatusBarBase::SetFieldsCount(number, widths);
     m_widthsAbs.Empty();
 }