mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-12 15:46:25 +01:00
Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
This change is believed to be a direct refactoring that does not change functionality. It paves the way for more complex kinds of selection, such as selections involving frequency as well as time. It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
This commit is contained in:
@@ -74,6 +74,11 @@
|
||||
#include "widgets/ProgressDialog.h"
|
||||
#include "widgets/Ruler.h"
|
||||
|
||||
// PRL: These lines allow you to remove Project.h above.
|
||||
// They must be included before the definition of macro new below.
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
//#ifdef __WXMSW__
|
||||
// Enable this to diagnose memory leaks too!
|
||||
// #include <wx/msw/msvcrt.h> // redefines the new() operator
|
||||
|
||||
Reference in New Issue
Block a user