From: Richard K. <ric...@us...> - 2005-07-14 22:04:13
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28183 Modified Files: NSApplication.as Log Message: use makeKeyAndOrderFront and get rid of setKeyWindow and setMainWindow methods Index: NSApplication.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSApplication.as,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** NSApplication.as 14 Jul 2005 21:55:50 -0000 1.20 --- NSApplication.as 14 Jul 2005 22:04:03 -0000 1.21 *************** *** 169,174 **** try { if (event.type == NSEvent.NSLeftMouseDown) { ! m_currentEvent.window.orderFront(); ! setKeyWindow(m_currentEvent.window); } m_currentEvent.window.sendEvent(m_currentEvent); --- 169,173 ---- try { if (event.type == NSEvent.NSLeftMouseDown) { ! m_currentEvent.window.makeKeyAndOrderFront(); } m_currentEvent.window.sendEvent(m_currentEvent); *************** *** 441,455 **** } - public function setMainWindow(value:NSWindow) { - value.makeMainWindow(); - m_mainWindow = value; - } - public function setKeyWindow(value:NSWindow) { - value.makeKeyWindow(); - m_keyWindow = value; - } - - - // Setting the delegate --- 440,443 ---- |