From: Vadim Zeitlin Date: Sun, 24 Oct 2010 22:41:46 +0000 (+0000) Subject: Do nothing in wxMemoryDC::SelectObject() if the bitmap is already selected. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/71f5b0e7da72aa979bc9839fe42f1492988b7eb6?ds=inline;hp=71f5b0e7da72aa979bc9839fe42f1492988b7eb6 Do nothing in wxMemoryDC::SelectObject() if the bitmap is already selected. It doesn't make sense to make a copy of the bitmap in order to select it into wxMemoryDC if it's already selected into it. See #11640. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 ---