From 76e7cfab8fdb0c7862fd07e427af54181717fc62 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Aug 2013 14:33:09 +0000 Subject: [PATCH] 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 --- src/msw/bmpcbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/bmpcbox.cpp b/src/msw/bmpcbox.cpp index 88d1cd6711..f6d5950a02 100644 --- a/src/msw/bmpcbox.cpp +++ b/src/msw/bmpcbox.cpp @@ -175,7 +175,7 @@ void wxBitmapComboBox::RecreateControl() 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 -- 2.45.2