IsModified() function now works correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-07-23 16:08:28 +00:00
parent 7c41ac7b42
commit 9406d962cc
2 changed files with 2 additions and 22 deletions

View File

@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl,wxControl)
void gtk_text_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win )
{
win->m_modified = TRUE;
win->SetModified();
};
@ -155,16 +155,6 @@ bool wxTextCtrl::SaveFile( const wxString &WXUNUSED(file) )
return FALSE;
};
bool wxTextCtrl::IsModified(void)
{
return m_modified;
};
void wxTextCtrl::DiscardEdits(void)
{
m_modified = FALSE;
};
/*
wxString wxTextCtrl::GetLineText( long lineNo ) const
{

View File

@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl,wxControl)
void gtk_text_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win )
{
win->m_modified = TRUE;
win->SetModified();
};
@ -155,16 +155,6 @@ bool wxTextCtrl::SaveFile( const wxString &WXUNUSED(file) )
return FALSE;
};
bool wxTextCtrl::IsModified(void)
{
return m_modified;
};
void wxTextCtrl::DiscardEdits(void)
{
m_modified = FALSE;
};
/*
wxString wxTextCtrl::GetLineText( long lineNo ) const
{