mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
build fixes
This commit is contained in:
@@ -21,13 +21,12 @@ class LabelTrack;
|
||||
// Adds some behavior to clicks.
|
||||
class LabelDefaultClickHandle /* not final */ : public UIHandle
|
||||
{
|
||||
LabelDefaultClickHandle(const LabelDefaultClickHandle&) = delete;
|
||||
|
||||
public:
|
||||
LabelDefaultClickHandle();
|
||||
virtual ~LabelDefaultClickHandle();
|
||||
|
||||
LabelDefaultClickHandle &operator=(LabelDefaultClickHandle&&) = default;
|
||||
LabelDefaultClickHandle &operator=
|
||||
(const LabelDefaultClickHandle&) = default;
|
||||
|
||||
Result Click
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject) override;
|
||||
|
||||
@@ -38,7 +38,6 @@ struct LabelTrackHit {
|
||||
|
||||
class LabelGlyphHandle final : public LabelDefaultClickHandle
|
||||
{
|
||||
LabelGlyphHandle(const LabelGlyphHandle&) = delete;
|
||||
static HitTestPreview HitPreview(bool hitCenter);
|
||||
|
||||
public:
|
||||
@@ -46,7 +45,7 @@ public:
|
||||
(const std::shared_ptr<LabelTrack> &pLT,
|
||||
const wxRect &rect, const LabelTrackHit &hit);
|
||||
|
||||
LabelGlyphHandle &operator=(LabelGlyphHandle&&) = default;
|
||||
LabelGlyphHandle &operator=(const LabelGlyphHandle&) = default;
|
||||
|
||||
static UIHandlePtr HitTest
|
||||
(std::weak_ptr<LabelGlyphHandle> &holder,
|
||||
|
||||
@@ -22,8 +22,6 @@ class SelectionStateChanger;
|
||||
|
||||
class LabelTextHandle final : public LabelDefaultClickHandle
|
||||
{
|
||||
LabelTextHandle(const LabelTextHandle&) = delete;
|
||||
|
||||
static HitTestPreview HitPreview();
|
||||
|
||||
public:
|
||||
@@ -31,7 +29,7 @@ public:
|
||||
(std::weak_ptr<LabelTextHandle> &holder,
|
||||
const wxMouseState &state, const std::shared_ptr<LabelTrack> &pLT);
|
||||
|
||||
LabelTextHandle &operator=(LabelTextHandle&&) = default;
|
||||
LabelTextHandle &operator=(const LabelTextHandle&) = default;
|
||||
|
||||
explicit LabelTextHandle
|
||||
( const std::shared_ptr<LabelTrack> &pLT, int labelNum );
|
||||
|
||||
Reference in New Issue
Block a user