]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/font.cpp
image handlers moved to separate headers (imagbmp.h etc.) This change is backward...
[wxWidgets.git] / src / gtk1 / font.cpp
index 6cd4c22b1cec62195d15b078ba99a8ce70b1c539..a957f4f68ae6fe08227e0e3d5a12a0bc9f42f4e2 100644 (file)
@@ -188,7 +188,7 @@ wxFont::wxFont( const wxString& fontname, const wxFontData& fontdata )
 
     tmp = tn.GetNextToken();                     // pointsize
     long num = wxStrtol (tmp.c_str(), (wxChar **) NULL, 10);
-    M_FONTDATA->m_pointSize = num / 10;
+    M_FONTDATA->m_pointSize = (int)(num / 10);
 
     tn.GetNextToken();                           // x-res
     tn.GetNextToken();                           // y-res