X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6dd0883d556cbed9d47b08c12682ef233717c097..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/mdi.h?ds=sidebyside diff --git a/include/wx/mdi.h b/include/wx/mdi.h index 1f5d56e647..19a8832fb6 100644 --- a/include/wx/mdi.h +++ b/include/wx/mdi.h @@ -181,6 +181,11 @@ public: // return true. virtual bool IsTopNavigationDomain() const { return true; } + // Raising any frame is supposed to show it but wxFrame Raise() + // implementation doesn't work for MDI child frames in most forms so + // forward this to Activate() which serves the same purpose by default. + virtual void Raise() { Activate(); } + protected: wxMDIParentFrame *m_mdiParent; };