From 11a2ce5ad289cb21b35cc21131b46f75dd4af060 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Thu, 5 Sep 2002 20:57:34 +0000 Subject: [PATCH] XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2 compatibility. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/radiobox.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 91d53491d7..8598837d8d 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -114,9 +114,10 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, #endif XmNfontList, fontList, XmNlabelString, text(), -// XmNframeChildType is not in Motif 1.2. +// XmNframeChildType is not in Motif 1.2, nor in Lesstif, +// if it was compiled with 1.2 compatibility // TODO: check this still looks OK for Motif 1.2. -#if (XmVersion > 1200) || defined(LESSTIF_VERSION) +#if (XmVersion > 1200) XmNframeChildType, XmFRAME_TITLE_CHILD, #endif XmNchildVerticalAlignment, XmALIGNMENT_CENTER, -- 2.50.0