]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuIRMViewer.cxx
BUG MacOs
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuIRMViewer.cxx
index 8d6777bfcebc42d179a9bcadbf6804fd47684ac0..20e41fb65f4785998b9dec23c5a4d6611eaad45d 100644 (file)
@@ -38,16 +38,11 @@ void IRMViewer::Process()
 }
 void IRMViewer::CreateWidget(wxWindow* parent)
 {
-       char currentPath[_MAX_PATH];
-       HMODULE hand = GetModuleHandle("bbcreaMaracasVisu");
-       GetModuleFileName(hand, currentPath, _MAX_PATH);
 
-       std::string path = currentPath;
 
-       path = path.substr(0,path.find_last_of("\\"));
-       std::cout << "Your application's directory is: " << path;
+       //std::cout << "Your application's directory is: " << path;
 
-       wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(parent,path);
+       wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(parent);
        //GetDllDirectory(_MAX_PATH, currentPath);
        //std::cout << "Your application's directory is: " << GetDllDirectory(_MAX_PATH, currentPath)<<std::endl;