From: Julian Smart Date: Thu, 24 Sep 2009 12:38:07 +0000 (+0000) Subject: Applied #9127: patch to remove blank under wxFrame with Hildon X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4908591c7eb448f3a0f70f3b0c6c4170b5945f9a?hp=426d19f1391a685de14a71b9fc4339bb929e441a Applied #9127: patch to remove blank under wxFrame with Hildon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 159565870c..bcb72003fe 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -83,7 +83,9 @@ void wxFrame::DoGetClientSize( int *width, int *height ) const { GtkRequisition req; gtk_widget_size_request(m_frameMenuBar->m_widget, &req); +#if !wxUSE_LIBHILDON && !wxUSE_LIBHILDON2 *height -= req.height; +#endif } #endif // wxUSE_MENUS_NATIVE