X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aad97fdccec36de273a39a2b954c7da84e8df70..fa1c12bdd76acc21ddb45b90bb53b2f58aed946d:/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 ;