In the grass7 wxGUI there are two instances of parentframe = self which should probably read parent = self right? They are in gdialogs.py L1247 and mcalc_builder.py L570 and give python errors like unexpected keyword argument 'parentframe'