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:
Vadim Zeitlin 2008-11-20 18:12:43 +00:00
parent 8108518603
commit 5513d18ba7

View File

@ -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;