campo-sirio/xvaga/xvapp.cpp
guy 4935031b66 Patch level : 2.0 nopatch
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Aggiunti prototipi per DLL e spostata gestione chiavi hardware


git-svn-id: svn://10.65.10.50/trunk@11072 c028cbd2-c16b-5b4b-a496-9718f37d4682
2003-04-30 15:43:51 +00:00

29 lines
439 B
C++
Executable File

#include "..\xvaga\wxinc.h"
extern int xvt_main(int argc, char** argv);
class TMainApp : public wxApp
{
virtual bool OnInit();
virtual int OnExit();
DECLARE_DYNAMIC_CLASS(TMainApp);
};
IMPLEMENT_DYNAMIC_CLASS(TMainApp, wxApp)
DECLARE_APP(TMainApp)
IMPLEMENT_APP(TMainApp)
bool TMainApp::OnInit()
{
xvt_main(argc, argv);
return FALSE; // Prevents entering the Main Loop
}
int TMainApp::OnExit()
{
return wxApp::OnExit();
}