X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..8cd6a9ad50c00a94e62558a3b55e814028d81100:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 8366985ec7..66d9b4c33d 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -14,7 +14,7 @@ #include "wx/frame.h" -extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[]; +extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[]; class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow; class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; @@ -162,6 +162,11 @@ public: // Implementation only from now on // ------------------------------- + wxMDIParentFrame* GetMDIParent() const + { + return wxStaticCast(wxFrame::GetParent(), wxMDIParentFrame); + } + // Handlers bool HandleMDIActivate(long bActivate, WXHWND, WXHWND); bool HandleWindowPosChanging(void *lpPos);