X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..b838cfc9151aea38402ad2b1ba5d2f97cf94e973:/src/mac/tooltip.cpp diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index ada78751e7..6787a92315 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -16,6 +16,7 @@ #if wxUSE_TOOLTIPS #include "wx/app.h" +#include "wx/dc.h" #include "wx/window.h" #include "wx/tooltip.h" #include "wx/timer.h" @@ -217,7 +218,7 @@ void wxMacToolTip::Draw() SetOrigin( 0 , 0 ) ; TextFont( kFontIDGeneva ) ; - TextSize( 9 ) ; + TextSize( 10 ) ; TextFace( 0 ) ; FontInfo fontInfo; ::GetFontInfo(&fontInfo); @@ -294,8 +295,7 @@ void wxMacToolTip::Draw() } ::DrawText( text , laststop , i - laststop ) ; - ::TextMode( srcOr ) ; - + ::TextMode( srcOr ) ; // DrawText( m_label , 0 , m_label.Length() ) ; } }