From: Jaakko Salli Date: Tue, 23 Dec 2008 15:33:28 +0000 (+0000) Subject: Fixed a VC6 warning (hopefully) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bfad4a154618ba95472ccb6ebdd3aa9829c0ecd8 Fixed a VC6 warning (hopefully) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 5c5a2e99fa..83d392b310 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -1904,7 +1904,8 @@ void wxMultiChoiceProperty::GenerateValueAsString( wxVariant& value, wxArrayInt wxMultiChoiceProperty::GetValueAsIndices() const { - const wxArrayInt& valueArr = wxArrayIntRefFromVariant(GetValue()); + wxVariant variant = GetValue(); + const wxArrayInt& valueArr = wxArrayIntRefFromVariant(variant); unsigned int i; // Translate values to string indices.