]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/except.h
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: C++ exception related stuff
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
17 // ----------------------------------------------------------------------------
18 // macros working whether wxUSE_EXCEPTIONS is 0 or 1
19 // ----------------------------------------------------------------------------
23 #define wxCATCH_ALL(code) catch ( ... ) { code }
24 #else // !wxUSE_EXCEPTIONS
26 #define wxCATCH_ALL(code)
27 #endif // wxUSE_EXCEPTIONS/!wxUSE_EXCEPTIONS
29 #endif // _WX_EXCEPT_H_