CustomTreeCtrl disappears when docked in AUI

Hey.

When I add a panel with a CustomTreeCtrl to AUI, the control seems to disappear when the panel is docked.

A simple example is attached. To reproduce, double click on the caption twice (make it float and dock it again). Afterwards, the test item is no longer drawn.

I can reproduce this on Ubuntu trusty’s wxPython (2.8.12.1+dfsg-2ubuntu2) and wxPython 3.0 built from source.

Thanks

felix

test.py (862 Bytes)

Hey.

Just tried it on Windows (using the 3.0 installer) and there the problem does not seem to be present. May be specific to wxGTK?

felix