Don't constantly reload comctl32.dll in wxTreeCtrl::MSWOnNotify().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:04:09 +0000 (15:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:04:09 +0000 (15:04 +0000)
commitfecb60c3edd080140e04ed081971cec1fcf5fe97
tree8ae0eefbd112f74df60bea584a25369cbf78442b
parented72e19523075d6fc36eece3e7c47f824c3915d8
Don't constantly reload comctl32.dll in wxTreeCtrl::MSWOnNotify().

The "loaded" flag was never set to true, so we kept reloading the DLL on every
callback.

Do set the flag after loading it successfully.

Closes #14512.

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