[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 1550
Date       : Wed Jul 26 13:35:48 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/menupref.cpp

Re-instate debug menu under debug


Diff:
Index: Trunk/XaraLX/wxOil/menupref.cpp
===================================================================
--- Trunk/XaraLX/wxOil/menupref.cpp	(revision 1549)
+++ Trunk/XaraLX/wxOil/menupref.cpp	(revision 1550)
@@ -225,7 +225,7 @@
 
 				TRACEUSER( "luke", _T("SUBMENU \"%s\" \"%s\"
"), OpToken, OPTOKEN_DEBUG_MENU );
 
-#if !defined(ADD_DEBUG_MENU)
+#if !defined(_DEBUG)
 				// Remove DEBUG menu
 				if( 0 == camStrcmp( OpToken, OPTOKEN_DEBUG_MENU ) )
 				{
@@ -265,7 +265,7 @@
 						_R(IDE_SYNTAX_ERROR), 
 						NULL);
 
-#if !defined(ADD_DEBUG_MENU)
+#if !defined(_DEBUG)
 				// Don't add menu itemns if parent not wanted
 				if( NULL == pCurMenu )
 					continue;


Xara