Fix resource leak in wxMSW wxStaticBitmap when using RGBA icons.

Release the old handle if it wasn't freed by STM_SETIMAGE itself.

Closes #16068.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-03-13 16:19:55 +00:00
parent 3ab8839562
commit 44611572b5
2 changed files with 3 additions and 2 deletions

View File

@@ -643,6 +643,7 @@ wxMSW:
- Fix width of the vertical toolbars (Artur Wieczorek).
- Fix handling of controls in the vertical toolbars (Artur Wieczorek).
- Fix loading of top to bottom BMP files in wxBitmap (Artur Wieczorek).
- Fix resource leak in wxStaticBitmap with RGBA icons (Artur Wieczorek).
wxOSX: