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:
nplourde 2004-12-01 21:19:04 +00:00
parent 95329dd3cd
commit e87bf5a212
1 changed files with 3 additions and 0 deletions

View File

@ -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);