diff options
Diffstat (limited to 'src/wx/system_font_dialog.cc')
| -rw-r--r-- | src/wx/system_font_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/system_font_dialog.cc b/src/wx/system_font_dialog.cc index 84285de12..9814ededd 100644 --- 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); |
