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

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 1101
Date       : Wed May 17 13:12:25 BST 2006

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

Remove code from release that only does anything useful in debug


Diff:
Index: Trunk/XaraLX/wxOil/camelot.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camelot.cpp	(revision 1100)
+++ Trunk/XaraLX/wxOil/camelot.cpp	(revision 1101)
@@ -234,6 +234,7 @@
 {
 	static INT32	lLastTimeStamp = 0;
 
+#if defined(_DEBUG)
 	if( event.GetEventType() == wxEVT_CHAR )
 	{
 		wxObject* pEventObject = event.GetEventObject();
@@ -243,6 +244,7 @@
 				((wxWindow*)pEventObject)->GetClassInfo()->GetClassName() );
 		}
 	}
+#endif
 
 	if( event.GetEventType() == wxEVT_KEY_DOWN ||
 		event.GetEventType() == wxEVT_KEY_UP )


Xara