dtcreate: make pop-ups work properly.

This commit is contained in:
hyousatsu
2024-09-09 02:07:37 +00:00
parent 121510cb72
commit fbc9488037
3 changed files with 92 additions and 59 deletions

View File

@@ -47,6 +47,7 @@ void activateCB_ErrorDialog_OkButton( Widget UxWidget,
{
XtDestroyWidget(XtParent(UxWidget));
*(Widget **)UxClientData = NULL;
}
/******************************************************************************/
@@ -63,7 +64,7 @@ void display_error_message (Widget parent, char *message)
XtAddCallback( ErrorDialog, XmNokCallback,
(XtCallbackProc) activateCB_ErrorDialog_OkButton,
(XtPointer) NULL );
(XtPointer) &ErrorDialog );
XtVaSetValues (ErrorDialog,
RES_CONVERT(XmNdialogTitle, GETMESSAGE(6, 31, "Create Action - Error")),