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

Modified Files:
        wxFolderTree.cpp 
Log Message:
fixed compilation with wx 2.4

Index: wxFolderTree.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderTree.cpp,v
retrieving revision 1.212
retrieving revision 1.213
diff -b -u -2 -r1.212 -r1.213
--- wxFolderTree.cpp    5 Aug 2003 23:19:23 -0000       1.212
+++ wxFolderTree.cpp    13 Aug 2003 22:29:26 -0000      1.213
@@ -1845,5 +1845,9 @@
       }
 
+#if wxCHECK_VERSION(2, 5, 0)
       wxTreeItemIdValue cookie;
+#else
+      long cookie;
+#endif
       wxTreeItemId child = GetFirstChild(current, cookie);
       while ( child.IsOk() )
@@ -2102,5 +2106,9 @@
    CHECK( id.IsOk(), id, _T("invalid tree item in GetNextItem") );
 
+#if wxCHECK_VERSION(2, 5, 0)
    wxTreeItemIdValue cookie;
+#else
+   long cookie;
+#endif
    wxTreeItemId idNext;
 
@@ -2890,5 +2898,9 @@
                // insert the new folder at the right place
                int pos = 0;
+#if wxCHECK_VERSION(2, 5, 0)
                wxTreeItemIdValue cookie;
+#else
+               long cookie;
+#endif
                wxTreeItemId item = GetFirstChild(parent, cookie);
                while ( item.IsOk() )



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to