TAdvSmoothPopup: Focus rect on button

Hello,


I'm using TAdvSmoothPopup v1.1.2.0 in C++ Builder 2010, compiled in debug mode.

When the mouse hovers over the inner control, the first button in the PopupButtons list gets drawn with a focus rect.
It's quite strange, and it doesn't seem to be the expected behaviour, since when you look at the code, drawing a focus rect around a button depends on a FFocusedElement variable which is never initialised.

By initialising FFocusedElement to -1 in TAdvSmoothPopup.Create, it looks much better.

Regards,

Thierry