Fix loose version check

This commit is contained in:
Robin Dunn
2016-02-28 22:37:54 -08:00
parent 5a2ce07014
commit 73e5622e54

View File

@@ -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..."