From 203ee8d5dcb58a3acb79780afb95c5251d8e4311 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 Aug 2024 02:02:20 +0200 Subject: Remove some implicit conversions between wxString and std::string. --- src/wx/kdm_output_panel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx/kdm_output_panel.cc') diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index b4d94838b..78186e4cb 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -117,7 +117,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent) #ifdef DCPOMATIC_USE_OWN_PICKER _folder = new DirPickerCtrl (this); #else - _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1)); + _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, char_to_wx(wxDirSelectorPromptStr), wxDefaultPosition, wxSize (300, -1)); #endif auto path = Config::instance()->default_kdm_directory(); -- cgit v1.2.3