projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90933dc
)
wx2.8 fixes.
author
Carl Hetherington
<cth@carlh.net>
Tue, 28 May 2013 13:43:10 +0000
(14:43 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 28 May 2013 13:43:10 +0000
(14:43 +0100)
src/wx/timecode.cc
patch
|
blob
|
history
diff --git
a/src/wx/timecode.cc
b/src/wx/timecode.cc
index f8cdccbe2698eacf535bb84a2c3153c4f8a079ae..9072fb99e0327f151c45362b450eba6047c823b3 100644
(file)
--- 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;
wxTextValidator validator (wxFILTER_INCLUDE_CHAR_LIST);
wxArrayString list;
-
string n = "0123456789"
;
- for (size_t i = 0; i < n.
l
ength(); ++i) {
+
wxString n (wxT ("0123456789"))
;
+ for (size_t i = 0; i < n.
L
ength(); ++i) {
list.Add (n[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);
_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);
_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);
_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);
_frames = new wxTextCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size);
_frames->SetMaxLength (2);
sizer->Add (_frames);