]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/plot.cpp
1. some more tests in console
[wxWidgets.git] / src / generic / plot.cpp
index ba41417925d17b87ac1139c31a395b4062f1d28b..2ae40ff7eccfe46db28adccecec8f5ebe6d798ac 100644 (file)
@@ -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 );