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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 941
Date       : Tue May  2 20:22:58 BST 2006

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

Fixed mousewheel scrolling in galleries


Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 940)
+++ Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 941)
@@ -992,6 +992,13 @@
 		HandleMessage = TRUE;
 	}	
 	else if (
+		(EventType == wxEVT_MOUSEWHEEL) ||
+		FALSE)
+	{
+		msg.DlgMsg = (((wxMouseEvent *)&event)->GetWheelRotation()>0)?DIM_MOUSEWHEEL_UP:DIM_MOUSEWHEEL_DOWN;
+		HandleMessage = TRUE;
+	}	
+	else if (
 		((EventType == wxEVT_CAMDIALOG_REDRAW) && (pGadget)) ||
 		FALSE)
 	{


Xara