1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

Followup to bug .

This commit is contained in:
Leland Lucius 2015-07-29 11:07:32 -05:00
parent 59c2c8df7d
commit f2d87803d3

@ -491,11 +491,14 @@ AudacityProject *CreateNewAudacityProject()
//Create and show a new project
AudacityProject *p = new AudacityProject(NULL, -1,
wxPoint(wndRect.x, wndRect.y),
wxDefaultPosition,
wxSize(wndRect.width, wndRect.height));
gAudacityProjects.Add(p);
// wxGTK3 seems to need to require creating the window using default position
// and then manually positioning it.
p->SetPosition(wndRect.GetPosition());
if(bMaximized) {
p->Maximize(true);
}