freebsd-ports/mail/mahogany/files/patch-src-gui-wxIconManager.cpp
2007-01-27 23:44:01 +00:00

14 lines
425 B
C++

--- src/gui/wxIconManager.cpp.orig Mon Jan 16 21:32:27 2006
+++ src/gui/wxIconManager.cpp Sat Jan 27 16:25:26 2007
@@ -669,7 +669,11 @@
// now try to find it by name
icon = GetIcon(type);
+#if wxCHECK_VERSION(2, 8, 0)
+ if ( icon.IsSameAs(m_unknownIcon) )
+#else
if ( icon == m_unknownIcon )
+#endif
{
// the generic icon for this class of things
String primType = type.BeforeLast(_T('/'));