More hacks.
[dcpomatic.git] / src / wx / wx_util.cc
index 27a4554ca61d5534994cbd6f794c1f289a44060c..103d36d006d1539043f8c357fae1ebdf98ceb0f7 100644 (file)
@@ -105,7 +105,7 @@ confirm_dialog (wxWindow* parent, wxString m)
 string
 wx_to_std (wxString s)
 {
-       return string (s.mb_str ());
+       return string (s.ToUTF8 ());
 }
 
 /** @param s STL string.