Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!kogwy!new1!roger From: roger@zuken.co.jp (Roger Meunier) Newsgroups: comp.windows.x.motif Subject: Re: XmNdestroryCallback on a SelectionBoxDialog... Message-ID: Date: 30 May 91 06:11:50 GMT References: <1991May29.024641.21512@ux1.cso.uiuc.edu> Sender: news@new1.zuken.co.jp Organization: ZUKEN Inc. Yokohama, JAPAN Lines: 24 In-reply-to: lyons@srg's message of 29 May 91 19:09:30 GMT In article lyons@srg (Don R. Lyons x4811) writes: > In article <1991May29.024641.21512@ux1.cso.uiuc.edu> CWIKLA@uimrl7.mrl.uiuc.edu (John/Consultant) writes: > > > I am trying to use XtDestroyWidget inside the cancel button > > callback (I actually try to destroy the DialogShell parent > > of the callback widget...) > > > > However this does not work -- program crashes... > > In Motif 1.0.* for X11R3 this behavior is, unfortunately, correct. > The bug with calling XtDestroyWidget has been fixed in Motif 1.1.* > for X11R4, so the release notes claim. I am still waiting for > source so can someone verify? I had posted some source several weeks ago which illustrated the problem (and to which no one cared to respond... GRRRR). We just received X11R4 and Motif 1.1 last week, and my test program no longer crashes, so I assume that the problem has been worked around. Hats off to them bug fixers! Now, if they'd only find a way to make XtMakeGeometryRequest() work within a XmForm, then I'd *really* be happy!!! ;-) -- Roger Meunier @ Zuken, Inc. Yokohama, Japan (roger@zuken.co.jp)