summaryrefslogtreecommitdiff
path: root/src/wx/system_font_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-11 01:31:58 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-12 22:11:27 +0100
commitdfa7b94e802b05bba4243381460eef96626102a0 (patch)
tree348ab6b50c7b074e351f2577101ae583a1597c58 /src/wx/system_font_dialog.cc
parent0f225b6df7a9603678a5bd84f9428ff6fb56aea2 (diff)
Replace deprecated leaf() with filename().
Diffstat (limited to 'src/wx/system_font_dialog.cc')
-rw-r--r--src/wx/system_font_dialog.cc2
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);