Linux/macOS: Suppress asserts displayed by wxWidgets 3.1.6+ for sizer flags until we fix all sizer flags in our UI.

This commit is contained in:
Mounir IDRASSI 2023-05-18 21:25:07 +02:00
parent 0fdf2edda7
commit 8e443c25cc
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ namespace VeraCrypt
{
mUserInterface = new GraphicUserInterface;
mUserInterfaceType = UserInterfaceType::Graphic;
wxSetEnv("WXSUPPRESS_SIZER_FLAGS_CHECK", "1");
return mUserInterface;
}
#endif