From a22be3e1fcf362850fe33d52d55518ad68b98d02 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 27 Feb 2001 21:35:18 +0000 Subject: [PATCH] added a call 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@9437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index 6ce701621c..cdf3e11a20 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -498,7 +498,7 @@ protected: mutable AGAPortHelper m_macPortHelper ; void MacSetupPort() const ; void MacVerifySetup() const { if ( m_macPortId != m_macCurrentPortId ) MacSetupPort() ; } - + static void MacInvalidateSetup() { m_macCurrentPortId++ ; } static long m_macCurrentPortId ; }; -- 2.47.2