Is the style bit wx.TR_HAS_BUTTONS set for your tree control? Don't
rely on wx.TR_DEFAULT_STYLE to set it....wx.TR_DEFAULT_STYLE tries to
guess what is appropriate on a per-platform basis, so it can morph
behavior as you are seeing.
I can't say anything about the auto-toggle-child functionality, unless
the style bit happens not to be set. Since you don't post any sample
code, it's hard to say what is going on. Make sure that
wx.lib.agw.customtreectrl.TR_AUTO_CHECK_CHILD
is set as a style as well.
I have a similar situation as you; 32 bit executable (made with
pyinstaller) running on 64-bit windows. TR_HAS_BUTTONS works for me,
but again I can't say anything about TR_AUTO_CHECK_CHILD. First make
sure that both of those style bits are explicitly there.
···
On Thu, Jan 24, 2013 at 12:20 PM, Florian Bénéjean <florianbnj@gmail.com> wrote:
Hi everyone !
Here is my problem:
I used to work with python 2.6 / wxpython 2.8 / Windows XP SP3 / Visual Studio 2005 / and customtreectrl from Andrea Gavana. All that stuff is 32 bits.
It worked perfectly until I received my new computer: a Windows 7 64 bits. I am still using python 2.6 (32 bits) / wxpython 2.8 / Visual Studio 2005; but the customtreectrl seems to have some troubles to display its "plus signs": they have disappeared (see image below).
Furthermore, the auto_toggle_child functionnality doesn't work anymore... (as you can see here below)The only thing that I have changed in my setup.py (attached to this post) is the path to my VS 2005 ("Program Files (x86)" instead of "Program Files").
I thought it might be the uxTheme.dll that triggered this issue, but I wasn't able to changed anything about it.Does anyone have an idea about that ?
Hope I was clear enough.
Thanks in advance,
Florian.--
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
--
Daniel Hyams
dhyams@gmail.com