mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 09:01:13 +02:00
ShuttleGui.cpp and ShuttlePrefs.cpp have fewer dependencies...
... Freeing 13 files from cyclic dependencies
This commit is contained in:
parent
5c1ae17f6d
commit
4da02d667f
@ -2124,7 +2124,6 @@ void SetIfCreated( wxStaticText *&Var, wxStaticText * Val )
|
|||||||
// two files at some later date.
|
// two files at some later date.
|
||||||
#include "../extnpanel-src/GuiWaveTrack.h"
|
#include "../extnpanel-src/GuiWaveTrack.h"
|
||||||
#endif
|
#endif
|
||||||
#include "./widgets/AttachableScrollBar.h"
|
|
||||||
|
|
||||||
ShuttleGui::ShuttleGui(wxWindow * pParent, teShuttleMode ShuttleMode) :
|
ShuttleGui::ShuttleGui(wxWindow * pParent, teShuttleMode ShuttleMode) :
|
||||||
ShuttleGuiBase( pParent, ShuttleMode )
|
ShuttleGuiBase( pParent, ShuttleMode )
|
||||||
@ -2184,6 +2183,8 @@ GuiWaveTrack * ShuttleGui::AddGuiWaveTrack( const wxString & WXUNUSED(Name))
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//#include "./widgets/AttachableScrollBar.h"
|
||||||
|
#if 0
|
||||||
AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
|
AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
|
||||||
{
|
{
|
||||||
UseUpId();
|
UseUpId();
|
||||||
@ -2203,6 +2204,7 @@ AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
|
|||||||
UpdateSizers();
|
UpdateSizers();
|
||||||
return pAttachableScrollBar;
|
return pAttachableScrollBar;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
|
std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
|
||||||
{
|
{
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
|
|
||||||
#include "Project.h"
|
|
||||||
#include "WrappedType.h"
|
#include "WrappedType.h"
|
||||||
#include "Prefs.h"
|
#include "Prefs.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user