Mercurial > ecos-v2_0-branch
diff host/tools/configtool/standalone/wxwin/configtooldoc.cpp @ 517:2b2d9aa25330
* standalone/wxwin/configtooldoc.cpp:
Use wxString::GetChar() rather than array element.
* standalone/wxwin/filename.cpp:
Use wxString::GetChar() and SetChar() rather than array element.
Add some explicit casts to allow building with GNU/Cygwin tools.
Use MAX_PATH rather than _MAX_PATH for portability.
* standalone/wxwin/ecutils.cpp:
Call wxNewKill() rather than wKill() for Cygsin builds.
* standalone/wxwin/ecutils.h:
Use wxLongLong_t rather than __int64 for portability.
| author | jld |
|---|---|
| date | Mon, 20 Jan 2003 15:12:11 +0000 |
| parents | e0c0827131d1 |
| children | 9034ec3868e5 |
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/configtooldoc.cpp +++ b/host/tools/configtool/standalone/wxwin/configtooldoc.cpp @@ -1195,7 +1195,7 @@ wxString ecConfigToolDoc::GetDefaultHard bool bMore = config.GetFirstGroup(key, index); while (bMore) { - if (wxIsdigit(key[0]) && versionKey.CompareTo(key) < 0) + if (wxIsdigit(key.GetChar(0)) && versionKey.CompareTo(key) < 0) versionKey = key; bMore = config.GetNextGroup(key, index);
