]> git.saurik.com Git - wxWidgets.git/commit - src/common/image.cpp
Fix the use of AutoHBITMAP in recently added LoadImageFromResource().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jul 2012 11:35:49 +0000 (11:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jul 2012 11:35:49 +0000 (11:35 +0000)
commit7462bddbafe6ed4bd6186c07e6edc43dc16741eb
tree66f45f8f47286a8ea4f3cfaaf1371e3fbe38e1cd
parentd01ec0965c3d6828167e501db8a7bc9c6e818e85
Fix the use of AutoHBITMAP in recently added LoadImageFromResource().

Assignment operator of AutoHBITMAP doesn't work as expected (and probably
should be removed/fixed), avoid its use by explicitly calling Init().

Closes #14425.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/image.cpp