wxCHECK_RET( (number >= 0) && (number < m_nFields),
_T("invalid status bar field index") );
+ if ( m_statusStrings[number] == text )
+ return ;
+
m_statusStrings[number] = text;
wxRect rect;
GetFieldRect(number, rect);
if ( MacIsReallyHilited() )
{
- wxPen white( wxWHITE , 1 , wxSOLID ) ;
+ wxPen white( *wxWHITE , 1 , wxSOLID ) ;
if (major >= 10 )
{
//Finder statusbar border color: (Project builder similar is 9B9B9B)
}
else
{
- wxPen black( wxBLACK , 1 , wxSOLID ) ;
+ wxPen black( *wxBLACK , 1 , wxSOLID ) ;
dc.SetPen(black);
}
dc.DrawLine(0, 0 ,