1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.

This commit is contained in:
frosch
2009-09-13 17:37:47 +00:00
parent 53cc397607
commit 734edc178d
8 changed files with 9 additions and 21 deletions

View File

@@ -591,16 +591,6 @@ void Window::SetDirty() const
SetDirtyBlocks(this->left, this->top, this->left + this->width, this->top + this->height);
}
/**
* Mark entire window as dirty (in need of re-paint)
* @param w Window to redraw
* @ingroup dirty
*/
void SetWindowDirty(const Window *w)
{
if (w != NULL) w->SetDirty();
}
/** Re-initialize a window. */
void Window::ReInit()
{