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:
parent
a31e87879e
commit
76e7cfab8f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user