Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv7754/src/gui

Modified Files:
        wxComposeView.cpp 
Log Message:
bring the composer to top before asking about whether the user really wants to close it

Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.266
retrieving revision 1.267
diff -b -u -2 -r1.266 -r1.267
--- wxComposeView.cpp   29 Mar 2002 10:34:06 -0000      1.266
+++ wxComposeView.cpp   29 Mar 2002 10:42:51 -0000      1.267
@@ -2192,4 +2192,9 @@
    else if ( IsModified() )
    {
+      // bring the frame to the top to show user which window are we asking him
+      // about
+      wxComposeView *self = (wxComposeView *)this;
+      self->GetFrame()->Raise();
+
       // ask the user if he wants to save the changes
       MDlgResult rc = MDialog_YesNoCancel


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to