mirror of https://github.com/odrling/Aegisub
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:
parent
108c38b9bc
commit
9cb5178c4b
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue