From 4b2e2f7503dead8ccedeff48677ed563aa8aa202 Mon Sep 17 00:00:00 2001 From: athile Date: Mon, 30 Aug 2010 11:37:48 +0100 Subject: [PATCH] Windows fixes --- gui/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/events.cpp b/gui/events.cpp index 73274ee50..713db8585 100644 --- a/gui/events.cpp +++ b/gui/events.cpp @@ -11,8 +11,8 @@ EventInjector::EventInjector(MyGUI::Gui *g) : gui(g), mouseX(0), mouseY(0), enabled(true) { assert(gui); - maxX = gui->getViewWidth(); - maxY = gui->getViewHeight(); + maxX = gui->getViewSize().width; + maxY = gui->getViewSize().height; } template