X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fdb23edd611d62b48a8678268bee8900c0bb4fa..bb69632a56a827bed4cfae842bfffa88259ac1aa:/src/osx/carbon/font.cpp diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index a03c463027..e2ef869e59 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -394,9 +394,9 @@ void wxFontRefData::MacFindFont() case wxFONTFAMILY_MODERN : case wxFONTFAMILY_TELETYPE: m_faceName = wxT("Courier"); - if ( m_style == wxFONTFAMILY_ITALIC && m_weight == wxFONTFAMILY_NORMAL ) + if ( m_style == wxFONTSTYLE_ITALIC && m_weight == wxFONTWEIGHT_NORMAL ) { - m_style = wxFONTFAMILY_ITALIC; + m_style = wxFONTSTYLE_ITALIC; } break ;