44476
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
index 69a0ec3..d79cadf 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
@@ -619,7 +619,7 @@
 	/* Create the AppContext */
 	int [] argc = new int [] {0};
 	int xtContext = OS.XtCreateApplicationContext ();
-	if (OS.IsSunOS && XtContext == 0) XtContext = xtContext;
+	if ((OS.IsSunOS || OS.IsHPUX) && XtContext == 0) XtContext = xtContext;
 	OS.XtSetLanguageProc (xtContext, 0, 0);
 	
 	xEvent = OS.XtMalloc (XEvent.sizeof);