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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user