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

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 781
Date       : Thu Apr  6 10:55:17 BST 2006

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

Fix failure to undo when focus is on slider


Diff:
Index: Trunk/XaraLX/wxOil/camelot.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camelot.cpp	(revision 780)
+++ Trunk/XaraLX/wxOil/camelot.cpp	(revision 781)
@@ -228,6 +228,7 @@
 	TRACEUSER( "luke", _T("Focus = " PERCENT_S "
"), pClassInfo->GetClassName() );
 	if(  pClassInfo->IsKindOf( CLASSINFO(wxControl) ) &&
 		!pClassInfo->IsKindOf( CLASSINFO(wxButton) ) &&
+		!pClassInfo->IsKindOf( CLASSINFO(wxSlider) ) &&
 		!pClassInfo->IsKindOf( CLASSINFO(wxCamArtControl) ) )
 	{
 		event.Skip();


Xara