X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..204fd7058e300380067c9f021a0bc779eabde36d:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 8366985ec7..a0cbee8804 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 WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[]; class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow; class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; @@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; // wxMDIParentFrame // --------------------------------------------------------------------------- -class WXDLLEXPORT wxMDIParentFrame : public wxFrame +class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxFrame { public: wxMDIParentFrame(); @@ -125,7 +125,7 @@ private: // wxMDIChildFrame // --------------------------------------------------------------------------- -class WXDLLEXPORT wxMDIChildFrame : public wxFrame +class WXDLLIMPEXP_CORE wxMDIChildFrame : public wxFrame { public: wxMDIChildFrame() { Init(); } @@ -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); @@ -205,7 +210,7 @@ private: // wxMDIClientWindow // --------------------------------------------------------------------------- -class WXDLLEXPORT wxMDIClientWindow : public wxWindow +class WXDLLIMPEXP_CORE wxMDIClientWindow : public wxWindow { public: wxMDIClientWindow() { Init(); }