added calls for invalidating the dc setup on mac explicitely (needed in case of nested updates (e.g. writing a message to a text control while being in paint mode)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-02-27 21:38:13 +00:00
parent a22be3e1fc
commit b89dac7816
12 changed files with 20 additions and 126 deletions

View File

@@ -295,6 +295,7 @@ void wxMacToolTip::Draw()
::DrawText( text , laststop , i - laststop ) ;
::TextMode( srcOr ) ;
wxDC::MacInvalidateSetup() ;
// DrawText( m_label , 0 , m_label.Length() ) ;
}
@@ -329,6 +330,7 @@ void wxMacToolTip::Clear()
DrawPicture(m_backpict, &m_rect);
KillPicture(m_backpict);
m_backpict = NULL ;
wxDC::MacInvalidateSetup() ;
}
}