If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Actually, I got into trouble when I tried to use the file returned by a wxFileDialog as a parameter for a C function I've made sometime ago. This function expected a file name as a const char*, and I couldn't cast the wxString to it (I opened other post about this conversion).
Then I found about the wxFFile class, the docs described it as a wrapper around FILE, but the docs didn't indicate a constructor that could receive a wxStrint as parameter, even, the Open function clearle indicates it expects a const char*. The problem is that when compiling, the compiler was indicating me that the Open function was expecting a wxChar*, not a char*, that's why I got confused, the docs said something and the real stuff is different?
Anyway, now I think I can go on with my code, thank you so much for your comments.
You seem to be using a Unicoded wxWidgets build... So simply do what doublemax said... The docs have a wrong char*s everywhere... They need to update the docs to wxChar*s...