wxwidgets: Add some missing conversions for string arguments

This commit is contained in:
Ilari Liusvaara 2014-12-11 08:18:49 +02:00
parent 03a57aa421
commit 0ea814c0c3
2 changed files with 2 additions and 2 deletions

View file

@ -350,7 +350,7 @@ wxeditor_memorywatch::wxeditor_memorywatch(wxWindow* parent, emulator_instance&
if(j.second.first == it.addr_base && j.second.second == it.addr_size)
vma->SetSelection(j.first);
}
font->SetValue(it.printer.onscreen_font);
font->SetValue(towxstring(it.printer.onscreen_font)));
fg_color->SetValue(towxstring(format_color(it.printer.onscreen_fg_color)));
bg_color->SetValue(towxstring(format_color(it.printer.onscreen_bg_color)));
halo_color->SetValue(towxstring(format_color(it.printer.onscreen_halo_color)));

View file

@ -121,7 +121,7 @@ public:
}
wxCommandEvent e;
on_search_type(e);
games->SetStringSelection(dflt);
games->SetStringSelection(towxstring(dflt));
}
std::string get()
{