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

Don't write primary selection due to wxWidgets bug

This commit is contained in:
BusinessmanProgrammerSteve 2010-05-02 17:54:22 +00:00
parent b67178f729
commit 45ad663e05

View File

@ -1357,6 +1357,11 @@ bool LabelTrack::HandleMouse(const wxMouseEvent & evt,
mLabels[mMouseOverLabelRight]->updated = false;
}
}
#if 0
// AWD: Due to wxWidgets bug #7491 (fix not ported to 2.8 branch) we
// should never write the primary selection. We can enable this block
// when we move to the 3.0 branch (or if a fixed 2.8 version is released
// and we can do a runtime version check)
#if defined (__WXGTK__) && defined (HAVE_GTK)
// On GTK, if we just dragged out a text selection, set the primary
// selection
@ -1367,6 +1372,7 @@ bool LabelTrack::HandleMouse(const wxMouseEvent & evt,
wxTheClipboard->UsePrimarySelection(false);
}
}
#endif
#endif
mIsAdjustingLabel = false;