From c779385a1aa488a47f82a1ced51dff0952420328 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Aug 2014 15:31:40 +0000 Subject: [PATCH] No changes, just document exception-related methods in their own group. Extract wxApp::OnExceptionInMainLoop() and OnUnhandledException() in a separate Doxygen group as there will be more functions defined in it soon. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/app.h | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/interface/wx/app.h b/interface/wx/app.h index e7c10de408..16e9d71008 100644 --- a/interface/wx/app.h +++ b/interface/wx/app.h @@ -343,23 +343,6 @@ public: */ virtual void OnEventLoopExit(wxEventLoopBase* loop); - /** - This function is called if an unhandled exception occurs inside the main - application event loop. It can return @true to ignore the exception and to - continue running the loop or @false to exit the loop and terminate the - program. In the latter case it can also use C++ @c throw keyword to - rethrow the current exception. - - The default behaviour of this function is the latter in all ports except under - Windows where a dialog is shown to the user which allows him to choose between - the different options. You may override this function in your class to do - something more appropriate. - - Finally note that if the exception is rethrown from here, it can be caught in - OnUnhandledException(). - */ - virtual bool OnExceptionInMainLoop(); - /** Override this member function for any processing which needs to be done as the application is about to exit. OnExit is called after @@ -421,6 +404,35 @@ public: */ virtual int OnRun(); + //@} + + + /** + @name Exceptions support + + Methods related to C++ exceptions handling. + + @see overview_exceptions + */ + //@{ + + /** + This function is called if an unhandled exception occurs inside the main + application event loop. It can return @true to ignore the exception and to + continue running the loop or @false to exit the loop and terminate the + program. In the latter case it can also use C++ @c throw keyword to + rethrow the current exception. + + The default behaviour of this function is the latter in all ports except under + Windows where a dialog is shown to the user which allows him to choose between + the different options. You may override this function in your class to do + something more appropriate. + + Finally note that if the exception is rethrown from here, it can be caught in + OnUnhandledException(). + */ + virtual bool OnExceptionInMainLoop(); + /** This function is called when an unhandled C++ exception occurs in user code called by wxWidgets.