Fix compilation with wxGTK trunk
Originally committed to SVN as r6758.
This commit is contained in:
parent
f1b2b4a3da
commit
c4e36e00a5
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue