Silence Code Analysis warnings about unscoped enums

wxWidgets is using unscoped enums and should continue so for backward
compatibility.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2021-11-10 11:32:21 +01:00
parent fcfe641d5c
commit 13cd778359

View File

@ -26,6 +26,7 @@ bool WXEXTEND_API wxXmlHashNode(wxCryptoHash &hash, const wxXmlNode *node)
{
wxASSERT_MSG(node, wxT("invalid parameter"));
#pragma warning(suppress: 26812) // wxXmlNodeType is unscoped.
switch (node->GetType()) {
case wxXML_ELEMENT_NODE:
{