Improved performance
This commit is contained in:
parent
ae2457da03
commit
e750774b05
|
@ -5522,14 +5522,13 @@ void MyFrame::messagePane ( const wxString& s, int iconType, bool forcePane )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxAuiPaneInfo info = manager.GetPane ( htmlReport );
|
wxAuiPaneInfo &info = manager.GetPane ( htmlReport );
|
||||||
if ( !info.IsShown() )
|
if ( !info.IsShown() )
|
||||||
{
|
{
|
||||||
manager.GetPane ( htmlReport ).Show ( true );
|
info.Show ( true );
|
||||||
manager.Update();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
manager.GetPane ( htmlReport ).Caption ( paneTitle );
|
info.Caption ( paneTitle );
|
||||||
|
|
||||||
wxString htmlString = s;
|
wxString htmlString = s;
|
||||||
htmlString.Replace ( _T ( "&" ), _T ( "&" ), true );
|
htmlString.Replace ( _T ( "&" ), _T ( "&" ), true );
|
||||||
|
|
Loading…
Reference in New Issue