r=mkaply, a=blizzard
We don't have a message queue yet, so create one
This commit is contained in:
mkaply%us.ibm.com 2001-05-17 20:19:01 +00:00
parent 71c972dd39
commit 6f3e469eca

View File

@ -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