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
class AudacityProject;
class SelectedRegionEvent;
struct SelectedRegionEvent;
class SnapManager;
class TrackList;

View File

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

View File

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

View File

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

View File

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