git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33686
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#error "This sample can't be built without wxUSE_DEBUGREPORT"
#endif // wxUSE_DEBUGREPORT
#error "This sample can't be built without wxUSE_DEBUGREPORT"
#endif // wxUSE_DEBUGREPORT
+#if !wxUSE_ON_FATAL_EXCEPTION
+ #error "This sample can't be built without wxUSE_ON_FATAL_EXCEPTION"
+#endif // wxUSE_ON_FATAL_EXCEPTION
+
// ----------------------------------------------------------------------------
// custom debug reporting class
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// custom debug reporting class
// ----------------------------------------------------------------------------
public:
virtual bool OnInit()
{
public:
virtual bool OnInit()
{
-#if wxUSE_ON_FATAL_EXCEPTION
wxHandleFatalExceptions();
wxHandleFatalExceptions();
if ( !wxApp::OnInit() )
return false;
if ( !wxApp::OnInit() )
return false;