From 9cb5178c4b02e06823aac2c6791a7e640ac71534 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 28 May 2012 14:55:42 +0000 Subject: [PATCH] Revert r6758 The explicit cast should not be required, and the type of the parameter has changed between wx versions so it breaks things. Originally committed to SVN as r6884. --- aegisub/src/aegisublocale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/aegisublocale.cpp b/aegisub/src/aegisublocale.cpp index e7a5993fa..da5c6e0b8 100644 --- a/aegisub/src/aegisublocale.cpp +++ b/aegisub/src/aegisublocale.cpp @@ -104,7 +104,7 @@ int AegisubLocale::PickLanguage() { if (locale) style |= wxCANCEL; - wxSingleChoiceDialog dialog(NULL, "Please choose a language:", "Language", langNames, (void **)0, style); + wxSingleChoiceDialog dialog(NULL, "Please choose a language:", "Language", langNames, 0, style); if (dialog.ShowModal() == wxID_OK) { int picked = dialog.GetSelection(); if (locale && langs[picked] == locale->GetLanguage())