corrected ::Clear

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-08-10 09:58:52 +00:00
parent e600c175c0
commit 9c34dd9dea
2 changed files with 4 additions and 4 deletions

View File

@ -1217,8 +1217,8 @@ void wxTextCtrl::Clear()
}
else
{
ClearCurrentScrap();
TXNClear((TXNObject)m_macTXN);
TXNSetSelection( (TXNObject)m_macTXN , kTXNStartOffset , kTXNEndOffset ) ;
TXNClear((TXNObject)m_macTXN);
}
Refresh() ;
}

View File

@ -1217,8 +1217,8 @@ void wxTextCtrl::Clear()
}
else
{
ClearCurrentScrap();
TXNClear((TXNObject)m_macTXN);
TXNSetSelection( (TXNObject)m_macTXN , kTXNStartOffset , kTXNEndOffset ) ;
TXNClear((TXNObject)m_macTXN);
}
Refresh() ;
}