+ throw _T("string thrown from MyFrame");
+}
+
+void MyFrame::OnThrowObject(wxCommandEvent& WXUNUSED(event))
+{
+ throw MyException(_T("Exception thrown from MyFrame"));
+}
+
+void MyFrame::OnThrowUnhandled(wxCommandEvent& WXUNUSED(event))
+{
+ throw UnhandledException();
+}
+
+void MyFrame::OnCrash(wxCommandEvent& WXUNUSED(event))
+{
+ DoCrash();
+}
+
+void MyFrame::OnHandleCrash(wxCommandEvent& event)
+{
+ wxHandleFatalExceptions(event.IsChecked());