make sure client area is refreshed after last child frame is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -328,6 +328,10 @@ wxMDIChildFrame::~wxMDIChildFrame()
|
|||||||
{
|
{
|
||||||
if (m_menuBar)
|
if (m_menuBar)
|
||||||
delete m_menuBar;
|
delete m_menuBar;
|
||||||
|
|
||||||
|
// wxMDIClientWindow does not get redrawn properly after last child is removed
|
||||||
|
if (m_parent && m_parent->GetChildren().size() <= 1)
|
||||||
|
gtk_widget_queue_draw(m_parent->m_widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxMDIChildFrame::Create( wxMDIParentFrame *parent,
|
bool wxMDIChildFrame::Create( wxMDIParentFrame *parent,
|
||||||
|
Reference in New Issue
Block a user