Minor change that fixes error message and sets a wxVersion variable