CanApplyThemeBorder()

robert at roebling.de robert at roebling.de
Wed Jan 2 08:20:44 PST 2008


Julian wrote:

> >  Because Robert wrote that he couldn't get rid of the border
> > without doin this. 
> Sorry, I confused things! I'm not sure why I suggested overriding
> that function now :-( I think I thought the control already drew its
> own border so didn't need the extra one. Anyway it should certainly
> be possible to use wxBORDER_NONE or wxBORDER_DEFAULT
> along with GetDefaultBorder returning wxBORDER_NONE

I didn't log which many ways I tested to get rid of the borders,
but setting wxBORDER_NONE definately was among them.
It's easy enough to remove the overriding CanApplyThemeBorder()
and set the flag - I'm currently away so I cannot test it now.

  Robert




More information about the wx-dev mailing list