X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27b2dd53f629a78266c51d1b0b5db918401dcd4f..209f3e1453dd576919bf1cc8f696218dae23c34b:/contrib/utils/wxrcedit/nodesdb.cpp diff --git a/contrib/utils/wxrcedit/nodesdb.cpp b/contrib/utils/wxrcedit/nodesdb.cpp index df04e458ff..3612e1d334 100644 --- a/contrib/utils/wxrcedit/nodesdb.cpp +++ b/contrib/utils/wxrcedit/nodesdb.cpp @@ -49,7 +49,7 @@ void NodeInfo::Read(const wxString& filename, wxPathList& list) for (size_t i = 0; i < tf.GetLineCount(); i++) { - if (tf[i].IsEmpty() || tf[i][0u] == _T('#')) continue; + if (tf[i].empty() || tf[i][0u] == _T('#')) continue; wxStringTokenizer tkn(tf[i], _T(' ')); wxString s = tkn.GetNextToken(); if (s == _T("node")) @@ -153,7 +153,7 @@ void NodesDb::Load() void NodesDb::LoadDir(const wxString& path) { - if (!wxPathExists(path)) return; + if (!wxDirExists(path)) return; wxDir dir(path); wxString filename;