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

Modified Files:
        wxMessageView.cpp 
Log Message:
refresh the msg view frame after changing the viewer, otherwise it's not positioned 
correctly under Windows

Index: wxMessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMessageView.cpp,v
retrieving revision 1.295
retrieving revision 1.296
diff -b -u -2 -r1.295 -r1.296
--- wxMessageView.cpp   19 Sep 2003 13:31:21 -0000      1.295
+++ wxMessageView.cpp   2 Oct 2003 11:58:57 -0000       1.296
@@ -254,4 +254,12 @@
 
       mbar->Check(WXMENU_VIEW_VIEWERS_BEGIN + 1 + n, true);
+
+      // finally we must ensure that the new viewer is positioned/sized
+      // correctly: folder view does it itself in OnMsgViewerChange() but for
+      // standalone message view frame we have to do it ourselves
+      if ( !m_FolderView )
+      {
+         frame->SendSizeEvent();
+      }
    }
 }



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