wxShape.GetFixedSize() is described in the docs as:
void GetFixedSize(bool * x, bool * y)
Returns flags indicating whether the shape is of fixed size in either
direction.
Obviously this won't work from Python, so I expected that instead it would
take no arguments and return (bool, bool). However, after calling it, I
see that it does in fact expect two arguments of type *_bool_p, which AFAIK
makes it uncallable from Python.
wxShape.GetFixedSize() is described in the docs as:
void GetFixedSize(bool * x, bool * y)
Returns flags indicating whether the shape is of fixed size in either
direction.
Obviously this won't work from Python, so I expected that instead it would
take no arguments and return (bool, bool). However, after calling it, I
see that it does in fact expect two arguments of type *_bool_p, which
AFAIK
makes it uncallable from Python.
Okay, I've fixed it. There are also GetFixedWidth and GetFixedHeight
methods you can use in the meantime.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!