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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 920
Date       : Sat Apr 29 15:47:50 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/sgldrag.cpp
   M /Trunk/XaraLX/Kernel/sgldrag.h

Preparatory fix to line gallery dragging (not compiled in yet)


Diff:
Index: Trunk/XaraLX/Kernel/sgldrag.h
===================================================================
--- Trunk/XaraLX/Kernel/sgldrag.h	(revision 919)
+++ Trunk/XaraLX/Kernel/sgldrag.h	(revision 920)
@@ -140,7 +140,7 @@
 
 	virtual INT32 GetDragTransparency();
 	virtual KernelBitmap* GetSolidDragMask();
-	virtual BOOL OnDrawSolidDrag(CPoint Origin,CDC * TheDC);
+	virtual BOOL OnDrawSolidDrag(wxPoint Origin, wxDC * TheDC, DragTarget* pDragTarget);
 
 	LineAttrItem*	GetDraggedLineAttr()	{ return(SourceItem); }
 
Index: Trunk/XaraLX/Kernel/sgldrag.cpp
===================================================================
--- Trunk/XaraLX/Kernel/sgldrag.cpp	(revision 919)
+++ Trunk/XaraLX/Kernel/sgldrag.cpp	(revision 920)
@@ -588,7 +588,7 @@
 
 /********************************************************************************************
 
->	BOOL GalleryLineDragInfo::OnDrawSolidDrag(CPoint Origin,CDC * TheDC)
+>	BOOL GalleryLineDragInfo::OnDrawSolidDrag(wxPoint Origin, wxDC * TheDC, DragTarget* pDragTarget)
 
 	Author:		Will_Cowling (Xara Group Ltd) <camelotdev@xxxxxxxx>
 	Created:	10/4/95		  
@@ -598,7 +598,7 @@
 
 ********************************************************************************************/
 
-BOOL GalleryLineDragInfo::OnDrawSolidDrag(CPoint Origin,CDC * TheDC)
+BOOL OnDrawSolidDrag(wxPoint Origin, wxDC * TheDC, DragTarget* pDragTarget)
 {
 	if (TheBitmap == NULL)
 	{


Xara