X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee6b1d97e741fda8d579fa21cbc89f0c91615cef..1d261710b8a6cf129d9670d640a4d5df3ca6c0cc:/src/mac/carbon/tooltip.cpp diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 583bd9b892..5974c8808e 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -15,8 +15,10 @@ #if wxUSE_TOOLTIPS +#include "wx/app.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" @@ -293,6 +295,7 @@ void wxMacToolTip::Draw() ::DrawText( text , laststop , i - laststop ) ; ::TextMode( srcOr ) ; + wxDC::MacInvalidateSetup() ; // DrawText( m_label , 0 , m_label.Length() ) ; } @@ -327,6 +330,7 @@ void wxMacToolTip::Clear() DrawPicture(m_backpict, &m_rect); KillPicture(m_backpict); m_backpict = NULL ; + wxDC::MacInvalidateSetup() ; } }