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:
@@ -280,6 +280,13 @@ WXDLLEXPORT_DATA(extern const bool) wxFalse;
|
|||||||
|
|
||||||
#endif // VC++
|
#endif // VC++
|
||||||
|
|
||||||
|
#if _MSC_VER > 1010
|
||||||
|
#undef try
|
||||||
|
#undef except
|
||||||
|
#undef finally
|
||||||
|
#define except(x) catch(...)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Callback function type definition
|
// Callback function type definition
|
||||||
typedef void (*wxFunction) (wxObject&, wxEvent&);
|
typedef void (*wxFunction) (wxObject&, wxEvent&);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user