X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aee9fe73d75be9dfe4ffc2fa09e1a6c797af4906..c4e387521b7297a24e4aa016b588cf77d32d1b5f:/src/mac/dc.cpp diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index eb2bc13dc4..364c45fcf1 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -1464,6 +1464,7 @@ void wxDC::DoDrawText(const wxString& strtext, wxCoord x, wxCoord y) long yy = YLOG2DEVMAC(y); #if TARGET_CARBON bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ; + useDrawThemeText = false ; #endif MacInstallFont() ; if ( 0 ) @@ -1525,7 +1526,7 @@ void wxDC::DoDrawText(const wxString& strtext, wxCoord x, wxCoord y) ::DrawThemeTextBox( mString, kThemeCurrentPortFont, kThemeStateActive, - true, + false, &frame, teJustLeft, nil ); @@ -1551,7 +1552,7 @@ void wxDC::DoDrawText(const wxString& strtext, wxCoord x, wxCoord y) ::DrawThemeTextBox( mString, kThemeCurrentPortFont, kThemeStateActive, - true, + false, &frame, teJustLeft, nil ); @@ -1594,6 +1595,7 @@ void wxDC::DoGetTextExtent( const wxString &string, wxCoord *width, wxCoord *he ::GetFontInfo( &fi ) ; #if TARGET_CARBON bool useGetThemeText = ( GetThemeTextDimensions != (void*) kUnresolvedCFragSymbolAddress ) ; + useGetThemeText = false ; #endif if ( height )