X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aad97fdccec36de273a39a2b954c7da84e8df70..33754c4d83c59b7523a6da0c4fb21079cb60301c:/src/mac/tooltip.cpp 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 ;