AUI Panels are losing icon after LoadPerspective

Hello,

I’m just switching from wxpython 4.0.7.post2 to wxpython 4.1.
I use the AUI panel manager for a lot of my apps. If I load a saved perspective all panels are losing their icons. You can reproduce this problem with the demo for wxpython 4.1. I have also attached a runable test application.
auiPanelTest.py (3.5 KB)

This all has worked fine (and stil do) with 4.0.7.post2.

I use python 3.7.7 64-bit on Windows 7

Is this a bug or do I have to change my code to get the old behaviour back?

All the best
Eigi