projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace deprecated leaf() with filename().
[dcpomatic.git]
/
src
/
wx
/
system_font_dialog.cc
diff --git
a/src/wx/system_font_dialog.cc
b/src/wx/system_font_dialog.cc
index 84285de12e35c6d0e6f09a4f5f0bff7dc3e10ed5..9814ededd07e70ebc4bab5d524c814201be18425 100644
(file)
--- a/
src/wx/system_font_dialog.cc
+++ b/
src/wx/system_font_dialog.cc
@@
-62,7
+62,7
@@
SystemFontDialog::SystemFontDialog (wxWindow* parent)
int n = 0;
for (auto i: _fonts) {
- _list->InsertItem
(n++, std_to_wx (i.leaf().stem().string
()));
+ _list->InsertItem
(n++, std_to_wx(i.filename().stem().string
()));
}
auto buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL);