- MGR: Fix menu redraw issue under Ubuntu's new interface.

fixes #1180
      (From Huibert)

    clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=25702
This commit is contained in:
Rom Walton 2012-05-21 15:17:11 +00:00
parent aafdf3a312
commit 351b9f9b79
2 changed files with 12 additions and 0 deletions

View File

@ -3973,3 +3973,11 @@ David 20 May 2012
manage_apps.php
api/
boinc_api.cpp,h
Rom 21 May 2012
- MGR: Fix menu redraw issue under Ubuntu's new interface.
fixes #1180
(From Huibert)
clientgui/
AdvancedFrame.cpp

View File

@ -701,6 +701,10 @@ bool CAdvancedFrame::CreateMenu() {
wxMenuBar* m_pOldMenubar = GetMenuBar();
SetMenuBar(m_pMenubar);
#ifdef __WXGTK__
// Force a redraw of the menu under Ubuntu's new interface
SendSizeEvent();
#endif
#ifdef __WXMAC__
m_pMenubar->MacInstallMenuBar();
MacLocalizeBOINCMenu();