SF.net SVN: mahogany: [7154] trunk/M/src/gui/wxIconManager.cpp

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7154
          http://svn.sourceforge.net/mahogany/?rev=7154&view=rev
Author:   vadz
Date:     2006-11-06 16:26:36 -0800 (Mon, 06 Nov 2006)

Log Message:
-----------
wx 2.7.2 compilation fix

Modified Paths:
--------------
    trunk/M/src/gui/wxIconManager.cpp

Modified: trunk/M/src/gui/wxIconManager.cpp
===================================================================
--- trunk/M/src/gui/wxIconManager.cpp	2006-11-07 00:18:21 UTC (rev 7153)
+++ trunk/M/src/gui/wxIconManager.cpp	2006-11-07 00:26:36 UTC (rev 7154)
@@ -676,7 +676,11 @@
    // now try to find it by name
    icon = GetIcon(type);
 
+#if wxCHECK_VERSION(2, 7, 2)
+   if ( icon.IsSameAs(m_unknownIcon) )
+#else
    if ( icon == m_unknownIcon )
+#endif
    {
       // the generic icon for this class of things
       String primType = type.BeforeLast(_T('/'));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.