You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
548 B
20 lines
548 B
--- 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);
|