Merge pull request #1029 from Lopuska/patch-3

Intel graphics bugfix
This commit is contained in:
LuisAntonRebollo 2014-12-14 23:45:47 +01:00
commit ef2a843dcd

View file

@ -133,6 +133,7 @@ void MenuBar::attachToCanvas(GuiCanvas *owner, S32 pos)
}
HWND hWindow = pWindow->getHWND();
SetMenu(hWindow, hWindowMenu);
DrawMenuBar(hWindow);
}
@ -165,6 +166,7 @@ void MenuBar::removeFromCanvas()
}
HWND hWindow = pWindow->getHWND();
SetMenu(hWindow, NULL);
DrawMenuBar(hWindow);
mCanvas = NULL;