> SS> to fastest way for me to conver an int was to do > SS> wxVariant(str).GetLong(). am i wrong? > > This surely doesn't look like the fastest or most intuitive way to do it > for me. I'd suggest wxString::ToLong(). by the way This is a two steps fonction long var; str.ToLong(&var) wxVariant(str).GetLong() ... is one line, no brackets, etc... faster.