]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
fixing gdiplus implementation, see #11282
[wxWidgets.git] / 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