mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Followup to bug #1099.
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user