From 9ce7c34f055794534eabebbcc4d2d14965676957 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Thu, 17 May 2001 20:19:01 +0000 Subject: [PATCH] #65678 r=mkaply, a=blizzard We don't have a message queue yet, so create one git-svn-id: svn://10.0.0.236/trunk@95298 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/bootstrap/showOSAlert.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpfe/bootstrap/showOSAlert.cpp b/mozilla/xpfe/bootstrap/showOSAlert.cpp index dc482e45598..4a089b3d1b6 100644 --- a/mozilla/xpfe/bootstrap/showOSAlert.cpp +++ b/mozilla/xpfe/bootstrap/showOSAlert.cpp @@ -173,7 +173,11 @@ printf("\n****Inside ShowOSAlert ***\n"); #elif defined (MOZ_WIDGET_GTK) NS_gtk_alert(aMessage, NULL, "OK"); #elif defined (XP_OS2) + HAB hab = WinInitialize(0); + HMQ hmq = WinCreateMsgQueue(hmq,0); WinMessageBox( HWND_DESKTOP, HWND_DESKTOP, aMessage, "", 0, MB_OK); + WinDestroyMsgQueue(hmq); + WinTerminate(hab); #else printf(stdout, "%s\n", aMessage); #endif