Lines Matching refs:oldFocus
323 wxWindow *oldFocus = m_oldFocus;
324 if ( !oldFocus )
327 oldFocus = parent;
331 // the HWND still exists (oldFocus can be garbage when the dialog
333 HWND hwndOldFocus = oldFocus ? GetHwndOf(oldFocus) : NULL;
348 if ( oldFocus && (oldFocus != this) && ::IsWindow(hwndOldFocus))
351 if (wxFindWinFromHandle((WXHWND) hwndOldFocus) == oldFocus)
352 oldFocus->SetFocus();