Mercurial > hg > openttd
diff src/misc_gui.cpp @ 13169:1f44cefc7825 draft
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 30 Sep 2009 21:07:54 +0000 |
parents | 3f7aeb884dcf |
children | cd71f89cd87f |
line wrap: on
line diff
--- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1176,7 +1176,7 @@ * 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 @@ 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 */