How to convert wxChar

Igor Korot ikorot at earthlink.net
Wed Mar 5 23:33:46 PST 2008


Hi, ALL,

How to perform following conversion (this code fails to compile):

wxString str;
int value;
str.GetChar(0).ToLong( value );

"left of .ToLong must have class/struct/union type".

And I'm not sure if "atoi" is portable or MS-only.

Thank you.




More information about the wx-users mailing list