From: Vadim Zeitlin Date: Sun, 22 Nov 2009 11:24:03 +0000 (+0000) Subject: Document that throwing exceptions from wxTimer::Notify() is unsupported. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7d4911333fc8fedcb8d02974394f30e4286b5a56 Document that throwing exceptions from wxTimer::Notify() is unsupported. Currently exceptions thrown from this function are not passed to wxApp:: OnExceptionInMainLoop() (unlike exceptions thrown from timer event handlers). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/timer.h b/interface/wx/timer.h index 4b7d1fbb17..997422d447 100644 --- a/interface/wx/timer.h +++ b/interface/wx/timer.h @@ -92,6 +92,10 @@ public: used and SetOwner() wasn't called. Perform whatever action which is to be taken periodically here. + + Notice that throwing exceptions from this method is currently not + supported, use event-based timer handling approach if an exception can + be thrown while handling timer notifications. */ virtual void Notify();