projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename _size -> _video_size
[dcpomatic.git]
/
src
/
wx
/
timecode.cc
diff --git
a/src/wx/timecode.cc
b/src/wx/timecode.cc
index c4755e5745063c9a8fb007aa5a39266777bef642..0e798bb3aee2ae7815e65d806936984245b1d45b 100644
(file)
--- a/
src/wx/timecode.cc
+++ b/
src/wx/timecode.cc
@@
-131,7
+131,11
@@
wxSize
TimecodeBase::size (wxWindow* parent)
{
wxClientDC dc (parent);
TimecodeBase::size (wxWindow* parent)
{
wxClientDC dc (parent);
- auto size = dc.GetTextExtent(wxT("9999"));
+#ifdef DCPOMATIC_OSX
+ auto size = dc.GetTextExtent(wxT("999"));
+#else
+ auto size = dc.GetTextExtent(wxT("99999"));
+#endif
size.SetHeight (-1);
return size;
}
size.SetHeight (-1);
return size;
}