From: caceres <> Date: Tue, 24 Apr 2012 12:45:14 +0000 (+0000) Subject: DFCH: ActionButton: CreateBlackBox using bbtkSystemTools::CreateBlackBox(); X-Git-Tag: v1_0_0 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtkGEditor.git;a=commitdiff_plain;h=775c8164b5f679027b8bbafa97c0e0110711909b DFCH: ActionButton: CreateBlackBox using bbtkSystemTools::CreateBlackBox(); ActionButton: CreatePackage using bbtkSystemTools::CreatePackage(); --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index ffccd10..e76f8bc 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -813,13 +813,13 @@ void wxGUIEditorGraphicBBS::OnHelpBBeditor(wxCommandEvent& event) { //========================================================================= void wxGUIEditorGraphicBBS::OnCreatePackage(wxCommandEvent& event) { - printf("EED wxGUIEditorGraphicBBS::OnCreatePackag ... not implemented ..\n"); + + bbtkSystemTools::CreatePackage(); } //========================================================================= void wxGUIEditorGraphicBBS::OnCreateBlackBox(wxCommandEvent& event) { - printf( - "EED wxGUIEditorGraphicBBS::OnCreateBlackBox ... not implemented ..\n"); + bbtkSystemTools::CreateBlackBox(); } //========================================================================= void wxGUIEditorGraphicBBS::OnPlugPackage(wxCommandEvent& event) { diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h index d3cc7ed..3a4df85 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h @@ -69,6 +69,7 @@ #include #include #include +#include //Includes vtk