drpython will run against other SLOTs of wxpython, like 2.8, if they are installed. we don't want that because it can lead to all kinds of fun, hard to track down bugs. the fix for this already exists in drpython's ${FILESDIR}, drpython.py-3.10.1{2,3}.patch (which are the exact same file) but is not currently applied. a better (different?) patch is attached.
Created attachment 137662 [details, diff] drpython-165-wxversion.patch
Created attachment 137666 [details, diff] drpython-165.ebuild.diff note this changes the make_wrapper line to drpython_wx26.py instead of drpython.py.
drpython-165-r1 fixes this, thanks for reporting.