Applied patch to reset pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6e8515a3e3
commit
08a80932cb
@ -840,6 +840,8 @@ void wxPlotWindow::Delete( wxPlotCurve* curve )
|
||||
|
||||
m_area->DeleteCurve( curve );
|
||||
m_area->Refresh( FALSE );
|
||||
|
||||
if (curve == m_current) m_current = (wxPlotCurve *) NULL;
|
||||
}
|
||||
|
||||
wxPlotCurve *wxPlotWindow::GetCurrent()
|
||||
|
Loading…
Reference in New Issue
Block a user