Fixed assertion when creating new perspective.

Wx was attempting to format a string with specifier %d (integer) with a
size_t.