{
SetKeyboardFocus( m_txnWindow , m_controlRef , kControlFocusNoPart ) ;
}
+
+ TXNControlTag iControlTags[] =
+ {
+ kTXNVisibilityTag ,
+ };
+ TXNControlData iControlData[] =
+ {
+ {(UInt32) false },
+ };
+
+ int toptag = WXSIZEOF( iControlTags ) ;
+
+ verify_noerr( TXNGetTXNObjectControls( m_txn , toptag,
+ iControlTags, iControlData ) ) ;
+
+ if ( iControlData[0].uValue != vis )
+ {
+ iControlData[0].uValue = vis ;
+ verify_noerr( TXNSetTXNObjectControls( m_txn, false , toptag,
+ iControlTags, iControlData )) ;
+ }
// we right now are always clipping as partial visibility (overlapped) visibility
// is also a problem, if we run into further problems we might set the FrameBounds to an empty
// rect here
ev.modifiers = modifiers ;
ev.message = (( keyCode << 8 ) & keyCodeMask ) + ( charCode & charCodeMask ) ;
TXNKeyDown( m_txn , &ev);
-
+
return kControlEntireControl;
}
DoCreate();
- MacSetObjectVisibility( wxPeer->MacIsReallyShown() ) ;
-
AdjustCreationAttributes( *wxWHITE , true) ;
+ MacSetObjectVisibility( wxPeer->MacIsReallyShown() ) ;
+
wxMacWindowClipper clipper( m_peer ) ;
SetTXNData( st , kTXNStartOffset, kTXNEndOffset ) ;
TXNSetSelection( m_txn, 0, 0);