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"
|
#include "wx/meta/convertible.h"
|
||||||
#endif
|
#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
|
#define wxHAS_CALL_AFTER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -527,7 +527,8 @@ public:
|
|||||||
|
|
||||||
Note that currently only up to 2 arguments can be passed.
|
Note that currently only up to 2 arguments can be passed.
|
||||||
|
|
||||||
@note This method is not available with Visual C++ 6 which doesn't
|
@note This method is not available with Visual C++ before version 8
|
||||||
|
(Visual Studio 2005) as earlier versions of the compiler don't
|
||||||
have the required support for C++ templates to implement it.
|
have the required support for C++ templates to implement it.
|
||||||
|
|
||||||
@since 2.9.5
|
@since 2.9.5
|
||||||
|
Reference in New Issue
Block a user