]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing param
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 20 Apr 2009 04:47:14 +0000 (04:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 20 Apr 2009 04:47:14 +0000 (04:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/font.cpp

index 2b51a315a10cf2613f7e21b2423b0b1765a20ff7..dc5a0ce72fd3c7eadd58f0b6e33581b680ec7e76 100644 (file)
@@ -378,7 +378,7 @@ wxFontRefData::wxFontRefData(wxOSXSystemFont font, int size)
             if ( style & underline )
                 underlined = true ;
                 
-            m_info.Init(size,wxFONTFAMILY_DEFAULT,fontstyle,fontweight,underlined,
+            m_info.Init(fontSize,wxFONTFAMILY_DEFAULT,fontstyle,fontweight,underlined,
                 wxMacMakeStringFromPascal( qdFontName ), wxFONTENCODING_DEFAULT);
          }
     }