diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 13f61d628..1f51c3aa5 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -382,9 +382,9 @@ public: int width; ///< width of the window (number of pixels to the right in x direction) int height; ///< Height of the window (number of pixels down in y direction) - Scrollbar hscroll; ///< Horizontal scroll bar - Scrollbar vscroll; ///< First vertical scroll bar - Scrollbar vscroll2; ///< Second vertical scroll bar + Scrollbar old_hscroll; ///< Horizontal scroll bar + Scrollbar old_vscroll; ///< First vertical scroll bar + Scrollbar old_vscroll2; ///< Second vertical scroll bar ResizeInfo resize; ///< Resize information Owner owner; ///< The owner of the content shown in this window. Company colour is acquired from this variable. @@ -412,7 +412,7 @@ public: void InitNested(const WindowDesc *desc, WindowNumber number = 0); void CreateNestedTree(const WindowDesc *desc, bool fill_nested = true); - void FinishInitNested(const WindowDesc *desc, WindowNumber window_number); + void FinishInitNested(const WindowDesc *desc, WindowNumber window_number = 0); /** * Sets the enabled/disabled status of a widget. |