Issue 208 in ulipad: 关于判断wx版本

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 5, 2009, 11:04:04 PM11/5/09
to uli...@googlegroups.com
Status: New
Owner: ----

New issue 208 by noword.forever: 关于判断wx版本
http://code.google.com/p/ulipad/issues/detail?id=208

mixins\import.py第7710行,判断wx的版本有问题。

我的wx的版本是2.8.8.10。


if wx.version() < '2.8.8.0':
改为:

self.html = HtmlPage.IEHtmlWindow(self)
current_version = map(lambda i:i.isdigit() and int(i),
wx.version().split('.'))
test_version = [2, 8, 8, 0]
if current_version < test_version:


之后,正常。


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Nov 5, 2009, 11:19:10 PM11/5/09
to uli...@googlegroups.com
Updates:
Status: Invalid

Comment #1 on issue 208 by limodou: 关于判断wx版本
http://code.google.com/p/ulipad/issues/detail?id=208

我已经改了。使用的是VERSION,它是一个tuple的值。
Reply all
Reply to author
Forward
0 new messages