(create_menu_button): Set XtNinternational to True.
authorhanda <handa>
Mon, 16 Oct 2006 13:01:31 +0000 (13:01 +0000)
committerhanda <handa>
Mon, 16 Oct 2006 13:01:31 +0000 (13:01 +0000)
example/medit.c

index b32052c..1d8f3de 100644 (file)
@@ -2505,7 +2505,8 @@ create_menu_button (Widget top, Widget parent, Widget left, char *button_name,
   XtSetArg (arg[3], XtNhighlightThickness, 1);
   XtSetArg (arg[4], XtNleft, XawChainLeft);
   XtSetArg (arg[5], XtNright, XawChainLeft);
-  i = 6;
+  XtSetArg (arg[6], XtNinternational, True);
+  i = 7;
   if (left)
     XtSetArg (arg[i], XtNfromHoriz, left), i++;
   button = XtCreateManagedWidget (button_name, menuButtonWidgetClass, parent,