mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-19 11:52:52 +02:00
[Win32] Make the fatal error message box easier to notice with
2003-08-19 Tor Lillqvist <tml@iki.fi> * glib/gmessages.c (g_logv): [Win32] Make the fatal error message box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR to get a nice stop-sign icon.
This commit is contained in:
committed by
Tor Lillqvist
parent
9d8e67597c
commit
200bb7f771
@@ -510,7 +510,8 @@ g_logv (const gchar *log_domain,
|
||||
#ifdef G_OS_WIN32
|
||||
gchar *locale_msg = g_locale_from_utf8 (fatal_msg_buf, -1, NULL, NULL, NULL);
|
||||
|
||||
MessageBox (NULL, locale_msg, NULL, MB_OK);
|
||||
MessageBox (NULL, locale_msg, NULL,
|
||||
MB_ICONERROR|MB_SETFOREGROUND);
|
||||
#endif
|
||||
#if defined (G_ENABLE_DEBUG) && (defined (SIGTRAP) || defined (G_OS_WIN32))
|
||||
if (!(test_level & G_LOG_FLAG_RECURSION))
|
||||
|
Reference in New Issue
Block a user