1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0023776: Redesign of MFC samples after V2d viewer removing

This commit is contained in:
aba
2013-03-12 09:19:35 +04:00
parent fad8962a72
commit 5c1f974e17
212 changed files with 9053 additions and 19513 deletions

View File

@@ -15,9 +15,9 @@
/////////////////////////////////////////////////////////////////////////////
// CModelingApp construction
CModelingApp::CModelingApp()
CModelingApp::CModelingApp() : OCC_App()
{
SampleName = "Modeling"; //for about dialog
SampleName = "Modeling"; //for about dialog
}
/////////////////////////////////////////////////////////////////////////////

View File

@@ -8,22 +8,25 @@
#pragma once
#endif // _MSC_VER >= 1000
#include <OCC_3dApp.h>
#include <OCC_App.h>
class CModelingApp : public OCC_3dApp
class CModelingApp : public OCC_App
{
public:
CModelingApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CModelingApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
private:
CToolBar *m_pToolBar2;
};
CModelingApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CModelingApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
private:
CToolBar *m_pToolBar2;
};
/////////////////////////////////////////////////////////////////////////////

View File

@@ -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;