X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FpPlotter.cxx;h=bddea2312257675dda70286dd5bfa5fd0ab74590;hb=63a0a21e6736a800c58442edd531c91d75e71694;hp=22b7dcd3afa20e3d528a8d907e5667c72f585554;hpb=ed6f960acce2ed63b0d6b964aee7ee243d8c6446;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotter.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotter.cxx index 22b7dcd..bddea23 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotter.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotter.cxx @@ -439,18 +439,17 @@ void pPlotter::onBarrange(wxCommandEvent& event) */ void pPlotter::onActualChange_Bar(wxCommandEvent& event) { - text.Clear(); - text = _T( "Last event was on min-max bar: Actual triangle moved to: " ); int lastActual_X = barrange->GetActual(); - - text << lastActual_X; color_bar ->setRealX_vertical_line (lastActual_X); - m_plot->setRealGuideX (lastActual_X); - color_bar -> RefreshForce(); + + m_plot->setRealGuideX (lastActual_X); m_plot->UpdateAll(); + text.Clear(); + text = _T( "Last event was on min-max bar: Actual triangle moved to: " ); + text << lastActual_X; sendTMessage(text); }