From: Mattia Barbon Date: Sun, 15 Jun 2003 17:27:22 +0000 (+0000) Subject: Blind fix for startup crash with Lesstif. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/24f9edfdae97396b0159f86eec86d002d338d062 Blind fix for startup crash with Lesstif. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 7c5b632029..4e7186a805 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -137,7 +137,7 @@ wxXFont::~wxXFont() XmFontList fontList = (XmFontList) m_fontList; XmFontListFree (fontList); -#if wxCHECK_MOTIF_VERSION( 2, 0 ) +#if wxCHECK_MOTIF_VERSION( 2, 0 ) && !wxCHECK_LESSTIF() XmRenderTable renderTable = (XmRenderTable) m_renderTable; XmRenderTableFree (renderTable); #endif