0023776: Redesign of MFC samples after V2d viewer removing
[occt.git] / samples / mfc / standard / 07_Triangulation / src / Tesselate_Presentation.cpp
index d765f72..8dcc321 100755 (executable)
@@ -401,7 +401,7 @@ void Tesselate_Presentation::tesselateShape(const TopoDS_Shape& aShape)
 
 void Tesselate_Presentation::sample(const Standard_CString aFileName)
 {
-       CString initfile(((OCC_BaseApp*) AfxGetApp())->GetInitDataDir());
+       CString initfile(((OCC_App*) AfxGetApp())->GetInitDataDir());
        initfile += "\\..\\..\\Data\\";
        initfile += aFileName;