From 186cecd441b54b898e87c7653b3e6ec198dbc5fb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 8 Mar 2002 12:27:00 +0000 Subject: [PATCH] theoretically unnecessary but practically required fix for showing the selected filename in the text control git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/filedlgg.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 6af187654a..9e43121fbc 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -1214,8 +1214,6 @@ void wxFileDialog::OnTextEnter( wxCommandEvent &WXUNUSED(event) ) void wxFileDialog::OnSelected( wxListEvent &event ) { - if (FindFocus() != m_list) return; - wxString filename( event.m_item.m_text ); if (filename == wxT("..")) return;