#include <wx/wx.h>
#endif
-#ifdef PROLOGIO
#include <wx/wxexpr.h>
-#endif
#if wxUSE_IOSTREAMH
#include <iostream.h>
// from, this may not be an intentional drag at all.
if (dragging)
{
- int dx = abs(dc.LogicalToDeviceX(x - m_firstDragX));
- int dy = abs(dc.LogicalToDeviceY(y - m_firstDragY));
+ int dx = abs(dc.LogicalToDeviceX((long) (x - m_firstDragX)));
+ int dy = abs(dc.LogicalToDeviceY((long) (y - m_firstDragY)));
if (m_checkTolerance && (dx <= GetDiagram()->GetMouseTolerance()) && (dy <= GetDiagram()->GetMouseTolerance()))
{
return;