X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Ftimecode.cc;h=0e798bb3aee2ae7815e65d806936984245b1d45b;hb=f802565830bed9ec9e7ad6c16ccaa7b0700625d9;hp=c4755e5745063c9a8fb007aa5a39266777bef642;hpb=9b946fc5250eff5a5dd4a661896916fcd5d9bd4b;p=dcpomatic.git diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index c4755e574..0e798bb3a 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -131,7 +131,11 @@ wxSize 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; }