From 24f9edfdae97396b0159f86eec86d002d338d062 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 15 Jun 2003 17:27:22 +0000 Subject: [PATCH] Blind fix for startup crash with Lesstif. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2