fix for vc4.2+ for c++ standard exception handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
da36f5446f
commit
8a60ae88fb
@ -280,6 +280,13 @@ WXDLLEXPORT_DATA(extern const bool) wxFalse;
|
||||
|
||||
#endif // VC++
|
||||
|
||||
#if _MSC_VER > 1010
|
||||
#undef try
|
||||
#undef except
|
||||
#undef finally
|
||||
#define except(x) catch(...)
|
||||
#endif
|
||||
|
||||
// Callback function type definition
|
||||
typedef void (*wxFunction) (wxObject&, wxEvent&);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user