I am experimenting with the above but don't have much success.
see attached
how come the wx.Panel doesn't inherit the colour set on the dialog?
My original problem was with sized_controls.SizedPanel and I wondered after some googling if the problem came from it not using "self.InheritAttributes()" but then I did the attached sample and I see that a standard wx.Panel doesn't inherit either.
Any hints on why the inheriting does not work would be very appreciated.
I'm not sure. Please create a trac ticket about it. It can probably have the Component set to "wxMSW".
···
On 9/16/11 5:57 AM, werner wrote:
I am experimenting with the above but don't have much success.
see attached
how come the wx.Panel doesn't inherit the colour set on the dialog?
My original problem was with sized_controls.SizedPanel and I wondered
after some googling if the problem came from it not using
"self.InheritAttributes()" but then I did the attached sample and I see
that a standard wx.Panel doesn't inherit either.
Any hints on why the inheriting does not work would be very appreciated.
I am experimenting with the above but don't have much success.
see attached
how come the wx.Panel doesn't inherit the colour set on the dialog?
My original problem was with sized_controls.SizedPanel and I wondered
after some googling if the problem came from it not using
"self.InheritAttributes()" but then I did the attached sample and I see
that a standard wx.Panel doesn't inherit either.
Any hints on why the inheriting does not work would be very appreciated.
I'm not sure. Please create a trac ticket about it. It can probably have the Component set to "wxMSW".