From: Stefan Csomor Date: Sun, 4 Nov 2001 20:24:12 +0000 (+0000) Subject: corrected tooltip X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/15913ebfdd9795de13fbe2ae4c91b8106885dcc7 corrected tooltip git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 695582839c..240e8fee89 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -274,8 +274,8 @@ void wxMacToolTip::Draw() PenNormal() ; SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ; BackColor( yellowColor ) ; - ForeColor(magentaColor ) ; -// EraseRect( &m_rect ) ; + ForeColor( blackColor ) ; + EraseRect( &m_rect ) ; FrameRect( &m_rect ) ; ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder); diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 695582839c..240e8fee89 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -274,8 +274,8 @@ void wxMacToolTip::Draw() PenNormal() ; SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ; BackColor( yellowColor ) ; - ForeColor(magentaColor ) ; -// EraseRect( &m_rect ) ; + ForeColor( blackColor ) ; + EraseRect( &m_rect ) ; FrameRect( &m_rect ) ; ::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);