bool wxDirData::Read(wxString *filename)
{
- dirent *de = (dirent *)NULL; // just to silence compiler warnings
+ dirent *de = NULL; // just to silence compiler warnings
bool matches = false;
// speed up string concatenation in the loop a bit
if ( !M_DIR->IsOk() )
{
- wxLogSysError(_("Can not enumerate files in directory '%s'"),
- dirname.c_str());
-
delete M_DIR;
m_data = NULL;