diff options
author | frosch <frosch@openttd.org> | 2015-02-13 21:13:45 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-02-13 21:13:45 +0000 |
commit | e113f5e4a14c763ed433487f4d21e2f35e205e1b (patch) | |
tree | afcb033374f504ebde874649f3d5675bca2fca68 /src/window_gui.h | |
parent | 1ebd85c1cc52efba447497c5e015b05f579a0dbb (diff) | |
download | openttd-e113f5e4a14c763ed433487f4d21e2f35e205e1b.tar.xz |
(svn r27146) -Fix: Make statusbar and chat-entry window use the same width as the toolbar. Otherwise they lack a size definition.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 70b80c682..7757c3e1f 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -271,7 +271,7 @@ struct Window : ZeroedMemoryAllocator { protected: void InitializeData(WindowNumber window_number); void InitializePositionSize(int x, int y, int min_width, int min_height); - void FindWindowPlacementAndResize(int def_width, int def_height); + virtual void FindWindowPlacementAndResize(int def_width, int def_height); SmallVector<int, 4> scheduled_invalidation_data; ///< Data of scheduled OnInvalidateData() calls. |