diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-28 14:43:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-28 14:43:10 +0100 |
| commit | d35fa85babb471650e3f5fa7c11b2149c1db91c1 (patch) | |
| tree | c0f278b8f59e73bf8b3633f2b644900463ce5fa1 /src/wx/timecode.cc | |
| parent | 90933dc804de225df47897ddd3a19c5a60ec67e0 (diff) | |
wx2.8 fixes.
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index f8cdccbe2..9072fb99e 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -36,8 +36,8 @@ Timecode::Timecode (wxWindow* parent) wxTextValidator validator (wxFILTER_INCLUDE_CHAR_LIST); wxArrayString list; - string n = "0123456789"; - for (size_t i = 0; i < n.length(); ++i) { + wxString n (wxT ("0123456789")); + for (size_t i = 0; i < n.Length(); ++i) { list.Add (n[i]); } @@ -47,15 +47,15 @@ Timecode::Timecode (wxWindow* parent) _hours = new wxTextCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size, 0, validator); _hours->SetMaxLength (2); sizer->Add (_hours); - add_label_to_sizer (sizer, this, ":"); + add_label_to_sizer (sizer, this, wxT (":")); _minutes = new wxTextCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); _minutes->SetMaxLength (2); sizer->Add (_minutes); - add_label_to_sizer (sizer, this, ":"); + add_label_to_sizer (sizer, this, wxT (":")); _seconds = new wxTextCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); _seconds->SetMaxLength (2); sizer->Add (_seconds); - add_label_to_sizer (sizer, this, "."); + add_label_to_sizer (sizer, this, wxT (".")); _frames = new wxTextCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); _frames->SetMaxLength (2); sizer->Add (_frames); |
