X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/426d19f1391a685de14a71b9fc4339bb929e441a..c315587c21ed44e54fbb3c1b36f0f70f78314081:/src/gtk/frame.cpp 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