+#if !wxUSE_RENDER_TABLE
+ f->m_fontList = XmFontListCreate ((XFontStruct*) font, XmSTRING_DEFAULT_CHARSET);
+#else // if wxUSE_RENDER_TABLE
+ XmRendition rendition;
+ XmRenderTable renderTable;
+ Arg args[5];
+ int count = 0;
+
+ XtSetArg( args[count], XmNfont, font ); ++count;
+ XtSetArg( args[count], XmNunderlineType,
+ GetUnderlined() ? XmSINGLE_LINE : XmNO_LINE ); ++count;
+ rendition = XmRenditionCreate( XmGetXmDisplay( (Display*)f->m_display ),
+ (XmStringTag)"",
+ args, count );
+ renderTable = XmRenderTableAddRenditions( NULL, &rendition, 1,
+ XmMERGE_REPLACE );
+
+ f->m_renderTable = (WXRenderTable)renderTable;
+#endif
+