corrected tooltip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -274,8 +274,8 @@ void wxMacToolTip::Draw()
|
|||||||
PenNormal() ;
|
PenNormal() ;
|
||||||
SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ;
|
SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ;
|
||||||
BackColor( yellowColor ) ;
|
BackColor( yellowColor ) ;
|
||||||
ForeColor(magentaColor ) ;
|
ForeColor( blackColor ) ;
|
||||||
// EraseRect( &m_rect ) ;
|
EraseRect( &m_rect ) ;
|
||||||
FrameRect( &m_rect ) ;
|
FrameRect( &m_rect ) ;
|
||||||
::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
|
::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
|
||||||
|
|
||||||
|
@@ -274,8 +274,8 @@ void wxMacToolTip::Draw()
|
|||||||
PenNormal() ;
|
PenNormal() ;
|
||||||
SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ;
|
SetThemeBackground(kThemeBrushNotificationWindowBackground,32,true) ;
|
||||||
BackColor( yellowColor ) ;
|
BackColor( yellowColor ) ;
|
||||||
ForeColor(magentaColor ) ;
|
ForeColor( blackColor ) ;
|
||||||
// EraseRect( &m_rect ) ;
|
EraseRect( &m_rect ) ;
|
||||||
FrameRect( &m_rect ) ;
|
FrameRect( &m_rect ) ;
|
||||||
::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
|
::MoveTo( m_rect.left + kTipBorder , m_rect.top + fontInfo.ascent + kTipBorder);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user