don't log an error if the directory can't be opened at all for compatibility with MSW (#10194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8108518603
commit
5513d18ba7
@ -225,9 +225,6 @@ bool wxDir::Open(const wxString& dirname)
|
||||
|
||||
if ( !M_DIR->IsOk() )
|
||||
{
|
||||
wxLogSysError(_("Can not enumerate files in directory '%s'"),
|
||||
dirname.c_str());
|
||||
|
||||
delete M_DIR;
|
||||
m_data = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user