1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-10 17:11:17 +02:00

ShuttleGui.cpp and ShuttlePrefs.cpp have fewer dependencies...

... Freeing 13 files from cyclic dependencies
This commit is contained in:
Paul Licameli 2019-05-11 09:07:24 -04:00
parent 5c1ae17f6d
commit 4da02d667f
2 changed files with 3 additions and 2 deletions

View File

@ -2124,7 +2124,6 @@ void SetIfCreated( wxStaticText *&Var, wxStaticText * Val )
// two files at some later date.
#include "../extnpanel-src/GuiWaveTrack.h"
#endif
#include "./widgets/AttachableScrollBar.h"
ShuttleGui::ShuttleGui(wxWindow * pParent, teShuttleMode ShuttleMode) :
ShuttleGuiBase( pParent, ShuttleMode )
@ -2184,6 +2183,8 @@ GuiWaveTrack * ShuttleGui::AddGuiWaveTrack( const wxString & WXUNUSED(Name))
#endif
}
//#include "./widgets/AttachableScrollBar.h"
#if 0
AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
{
UseUpId();
@ -2203,6 +2204,7 @@ AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
UpdateSizers();
return pAttachableScrollBar;
}
#endif
std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
{

View File

@ -29,7 +29,6 @@
#include <wx/defs.h>
#include "Project.h"
#include "WrappedType.h"
#include "Prefs.h"