X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f618020a15f1647a83aaeab1fe315f90497a9876..0e878cfcc6486c7903ae89b316bc71700320199d:/src/motif/mdi.cpp diff --git a/src/motif/mdi.cpp b/src/motif/mdi.cpp index 4fa16b4cfe..ef6cb3a192 100644 --- a/src/motif/mdi.cpp +++ b/src/motif/mdi.cpp @@ -18,6 +18,7 @@ #define XtWindow XTWINDOW #endif +#include "wx/tab.h" #include "wx/mdi.h" #include "wx/menu.h" #include "wx/settings.h" @@ -509,7 +510,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 +544,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)