X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaMaracasVisuSetPosition.cxx;h=1a45b0c63eda11167ab4f8f9a0b8436c717b377f;hb=39ac649f6a07b1646505a9d8c418f72bd76fc64e;hp=a76bc22807c4255409f07493d6696d325e6b7ec6;hpb=a906c7009b5c3c2ef5263f4d84ba13be7d4549ff;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx index a76bc22..1a45b0c 100644 --- a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx +++ b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx @@ -32,6 +32,7 @@ void SetPosition::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " <GetVtkBaseData()); @@ -40,15 +41,13 @@ void SetPosition::Process() vtkmprbasedata->SetX( bbGetInputPoint()[0] ); vtkmprbasedata->SetY( bbGetInputPoint()[1] ); vtkmprbasedata->SetZ( bbGetInputPoint()[2] ); - wxCommandEvent newevent(wxEVT_COMMAND_MENU_SELECTED,12121); // Refres + wxCommandEvent newevent(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh //EED 2017-09-16 Migration wxWidgets 2.8 to 3.0 #if wxMAJOR_VERSION <= 2 bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessEvent( newevent ); #else bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessWindowEvent( newevent ); -#endif - - +#endif } // if bbGetInputPosition } // bbGetInputwxVtkBaseView }