Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv23427/src/gui
Modified Files:
wxIconManager.cpp
Log Message:
fixed compilation with the latest 2.5
Index: wxIconManager.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxIconManager.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -b -u -2 -r1.92 -r1.93
--- wxIconManager.cpp 6 Nov 2002 00:28:24 -0000 1.92
+++ wxIconManager.cpp 28 Jun 2003 12:40:07 -0000 1.93
@@ -653,5 +653,13 @@
if ( fileType )
{
+#if wxCHECK_VERSION(2, 5, 0)
+ wxIconLocation iconLoc;
+ if ( fileType->GetIcon(&iconLoc) )
+ {
+ icon = wxIcon(iconLoc);
+ }
+#else // wx 2.4.x
(void)fileType->GetIcon(&icon);
+#endif
delete fileType;
-------------------------------------------------------
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/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates