]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/font.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / motif / font.cpp
index 10ab6faf5bd090cad51e3be9991d855ff8a3a285..048592aeb00c8dfc6dff5626606c98e9c4d96a5d 100644 (file)
@@ -360,7 +360,8 @@ wxXFont* wxFont::GetInternalFont(double scale, WXDisplay* display) const
     }
 
     // not found, create a new one
-    XFontStruct *font = wxLoadQueryNearestFont(pointSize,
+    XFontStruct *font = (XFontStruct *)
+                        wxLoadQueryNearestFont(pointSize,
                                                M_FONTDATA->m_family,
                                                M_FONTDATA->m_style,
                                                M_FONTDATA->m_weight,