]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotter.cxx
#2482 creaMaracasVisu Bug New High - ColorLayer refresh missing. The MPR is not...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pPlotter.cxx
index 22b7dcd3afa20e3d528a8d907e5667c72f585554..bddea2312257675dda70286dd5bfa5fd0ab74590 100644 (file)
@@ -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);
 }