From c847f5c04e15920d6f4d9a80e181ffc63e61264a Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 30 Sep 2009 21:07:54 +0000 Subject: (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. --- src/misc_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc_gui.cpp') diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 4e16474e4..ada8f7227 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1176,7 +1176,7 @@ void QueryString::HandleEditBox(Window *w, int wid) * so the caret changes appropriately. */ if (w->window_class != WC_OSK) { Window *w_osk = FindWindowById(WC_OSK, 0); - if (w_osk != NULL && w_osk->parent == w) w_osk->OnInvalidateData(); + if (w_osk != NULL && w_osk->parent == w) w_osk->InvalidateData(); } } } @@ -1322,7 +1322,7 @@ struct QueryStringWindow : public QueryStringBaseWindow default: NOT_REACHED(); case HEBR_EDITING: { Window *osk = FindWindowById(WC_OSK, 0); - if (osk != NULL && osk->parent == this) osk->OnInvalidateData(); + if (osk != NULL && osk->parent == this) osk->InvalidateData(); } break; case HEBR_CONFIRM: this->OnOk(); /* FALL THROUGH */ -- cgit v1.2.3-70-g09d2