post wxUniv merge fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-07-20 18:44:10 +00:00
parent 32a87ae7b5
commit a6c1aa9027

View File

@@ -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)