Removed references to DEBUG and WXDEBUG; cured Motif font problem; removed
some warnings in OGL; fixed bug in wxChoice git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -120,8 +120,8 @@ void wxShapeCanvas::OnMouseEvent(wxMouseEvent& event)
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user