Error With wxCalendarCtrl.SetAttr()

OK: 2.2.3

I've tried repeatedly to modify the demo for wxCalendarCtrl to crash
like my app does, and it refuses. Mystery.

However, looking at the docs, I see two constructors for
wxCalendarDateAttr. The one that I'm calling has 1-5 parameters,
and I am supplying two. The other constructor of the same name
has 1-2 parameters. My vague recollection is that wxPython
doesn't resolve overloaded calls based on parameter types, so
I'm wondering if somehow I might be getting the wrong constructor.
Is that possible? IDK really what's going on.

Al

achrist@easystreet.com wrote:

OK: 2.2.3

I've tried repeatedly to modify the demo for wxCalendarCtrl to crash
like my app does, and it refuses. Mystery.

However, looking at the docs, I see two constructors for wxCalendarDateAttr. The one that I'm calling has 1-5 parameters,
and I am supplying two. The other constructor of the same name has 1-2 parameters. My vague recollection is that wxPython doesn't resolve overloaded calls based on parameter types, so I'm wondering if somehow I might be getting the wrong constructor.
Is that possible?

No, the 2 parameter version is named wxCalendarDateAttrBorder in wxPython.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!