Use the STL's definition of max() so that this code will compile with gcc. This was necessary to reuse this source code in-place in the wxWidgets version.
Authored by: david_costanzo 2007-12-28
Parent: [r2535]
Child: [r2537]