From 8ec413ce46f5590f2cfcba50f6f1cf1a60392b63 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 20 Apr 2010 20:48:49 +0000 Subject: [PATCH] avoiding full resize-invalidate and refresh git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/toplevel_osx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ); } -- 2.45.2