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:
parent
7c41ac7b42
commit
9406d962cc
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user