X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de923e4f508d751267da1b730e7b8c4fc1f4793c..7a21e692d22ec16a5de7dbbb73761d4c4456edaa:/src/mac/control.cpp diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 31e38de31a..b469c40ef4 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -207,7 +207,7 @@ void wxControl::SetLabel(const wxString& title) if ( m_macControl ) { - UMASetControlTitle( (ControlHandle) m_macControl , m_label ) ; + UMASetControlTitle( (ControlHandle) m_macControl , m_label , m_font.GetEncoding() ) ; } Refresh() ; } @@ -338,7 +338,7 @@ void wxControl::MacPostControlCreate() controlstyle.flags = kControlUseFontMask ; if (IsKindOf( CLASSINFO( wxButton ) ) ) - controlstyle.font = kControlFontSmallSystemFont ; // eventually kControlFontBigSystemFont ; + controlstyle.font = kControlFontBigSystemFont ; // eventually kControlFontBigSystemFont ; else controlstyle.font = kControlFontSmallSystemFont ; @@ -400,7 +400,7 @@ void wxControl::MacPostControlCreate() SetSize(pos.x, pos.y, new_size.x, new_size.y); #if wxUSE_UNICODE - UMASetControlTitle( (ControlHandle) m_macControl , wxStripMenuCodes(m_label) ) ; + UMASetControlTitle( (ControlHandle) m_macControl , wxStripMenuCodes(m_label) , m_font.GetEncoding() ) ; #endif if ( m_macControlIsShown )