Don't set even try to set focus to wxPopupWindow itself in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Aug 2013 13:28:13 +0000 (13:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Aug 2013 13:28:13 +0000 (13:28 +0000)
commitaf2372b95d4aca14e97c1ffaca6954f136513589
treea0acc311e49bf707d7b2bebfe3d5961bbced855d
parent0c60a0e2b726073be874f45e5227ea93b63623f4
Don't set even try to set focus to wxPopupWindow itself in wxMSW.

This doesn't work anyhow with our popup window implementation (it's a child of
the desktop and we can't set focus to it) and provokes error messages due to
::SetFocus() failures, so simply don't do this at all.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/popupwin.h
src/msw/popupwin.cpp