[wx-dev] Re: CanApplyThemeBorder()
Vadim Zeitlin
vadim at wxwidgets.org
Wed Jan 2 06:15:53 PST 2008
On Wed, 02 Jan 2008 14:11:20 +0000 Julian Smart <julian at anthemion.co.uk> wrote:
JS> > and, especially, if it works with
JS> > wxBORDER_SUNKEN &c why shouldn't it work with wxBORDER_THEME?
JS> Sure, why not. I don't suppose it'll be much extra work.
I hope not. And the consistency is important [enough to do it].
JS> > And another point that still remains: it must be enough to override
JS> > GetDefaultBorder() to return false to have no border (by default) for the
JS> > window. It is wrong that you currently need to also override
JS> > CanApplyThemeBorder() to achieve this goal and this must be corrected.
JS> You don't. I don't know why you think that's case.
Because Robert wrote that he couldn't get rid of the border without doing
this. I'm awfully sorry if I misunderstood him but I thought this whole
thread started because Robert couldn't find how to remove the themed border
even when not using wxBORDER_THEME. Sorry again if I misunderstood it.
Regards,
VZ
More information about the wx-dev
mailing list