added const for Mac OS X compilation
[wxWidgets.git] / src / mac / carbon / tooltip.cpp
index 583bd9b8928fc278f9b2de31eb83e03bacdd886b..84e5da8d8aa3018433e44fc663b7ea46c3d4e8bc 100644 (file)
 
 #if wxUSE_TOOLTIPS
 
+#include "wx/app.h"
+#include "wx/dc.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"
@@ -292,8 +295,7 @@ void wxMacToolTip::Draw()
                }
                                        
                ::DrawText( text , laststop , i - laststop ) ;
-               ::TextMode( srcOr ) ;
-               
+               ::TextMode( srcOr ) ;           
        //      DrawText( m_label , 0 , m_label.Length() ) ;
        }
 }