]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/tooltip.cpp
New module definition file for the ever chaning treectrl class interface.
[wxWidgets.git] / src / mac / tooltip.cpp
index 583bd9b8928fc278f9b2de31eb83e03bacdd886b..6787a92315a1f996c764c92d5ca26fa4ce805bdb 100644 (file)
 
 #if wxUSE_TOOLTIPS
 
 
 #if wxUSE_TOOLTIPS
 
+#include "wx/app.h"
+#include "wx/dc.h"
 #include "wx/window.h"
 #include "wx/tooltip.h"
 #include "wx/window.h"
 #include "wx/tooltip.h"
+#include "wx/timer.h"
 #include "wx/geometry.h"
 #include "wx/mac/aga.h"
 #include "wx/mac/uma.h"
 #include "wx/geometry.h"
 #include "wx/mac/aga.h"
 #include "wx/mac/uma.h"
@@ -215,7 +218,7 @@ void wxMacToolTip::Draw()
 
                SetOrigin( 0 , 0 ) ;
                TextFont( kFontIDGeneva ) ;
 
                SetOrigin( 0 , 0 ) ;
                TextFont( kFontIDGeneva ) ;
-               TextSize( 9 ) ;
+               TextSize( 10 ) ;
                TextFace( 0 ) ;
                FontInfo fontInfo;
                ::GetFontInfo(&fontInfo);
                TextFace( 0 ) ;
                FontInfo fontInfo;
                ::GetFontInfo(&fontInfo);
@@ -292,8 +295,7 @@ void wxMacToolTip::Draw()
                }
                                        
                ::DrawText( text , laststop , i - laststop ) ;
                }
                                        
                ::DrawText( text , laststop , i - laststop ) ;
-               ::TextMode( srcOr ) ;
-               
+               ::TextMode( srcOr ) ;           
        //      DrawText( m_label , 0 , m_label.Length() ) ;
        }
 }
        //      DrawText( m_label , 0 , m_label.Length() ) ;
        }
 }