projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b59fd12
)
Allow loading of OTF files.
author
Carl Hetherington
<cth@carlh.net>
Fri, 1 Feb 2019 23:45:11 +0000
(23:45 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 1 Feb 2019 23:45:11 +0000
(23:45 +0000)
src/wx/fonts_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/fonts_dialog.cc
b/src/wx/fonts_dialog.cc
index 4ad118262367bd7f5e25d8ad52dccf2befce6e7c..88fcb2dce5de2f65d9d7a9d2d7c05380bf921aed 100644
(file)
--- a/
src/wx/fonts_dialog.cc
+++ b/
src/wx/fonts_dialog.cc
@@
-155,7
+155,7
@@
FontsDialog::edit_clicked ()
default_dir = "/System/Library/Fonts";
#endif
default_dir = "/System/Library/Fonts";
#endif
- wxFileDialog* d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT
(""), wxT ("*.t
tf"), wxFD_CHANGE_DIR);
+ wxFileDialog* d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT
(""), wxT("*.ttf;*.o
tf"), wxFD_CHANGE_DIR);
int const r = d->ShowModal ();
if (r != wxID_OK) {
int const r = d->ShowModal ();
if (r != wxID_OK) {