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

Followup to bug #1099.

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

View File

@ -491,11 +491,14 @@ AudacityProject *CreateNewAudacityProject()
//Create and show a new project //Create and show a new project
AudacityProject *p = new AudacityProject(NULL, -1, AudacityProject *p = new AudacityProject(NULL, -1,
wxPoint(wndRect.x, wndRect.y), wxDefaultPosition,
wxSize(wndRect.width, wndRect.height)); wxSize(wndRect.width, wndRect.height));
gAudacityProjects.Add(p); 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) { if(bMaximized) {
p->Maximize(true); p->Maximize(true);
} }