Fix compilation with wchar_t based wxstring
This commit is contained in:
parent
a6c13a7c9d
commit
2477d45f29
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ filedialog_output_params show_filedialog(wxWindow* parent, const std::string& ti
|
|||
d->SetFilename(towxstring(defaultname));
|
||||
d->SetFilterIndex(p.default_type);
|
||||
if(p.default_filename != "")
|
||||
d->SetFilename(p.default_filename);
|
||||
d->SetFilename(towxstring(p.default_filename));
|
||||
if(d->ShowModal() == wxID_CANCEL)
|
||||
throw canceled_exception();
|
||||
std::string filename = tostdstring(d->GetPath());
|
||||
|
|
Loading…
Add table
Reference in a new issue