mirror of https://github.com/mpv-player/mpv
clear menubar before adding new menu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14082 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
95329dd3cd
commit
e87bf5a212
|
@ -462,6 +462,9 @@ static void quartz_CreateWindow(uint32_t d_width, uint32_t d_height, WindowAttri
|
||||||
SetRect(&oldWinRect, 0, 0, d_width, d_height);
|
SetRect(&oldWinRect, 0, 0, d_width, d_height);
|
||||||
SetRect(&dstRect, 0, 0, d_width, d_height);
|
SetRect(&dstRect, 0, 0, d_width, d_height);
|
||||||
|
|
||||||
|
//Clear Menu Bar
|
||||||
|
ClearMenuBar();
|
||||||
|
|
||||||
//Create Window Menu
|
//Create Window Menu
|
||||||
CreateStandardWindowMenu(0, &windMenu);
|
CreateStandardWindowMenu(0, &windMenu);
|
||||||
InsertMenu(windMenu, 0);
|
InsertMenu(windMenu, 0);
|
||||||
|
|
Loading…
Reference in New Issue