]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/tooltip.cpp
Translated a double click into just a second click for Scintilla
[wxWidgets.git] / src / mac / tooltip.cpp
index eb92ed996e03588510a1d2124dadba118b320a64..84e5da8d8aa3018433e44fc663b7ea46c3d4e8bc 100644 (file)
@@ -295,9 +295,7 @@ void wxMacToolTip::Draw()
                }
                                        
                ::DrawText( text , laststop , i - laststop ) ;
-               ::TextMode( srcOr ) ;
-               wxDC::MacInvalidateSetup() ;
-               
+               ::TextMode( srcOr ) ;           
        //      DrawText( m_label , 0 , m_label.Length() ) ;
        }
 }
@@ -331,7 +329,6 @@ void wxMacToolTip::Clear()
                DrawPicture(m_backpict, &m_rect);
                KillPicture(m_backpict);
                m_backpict = NULL ;
-               wxDC::MacInvalidateSetup() ;
        }
 }