X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eaa1d68c29cd273971be9d60008045e470c2d46..ef3a5e0aae003c29941c7d41ed6becea4287752d:/src/mac/tooltip.cpp diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 84e5da8d8a..240e8fee89 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -218,7 +218,7 @@ void wxMacToolTip::Draw() SetOrigin( 0 , 0 ) ; TextFont( kFontIDGeneva ) ; - TextSize( 9 ) ; + TextSize( 10 ) ; TextFace( 0 ) ; FontInfo fontInfo; ::GetFontInfo(&fontInfo); @@ -271,12 +271,12 @@ void wxMacToolTip::Draw() NULL); ClosePicture(); - RGBColor yellow = { 0xFFFF , 0xFFFF , (153<<8)+153 } ; - RGBBackColor( &yellow ) ; + PenNormal() ; + SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ; + BackColor( yellowColor ) ; + ForeColor( blackColor ) ; EraseRect( &m_rect ) ; FrameRect( &m_rect ) ; - BackColor( whiteColor ) ; - ForeColor(blackColor ) ; ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder); i = 0 ;