From 4908591c7eb448f3a0f70f3b0c6c4170b5945f9a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 24 Sep 2009 12:38:07 +0000 Subject: [PATCH] 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 --- src/gtk/frame.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2