X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/923b48fc637dd3aa9ed1d396ceb872cd3bcaabd1..510bf1ec20bfe60e801a89974e6371535e338abc:/include/wx/generic/mdig.h diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index 467bddfef4..715f4a22d3 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -256,7 +256,7 @@ private: */ #ifndef wxUSE_GENERIC_MDI_AS_NATIVE -#if defined(__WXUNIVERSAL__) || defined(__WXPM__) +#if defined(__WXUNIVERSAL__) || defined(__WXPM__) || defined(__WXCOCOA__) #define wxUSE_GENERIC_MDI_AS_NATIVE 1 #else #define wxUSE_GENERIC_MDI_AS_NATIVE 0 @@ -265,6 +265,8 @@ private: #if wxUSE_GENERIC_MDI_AS_NATIVE +class wxMDIChildFrame ; + //----------------------------------------------------------------------------- // wxMDIParentFrame //----------------------------------------------------------------------------- @@ -284,6 +286,9 @@ public: { } + wxMDIChildFrame * GetActiveChild() const ; + + private: DECLARE_DYNAMIC_CLASS(wxMDIParentFrame) };