1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-26 07:53:42 +02:00

Fix class/struct warnings.

This commit is contained in:
James Crook
2019-12-06 10:54:22 +00:00
parent 5a3e9cd063
commit 7f3c40eb43
5 changed files with 5 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
#include "ViewInfo.h" // for PlayRegion #include "ViewInfo.h" // for PlayRegion
class AudacityProject; class AudacityProject;
class SelectedRegionEvent; struct SelectedRegionEvent;
class SnapManager; class SnapManager;
class TrackList; class TrackList;

View File

@@ -14,7 +14,7 @@
class wxMouseEvent; class wxMouseEvent;
class wxRect; class wxRect;
class Envelope; class Envelope;
class TrackPanelDrawingContext; struct TrackPanelDrawingContext;
class ZoomInfo; class ZoomInfo;
// A class that holds state for the duration of dragging // A class that holds state for the duration of dragging

View File

@@ -644,7 +644,6 @@ bool MenuManager::TryToMakeActionAllowed(
CommandFlag & flags, CommandFlag flagsRqd ) CommandFlag & flags, CommandFlag flagsRqd )
{ {
auto &project = mProject; auto &project = mProject;
bool bAllowed;
if( flags.none() ) if( flags.none() )
flags = GetUpdateFlags(); flags = GetUpdateFlags();

View File

@@ -12,10 +12,10 @@ Paul Licameli
#define __AUDACITY_TRACK_PANEL_DRAWABLE__ #define __AUDACITY_TRACK_PANEL_DRAWABLE__
struct TrackPanelDrawingContext; struct TrackPanelDrawingContext;
struct wxRect; class wxRect;
/// \brief Drawing interface common to cells, groups of cells, and temporary handles in CellularPanel /// \brief Drawing interface common to cells, groups of cells, and temporary handles in CellularPanel
class TrackPanelDrawable { class AUDACITY_DLL_API TrackPanelDrawable {
public: public:
virtual ~TrackPanelDrawable() = 0; virtual ~TrackPanelDrawable() = 0;

View File

@@ -15,7 +15,7 @@ Paul Licameli split from TrackPanel.cpp
class wxMouseState; class wxMouseState;
class LabelTrack; class LabelTrack;
class LabelTrackEvent; struct LabelTrackEvent;
class NotifyingSelectedRegion; class NotifyingSelectedRegion;
class ZoomInfo; class ZoomInfo;