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

View file

@ -104,7 +104,7 @@ int AegisubLocale::PickLanguage() {
if (locale) if (locale)
style |= wxCANCEL; 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) { if (dialog.ShowModal() == wxID_OK) {
int picked = dialog.GetSelection(); int picked = dialog.GetSelection();
if (locale && langs[picked] == locale->GetLanguage()) if (locale && langs[picked] == locale->GetLanguage())