diff options
author | rubidium <rubidium@openttd.org> | 2009-10-17 14:29:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-17 14:29:10 +0000 |
commit | d1d35b95b6e75a263b9395125af7d22faf02f462 (patch) | |
tree | daed0a809413d71060da91af4c67175989222a2e /src/window_gui.h | |
parent | 22ddb90fdbc45087064816ddb0cf0e0a27786db1 (diff) | |
download | openttd-d1d35b95b6e75a263b9395125af7d22faf02f462.tar.xz |
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 2e9b590b8..4204ec9cd 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -258,17 +258,6 @@ public: } /** - * Updates the capacity by adding/removing a number of (visible) elements. - * @param difference the difference in capacity - * @note updates the position if needed - */ - void UpdateCapacity(int difference) - { - if (difference == 0) return; - this->SetCapacity(this->cap + difference); - } - - /** * Sets the position of the first visible element * @param position the position of the element */ |