Replace deprecated wxDEFAULT with wxFONTFAMILY_DEFAULT in wxMotif
Just avoid a -Wdeprecated-declarations warning.
This commit is contained in:
parent
7c268092bd
commit
3004e594b9
@ -171,7 +171,7 @@ void wxFontRefData::Init(double pointSize,
|
|||||||
const wxString& faceName,
|
const wxString& faceName,
|
||||||
wxFontEncoding encoding)
|
wxFontEncoding encoding)
|
||||||
{
|
{
|
||||||
if (family == wxDEFAULT)
|
if (family == wxFONTFAMILY_DEFAULT)
|
||||||
m_family = wxFONTFAMILY_SWISS;
|
m_family = wxFONTFAMILY_SWISS;
|
||||||
else
|
else
|
||||||
m_family = family;
|
m_family = family;
|
||||||
|
Loading…
Reference in New Issue
Block a user