changes to make wxWindow::FindFocus work as expected with composite controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -475,7 +475,7 @@ void wxWindowOS2::SetFocusFromKbd()
|
||||
wxWindowBase::SetFocusFromKbd();
|
||||
} // end of wxWindowOS2::SetFocus
|
||||
|
||||
wxWindow* wxWindowBase::FindFocus()
|
||||
wxWindow* wxWindowBase::DoFindFocus()
|
||||
{
|
||||
HWND hWnd = ::WinQueryFocus(HWND_DESKTOP);
|
||||
|
||||
@@ -484,7 +484,7 @@ wxWindow* wxWindowBase::FindFocus()
|
||||
return wxFindWinFromHandle((WXHWND)hWnd);
|
||||
}
|
||||
return NULL;
|
||||
} // wxWindowBase::FindFocus
|
||||
} // wxWindowBase::DoFindFocus
|
||||
|
||||
bool wxWindowOS2::Enable(
|
||||
bool bEnable
|
||||
|
Reference in New Issue
Block a user