Revision: 7465
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7465&view=rev
Author:   vadz
Date:     2008-05-03 19:29:34 -0700 (Sat, 03 May 2008)

Log Message:
-----------
fix MSVC release build after last change

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

Modified: trunk/M/src/gui/wxIconManager.cpp
===================================================================
--- trunk/M/src/gui/wxIconManager.cpp   2008-05-04 02:25:29 UTC (rev 7464)
+++ trunk/M/src/gui/wxIconManager.cpp   2008-05-04 02:29:34 UTC (rev 7465)
@@ -63,9 +63,9 @@
 // constants
 // ----------------------------------------------------------------------------
 
-#ifdef __WXDEBUG__
-static const char *wxTraceIconLoading = "iconload";
-#endif
+// #define and not a constant to avoid warnings about it being unused in
+// release build from g++ (but it still needs to be defined for MSVC)
+#define wxTraceIconLoading "iconload"
 
 /** @name built-in icon names */
 //@{


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to