a couple of "const" mistakenly removed restored

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-07-08 22:09:37 +00:00
parent 4d1f281b6d
commit 330043b46d
2 changed files with 9 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ bool wxStatusBar::Create(wxWindow *parent, wxWindowID id,
return success;
}
void wxStatusBar::SetFieldsCount(int number, int *widths)
void wxStatusBar::SetFieldsCount(int number, const int *widths)
{
m_nFields = number;
@@ -138,7 +138,7 @@ wxString wxStatusBar::GetStatusText(int n) const
return m_statusStrings[n];
}
void wxStatusBar::SetStatusWidths(int n, int *widths_field)
void wxStatusBar::SetStatusWidths(int n, const int *widths_field)
{
// only set status widths, when n == number of statuswindows
if (n == m_nFields)