From: Stefan Csomor Date: Tue, 20 Apr 2010 20:48:49 +0000 (+0000) Subject: avoiding full resize-invalidate and refresh X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8ec413ce46f5590f2cfcba50f6f1cf1a60392b63 avoiding full resize-invalidate and refresh git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/toplevel_osx.cpp b/src/osx/toplevel_osx.cpp index 4f62bae0a2..f88c60dce2 100644 --- a/src/osx/toplevel_osx.cpp +++ b/src/osx/toplevel_osx.cpp @@ -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() ); }