X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b480710b16ac3b941ba55fd981f441fc6724c386..57681e5bfdb903d4b4a9d4eba284b414ba93e059:/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 );