]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a bug on Mac whereby popup window disappeared as soon as the button was clicked...
authorJulian Smart <julian@anthemion.co.uk>
Fri, 11 Sep 2009 09:30:51 +0000 (09:30 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 11 Sep 2009 09:30:51 +0000 (09:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/combocmn.cpp

index 049354bf0861aff326dbb2b575920820e1f93ef7..65066b56c7a7b3b48223d2dbc4b2ece4c4b64bf0 100644 (file)
@@ -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();