Updated utilities code.

Replaced string with wxString and limited ResourceW32ToWXString() to be
included only if built on Windows OS.