X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOGimmickReaderDialog.cpp;h=29c6bbfd1e7248c2bd348108852a589b305dc983;hb=da2cb2feea7bdf425151ea3fd71abf9b8b72c366;hp=d8c52e1d947fa096d9f26588aad5118b3d183b51;hpb=86c8c6b0f5c28056b5d3ea1281cc244279ccb06b;p=creaImageIO.git diff --git a/src2/creaImageIOGimmickReaderDialog.cpp b/src2/creaImageIOGimmickReaderDialog.cpp index d8c52e1..29c6bbf 100644 --- a/src2/creaImageIOGimmickReaderDialog.cpp +++ b/src2/creaImageIOGimmickReaderDialog.cpp @@ -1,11 +1,12 @@ #include #include -#include namespace creaImageIO { bool GimmickReaderDialog(std::vector& images, + const std::string i_namedescp , + const std::string i_namedb , const std::string& title, int posx, int posy, @@ -16,10 +17,12 @@ namespace creaImageIO int image_out_dim, int nb_threads) { - BlockScopeWxApp app; + creaImageIO::WxGimmickReaderDialog w(0, -1, + i_namedescp, + i_namedb, crea::std2wx(title), wxPoint(posx,posy), wxSize(sizex,sizey),