From a16a9bf350fc82a690ecea95a75548fd0cd70fcf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Dec 1999 17:57:46 +0000 Subject: [PATCH] a fix for the patch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 7eff6fe36c..56072c4c0e 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -2029,7 +2029,7 @@ static void wxCanvasInputEvent(Widget drawingArea, wxevent.m_metaDown = local_event.xbutton.state & Mod1Mask; wxevent.SetTimestamp(local_event.xbutton.time); - if (eventType = wxEVT_MOTION) + if ( eventType == wxEVT_MOTION ) { if (local_event.xmotion.is_hint == NotifyHint) {