model_server/ui_misc/src/ProgressBar.cxx
// Set the current info message (e.g.: "Loading..."):
Set the current info message .
Set the current info message .
void ProgressBar::SetMessage(const char *msg)
{
  XmString _msg = XmStringCreateLtoR((char *)gettext((char *)msg), XmSTRING_DEFAULT_CHARSET);
  XtVaSetValues(msg_label, XmNlabelString, _msg, NULL);
  XmStringFree(_msg);
  Refresh();
}
void ProgressBar :: SetMessage ( const char * msg ) { XmString _msg = XmStringCreateLtoR ( ( char * ) gettext ( ( char * ) msg ) , XmSTRING_DEFAULT_CHARSET ) ; XtVaSetValues ( msg_label , XmNlabelString , _msg , NULL ) ; XmStringFree ( _msg ) ; Refresh ( ) ; }
Set the current info message (e.g.
Set the current info message ( e . g .