X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8650108199bf799f21e29811cddaefd579c98c88..9485b24f43766ad97ba1b77a70c7c1f2a40184a6:/src/unix/dir.cpp diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index 7743d9b064..291702bfa3 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -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; @@ -290,7 +287,7 @@ bool wxDir::GetNext(wxString *filename) const return M_DIR->Read(filename); } -bool wxDir::HasSubDirs(const wxString& spec) +bool wxDir::HasSubDirs(const wxString& spec) const { wxCHECK_MSG( IsOpened(), false, _T("must wxDir::Open() first") );