If I want to set the background color of a wx.TextCtrl to
that of a wx.StaticText - which color do I have to chose ?
Is there any wxSYS_COLOUR_ constant for that ? I haven't
been able to find it.
Depending on platform StaticText is either drawn on its parent window
or it is its own window. So the background colour is the colour of
whatever window is its parent (i.e wxPanel). You probably want
SYS_COLOUR_3DFACE.
> If I want to set the background color of a wx.TextCtrl to
> that of a wx.StaticText - which color do I have to chose ?
>
> Is there any wxSYS_COLOUR_ constant for that ? I haven't
> been able to find it.
Depending on platform StaticText is either drawn on its parent window
or it is its own window. So the background colour is the colour of
whatever window is its parent (i.e wxPanel). You probably want
SYS_COLOUR_3DFACE.
If I want to set the background color of a wx.TextCtrl to
that of a wx.StaticText - which color do I have to chose ?
Is there any wxSYS_COLOUR_ constant for that ? I haven't
been able to find it.
Depending on platform StaticText is either drawn on its parent window
or it is its own window. So the background colour is the colour of
whatever window is its parent (i.e wxPanel). You probably want
SYS_COLOUR_3DFACE.