turning off carbon events for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7e4b7f9a8b
commit
55d0b18027
@ -2616,6 +2616,28 @@ OSStatus wxMacMLTEClassicControl::DoCreate()
|
||||
kTXNSystemDefaultEncoding,
|
||||
&m_txn, &m_txnFrameID, NULL ) );
|
||||
|
||||
TXNCarbonEventInfo cInfo ;
|
||||
|
||||
cInfo.useCarbonEvents = false ;
|
||||
cInfo.filler = 0 ;
|
||||
cInfo.flags = 0 ;
|
||||
cInfo.fDictionary = NULL ;
|
||||
|
||||
TXNControlTag iControlTags[] =
|
||||
{
|
||||
kTXNUseCarbonEvents ,
|
||||
};
|
||||
TXNControlData iControlData[] =
|
||||
{
|
||||
{(UInt32) &cInfo },
|
||||
};
|
||||
|
||||
int toptag = WXSIZEOF( iControlTags ) ;
|
||||
|
||||
verify_noerr( TXNSetTXNObjectControls( m_txn, false , toptag,
|
||||
iControlTags, iControlData )) ;
|
||||
|
||||
|
||||
#ifdef __WXMAC_OSX__
|
||||
TXNRegisterScrollInfoProc( m_txn, gTXNScrollInfoProc, (SInt32) this);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user