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:
parent
63f84de849
commit
781acf8347
@ -144,8 +144,6 @@ public:
|
|||||||
|
|
||||||
void SetUpdateFont(bool WXUNUSED(update)) { }
|
void SetUpdateFont(bool WXUNUSED(update)) { }
|
||||||
|
|
||||||
void SetModified() { m_modified = true; }
|
|
||||||
|
|
||||||
// GTK+ textctrl is so dumb that you need to freeze/thaw it manually to
|
// GTK+ textctrl is so dumb that you need to freeze/thaw it manually to
|
||||||
// avoid horrible flicker/scrolling back and forth
|
// avoid horrible flicker/scrolling back and forth
|
||||||
virtual void Freeze();
|
virtual void Freeze();
|
||||||
|
@ -454,7 +454,7 @@ gtk_text_changed_callback( GtkWidget *widget, wxTextCtrl *win )
|
|||||||
if (g_isIdle)
|
if (g_isIdle)
|
||||||
wxapp_install_idle_handler();
|
wxapp_install_idle_handler();
|
||||||
|
|
||||||
win->SetModified();
|
win->MarkDirty();
|
||||||
|
|
||||||
wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->GetId() );
|
wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->GetId() );
|
||||||
event.SetEventObject( win );
|
event.SetEventObject( win );
|
||||||
|
Loading…
Reference in New Issue
Block a user