]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied #9127: patch to remove blank under wxFrame with Hildon
authorJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 12:38:07 +0000 (12:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 12:38:07 +0000 (12:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp

index 159565870c77ca3402292030ad6cd0b5ef75af68..bcb72003feaa54ef3b958c0f7f2cc09a2d2914e5 100644 (file)
@@ -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