Fix 4.1 bug dlgWayPointSelect using ToUpper without checking for valid argument.
Regression needed to 4.0 approach using _tcsupr which had no problems.
	modified:   ../Dialogs/dlgWayPointSelect.cpp