]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 3 Nov 2008 18:50:41 +0000 (18:50 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 3 Nov 2008 18:50:41 +0000 (18:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 ;