blob: 8394a13c3fcac731185eef7b745f13bb7d238ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- boinc-7.0.28/clientgui/AdvancedFrame.cpp.old 2011-10-21 20:17:10.000000000 +0800
+++ boinc-7.0.28/clientgui/AdvancedFrame.cpp 2012-05-20 05:50:38.000000000 +0800
@@ -701,6 +701,11 @@
wxMenuBar* m_pOldMenubar = GetMenuBar();
SetMenuBar(m_pMenubar);
+#ifdef __WXGTK__
+ /* Force WX to recalculate the size of the (new) menu bar */
+ /* courtesy Huibert (Huib Boinc Forums) */
+ SendSizeEvent();
+#endif
#ifdef __WXMAC__
m_pMenubar->MacInstallMenuBar();
MacLocalizeBOINCMenu();
|