1 diff --git a/loxodo.py b/loxodo.py
2 index 68ad4c8..e96bc1a 100755
5 @@ -41,7 +41,7 @@ if len(sys.argv) > 1:
6 # In all other cases, use the "wx" frontend.
9 - assert(wx.__version__.startswith('4.0.'))
10 + assert(wx.__version__.startswith('4.'))
11 except AssertionError as e:
12 print('Found incompatible wxPython, the wxWidgets Python bindings: %s' % wx.__version__, file=sys.stderr)
13 print('Falling back to cmdline frontend.', file=sys.stderr)
14 diff --git a/src/frontends/wx/loxodo.py b/src/frontends/wx/loxodo.py
15 index bc3f509..e02c4bf 100644
16 --- a/src/frontends/wx/loxodo.py
17 +++ b/src/frontends/wx/loxodo.py
18 @@ -25,6 +25,7 @@ from .loadframe import LoadFrame
22 + wx.SizerFlags.DisableConsistencyChecks()
25 mainframe = LoadFrame(None, -1, "")