X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387a3b02e02d91da6c5d4331b667d835e32c83b0..89c7e9622933c3ee7906c39bc3927a7d5616b94b:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 694b31a7cd..6271188f53 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -280,6 +280,19 @@ WXDLLEXPORT_DATA(extern const bool) wxFalse; #endif // VC++ +#if _MSC_VER > 1010 +#undef try +#undef except +#undef finally +#define except(x) catch(...) +#endif + +// where should i put this? we need to make sure of this as it breaks +// the code. +#if !wxUSE_IOSTREAMH && WXDEBUG +#undef WXDEBUG +#endif + // Callback function type definition typedef void (*wxFunction) (wxObject&, wxEvent&); @@ -829,6 +842,7 @@ enum { #define wxID_CLEAR 5033 #define wxID_FIND 5034 #define wxID_DUPLICATE 5035 +#define wxID_SELECTALL 5036 #define wxID_FILE1 5050 #define wxID_FILE2 5051