]> git.saurik.com Git - wxWidgets.git/commitdiff
hasSubDirs already defined in dircmn
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Jan 2002 23:11:52 +0000 (23:11 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Jan 2002 23:11:52 +0000 (23:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/dir.cpp

index b325114f1cc6eb1907aed7e41a802db8c7b141d9..c290d3f89a7b5f074d314ce7d9e79074230d1f02 100644 (file)
@@ -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);
-}
-