From: Stefan Csomor Date: Tue, 12 Apr 2005 04:24:53 +0000 (+0000) Subject: make sure also toplevel windows have the correct systen font X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/14c96cf2b3f11e08ef26348b9daeeafce58a7f08 make sure also toplevel windows have the correct systen font git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index d96295e606..e0eece4bff 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -1201,6 +1201,8 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, InstallStandardEventHandler( GetWindowEventTarget(MAC_WXHWND(m_macWindow)) ) ; MacInstallTopLevelWindowEventHandler() ; + DoSetWindowVariant( m_windowVariant ) ; + m_macFocus = NULL ; if ( HasFlag(wxFRAME_SHAPED) )