Make the comment more accurate, and the SetFocus is comment before, this is just restore it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f172294263
commit
0947d75f2f
@ -2487,7 +2487,7 @@ void wxComboCtrlBase::DoShowPopup( const wxRect& rect, int WXUNUSED(flags) )
|
||||
// wxPopupWindow implemenation on this platform is classified as
|
||||
// perfect, then we should be able to safely set focus to the popup
|
||||
// control.
|
||||
// In wxUniv/x11 port, popup window neither generic top-level nor
|
||||
// In x11 backend, popup window neither generic top-level nor
|
||||
// perfect native window. So shouldn't be set focus to the popup control
|
||||
// same in the OnPopupDismiss function.
|
||||
#if !defined(__WXX11__)
|
||||
@ -2517,10 +2517,7 @@ void wxComboCtrlBase::OnPopupDismiss(bool generateEvent)
|
||||
// OnPopupDismisses.
|
||||
m_popupWinState = Hidden;
|
||||
|
||||
#if !defined(__WXX11__)
|
||||
SetFocus();
|
||||
#endif
|
||||
|
||||
//SetFocus();
|
||||
m_winPopup->Disable();
|
||||
|
||||
// Inform popup control itself
|
||||
|
Loading…
Reference in New Issue
Block a user