git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39284
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// No double-click on most WinCE devices, so do action immediately.
HandleAction( filename );
#else
- if (filename == wxT("..")) return;
+ if (filename == wxT(".."))
+ {
+ inSelected = false;
+ return;
+ }
wxString dir = m_list->GetDir();
if (!IsTopMostDir(dir))
dir += wxFILE_SEP_PATH;
dir += filename;
- if (wxDirExists(dir)) return;
+ if (wxDirExists(dir))
+ {
+ inSelected = false;
+ return;
+ }
ignoreChanges = true;
m_text->SetValue( filename );