removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-05-16 23:58:20 +00:00
parent 63f84de849
commit 781acf8347
2 changed files with 1 additions and 3 deletions

View File

@ -144,8 +144,6 @@ public:
void SetUpdateFont(bool WXUNUSED(update)) { }
void SetModified() { m_modified = true; }
// GTK+ textctrl is so dumb that you need to freeze/thaw it manually to
// avoid horrible flicker/scrolling back and forth
virtual void Freeze();

View File

@ -454,7 +454,7 @@ gtk_text_changed_callback( GtkWidget *widget, wxTextCtrl *win )
if (g_isIdle)
wxapp_install_idle_handler();
win->SetModified();
win->MarkDirty();
wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->GetId() );
event.SetEventObject( win );