X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8556b795c369382a1f5f2ed9405138a450ecc4a6..2e9f62dafb75dc5baa3800af456d1b0248d85357:/contrib/samples/plot/plot.cpp diff --git a/contrib/samples/plot/plot.cpp b/contrib/samples/plot/plot.cpp index 3898313e16..4dde687e76 100644 --- a/contrib/samples/plot/plot.cpp +++ b/contrib/samples/plot/plot.cpp @@ -18,7 +18,7 @@ #include "wx/wx.h" #endif -#include "wx/plot.h" +#include "wx/plot/plot.h" #include "wx/image.h" #include "wx/listctrl.h" @@ -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 ) );