comparison lwlib/lwlib.c @ 243:f220cc83d72e r20-5b20

Import from CVS: tag r20-5b20
author cvs
date Mon, 13 Aug 2007 10:17:07 +0200
parents 3d6bfa290dbd
children c5d627a313b1
comparison
equal deleted inserted replaced
242:fc816b73a05f 243:f220cc83d72e
840 840
841 if (!function) 841 if (!function)
842 { 842 {
843 if (dialog_spec_p (instance->info->type)) 843 if (dialog_spec_p (instance->info->type))
844 { 844 {
845 #ifdef DIALOGS_MOTIF 845 #ifdef LWLIB_DIALOGS_MOTIF
846 if (!function) 846 if (!function)
847 function = xm_create_dialog; 847 function = xm_create_dialog;
848 #endif 848 #endif
849 #ifdef DIALOGS_ATHENA 849 #ifdef LWLIB_DIALOGS_ATHENA
850 if (!function) 850 if (!function)
851 function = xaw_create_dialog; 851 function = xaw_create_dialog;
852 #endif 852 #endif
853 #ifdef DIALOGS_LUCID 853 #ifdef LWLIB_DIALOGS_LUCID
854 /* not yet (not ever?) */ 854 /* not yet (not ever?) */
855 #endif 855 #endif
856 } 856 }
857 } 857 }
858 858
1107 } 1107 }
1108 1108
1109 void 1109 void
1110 lw_popup_menu (Widget widget, XEvent *event) 1110 lw_popup_menu (Widget widget, XEvent *event)
1111 { 1111 {
1112 #ifdef MENUBARS_LUCID 1112 #ifdef LWLIB_MENUBARS_LUCID
1113 if (lw_lucid_widget_p (widget)) 1113 if (lw_lucid_widget_p (widget))
1114 xlw_popup_menu (widget, event); 1114 xlw_popup_menu (widget, event);
1115 #endif 1115 #endif
1116 #ifdef MENUBARS_MOTIF 1116 #ifdef LWLIB_MENUBARS_MOTIF
1117 if (lw_motif_widget_p (widget)) 1117 if (lw_motif_widget_p (widget))
1118 xm_popup_menu (widget, event); 1118 xm_popup_menu (widget, event);
1119 #endif 1119 #endif
1120 #ifdef MENUBARS_ATHENA 1120 #ifdef LWLIB_MENUBARS_ATHENA
1121 if (lw_xaw_widget_p (widget)) 1121 if (lw_xaw_widget_p (widget))
1122 xaw_popup_menu (widget, event); /* not implemented */ 1122 xaw_popup_menu (widget, event); /* not implemented */
1123 #endif 1123 #endif
1124 } 1124 }
1125 1125