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/branches/WX_2_8_BRANCH@56867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user