>>>>> On Fri, 14 Jul 2000 14:39:23 -0400, "Mitch Miers" <[EMAIL PROTECTED]> 
>said:

  Mitch> My guess is that this is a DialogShell?  I think the problem
  Mitch> is in BaseClass, in the RealizeWrapper.  The check should
  Mitch> not be for XmIsDialogShell, but to see if the widget _class_
  Mitch> is XmDialogueShell, not if the widget *instance* is.  Clearly
  Mitch> the latter will not change, but the former will in realize
  Mitch> wrapper chaining.

  Mitch> Try substituting "wc != xmDialogShellWidgetClass" for
  Mitch> !XmIsDialogShell(w)

  Mitch> in BaseClass.c

You've lost me.  In RealizeWrapper, wc is XtClass(w) and XmIsDialogShell
*does* check the class (of the instance), so these seems to be equivalent
(except that XmIsDialogShell also allows subclasses of XmDialogueShell, which
is what we want here).

__Martin

Reply via email to