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:
parent
7f600693c2
commit
d115b5bd9f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user