X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92c01615ecb4afeb325e5148554b443fed830534..0a6b9955dbf2e23bef4aeccfba2a3cfa25dca975:/samples/except/except.cpp diff --git a/samples/except/except.cpp b/samples/except/except.cpp index 5e487845d5..95502800c7 100644 --- a/samples/except/except.cpp +++ b/samples/except/except.cpp @@ -123,6 +123,8 @@ public: void OnHandleCrash(wxCommandEvent& event); #endif +protected: + // 1st-level exception handling: we overload ProcessEvent() to be able to // catch exceptions which occur in MyFrame methods here virtual bool ProcessEvent(wxEvent& event);