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
This commit is contained in:
@@ -1214,8 +1214,6 @@ void wxFileDialog::OnTextEnter( wxCommandEvent &WXUNUSED(event) )
|
|||||||
|
|
||||||
void wxFileDialog::OnSelected( wxListEvent &event )
|
void wxFileDialog::OnSelected( wxListEvent &event )
|
||||||
{
|
{
|
||||||
if (FindFocus() != m_list) return;
|
|
||||||
|
|
||||||
wxString filename( event.m_item.m_text );
|
wxString filename( event.m_item.m_text );
|
||||||
if (filename == wxT("..")) return;
|
if (filename == wxT("..")) return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user