From: thomas m. <tho...@gm...> - 2006-07-16 23:35:46
|
Hi all, shouldn't the call to setRoot menu in the setMainMenu function in NSApplication in the first part of the function if (m_menu != null && m_menu != m) { m_menu.close(); m_menu.window().setLevel(NSWindow.NSSubmenuWindowLevel); m_menu.setRoot(false);//here ... } be m_menu.setRoot(false,this); since NSMenu setRoot checks if the second argument is an instance of NSApplication i've had pblems with the ASTestMenu.as so I dug a little and adding 'this' made the second menu (of the second window) appear as it should (and did ... ) any one on this ? tia thomas -- ---------------------------------------------------------- http://www.myspace.com/thomasmery http://www.thomas-mery.net http://www.shif-t.net http://www.doradorovitch.com ---------------------------------------------------------- |