a fix for the patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-12-15 17:57:46 +00:00
parent 3ed2e7ce82
commit a16a9bf350

View 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)
{