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

[XaraXtreme-dev] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 693
Date       : Mon Mar 20 11:46:35 GMT 2006

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

Fix interaction with infobars


Diff:
Index: Trunk/XaraLX/wxOil/camelot.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camelot.cpp	(revision 692)
+++ Trunk/XaraLX/wxOil/camelot.cpp	(revision 693)
@@ -229,7 +229,10 @@
 	if(  pClassInfo->IsKindOf( CLASSINFO(wxControl) ) &&
 		!pClassInfo->IsKindOf( CLASSINFO(wxButton) ) &&
 		!pClassInfo->IsKindOf( CLASSINFO(wxCamArtControl) ) )
+	{
+		event.Skip();
 		return;
+	}
 	
 	// Make sure the kernel knows which view/doc the event applies to, if any.
 	if( NULL != Document::GetSelected() )
@@ -361,7 +364,7 @@
 	
 	// Useful debug tracing enablers, left here for next debug session...
 //	wxLog::AddTraceMask( _T("focus") );
-//	wxLog::AddTraceMask( _T("keyevent") );
+	wxLog::AddTraceMask( _T("keyevent") );
 
 	// Initialise the MonotonicTime class
 	MonotonicTime::Init();


Xara