avoiding caret in all textctrls in 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1532,7 +1532,10 @@ void wxMacMLTEControl::AdjustCreationAttributes( const wxColour &background, boo
|
||||
iControlTags, iControlData )) ;
|
||||
|
||||
// setting the default font
|
||||
// under 10.2 this causes a visible caret, therefore we avoid it
|
||||
|
||||
if ( UMAGetSystemVersion() >= 0x1030 )
|
||||
{
|
||||
Str255 fontName ;
|
||||
SInt16 fontSize ;
|
||||
Style fontStyle ;
|
||||
@@ -1549,6 +1552,7 @@ void wxMacMLTEControl::AdjustCreationAttributes( const wxColour &background, boo
|
||||
verify_noerr( TXNSetTypeAttributes (m_txn, sizeof( typeAttr ) / sizeof(TXNTypeAttributes) , typeAttr,
|
||||
kTXNStartOffset,
|
||||
kTXNEndOffset) );
|
||||
}
|
||||
|
||||
if ( m_windowStyle & wxTE_PASSWORD )
|
||||
{
|
||||
|
Reference in New Issue
Block a user