fix deprecated warning

This commit is contained in:
lsv 2024-02-06 08:34:42 +05:00
parent f8b017ad45
commit 2d7ac600c0
25 changed files with 402 additions and 405 deletions

View file

@ -691,7 +691,7 @@ wxFont sysSettings::GetSQLFont()
if (fontName.IsEmpty())
{
#ifdef __WXMSW__
return wxFont(9, wxTELETYPE, wxNORMAL, wxNORMAL);
return wxFont(9, wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
#else
#ifdef __WXGTK__
return wxFont(10, wxTELETYPE, wxNORMAL, wxNORMAL);