X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53ccf1c0ba8dca297ae50709af4520a7f34b7551..8fd0d89b7dc8ed4ed7e460ddc9b61ae4a0e63c3e:/src/generic/dirctrlg.cpp diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 04542809fd..4ff52eddb7 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -869,7 +869,7 @@ bool wxGenericDirCtrl::ExpandPath(const wxString& path) bool done = FALSE; wxTreeItemId id = FindChild(m_rootId, path, done); wxTreeItemId lastId = id; // The last non-zero id - while (id.IsOK() && !done) + while (id.IsOk() && !done) { ExpandDir(id);