Support building wxWebViewEdge with GCC or Clang

Add EventToken.h with EventRegistrationToken implementation, that can be used by the WebView2 header.
This commit is contained in:
Maarten Bent
2021-02-26 20:33:36 +01:00
committed by Vadim Zeitlin
parent b43803703d
commit 09bc566b60
6 changed files with 49 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
///////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/wrl/EventToken.h
// Purpose: WRL EventRegistrationToken implementation
// Author: Maarten Bent
// Created: 2021-02-26
// Copyright: (c) 2021 wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef __eventtoken_h__
#define __eventtoken_h__
typedef struct EventRegistrationToken
{
__int64 value;
} EventRegistrationToken;
#endif // __eventtoken_h__