Try to fix the EntityInspector type error in wxGTK.