- char tmp[128];
- sprintf( tmp, "Im%x", (unsigned int)m_image );
-
- Pixel fg, bg;
- Widget widget = (Widget) w;
-
- XtVaGetValues( widget, XmNarmColor, &bg, NULL );
- while( XmIsGadget( widget ) )
- widget = XtParent( widget );
- XtVaGetValues( widget, XmNforeground, &fg, NULL );
-
- m_armPixmap = (WXPixmap)XmGetPixmap( screen, tmp, fg, bg );
-