]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/include/wxMaracasApp02.cxx
#3207 creaMaracasVisu Feature New Normal branch vtk7itk4wx3-mingw
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / include / wxMaracasApp02.cxx
index ecd2b970cd9fb07227fd36675a537b3a02bb24d4..ce5f0463d1300f70c288183d5453852e890c9904 100644 (file)
@@ -95,7 +95,7 @@ wxString getExecutablePath()
 #if defined(WIN32)
 
     wchar_t buf2[512];
-    long result = GetModuleFileName(NULL, buf2, pathsize);
+    long result = GetModuleFileName(NULL, buf2, 511);
        int ret = wcstombs ( buf, buf2, sizeof(pname) );        
 //    GetModuleFileName(NULL, buf, 511);