From 360bbbc4531b07b55daeef4c582f3ab2c1a3dcf4 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 4 Feb 2020 00:14:19 -0800 Subject: [PATCH] Fix a wxVariant ctor argument type after 948ddc6e0f 'const void*' won't match 'void*' parameter, gets converted to bool instead --- src/msw/ole/activex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/ole/activex.cpp b/src/msw/ole/activex.cpp index a707456c3f..74abdc50cf 100644 --- a/src/msw/ole/activex.cpp +++ b/src/msw/ole/activex.cpp @@ -768,7 +768,7 @@ namespace const int invalid_entry_marker = 0; } -wxVariant wxActiveXEvents::ms_invalidEntryMarker(static_cast(&invalid_entry_marker)); +wxVariant wxActiveXEvents::ms_invalidEntryMarker(const_cast(static_cast(&invalid_entry_marker))); size_t wxActiveXEvent::ParamCount() const {