0023776: Redesign of MFC samples after V2d viewer removing
[occt.git] / samples / mfc / standard / 02_Modeling / src / ModelingDoc.cpp
index c4f4a18..f4ab37a 100755 (executable)
@@ -4936,7 +4936,7 @@ void CModelingDoc::InputEvent(const Standard_Integer  x     ,
                                        "Points Files (*.pass)|*.pass; |All Files (*.*)|*.*||", 
                                        NULL );
 
-                       CString initdir(((OCC_BaseApp*) AfxGetApp())->GetInitDataDir());
+                       CString initdir(((OCC_App*) AfxGetApp())->GetInitDataDir());
                        initdir += "\\Data\\TangentSurface";
 
                        dlg.m_ofn.lpstrInitialDir = initdir;