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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user