summaryrefslogtreecommitdiff
path: root/src/wx/timecode.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-17 16:22:16 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-17 16:22:16 +0100
commit671b037338fa6bc09dc0795191a23ff2999f027c (patch)
tree86aaa7b6cd6092a58a11590e27ebdef8145c190c /src/wx/timecode.cc
parentb156dc80cde3f33a04ee80b9b39f944a93515d67 (diff)
Stop truncated numbers on Linux (at least).
Diffstat (limited to 'src/wx/timecode.cc')
-rw-r--r--src/wx/timecode.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc
index c4755e574..70aa116dd 100644
--- a/src/wx/timecode.cc
+++ b/src/wx/timecode.cc
@@ -131,7 +131,7 @@ wxSize
TimecodeBase::size (wxWindow* parent)
{
wxClientDC dc (parent);
- auto size = dc.GetTextExtent(wxT("9999"));
+ auto size = dc.GetTextExtent(wxT("99999"));
size.SetHeight (-1);
return size;
}