diff options
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 70aa116dd..0e798bb3a 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -131,7 +131,11 @@ wxSize TimecodeBase::size (wxWindow* parent) { wxClientDC dc (parent); +#ifdef DCPOMATIC_OSX + auto size = dc.GetTextExtent(wxT("999")); +#else auto size = dc.GetTextExtent(wxT("99999")); +#endif size.SetHeight (-1); return size; } |
