DrawFrameControl does not draw correctly flat buttons under Win32
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
LCLIntf.DrawFrameControl does not call directly Windows.DrawFrameControl for flat buttons.
This lead to problems when trying to draw flat buttons.
See attached pictures and attached demo (uncomment NativeDrawFrameControl define to see the win32 expected result).
The attached patch removes the changes calling directly the windows function.
I tried some controls with Flat property (TToolButton, TSpeedButton) to see how this change affect them but those are not using that function.
Mantis conversion info:
- Mantis ID: 15358
- OS: Windows
- OS Build: XP
- Platform: i386
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 23230 (#b09f9f22)
- Target version: 0.9.30