aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowmanager.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-03 19:45:04 +0200
committerEugene Sandulenko2017-08-04 21:54:20 +0200
commitafb664df290c54febd48b25efe6eeb5fccc0cfcc (patch)
treef39427938716e8fd8e72c05eed4ec4f15e966a43 /graphics/macgui/macwindowmanager.cpp
parentaab404864e16f07307e44ed20310037c05e09ceb (diff)
downloadscummvm-rg350-afb664df290c54febd48b25efe6eeb5fccc0cfcc.tar.gz
scummvm-rg350-afb664df290c54febd48b25efe6eeb5fccc0cfcc.tar.bz2
scummvm-rg350-afb664df290c54febd48b25efe6eeb5fccc0cfcc.zip
GRAPHICS: MACGUI: Made selection affecting the MacMenu
Diffstat (limited to 'graphics/macgui/macwindowmanager.cpp')
-rw-r--r--graphics/macgui/macwindowmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index d3f7d22c4d..9a3e711c19 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -183,8 +183,8 @@ MacWindow *MacWindowManager::addWindow(bool scrollable, bool resizable, bool edi
return w;
}
-MacTextWindow *MacWindowManager::addTextWindow(const MacFont *font, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment) {
- MacTextWindow *w = new MacTextWindow(this, font, fgcolor, bgcolor, maxWidth, textAlignment);
+MacTextWindow *MacWindowManager::addTextWindow(const MacFont *font, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment, MacMenu *menu) {
+ MacTextWindow *w = new MacTextWindow(this, font, fgcolor, bgcolor, maxWidth, textAlignment, menu);
addWindowInitialized(w);