From 126bb30567f54abac739bdd339affe1d50113381 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 11 Sep 2009 09:30:51 +0000 Subject: [PATCH] Fixed a bug on Mac whereby popup window disappeared as soon as the button was clicked (text control getting focus) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/combocmn.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 049354bf08..65066b56c7 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -1729,13 +1729,9 @@ void wxComboCtrlBase::OnFocusEvent( wxFocusEvent& event ) { wxWindow* tc = GetTextCtrl(); if ( tc && tc != DoFindFocus() ) -#ifdef __WXMAC__ - m_resetFocus = true; -#else { tc->SetFocus(); } -#endif } Refresh(); -- 2.45.2