added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1261,7 +1261,11 @@ bool wxTextCtrl::IsModified() const
|
||||
return SendMessage(GetHwnd(), EM_GETMODIFY, 0, 0) != 0;
|
||||
}
|
||||
|
||||
// Makes 'unmodified'
|
||||
void wxTextCtrl::MarkDirty()
|
||||
{
|
||||
SendMessage(GetHwnd(), EM_SETMODIFY, TRUE, 0L);
|
||||
}
|
||||
|
||||
void wxTextCtrl::DiscardEdits()
|
||||
{
|
||||
SendMessage(GetHwnd(), EM_SETMODIFY, FALSE, 0L);
|
||||
|
Reference in New Issue
Block a user