1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-19 14:17:41 +02:00
audacity/src/TrackPanelDrawingContext.h
Paul Licameli 2c3331424b A more elegant fix of an (incorrect) MSVC compiler warning...
... that the structure can never be instantiated.
2018-01-06 19:26:52 -05:00

32 lines
655 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
TrackPanelDrawingContext.h
Paul Licameli
**********************************************************************/
#ifndef __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
#define __AUDACITY_TRACK_PANEL_DRAWING_CONTEXT__
#include "MemoryX.h"
class UIHandle;
using UIHandlePtr = std::shared_ptr<UIHandle>;
class wxDC;
#include <wx/mousestate.h>
struct TrackPanelDrawingContext {
wxDC &dc;
UIHandlePtr target;
wxMouseState lastState;
// This redundancy fixes an MSVC compiler warning:
TrackPanelDrawingContext() = delete;
};
#endif