Fix invalid implicit conversion from wxString to std::string