19 : wxFrame(parent,
id,
_TS(
"Audacity"), pos,
size)
20 , mwProject{
project.weak_from_this() }
26 wxString::Format( L
"AudacityProject %d",
project.GetProjectNumber() ) );
37 while ( pWindow && pWindow->GetParent() )
38 pWindow = pWindow->GetParent();
47 return pProjectWindow ? pProjectWindow->FindProject().get() :
nullptr;
AudacityProject * FindProjectFromWindow(wxWindow *pWindow)
void SetProjectFrame(AudacityProject &project, wxFrame &frame)
accessors for certain important windows associated with each project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
A top-level window associated with a project.
ProjectWindowBase(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, AudacityProject &project)
~ProjectWindowBase() override
ProjectWindowBase * FindProjectWindow(wxWindow *pWindow)