Windows fixes

This commit is contained in:
athile 2010-08-30 11:37:48 +01:00
parent 2e2f8e9725
commit 4b2e2f7503

View file

@ -11,8 +11,8 @@ EventInjector::EventInjector(MyGUI::Gui *g)
: gui(g), mouseX(0), mouseY(0), enabled(true) : gui(g), mouseX(0), mouseY(0), enabled(true)
{ {
assert(gui); assert(gui);
maxX = gui->getViewWidth(); maxX = gui->getViewSize().width;
maxY = gui->getViewHeight(); maxY = gui->getViewSize().height;
} }
template <typename X> template <typename X>