mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
commit
ef2a843dcd
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue