1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix Linux build

This commit is contained in:
lllucius@gmail.com 2014-10-05 23:11:09 +00:00
parent 8ecd6b538d
commit a803f8bc38

View File

@ -1579,12 +1579,12 @@ bool LabelTrack::HandleMouse(const wxMouseEvent & evt,
if (!OverTextBox(mLabels[mSelIndex], evt.m_x, evt.m_y)) if (!OverTextBox(mLabels[mSelIndex], evt.m_x, evt.m_y))
mSelIndex = -1; mSelIndex = -1;
double t = h + (evt.m_x - r.x) / pps; double t = h + (evt.m_x - r.x) / pps;
*newSel0 = t; newSel->setT0(t);
*newSel1 = t; newSel->setT1(t);
} }
wxTheClipboard->UsePrimarySelection(true); wxTheClipboard->UsePrimarySelection(true);
PasteSelectedText(*newSel0, *newSel1); PasteSelectedText(newSel->t0(), newSel->t1());
wxTheClipboard->UsePrimarySelection(false); wxTheClipboard->UsePrimarySelection(false);
return false; return false;