diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 73e8e06b2..2e9b590b8 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -634,6 +634,16 @@ public: void SetDirty() const; void ReInit(); + /** + * Mark this window's data as invalid (in need of re-computing) + * @param data The data to invalidate with + */ + void InvalidateData(int data = 0) + { + this->SetDirty(); + this->OnInvalidateData(data); + } + /*** Event handling ***/ /** |