return true;
}
-void wxStatusBarMac::DrawFieldText(wxDC& dc, const wxRect& rect, int i, int textHeight)
+void wxStatusBarMac::DrawFieldText(wxDC& dc, const wxRect& rect, int i, int WXUNUSED(textHeight))
{
int w, h;
GetSize( &w , &h );
DrawFieldText(dc, rect, i, textHeight);
}
-void wxStatusBarMac::SetStatusText(const wxString& text, int number)
+void wxStatusBarMac::DoUpdateStatusText(int number)
{
- // NOTE: seems this function is identic to wxStatusBarGeneric::SetStatusText;
- // probably can be removed without problems (FM)
-
- wxCHECK_RET( (number >= 0) && ((size_t)number < m_panes.GetCount()),
- wxT("invalid status bar field index") );
-
- if ( GetStatusText(number) == text )
- return;
-
- wxStatusBarGeneric::SetStatusText(text, number);
-
wxRect rect;
GetFieldRect(number, rect);