Skip to content

Commit

Permalink
Merge pull request #1029 from Lopuska/patch-3
Browse files Browse the repository at this point in the history
Intel graphics bugfix
  • Loading branch information
LuisAntonRebollo committed Dec 14, 2014
2 parents fe9c30b + de82fbe commit ef2a843
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Engine/source/platformWin32/menus/menuBarWin32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ void MenuBar::attachToCanvas(GuiCanvas *owner, S32 pos)
}

HWND hWindow = pWindow->getHWND();
SetMenu(hWindow, hWindowMenu);
DrawMenuBar(hWindow);

}
Expand Down Expand Up @@ -165,6 +166,7 @@ void MenuBar::removeFromCanvas()
}

HWND hWindow = pWindow->getHWND();
SetMenu(hWindow, NULL);
DrawMenuBar(hWindow);

mCanvas = NULL;
Expand Down

0 comments on commit ef2a843

Please sign in to comment.