From 3450d39e45e6443965875dc98a7b053463b9f9c9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Sep 2003 11:39:26 +0000 Subject: [PATCH] compilation fix for Unicode && compatibility_2 (bug 807764) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/choicdgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index 527d0f8bf5..8577247a2b 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -397,7 +397,7 @@ bool wxSingleChoiceDialog::Create(wxWindow *parent, int i; for ( i = 0; i < choices.Number(); i++) { - strings[i] = (char *)choices.Nth(i)->Data(); + strings[i] = (wxChar *)choices.Nth(i)->Data(); } bool ans = Create(parent, message, caption, choices.Number(), strings, clientData, style, pos); delete[] strings;