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
This commit is contained in:
Stefan Csomor 2001-02-27 21:35:18 +00:00
parent 5b49e9eebd
commit a22be3e1fc

View File

@ -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 ;
};