X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f618020a15f1647a83aaeab1fe315f90497a9876..5e3841bf8069fbcc2b1da3ef36af4f569c604265:/src/motif/mdi.cpp?ds=sidebyside diff --git a/src/motif/mdi.cpp b/src/motif/mdi.cpp index 4fa16b4cfe..4ee31d8bbc 100644 --- a/src/motif/mdi.cpp +++ b/src/motif/mdi.cpp @@ -509,7 +509,7 @@ void wxMDIChildFrame::DoGetPosition(int *x, int *y) const bool wxMDIChildFrame::Show(bool show) { - m_visibleStatus = show; /* show-&-hide fix */ + SetVisibleStatus( show ); return wxWindow::Show(show); } @@ -543,7 +543,7 @@ void wxMDIChildFrame::SetIcons(const wxIconBundle& icons) void wxMDIChildFrame::SetTitle(const wxString& title) { - m_title = title; + wxTopLevelWindow::SetTitle( title ); wxMDIClientWindow* clientWindow = GetMDIParentFrame()->GetClientWindow(); int pageNo = clientWindow->FindPagePosition(this); if (pageNo > -1)