mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Fix loose version check
This commit is contained in:
@@ -2927,7 +2927,7 @@ class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
|
||||
def OnInit(self):
|
||||
|
||||
# Check runtime version
|
||||
if LooseVersion(version.VERSION_STRING) >= LooseVersion(wx.VERSION_STRING):
|
||||
if LooseVersion(version.VERSION_STRING) != LooseVersion(wx.VERSION_STRING):
|
||||
wx.MessageBox(caption="Warning",
|
||||
message="You're using version %s of wxPython, but this copy of the demo was written for version %s.\n"
|
||||
"There may be some version incompatibilities..."
|
||||
|
||||
Reference in New Issue
Block a user