mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
r=mkaply, a=blizzard We don't have a message queue yet, so create one
This commit is contained in:
parent
71c972dd39
commit
6f3e469eca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user