Try to enable some WGL stuff.
authorCarl Hetherington <cth@carlh.net>
Mon, 3 Jun 2019 16:09:37 +0000 (17:09 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 3 Jun 2019 16:09:37 +0000 (17:09 +0100)
src/wx/wscript

index 323a19a2b4afb2c297e19fc84e60dedc87e4fa56..9be062be5b8d63ebdc53e5ec8940bce5f9253b2d 100644 (file)
@@ -182,6 +182,8 @@ def configure(conf):
 
     if conf.env.TARGET_LINUX:
         conf.env.append_value('CXXFLAGS', ['-DGLX_GLXEXT_PROTOTYPES'])
+    if conf.env.TARGET_WINDOWS:
+        conf.env.append_value('CXXFLAGS', ['-DWGL_WGLEXT_PROTOTYPES'])
 
     if conf.options.static_wxwidgets:
        # wx-config returns its static libraries as full paths, without -l prefixes, which confuses