Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv16756/src/gui
Modified Files:
wxMApp.cpp
Log Message:
corrected messages which are misleading now that wxWin creates minidumps on crash, not
report files
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.276
retrieving revision 1.277
diff -b -u -2 -r1.276 -r1.277
--- wxMApp.cpp 19 Sep 2003 22:50:03 -0000 1.276
+++ wxMApp.cpp 21 Sep 2003 00:19:45 -0000 1.277
@@ -609,11 +609,11 @@
msg += String::Format
(
- _("P.S. Mahogany will also try to generate bug report in file\n"
+ _("P.S. Mahogany will also try to generate bug report in the file\n"
"\n"
" %s\n"
"\n"
- "after you close this message box. Please download the\n"
- "PDB file and put it in the same directory as M.exe if\n"
- "you don't have it already for better results."),
+ "after you close this message box. Please look at this\n"
+ "file if the program terminates without giving any other\n"
+ "messages, it might contain some additional information."),
wxCrashReport::GetFileName()
);
@@ -627,15 +627,28 @@
msg.Printf
(
- _("Detailed crash report has been generated in file\n"
+ _("Detailed crash report has been generated in the file\n"
"\n"
" %s\n"
"\n"
- "please look at it for more information and join it\n"
- "to your bug report."),
+ "please join it to your bug report.\n"
+ "\n"
+ "Thank you in advance!"),
+ wxCrashReport::GetFileName()
+ );
+ }
+ else // failed to generate crash dump
+ {
+ msg.Printf
+ (
+ _("Crash report generation failed, please look in the file\n"
+ "\n"
+ " %s\n"
+ "\n"
+ "for the explanation of why it failed."),
wxCrashReport::GetFileName()
);
+ }
SafeMsgBox(msg);
- }
#endif // wxCrashReport available
}
@@ -773,5 +786,5 @@
// in release build we handle any exceptions we generate (i.e. crashes)
// ourselves
-#if 1 // ndef DEBUG
+#ifndef DEBUG
wxHandleFatalExceptions();
#endif
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates