Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3391/src/gui
Modified Files:
wxMessageView.cpp
Log Message:
use SetViewer() in MessageView::Init() instead of duplicating it
Index: wxMessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMessageView.cpp,v
retrieving revision 1.301
retrieving revision 1.302
diff -b -u -2 -r1.301 -r1.302
--- wxMessageView.cpp 8 Apr 2004 18:23:05 -0000 1.301
+++ wxMessageView.cpp 8 Sep 2004 22:49:06 -0000 1.302
@@ -191,6 +191,11 @@
Profile *profile)
{
+ // set it to NULL initially to avoid sending notification in
+ // OnViewerChange() for the initial dummy viewer
+ m_FolderView = NULL;
+
Init(parent, profile);
+ // now really set it
m_FolderView = folderView;
}
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates