diff --git a/src/mgl/dir.cpp b/src/mgl/dir.cpp index b325114f1c..c290d3f89a 100644 --- a/src/mgl/dir.cpp +++ b/src/mgl/dir.cpp @@ -261,12 +261,3 @@ bool wxDir::GetNext(wxString *filename) const return M_DIR->Read(filename); } -bool wxDir::HasSubDirs(const wxString& spec) -{ - wxCHECK_MSG( IsOpened(), FALSE, _T("must wxDir::Open() first") ); - - // just try to find first directory - wxString s; - return GetFirst(&s, spec, wxDIR_DIRS | wxDIR_HIDDEN); -} -