git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46033
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxString dir = tkn.GetNextToken();
{
wxString dir = tkn.GetNextToken();
+ if ( !wxDir::Exists(dir) )
+ {
+ wxLogTrace(_T("font"), _T("font directory %s doesn't exist"), dir);
+ continue;
+ }
+
wxArrayString indexFiles;
if ( !wxDir::GetAllFiles(dir, &indexFiles, _T("FontsIndex")) )
continue;
wxArrayString indexFiles;
if ( !wxDir::GetAllFiles(dir, &indexFiles, _T("FontsIndex")) )
continue;