Replace deprecated wxDEFAULT with wxFONTFAMILY_DEFAULT in wxMotif

Just avoid a -Wdeprecated-declarations warning.
This commit is contained in:
Vadim Zeitlin 2020-07-06 13:04:18 +02:00
parent 7c268092bd
commit 3004e594b9

View File

@ -171,7 +171,7 @@ void wxFontRefData::Init(double pointSize,
const wxString& faceName,
wxFontEncoding encoding)
{
if (family == wxDEFAULT)
if (family == wxFONTFAMILY_DEFAULT)
m_family = wxFONTFAMILY_SWISS;
else
m_family = family;