X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae0eb25f8df6687429082f56cbeef84bb0e0741a..7946d7deaac081a745dc616a5eb13ae864865fa2:/samples/internat/internat.cpp diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 3cc7c2dfc4..3d313fece4 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -84,7 +84,7 @@ IMPLEMENT_APP(MyApp) // `Main program' equivalent, creating windows and returning main app frame bool MyApp::OnInit() { - const wxChar * const langs[] = + const wxString langs[] = { _T("(System default)"), _T("French"), @@ -96,7 +96,7 @@ bool MyApp::OnInit() SetExitOnFrameDelete(FALSE); int lng = wxGetSingleChoiceIndex(_T("Please choose language:"), _T("Language"), - WXSIZEOF(langs), (char **)langs); + WXSIZEOF(langs), langs); SetExitOnFrameDelete(TRUE); switch (lng)