Disable CallAfter() for MSVC 7 too, it can't compile this code.
It was already disabled for VC6 but VC7 doesn't compile this code neither, so disable it for this compiler as well. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
#include "wx/meta/convertible.h"
|
||||
#endif
|
||||
|
||||
#include "wx/meta/removeref.h"
|
||||
// Currently VC6 and VC7 are known to not be able to compile CallAfter() code,
|
||||
// so disable it for them.
|
||||
#if !defined(__VISUALC__) || wxCHECK_VISUALC_VERSION(8)
|
||||
#include "wx/meta/removeref.h"
|
||||
|
||||
#ifdef wxHAS_REMOVEREF
|
||||
// CallAfter() implementation requires wxRemoveRef(), so just disable it
|
||||
// for compilers too broken to not allow defining it.
|
||||
#define wxHAS_CALL_AFTER
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user