m_dirty = false;
m_privateContextMenu = NULL;
- m_triggerUpdateEvents = true ;
}
wxTextCtrl::~wxTextCtrl()
return GetTextPeer()->GetLineText(lineNo) ;
}
-void wxTextCtrl::Remove(long from, long to)
-{
- wxTextEntry::Remove(from, to);
- if ( m_triggerUpdateEvents )
- SendTextUpdatedEvent();
-}
-
-void wxTextCtrl::WriteText(const wxString& str)
-{
- wxTextEntry::WriteText( str ) ;
- if ( m_triggerUpdateEvents )
- SendTextUpdatedEvent();
-}
-
-void wxTextCtrl::Clear()
-{
- wxTextEntry::Clear() ;
- SendTextUpdatedEvent();
-}
-
void wxTextCtrl::Copy()
{
if (CanCopy())