Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1:/tmp/cvs-serv19223/src/mail

Modified Files:
        ASMailFolder.cpp MailFolderCC.cpp MailFolderCmn.cpp 
Log Message:
Prevented recursion in MEvent::DispatchPending due to idle loop and wxYield in busy 
cursor

Index: ASMailFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/ASMailFolder.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -b -u -2 -r1.67 -r1.68
--- ASMailFolder.cpp    22 Jul 2003 22:01:42 -0000      1.67
+++ ASMailFolder.cpp    14 Sep 2003 16:10:50 -0000      1.68
@@ -162,5 +162,5 @@
 MailThread::Entry()
 {
-   wxBusyCursor bc;
+   MBusyCursor bc;
 
    //FIXME-MT: IS THIS TRUE? MailFolderCC does sufficient locking

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.671
retrieving revision 1.672
diff -b -u -2 -r1.671 -r1.672
--- MailFolderCC.cpp    22 Jul 2003 22:01:42 -0000      1.671
+++ MailFolderCC.cpp    14 Sep 2003 16:10:50 -0000      1.672
@@ -2179,5 +2179,5 @@
    // the pending ones as this might cause problems but for now let's keep it
    // simple and fix it when/if we find the problems with the current approach
-   MEventManager::DispatchPending();
+   MEventManager::ForceDispatchPending();
 
    // lock cclient inside this block
@@ -2727,5 +2727,5 @@
    static const int STATUS_FLAGS = SA_MESSAGES | SA_RECENT | SA_UNSEEN;
 
-   wxBusyCursor busyCursor;
+   MBusyCursor busyCursor;
 
    // instead of calling mail_status() with NIL stream we always open the
@@ -3619,5 +3619,5 @@
                      GetProfile(), "ss", sequence.c_str(), flags.c_str()),1)  )
    {
-      wxBusyCursor busyCursor;
+      MBusyCursor busyCursor;
 
       int opFlags = 0;
@@ -5430,5 +5430,5 @@
    if ( nmsgs > 0 )
    {
-      wxBusyCursor busyCursor;
+      MBusyCursor busyCursor;
 
       String seq;

Index: MailFolderCmn.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCmn.cpp,v
retrieving revision 1.115
retrieving revision 1.116
diff -b -u -2 -r1.115 -r1.116
--- MailFolderCmn.cpp   22 Jul 2003 22:01:42 -0000      1.115
+++ MailFolderCmn.cpp   14 Sep 2003 16:10:50 -0000      1.116
@@ -1570,5 +1570,5 @@
    if ( filterRule )
    {
-      wxBusyCursor busyCursor;
+      MBusyCursor busyCursor;
 
       // make copy as Apply() may modify it



-------------------------------------------------------
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

Reply via email to