mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-20 06:10:06 +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:
parent
e5a4eecb25
commit
a95651275c
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user