Fix recreating of wxBitmapComboBox using untyped client data.

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
This commit is contained in:
Vadim Zeitlin 2013-08-24 14:33:09 +00:00
parent a31e87879e
commit 76e7cfab8f

View File

@ -175,7 +175,7 @@ void wxBitmapComboBox::RecreateControl()
if ( !objectClientData.empty() ) if ( !objectClientData.empty() )
SetClientObject(i, objectClientData[i]); SetClientObject(i, objectClientData[i]);
else if ( !voidClientData.empty() ) 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