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:
@@ -498,7 +498,7 @@ protected:
|
|||||||
mutable AGAPortHelper m_macPortHelper ;
|
mutable AGAPortHelper m_macPortHelper ;
|
||||||
void MacSetupPort() const ;
|
void MacSetupPort() const ;
|
||||||
void MacVerifySetup() const { if ( m_macPortId != m_macCurrentPortId ) MacSetupPort() ; }
|
void MacVerifySetup() const { if ( m_macPortId != m_macCurrentPortId ) MacSetupPort() ; }
|
||||||
|
static void MacInvalidateSetup() { m_macCurrentPortId++ ; }
|
||||||
static long m_macCurrentPortId ;
|
static long m_macCurrentPortId ;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user