X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aad97fdccec36de273a39a2b954c7da84e8df70..ff8fda36178e5d44b402757dcdc5a2bb54e52b7d:/src/mac/tooltip.cpp diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 6787a92315..695582839c 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 ) ; - EraseRect( &m_rect ) ; + PenNormal() ; + SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ; + BackColor( yellowColor ) ; + ForeColor(magentaColor ) ; +// EraseRect( &m_rect ) ; FrameRect( &m_rect ) ; - BackColor( whiteColor ) ; - ForeColor(blackColor ) ; ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder); i = 0 ;