mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 08:02:08 +00:00
And more fixes Closes: https://bugs.gentoo.org/657280 Closes: https://bugs.gentoo.org/665900 Closes: https://bugs.gentoo.org/699168 Closes: https://bugs.gentoo.org/831909 Closes: https://bugs.gentoo.org/884919 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
19 lines
548 B
Diff
19 lines
548 B
Diff
--- a/src/launcher/scorched/main.cpp
|
|
+++ b/src/launcher/scorched/main.cpp
|
|
@@ -26,6 +26,7 @@
|
|
#include <graph/OptionsDisplay.h>
|
|
#include <wx/wx.h>
|
|
#include <wx/utils.h>
|
|
+#include <wx/sizer.h>
|
|
#include <locale.h>
|
|
#include <math.h>
|
|
#include <signal.h>
|
|
@@ -86,6 +87,8 @@ int main(int argc, char *argv[])
|
|
ScorchedParams::instance()->getSDLInitVideo() = true;
|
|
}
|
|
|
|
+ wxSizerFlags::DisableConsistencyChecks();
|
|
+
|
|
#ifdef _WIN32
|
|
wxEntry((WXHINSTANCE) (HINSTANCE) GetModuleHandle(NULL),
|
|
(WXHINSTANCE) NULL, "", SW_SHOWNORMAL);
|