Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2717/src/gui
Modified Files:
wxMsgCmdProc.cpp
Log Message:
msg box asking whether to include original text in reply may now be cancelled if you
don't want to reply at all
Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -b -u -2 -r1.65 -r1.66
--- wxMsgCmdProc.cpp 13 Aug 2004 20:25:12 -0000 1.65
+++ wxMsgCmdProc.cpp 19 Sep 2004 10:58:58 -0000 1.66
@@ -587,5 +587,5 @@
if ( quote == M_ACTION_PROMPT )
{
- if ( !MDialog_YesNoDialog
+ switch ( MDialog_YesNoCancel
(
_("Do you want to include the original message "
@@ -594,5 +594,19 @@
) )
{
+ default:
+ FAIL_MSG( _T("unexpected MDialog_YesNoCancel return") );
+ // fall through
+
+ case MDlg_Cancel:
+ // don't reply to the message at all
+ return true;
+
+ case MDlg_No:
quote = M_ACTION_NEVER;
+ break;
+
+ case MDlg_Yes:
+ quote = M_ACTION_ALWAYS;
+ break;
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates