X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..b97e22c0ca7469762e422960245009648b0e0edf:/src/mac/carbon/tooltip.cpp?ds=sidebyside diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index ada78751e7..eb92ed996e 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -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" @@ -295,6 +296,7 @@ void wxMacToolTip::Draw() ::DrawText( text , laststop , i - laststop ) ; ::TextMode( srcOr ) ; + wxDC::MacInvalidateSetup() ; // DrawText( m_label , 0 , m_label.Length() ) ; } @@ -329,6 +331,7 @@ void wxMacToolTip::Clear() DrawPicture(m_backpict, &m_rect); KillPicture(m_backpict); m_backpict = NULL ; + wxDC::MacInvalidateSetup() ; } }