X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1fa6f5245968866f56a26f4a73c543a2891195a..8930b2ed1ebff50797843db75744c6963287dbe7:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 9d26447c67..b6c8bc5e42 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -421,6 +421,19 @@ void wxFrame::GtkOnSize() client_area_x_offset += ww; } + else if( m_frameToolBar->GetWindowStyle() & wxTB_BOTTOM ) + { + xx = m_miniEdge; + yy = GetClientSize().y; +#if wxUSE_MENUS_NATIVE + yy += m_menuBarHeight; +#endif // wxUSE_MENU_NATIVE + m_frameToolBar->m_x = xx; + m_frameToolBar->m_y = yy; + ww = m_width - 2*m_miniEdge; + hh = m_toolBarDetached ? wxPLACE_HOLDER + : m_frameToolBar->m_height; + } else { ww = m_width - 2*m_miniEdge;