diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-10 00:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | c97de27f9c5364b6f126016c5e1f31a76d5ce565 (patch) | |
| tree | f29bd3c22e60f9abdfbe46f145279d9af7aa7256 /src/wx/system_font_dialog.cc | |
| parent | 5ed17cd197aa743922da18e2a5753f746d38122e (diff) | |
Remove use of wxT in favour of char_to_wx().
The wxWidgets docs advise against its use these days.
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 9814ededd..b31b04285 100644 --- a/src/wx/system_font_dialog.cc +++ b/src/wx/system_font_dialog.cc @@ -56,7 +56,7 @@ SystemFontDialog::SystemFontDialog (wxWindow* parent) sort (_fonts.begin(), _fonts.end()); _list = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER); - _list->InsertColumn (0, wxT ("")); + _list->InsertColumn(0, wxString{}); _list->SetColumnWidth (0, 512); sizer->Add (_list, 0, wxALL, DCPOMATIC_SIZER_X_GAP); |
