]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/font.cpp
minor fixes; replace references to Windows95 with references to wxMSW where possible
[wxWidgets.git] / src / osx / carbon / font.cpp
index a03c46302705bec0b6ec8befc2bcd779f88f697a..e2ef869e59e68007deec98a49548236bff885ee4 100644 (file)
@@ -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 ;