1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 22:23:59 +01:00

Fix a conflict between the backported number validator and formatter

When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
This commit is contained in:
lllucius
2015-01-04 21:17:16 +00:00
parent 22d3719db5
commit 4e8b794452
8 changed files with 175 additions and 175 deletions

View File

@@ -786,7 +786,7 @@ void VSTEffectOptionsDialog::PopulateOrExchange(ShuttleGui & S)
{
S.StartStatic(_("Buffer Size"));
{
wxIntegerValidator<int> vld(&mBufferSize);
IntegerValidator<int> vld(&mBufferSize);
vld.SetRange(8, 1048576 * 1);
S.AddVariableText(wxString() +