Use the correct array when restoring the client data, correcting a fatal typo
in the changes of r73880.
Closes #15436.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74701
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !objectClientData.empty() )
SetClientObject(i, objectClientData[i]);
else if ( !voidClientData.empty() )
if ( !objectClientData.empty() )
SetClientObject(i, objectClientData[i]);
else if ( !voidClientData.empty() )
- SetClientData(i, objectClientData[i]);
+ SetClientData(i, voidClientData[i]);
}
// and make sure it has the same attributes as before
}
// and make sure it has the same attributes as before