londonlaw (0.2.1-13) 01_wx24_fix.patch

Summary

 londonlaw/guiclient/__init__.py |    6 ++++++
 1 file changed, 6 insertions(+)

    
download this patch

Patch contents

diff -Nur londonlaw-0.2.1/londonlaw/guiclient/__init__.py londonlaw-0.2.1.new/londonlaw/guiclient/__init__.py
--- londonlaw-0.2.1/londonlaw/guiclient/__init__.py	2005-07-06 02:45:05.000000000 +0200
+++ londonlaw-0.2.1.new/londonlaw/guiclient/__init__.py	2005-08-23 02:34:54.000000000 +0200
@@ -23,6 +23,12 @@
 
 from twisted.internet import protocol, reactor
 from twisted.python import log
+import wxversion
+try:
+	wxversion.select("2.6")
+except wxversion.VersionError:
+	wxversion.select("2.4")
+
 from wxPython.wx import *
 from ConnectWindow import *
 from GameListWindow import *