]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/tooltip.cpp
Released menubar capture before menu popup was captured.
[wxWidgets.git] / src / mac / tooltip.cpp
index ada78751e77358e00532c012bb364d23ed2f0480..84e5da8d8aa3018433e44fc663b7ea46c3d4e8bc 100644 (file)
@@ -16,6 +16,7 @@
 #if wxUSE_TOOLTIPS
 
 #include "wx/app.h"
+#include "wx/dc.h"
 #include "wx/window.h"
 #include "wx/tooltip.h"
 #include "wx/timer.h"
@@ -294,8 +295,7 @@ void wxMacToolTip::Draw()
                }
                                        
                ::DrawText( text , laststop , i - laststop ) ;
-               ::TextMode( srcOr ) ;
-               
+               ::TextMode( srcOr ) ;           
        //      DrawText( m_label , 0 , m_label.Length() ) ;
        }
 }