X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aad97fdccec36de273a39a2b954c7da84e8df70..e7ca6139d062c37cc7c056b6647097e999b714cd:/src/mac/tooltip.cpp?ds=sidebyside diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 6787a92315..240e8fee89 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -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 ;