diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-27 21:53:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-27 21:53:40 +0100 |
| commit | c178cb04fb6b5bb97e0b1ab30ec7a452b90eb55f (patch) | |
| tree | 4c7973180fb544ac18e1b9c4f1f3e38ef4d25fd8 /src | |
| parent | 7b69e85237110577c2c18c36b14f3c710d70a138 (diff) | |
Tidy up.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 5039fd973..7655fe60d 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -28,7 +28,7 @@ using namespace std; wxStaticText * add_label_to_sizer (wxSizer* s, wxWindow* p, string t, int prop) { - wxStaticText* m = new wxStaticText (p, wxID_ANY, wxString (t.c_str (), wxConvUTF8)); + wxStaticText* m = new wxStaticText (p, wxID_ANY, std_to_wx (t)); s->Add (m, prop, wxALIGN_CENTER_VERTICAL | wxALL, 6); return m; } |
