campo-sirio/xvaga/xvapp.cpp
guy 3509dfabbb Patch level : 2.1 nopatch
Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :

Risolti conflitti vari


git-svn-id: svn://10.65.10.50/trunk@12007 c028cbd2-c16b-5b4b-a496-9718f37d4682
2004-04-28 09:49:37 +00:00

29 lines
438 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();
}