X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b480710b16ac3b941ba55fd981f441fc6724c386..3cc487d140f11e26a9c4ae35ba87cc22684da65a:/src/generic/plot.cpp diff --git a/src/generic/plot.cpp b/src/generic/plot.cpp index ba41417925..2ae40ff7ec 100644 --- a/src/generic/plot.cpp +++ b/src/generic/plot.cpp @@ -226,7 +226,7 @@ void wxPlotArea::OnMouse( wxMouseEvent &event ) event1.SetPosition( (int)floor(x/m_owner->GetZoom()) ); m_owner->GetEventHandler()->ProcessEvent( event1 ); - if (curve != m_owner->GetCurrent()); + if (curve != m_owner->GetCurrent()) { wxPlotEvent event2( wxEVT_PLOT_SEL_CHANGING, m_owner->GetId() ); event2.SetEventObject( m_owner );