wxWidgets has a wxString class. You are using it in at least one place - for titulo. It has a ToLong method that might do the string to integer conversion.

By the way, it seems that you are using the new keyword way too much. All the wxPoints, wxSizes and wxStrings should be plain static objects or at least deleted after you have done with them. It's different for windows and window controls (and some other things) where the parent will take reponsibility for the new-ed objects.