]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/internat/internat.cpp
removed assert from wxColour::InitFromName() as there is no way to bypass it (see...
[wxWidgets.git] / samples / internat / internat.cpp
index 3cc7c2dfc47cf15e240dfa3eb3dccf22db0caa57..3d313fece4ac597d1cc3f0bfb060a48e423d2677 100644 (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)