Files correlati : xvagaa.dll Ricompilazione Demo : [ ] Commento : Modifiche per Linux git-svn-id: svn://10.65.10.50/trunk@11172 c028cbd2-c16b-5b4b-a496-9718f37d4682
29 lines
438 B
C++
Executable File
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();
|
|
}
|