]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/plot/plot.cpp
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / contrib / samples / plot / plot.cpp
index 38e9d803f2c0f72bb75558b1dd5b78c9cd34a504..4dde687e76ab0145737cc7e280cdac6ce7cd57e9 100644 (file)
@@ -121,7 +121,7 @@ MyFrame::MyFrame()
 
     m_plot = new wxPlotWindow( this, -1, wxPoint(0,0), wxSize(100,100), wxSUNKEN_BORDER | wxPLOT_DEFAULT );
     m_plot->SetUnitsPerValue( 0.01 );
-    m_plot->SetScrollOnThumbRelease( TRUE );
+//    m_plot->SetScrollOnThumbRelease( TRUE );
 
     m_plot->Add( new MyPlotCurve( 0,  -1.5, 1.5 ) );
     m_plot->Add( new MyPlotCurve( 50, -1.5, 1.5 ) );