]> git.saurik.com Git - wxWidgets.git/commitdiff
typo in plot.cpp
authorRobert Roebling <robert@roebling.de>
Wed, 1 Mar 2000 20:11:47 +0000 (20:11 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 1 Mar 2000 20:11:47 +0000 (20:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 );