- virtual void Replace( long from , long to , const wxString &str ) ;
- virtual void Remove( long from , long to ) ;
- virtual void GetSelection( long* from, long* to) const ;
- virtual void SetSelection( long from , long to ) ;
+ virtual void Replace( long from, long to, const wxString &str ) ;
+ virtual void Remove( long from, long to ) ;
+ virtual void GetSelection( long* from, long* to ) const ;
+ virtual void SetSelection( long from, long to ) ;
+
+ virtual void WriteText( const wxString& str ) ;
+
+ virtual bool HasOwnContextMenu() const
+ {
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
+ if ( UMAGetSystemVersion() >= 0x1040 )
+ {
+ TXNCommandEventSupportOptions options ;
+ TXNGetCommandEventSupport( m_txn , & options ) ;
+ return options & kTXNSupportEditCommandProcessing ;
+ }
+#endif
+
+ return false ;
+ }