summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-23 03:07:18 +0100
committerCarl Hetherington <cth@carlh.net>2021-12-25 20:18:43 +0100
commit17c0ee9e913526972692fc5f937ce1f07271930f (patch)
tree24943e7dd93cf004b905c377502f72e7bcd57656 /src/wx
parent838d036e10862618e16b1cbe802ecf2fdbf6ce6d (diff)
Allow user to add .ttc font files.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/fonts_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc
index e61055ad7..d4cc27049 100644
--- a/src/wx/fonts_dialog.cc
+++ b/src/wx/fonts_dialog.cc
@@ -162,7 +162,7 @@ FontsDialog::edit_clicked ()
default_dir = "/System/Library/Fonts";
#endif
- auto d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT(""), wxT("*.ttf;*.otf"), wxFD_CHANGE_DIR);
+ auto d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT(""), wxT("*.ttf;*.otf;*.ttc"), wxFD_CHANGE_DIR);
int const r = d->ShowModal ();
if (r != wxID_OK) {