X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..37b8e6798782278fdfe4f3c1291aaff55cdbb8c9:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index e2bb43b5f8..0894f1f6cf 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -219,7 +219,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) // menu is just a normal string (passed in data parameter) flags |= MF_STRING; - pData = (char*)pItem->GetText().c_str(); + pData = (wxChar*)pItem->GetText().c_str(); } BOOL ok;