#if wxUSE_TOOLTIPS
#include "wx/app.h"
+#include "wx/dc.h"
#include "wx/window.h"
#include "wx/tooltip.h"
#include "wx/timer.h"
SetOrigin( 0 , 0 ) ;
TextFont( kFontIDGeneva ) ;
- TextSize( 9 ) ;
+ TextSize( 10 ) ;
TextFace( 0 ) ;
FontInfo fontInfo;
::GetFontInfo(&fontInfo);
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 ;
}
::DrawText( text , laststop , i - laststop ) ;
- ::TextMode( srcOr ) ;
-
+ ::TextMode( srcOr ) ;
// DrawText( m_label , 0 , m_label.Length() ) ;
}
}