DrawFocusRect in wxMSW

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
raphaelzhou
In need of some credit
In need of some credit
Posts: 3
Joined: Sat Jan 10, 2009 8:11 pm

DrawFocusRect in wxMSW

Post by raphaelzhou » Tue Jan 13, 2009 12:56 pm

Contrary to what is explained in the documentation, in wxMSW, "DrawFocusRect" is not a member of "wxRendererNative". (version 2.8.9)

How to draw a focus rect in wxMSW with a portable code?

j42
In need of some credit
In need of some credit
Posts: 1
Joined: Fri Jan 23, 2009 2:27 pm

Post by j42 » Fri Jan 23, 2009 2:30 pm

I have the same problem.
There is:
wxRendererNative::DrawItemSelectionRect
but that doesnt draw a focus rect - even with the right flags.
I guess it was made for list views.

Also there doesn't seem to be a draw focus equivalent for the mac port.

Post Reply