fixing 1736428
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1794,11 +1794,18 @@ void wxMacMLTEControl::AdjustCreationAttributes( const wxColour &background, boo
|
||||
options |=
|
||||
kTXNSupportEditCommandProcessing
|
||||
| kTXNSupportEditCommandUpdating
|
||||
| kTXNSupportSpellCheckCommandProcessing
|
||||
| kTXNSupportSpellCheckCommandUpdating
|
||||
| kTXNSupportFontCommandProcessing
|
||||
| kTXNSupportFontCommandUpdating;
|
||||
|
||||
// only spell check when not read-only
|
||||
// todo : use system options for the other cases
|
||||
bool checkSpelling = !(m_windowStyle & wxTE_READONLY);
|
||||
|
||||
if ( checkSpelling )
|
||||
options |=
|
||||
kTXNSupportSpellCheckCommandProcessing
|
||||
| kTXNSupportSpellCheckCommandUpdating;
|
||||
|
||||
TXNSetCommandEventSupport( m_txn , options ) ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user