xpilot-ng (1:4.7.3-1.4) use-wxwidgets2.8.patch

Summary

 contrib/xpngcc/xpngcc.py |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

    
download this patch

Patch contents

Seems to work fine with wxPython 2.8.  At least for Debian (and probably for
the rest of the world too), 2.4 and 2.5 are totally irrelevant now, and we're
aiming to remove 2.6 before wheezy.

--- xpilot-ng-4.7.3/contrib/xpngcc/xpngcc.py	Fri Mar  5 14:03:50 2010
+++ xpilot-ng-4.7.3/contrib/xpngcc/xpngcc.py	Mon Oct 17 00:26:33 2011
@@ -2,12 +2,9 @@
 
 import wxversion
 try:
-	wxversion.select('2.6')
+	wxversion.select('2.8')
 except wxversion.VersionError:
-	try:
-		wxversion.select('2.4')
-	except wxversion.VersionError:
-		wxversion.select('2.5')
+	wxversion.select('2.6')
 import wx
 import wx.html as html
 import os