1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Fix FileDialog compilation error (gtk+3) (#465)

Resolves #464
This commit is contained in:
Raphael Graf 2020-03-24 15:59:44 +01:00 committed by GitHub
parent b1226ccac2
commit 66f566e5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,7 +478,7 @@ void FileDialog::SetFileExtension(const wxString& extension)
wxString filename;
#if defined(__WXGTK3__)
filename = wxString::FromUTF8(gtk_file_chooser_get_current_name(m_fc));
filename = wxString::FromUTF8(gtk_file_chooser_get_current_name(GTK_FILE_CHOOSER(m_widget)));
#else
GtkWidget *entry = find_widget(m_widget, "GtkFileChooserEntry", 0);
if (entry)