Always initialize SelectInHDC::m_hgdiobj in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 17:50:30 +0000 (17:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 17:50:30 +0000 (17:50 +0000)
commitb02d50281d71a81598449d33d54c1fc5f7c9dd5a
treee6624a32c157b7846bb07fc76d6a2b032ffe736c
parent917b00857982f2ca7247a9785c11a6a1d7e01943
Always initialize SelectInHDC::m_hgdiobj in wxMSW.

Leaving m_hgdiobj uninitialized probably didn't result in any problems
considering how this class is currently used but it did result in g++ warnings
about uninitialized member with aggressive warning flags and also could easily
become a problem in the future so just ensure that we always initialize it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/private.h