X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaImageIO.git;a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickView.cpp;h=bc12bf4694b22acd6110a7723746ee31b7ee5d90;hp=ac204d9227960bcccb940168b6bf7662f5880c2e;hb=7ca5b25a73bb296c395c810af83332d8af1eed1c;hpb=204c3b622f8d83dac459f4569a44b6e3f5592799 diff --git a/src2/creaImageIOWxGimmickView.cpp b/src2/creaImageIOWxGimmickView.cpp index ac204d9..bc12bf4 100644 --- a/src2/creaImageIOWxGimmickView.cpp +++ b/src2/creaImageIOWxGimmickView.cpp @@ -49,6 +49,7 @@ namespace creaImageIO TOOL_SETTINGS_ID = 7, TOOL_TOOLS_ID = 8, TOOL_CREATEDB_ID = 9, + TOOL_PACS_ID = 10 }; //====================================================================== @@ -256,7 +257,13 @@ namespace creaImageIO mIcon->GetBitmap(Icon_create_database), _T("Create DB from an Attributes Descriptor file") ); - +#if defined(BUILD_PACS) + mToolAddFile = mToolBar->AddTool( TOOL_PACS_ID, + _T("PACS Connection,"), + mIcon->GetBitmap(Icon_create_database), + _T("Echo, Find and Get to a PACS") + ); +#endif //const wxBitmap& bitmap1, const wxString& shortHelpString = "", wxItemKind kind = wxITEM_NORMAL) mToolBar->Realize();