Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ICO file bugs in button toolbar #547

Merged
merged 2 commits into from
Apr 25, 2022
Merged

Fix ICO file bugs in button toolbar #547

merged 2 commits into from
Apr 25, 2022

Conversation

reupen
Copy link
Owner

@reupen reupen commented Apr 25, 2022

#546

This updates the buttons toolbar to:

  • fix a bug preventing ICO files from working as a custom hot button image
  • fix a GDI object leak when using ICO files as custom images
  • tidy up some of the button image code

This fixes a bug where ICO files didn't work as a custom hot image for a button in the buttons toolbar.
This tidies up some of the code in `ButtonsToolbar::ButtonImage` and fixes a GDI object leak found during the process. The leak occurred when an ICO file was used as a custom image in the buttons toolbar.
@reupen reupen marked this pull request as ready for review April 25, 2022 20:17
@reupen reupen merged commit 088e4d4 into master Apr 25, 2022
@reupen reupen deleted the fix-buttons-hot-ico branch April 25, 2022 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant