mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 07:43:50 +01: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:
@@ -25,6 +25,7 @@ KeyConfigPrefs and MousePrefs use.
|
|||||||
#include <wx/ffile.h>
|
#include <wx/ffile.h>
|
||||||
#include <wx/intl.h>
|
#include <wx/intl.h>
|
||||||
#include <wx/filedlg.h>
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/button.h>
|
||||||
|
|
||||||
#include "../Prefs.h"
|
#include "../Prefs.h"
|
||||||
#include "../Project.h"
|
#include "../Project.h"
|
||||||
@@ -567,7 +568,7 @@ void KeyConfigPrefs::OnClear(wxCommandEvent& WXUNUSED(event))
|
|||||||
SetKeyForSelected(wxEmptyString);
|
SetKeyForSelected(wxEmptyString);
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeyConfigPrefs::OnSelected(wxCommandEvent & e)
|
void KeyConfigPrefs::OnSelected(wxCommandEvent & WXUNUSED(e))
|
||||||
{
|
{
|
||||||
mCommandSelected = mView->GetSelected();
|
mCommandSelected = mView->GetSelected();
|
||||||
mKey->Clear();
|
mKey->Clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user