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
This commit is contained in:
@@ -397,7 +397,7 @@ bool wxSingleChoiceDialog::Create(wxWindow *parent,
|
|||||||
int i;
|
int i;
|
||||||
for ( i = 0; i < choices.Number(); 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);
|
bool ans = Create(parent, message, caption, choices.Number(), strings, clientData, style, pos);
|
||||||
delete[] strings;
|
delete[] strings;
|
||||||
|
Reference in New Issue
Block a user