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

Modified Files:
        wxDialogLayout.cpp wxMsgCmdProc.cpp 
Log Message:
fix VC++ warnings at level 4

Index: wxDialogLayout.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxDialogLayout.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -b -u -2 -r1.93 -r1.94
--- wxDialogLayout.cpp  5 Dec 2002 20:48:51 -0000       1.93
+++ wxDialogLayout.cpp  8 Dec 2002 00:41:10 -0000       1.94
@@ -167,5 +167,5 @@
                              wxLayoutConstraints *c,
                              wxControl *last,
-                             size_t extraSpace)
+                             int extraSpace)
 {
    if ( last == NULL )

Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- wxMsgCmdProc.cpp    5 Dec 2002 19:47:32 -0000       1.37
+++ wxMsgCmdProc.cpp    8 Dec 2002 00:41:10 -0000       1.38
@@ -1437,6 +1437,4 @@
    bool didDrop = false;
 
-   size_t countSel = selections.Count();
-
    MailFolder_obj mf = GetMailFolder();
    CHECK( mf, false, _T("no mail folder to drag messages from?") );
@@ -1451,5 +1449,5 @@
 #else // Unix
    wxIconManager *iconManager = mApplication->GetIconManager();
-   wxIcon icon = iconManager->GetIcon(countSel > 1 ? "dnd_msgs"
+   wxIcon icon = iconManager->GetIcon(selections.Count() > 1 ? "dnd_msgs"
                                                    : "dnd_msg");
    wxDropSource dropSource(dropData, m_winForDnd, icon);



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