X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da494b405d0826b343ea6d249bbac27061e11d3e..55826fcf4fd863d48ac28789d99bbb5c8a8d4c7e:/src/motif/font.cpp 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