diff --git a/demo/Main.py b/demo/Main.py index 40f392f3..48eb155b 100644 --- a/demo/Main.py +++ b/demo/Main.py @@ -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..."