From d115b5bd9f6b6bf57854ba53e51c8dd525cacacd Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sat, 4 Jan 2020 11:32:55 +0100 Subject: [PATCH] Suppress unscoped enum wxLanguage warning wxWidgets declare enum wxLanguage as unscoped. Probably, it is futile to change it into scoped upstream and break compatibility. Signed-off-by: Simon Rozman --- include/wxex/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wxex/common.h b/include/wxex/common.h index 0e367f3..f4c824c 100644 --- a/include/wxex/common.h +++ b/include/wxex/common.h @@ -146,6 +146,7 @@ inline bool wxModifyStyleEx(_In_ WXHWND hWnd, _In_ DWORD dwRemove, _In_ DWORD dw /// - \c true when initialization succeeded /// - \c false otherwise /// +#pragma warning(suppress: 26812) // wxLanguage is unscoped inline bool wxInitializeLocale(wxLocale &locale, wxLanguage *language = NULL) { // Read language from configuration.