NodeClass.Empty();
wxString path = list.FindValidPath(filename);
- if (path.IsEmpty()) return;
+ if (path.empty()) return;
wxTextFile tf;
tf.Open(path);
}
}
- if (!nd.IsEmpty()) NodeClass = nd;
- if (!cht.IsEmpty()) ChildType = cht;
- if (!!tp) Type = tp;
+ if (!nd.empty()) NodeClass = nd;
+ if (!cht.empty()) ChildType = cht;
+ if (!tp.empty()) Type = tp;
if (icn != -1) Icon = icn;
Abstract = ab;
}
void NodesDb::LoadDir(const wxString& path)
{
- if (!wxDirExists(path)) return;
+ if (!wxPathExists(path)) return;
wxDir dir(path);
wxString filename;