Alexander Mai writes:
> On Wed, 13 Dec 2000 05:50:00 -0500, Rick Scott wrote:
> >Forwarding this from the news just to get it onto our mail list.
> >Not sure if it is relevant to Motif, LessTif, or both. But it
> >should be easy to check out.
> [...]
> >|> Thanks Rick, this is exactly what I was looking for. But could someone
> >|> explain why
> >|> 
> >|> m=0;
> >|> XtSetArg(wargs[m],XmNdialogStyle,XmDIALOG_FULL_APPLICATION_MODAL);m++;
> >|> w=XmCreateFormDialog(parent,"options",wargs,m);
> >|> XtManageChild(w);
> >|> 
> >|> core dumps while,
> >|> 
> >|> w=XmCreateFormDialog(parent,"options",NULL,0);
> >|> m=0;
> >|> XtSetArg(wargs[m],XmNdialogStyle,XmDIALOG_FULL_APPLICATION_MODAL);m++;
> >|> XtSetValues(w,wargs,m);
> >|> XtManageChild(w);
> >|> 
> >|> works like a charm?
> [...]
> 
> So it dumps core with LessTif/CVS? Anyone checked yet?

I checked 0.92.0 with xmcd, which has a few places that sets a form dialog
to XmDIALOG_FULL_APPLICATION_MODAL in the first manner above.  No problem
found.  Also no problems with Motif 1.2.1.

The original poster didn't specify how wargs[] is declared.  I suspect
something wrong there.

-Ti (author of xmcd, xmmix)
-- 
    ///  Ti Kan                Vorsprung durch Technik
   ///   AMB Research Laboratories, Sunnyvale, CA. USA
  ///    [EMAIL PROTECTED]
 //////  http://www.ibiblio.org/tkan/
///

Reply via email to