avoiding full resize-invalidate and refresh

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-04-20 20:48:49 +00:00
parent eb68a54a40
commit 8ec413ce46

View File

@@ -164,7 +164,8 @@ wxPoint wxTopLevelWindowMac::GetClientAreaOrigin() const
void wxTopLevelWindowMac::SetTitle(const wxString& title)
{
wxWindow::SetLabel( title ) ;
m_label = title ;
if ( m_nowpeer )
m_nowpeer->SetTitle(title, GetFont().GetEncoding() );
}