Fixed regression in string conversion.

git-svn-id: http://wxmax.googlecode.com/svn/trunk/wx.mod@760 971f8453-5c39-0410-a452-3998bf019487