]> git.saurik.com Git - wxWidgets.git/commitdiff
a fix for the patch
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 1999 17:57:46 +0000 (17:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 1999 17:57:46 +0000 (17:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/window.cpp

index 7eff6fe36c805bb84588c8ad9284d69486e69fa0..56072c4c0e48400d22bef243f7fc3ee85b680a08 100644 (file)
@@ -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)
                 {