wxPathList::AddEnvList

void AddEnvList(char *env_variable)

Finds the value of the given environment variable, and adds all paths to the path list. Useful for finding files in the PATH variable, for example.