Fix compilation with wxGTK trunk

Originally committed to SVN as r6758.
This commit is contained in:
Thomas Goyne 2012-05-10 14:19:07 +00:00
parent f1b2b4a3da
commit c4e36e00a5
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, 0, style);
wxSingleChoiceDialog dialog(NULL, "Please choose a language:", "Language", langNames, (void **)0, style);
if (dialog.ShowModal() == wxID_OK) {
int picked = dialog.GetSelection();
if (locale && langs[picked] == locale->GetLanguage())