SimpleMenu.cpp
/*      Function Name: ClassInitialize
 *      Description: Class Part Initialize routine, called for every
 *                   subclass.  Makes sure that the subclasses pick up 
 *                   the extension record.
 *      Arguments: wc - the widget class of the subclass.
 *      Returns: none.
 */
Function Name: ClassInitialize
Description: Class Part Initialize routine, called for every
subclass.  Makes sure that the subclasses pick up
the extension record.
Arguments: wc - the widget class of the subclass.
Returns: none.
Function Name : ClassInitialize Description : Class Part Initialize routine called for every subclass . Makes sure that the subclasses pick up the extension record . Arguments : wc - the widget class of the subclass . Returns : none .
static void
ClassPartInitialize(WidgetClass wc)
{
    SimpleMenuWidgetClass smwc = (SimpleMenuWidgetClass) wc;
    extension_rec.next_extension = smwc->composite_class.extension;
    smwc->composite_class.extension = (XtPointer) &extension_rec;
}
static void ClassPartInitialize ( WidgetClass wc ) { SimpleMenuWidgetClass smwc = ( SimpleMenuWidgetClass ) wc ; extension_rec . next_extension = smwc -> composite_class . extension ; smwc -> composite_class . extension = ( XtPointer ) & extension_rec ; }
Function Name: ClassInitialize
      Description: Class Part Initialize routine, called for every
                   subclass.
Function Name : ClassInitialize Description : Class Part Initialize routine called for every subclass .
/*
 * Make sure that our subclass gets the extension rec too.
 */