X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3477409312ed5201078bfa2f2be4318e5914aa0b..76985f52b2b8f88e5ee8632e10ca3bbed7dae2cf:/src/motif/radiobox.cpp?ds=sidebyside diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 91d53491d7..9076292ca0 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -114,10 +114,13 @@ 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, +#else + XmNchildType, XmFRAME_TITLE_CHILD, #endif XmNchildVerticalAlignment, XmALIGNMENT_CENTER, NULL);