$ c++ sample.cc -o sample `wx-config --cxxflags --libs` sample.cc: In member function \u2018void MyWnd::OnButton(wxCommandEvent&)\u2019: sample.cc:30: error: conversion from \u2018const char [16]\u2019 to \u2018const wxString\u2019 is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) sample.cc: In member function \u2018virtual bool MyApp::OnInit()\u2019: sample.cc:65: error: conversion from \u2018const char [12]\u2019 to \u2018const wxString\u2019 is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) sample.cc:67: error: conversion from \u2018const char [5]\u2019 to \u2018const wxString\u2019 is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) sample.cc:68: error: conversion from \u2018const char [14]\u2019 to \u2018const wxString\u2019 is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int)