collapsiblepane.GetLabel() returns nothing

After some stack overflow replies this issue does not occur on windows and mac. It seems to be limited to linux.

···

On Monday, 11 February 2013 10:23:27 UTC, James Hulme wrote:

Hi,

I’m trying to get the label of the parent collapsiblepane when a checkbox inside it is checked/unchecked.

I can run collapsiblepane.SetLabel(“x”) and it works. But GetLabel() just returns a blank string. Same with GetPane().GetLabel()

I’ve attached my test code for trying to do this.

This is with Python2.6.6 and wx 2.8.12.0 (gtk2-unicode)

I can’t find anyone experiencing the same problem and I’m at a loss, can anyone point out what I’m missing please?

Thanks

James

James Hulme wrote:

After some stack overflow replies this issue does not occur on windows
and mac. It seems to be limited to linux.

On Linux wx.CollapsiblePane is a native widget, so it may be that it is not able to support all of the base class methods, or it may just be a bug. You can try using wx.lib.agw.pycollapsiblepane instead.

···

--
Robin Dunn
Software Craftsman