Allow building with wxWidgets 3.1.x.
authorCarl Hetherington <cth@carlh.net>
Wed, 18 Oct 2017 22:29:02 +0000 (23:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 Oct 2017 22:29:02 +0000 (23:29 +0100)
src/wx/wscript

index 7346f3a..cb7e98d 100644 (file)
@@ -159,8 +159,8 @@ def configure(conf):
     conf.in_msg = 1
     wx_version = conf.check_cfg(package='', path=wx_config, args='--version').strip()
     conf.im_msg = 0
-    if not wx_version.startswith('3.0.'):
-        conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)
+    if not wx_version.startswith('3.'):
+        conf.fatal('wxwidgets version 3.x.y is required; %s found' % wx_version)
 
     try:
         conf.check_cfg(msg='Checking for RtAudio using pkg-config',