1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-20 22:30:05 +02:00

I was wrong in r12650 when I said the the workaround for bug #458 was

fixed by r12650.  I had tested on Ubuntu only and the menu resize
problem doesn't seem to happen there.

But, it still happens on Fedora 17 at least, so putting the workaround
back in.
This commit is contained in:
lllucius 2013-10-07 13:04:44 +00:00
parent e5a4eecb25
commit a95651275c

View File

@ -3063,6 +3063,16 @@ void AudacityProject::OnPreferences()
p->RebuildMenuBar();
p->RebuildOtherMenus();
#if defined(__WXGTK__)
// Workaround for:
//
// http://bugzilla.audacityteam.org/show_bug.cgi?id=458
//
// This should be removed with wxWidgets 2.8.13 is released.
wxRect r = p->GetRect();
p->SetSize(wxSize(1,1));
p->SetSize(r.GetSize());
#endif
}
}