Lines Matching defs:focus
119 // FindFocus does not return the actual focus window, but the enclosing window
120 wxWindow* focus = wxWindow::DoFindFocus();
121 if ( focus == NULL )
122 focus = (wxTopLevelWindowMac*) data ;
174 if ( /* focus && */ wxTheApp->MacSendKeyDownEvent(
175 focus , message , modifiers , when , point.h , point.v , uniChar[0] ) )
184 if ( /* focus && */ wxTheApp->MacSendKeyUpEvent(
185 focus , message , modifiers , when , point.h , point.v , uniChar[0] ) )
207 event.SetEventObject(focus);
209 if ( /* focus && */ (modifiers ^ wxApp::s_lastModifiers ) & controlKey )
213 focus->GetEventHandler()->ProcessEvent( event ) ;
215 if ( /* focus && */ (modifiers ^ wxApp::s_lastModifiers ) & shiftKey )
219 focus->GetEventHandler()->ProcessEvent( event ) ;
221 if ( /* focus && */ (modifiers ^ wxApp::s_lastModifiers ) & optionKey )
225 focus->GetEventHandler()->ProcessEvent( event ) ;
227 if ( /* focus && */ (modifiers ^ wxApp::s_lastModifiers ) & cmdKey )
231 focus->GetEventHandler()->ProcessEvent( event ) ;
634 // ... that is set focus to this window
988 // and may fire a kill focus event on a control being destroyed