summaryrefslogtreecommitdiff
path: root/src/wx/file_picker_ctrl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/file_picker_ctrl.cc')
-rw-r--r--src/wx/file_picker_ctrl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/file_picker_ctrl.cc b/src/wx/file_picker_ctrl.cc
index 39e7669d5..3511a4497 100644
--- a/src/wx/file_picker_ctrl.cc
+++ b/src/wx/file_picker_ctrl.cc
@@ -58,7 +58,7 @@ FilePickerCtrl::FilePickerCtrl(
_sizer = new wxBoxSizer (wxHORIZONTAL);
wxClientDC dc (parent);
- wxSize size = dc.GetTextExtent (wxT ("This is the length of the file label it should be quite long"));
+ wxSize size = dc.GetTextExtent(char_to_wx("This is the length of the file label it should be quite long"));
size.SetHeight (-1);
_file = new Button (this, _("(None)"), wxDefaultPosition, size, wxBU_LEFT);