]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/font.cpp
Use wxRound() instead of (int)(my_double + 0.5);
[wxWidgets.git] / src / gtk / font.cpp
index ea4997a099f284d49ec46270bb2b6760cf15f3a9..7f77a346fc0628455fc650f4c750e13f7f4b9553 100644 (file)
@@ -464,7 +464,7 @@ bool wxFont::GetNoAntiAliasing() const
 
 const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
 {
-    wxCHECK_MSG( Ok(), (wxNativeFontInfo *)NULL, wxT("invalid font") );
+    wxCHECK_MSG( Ok(), NULL, wxT("invalid font") );
 
     return &(M_FONTDATA->m_nativeFontInfo);
 }