+wxXFont::wxXFont()
+{
+ m_fontStruct = (WXFontStructPtr) 0;
+ m_fontList = (WXFontList) 0;
+ m_display = (WXDisplay*) 0;
+ m_scale = 100;
+}
+
+wxXFont::~wxXFont()
+{
+ XFontStruct* fontStruct = (XFontStruct*) m_fontStruct;
+ XmFontList fontList = (XmFontList) m_fontList;
+
+ XmFontListFree (fontList);
+
+ // TODO: why does freeing the font produce a segv???
+ // Note that XFreeFont wasn't called in wxWin 1.68 either.
+ // XFreeFont((Display*) m_display, fontStruct);
+}
+
+wxFontRefData::wxFontRefData()