hasSubDirs already defined in dircmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -261,12 +261,3 @@ bool wxDir::GetNext(wxString *filename) const
|
|||||||
return M_DIR->Read(filename);
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user