mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
23
samples/mfc/standard/Common/OCC_2dApp.cpp
Executable file
23
samples/mfc/standard/Common/OCC_2dApp.cpp
Executable file
@@ -0,0 +1,23 @@
|
||||
// OCC_2dApp.cpp: implementation of the OCC_2dApp class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdafx.h>
|
||||
|
||||
#include "OCC_2dApp.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
OCC_2dApp::OCC_2dApp()
|
||||
{
|
||||
try
|
||||
{myGraphicDevice = new WNT_GraphicDevice();}
|
||||
catch(Standard_Failure)
|
||||
{
|
||||
AfxMessageBox("Fatal error during graphic initialization",MB_ICONSTOP);
|
||||
ExitProcess(1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user