1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 00:30:07 +02:00

Probable fix for compile error (invalid use of incomplete type 'class wxButton') in Linux build. Fixed a warning too.

This commit is contained in:
james.k.crook@gmail.com 2013-10-02 13:08:56 +00:00
parent 7b1764e1fd
commit 91d241419e

View File

@ -25,6 +25,7 @@ KeyConfigPrefs and MousePrefs use.
#include <wx/ffile.h>
#include <wx/intl.h>
#include <wx/filedlg.h>
#include <wx/button.h>
#include "../Prefs.h"
#include "../Project.h"
@ -567,7 +568,7 @@ void KeyConfigPrefs::OnClear(wxCommandEvent& WXUNUSED(event))
SetKeyForSelected(wxEmptyString);
}
void KeyConfigPrefs::OnSelected(wxCommandEvent & e)
void KeyConfigPrefs::OnSelected(wxCommandEvent & WXUNUSED(e))
{
mCommandSelected = mView->GetSelected();
mKey->Clear();