don't show menubar unless is is supposed to be showing, fixes #11147
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,7 +385,7 @@ void wxFrame::GtkOnSize()
|
||||
#if wxUSE_MENUS_NATIVE
|
||||
if (m_frameMenuBar && !(m_fsIsShowing && (m_fsSaveFlag & wxFULLSCREEN_NOMENUBAR) != 0))
|
||||
{
|
||||
if (!GTK_WIDGET_VISIBLE(m_frameMenuBar->m_widget))
|
||||
if (m_frameMenuBar->IsShown() && !GTK_WIDGET_VISIBLE(m_frameMenuBar->m_widget))
|
||||
gtk_widget_show( m_frameMenuBar->m_widget );
|
||||
int xx = m_miniEdge;
|
||||
int yy = m_miniEdge + m_miniTitle;
|
||||
|
Reference in New Issue
Block a user