DtWidget: resolved some compiler warnings

This commit is contained in:
alx
2015-07-23 20:51:47 +02:00
committed by Jon Trulson
parent c67763c82d
commit ae16363537
4 changed files with 25 additions and 19 deletions

View File

@@ -117,6 +117,9 @@ express or implied warranty.
/* some unpublished Motif interfaces */
#include <Xm/XmPrivate.h>
/* From MenuUtilP.h */
extern int _XmGrabKeyboard(Widget widget, int owner_events, int pointer_mode,
int keyboard_mode, Time time) ;
/*
* MotifBc
*/
@@ -2286,7 +2289,7 @@ list_event_handler( Widget widget,
if ( ShellPoppedUp(((ShellWidget)(Shell(combo_w)))) ) {
_XmGrabKeyboard(widget, False, GrabModeAsync, GrabModeAsync,
CurrentTime);
XtSetKeyboardFocus(List(combo_w), RevertToNone);
XtSetKeyboardFocus(List(combo_w), None);
}
break;
case EnterNotify: