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.
This commit is contained in:
Thomas Goyne 2012-05-28 14:55:42 +00:00
parent 108c38b9bc
commit 9cb5178c4b
1 changed files with 1 additions and 1 deletions

View File

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