From c112d471475c99fb073b4fbad30bf51144ac654e Mon Sep 17 00:00:00 2001 From: david avery Date: Sat, 11 Apr 2015 21:00:37 -0600 Subject: [PATCH] one more wx 31 change --- src/effects/Reverb.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/effects/Reverb.cpp b/src/effects/Reverb.cpp index 649705550..c007fddd8 100644 --- a/src/effects/Reverb.cpp +++ b/src/effects/Reverb.cpp @@ -19,7 +19,7 @@ *//*******************************************************************/ -#include "../Audacity.h" +#include "../Audacity.h" #include "Reverb.h" #include "Reverb_libSoX.h" #include "../Prefs.h" @@ -477,7 +477,12 @@ void ReverbDialogue::OnStereoWidthWidget(wxCommandEvent & WXUNUSED(event)) static int wxGetChoiceFromUser(wxWindow * parent, wxString const & message, wxString const & caption, wxArrayString const & choices, - char * * clientData = 0, long style = wxCHOICEDLG_STYLE, +#if wxCHECK_VERSION(3,0,0) + void * * clientData = 0, +#else + char * * clientData = 0, +#endif + long style = wxCHOICEDLG_STYLE, wxPoint const & pos = wxDefaultPosition) // Home-grown function { wxSingleChoiceDialog d(parent, message, caption, choices, clientData, style, pos);