Patch level : 12.0 nopatch

Files correlati     :
Commento        :

Aggiunto stack trace in caso di eccezione nel file stack.log
This commit is contained in:
Macchina_Compilatrice 2021-10-18 07:13:52 +02:00
parent 494624b865
commit 4048e9534d

View File

@ -5,6 +5,7 @@
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/snglinst.h> #include <wx/snglinst.h>
#ifdef false
#ifdef __WXMSW__ #ifdef __WXMSW__
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>
@ -209,6 +210,7 @@ void OSLinux_set_signal_handler()
{ {
} }
#endif #endif
#endif
extern int xvt_main(int argc, char** argv); extern int xvt_main(int argc, char** argv);
@ -244,10 +246,12 @@ void TMainApp::OnTimer(wxTimerEvent& evt)
bool TMainApp::OnInit() bool TMainApp::OnInit()
{ {
#ifdef false
#ifdef __WXMSW__ #ifdef __WXMSW__
OSWin32_set_signal_handler(); OSWin32_set_signal_handler();
#else #else
OSLinux_set_signal_handler(); OSLinux_set_signal_handler();
#endif
#endif #endif
wxFileName strWrk = argv[0]; wxFileName strWrk = argv[0];