X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxAnySimpleDlg.h;h=aa829272ec719cab7039d07924f12db28245d96f;hb=c83e33cdb98d13c0cdfafddb6f7a5b301cb63583;hp=08ae0b090316d30ed387777e24d5849eb98d0c48;hpb=d9a70eeba314e0295337364bcd88cf97cdf06b51;p=creaImageIO.git diff --git a/src/creaImageIOWxAnySimpleDlg.h b/src/creaImageIOWxAnySimpleDlg.h index 08ae0b0..aa82927 100644 --- a/src/creaImageIOWxAnySimpleDlg.h +++ b/src/creaImageIOWxAnySimpleDlg.h @@ -1,3 +1,4 @@ + #include "creaImageIOSimpleView.h" #include #include @@ -9,7 +10,8 @@ namespace creaImageIO */ /// Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display - class __declspec(dllexport) WxAnySimpleDlg : public wxDialog +//EED class __declspec(dllexport) WxAnySimpleDlg : public wxDialog + class CREAIMAGEIO_EXPORT WxAnySimpleDlg : public wxDialog { public: /// Ctor @@ -48,10 +50,10 @@ namespace creaImageIO // get an Image on wanted type template - typename TImage::Pointer getImage(boost::any i_AnyImage) + typename TImage::Pointer getImage(boost::any i_AnyImage) { - typedef itk::Image ImageOut; - ImageOut::Pointer img = ImageOut::New(); + typedef itk::Image ImageOut; + typename ImageOut::Pointer img = ImageOut::New(); img = boost::any_cast< ImageOut::Pointer>(i_AnyImage); return img; }