X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7beba2fc73283f5b750227459da57e66bcd475f5..f21a7f94fc140318308cc1c5bc1d63ea2b4c62c7:/src/gtk/font.cpp?ds=sidebyside diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index c2e51daba6..a957f4f68a 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -29,7 +29,7 @@ #include -#include "gdk/gdk.h" +#include // ---------------------------------------------------------------------------- // wxFontRefData @@ -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