treectrl blocks mouse click event
|Reported by:||kelvin_miller||Owned by:|
|Keywords:||wxtreectrl, wxnotebook, linux||Cc:|
I have a wxnotebook object that contains a wxtreectrl object as a child (the simple compilable example is attached below).
The problem is that i cannot switch between tabs by just one mouse click if an item of the wxtreectrl object is selected. Two mouse clicks are required.
How to reproduce:
Compile the attached example. Launch the application and click on the wxtreectrl item that is named "just a test". Next, click once on the "panel 2" tab. Nothing will happen. The second click on the "panel 2" tab will do the job.
What i expect:
I expect that tabs should be switched by just one mouse click.
P.S. Debian stable, wxwidgets 3.0.0