X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee6b1d97e741fda8d579fa21cbc89f0c91615cef..2fe212b0336512aac9eace69fab09ce856b0bf4b:/src/mac/carbon/tooltip.cpp?ds=inline diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 583bd9b892..6787a92315 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -15,8 +15,11 @@ #if wxUSE_TOOLTIPS +#include "wx/app.h" +#include "wx/dc.h" #include "wx/window.h" #include "wx/tooltip.h" +#include "wx/timer.h" #include "wx/geometry.h" #include "wx/mac/aga.h" #include "wx/mac/uma.h" @@ -215,7 +218,7 @@ void wxMacToolTip::Draw() SetOrigin( 0 , 0 ) ; TextFont( kFontIDGeneva ) ; - TextSize( 9 ) ; + TextSize( 10 ) ; TextFace( 0 ) ; FontInfo fontInfo; ::GetFontInfo(&fontInfo); @@ -292,8 +295,7 @@ void wxMacToolTip::Draw() } ::DrawText( text , laststop , i - laststop ) ; - ::TextMode( srcOr ) ; - + ::TextMode( srcOr ) ; // DrawText( m_label , 0 , m_label.Length() ) ; } }