]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/tooltip.cpp
correction for memory leak
[wxWidgets.git] / src / mac / carbon / tooltip.cpp
index eb92ed996e03588510a1d2124dadba118b320a64..6787a92315a1f996c764c92d5ca26fa4ce805bdb 100644 (file)
@@ -218,7 +218,7 @@ void wxMacToolTip::Draw()
 
                SetOrigin( 0 , 0 ) ;
                TextFont( kFontIDGeneva ) ;
-               TextSize( 9 ) ;
+               TextSize( 10 ) ;
                TextFace( 0 ) ;
                FontInfo fontInfo;
                ::GetFontInfo(&fontInfo);
@@ -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() ;
        }
 }