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 <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-01-04 11:32:55 +01:00
parent 7f600693c2
commit d115b5bd9f

View File

@ -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.