Update of /cvsroot/mahogany/M/src/wx/generic
In directory sc8-pr-cvs1:/tmp/cvs-serv3325/wx/generic
Modified Files:
persctrl.cpp
Log Message:
fixed warnings with wx 2.5
Index: persctrl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -b -u -2 -r1.80 -r1.81
--- persctrl.cpp 22 Jul 2003 22:01:42 -0000 1.80
+++ persctrl.cpp 13 Aug 2003 23:10:38 -0000 1.81
@@ -1322,5 +1322,9 @@
size_t nChild = 0;
+#if wxCHECK_VERSION(2, 5, 0)
+ wxTreeItemIdValue cookie;
+#else
long cookie;
+#endif
wxTreeItemId idChild = GetFirstChild(id, cookie);
while ( idChild.IsOk() )
@@ -1409,5 +1413,9 @@
// get the child with the given index
+#if wxCHECK_VERSION(2, 5, 0)
+ wxTreeItemIdValue cookie;
+#else
long cookie;
+#endif
wxTreeItemId idChild = GetFirstChild(id, cookie);
while ( idChild.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