]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/tooltip.cpp
don't include windows.h unless neccessary
[wxWidgets.git] / src / mac / tooltip.cpp
index 6787a92315a1f996c764c92d5ca26fa4ce805bdb..240e8fee8963ffe464c1f7ef3abaa47b089630ca 100644 (file)
@@ -271,12 +271,12 @@ void wxMacToolTip::Draw()
                                   NULL);
 
                ClosePicture();
                                   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 ) ;
                EraseRect( &m_rect ) ;
                FrameRect( &m_rect ) ;
-               BackColor( whiteColor ) ;
-               ForeColor(blackColor ) ;
                ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
 
                i = 0 ;
                ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
 
                i = 0 ;