X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd8278bfe1019d2fb15aa45167b6d2d2821f779c..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/mac/carbon/mdi.cpp?ds=sidebyside diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index c6c11f32c6..dbdc6da93b 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -15,6 +15,8 @@ #include "wx/wxprec.h" +#if wxUSE_MDI + #include "wx/mdi.h" #include "wx/menu.h" #include "wx/settings.h" @@ -25,7 +27,6 @@ extern wxWindowList wxModelessWindows; -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow) @@ -39,8 +40,6 @@ BEGIN_EVENT_TABLE(wxMDIClientWindow, wxWindow) EVT_SCROLL(wxMDIClientWindow::OnScroll) END_EVENT_TABLE() -#endif - static const wxChar *TRACE_MDI = _T("mdi"); static const int IDM_WINDOWTILE = 4001; @@ -210,7 +209,7 @@ void wxMDIParentFrame::Cascade() // TODO } -void wxMDIParentFrame::Tile() +void wxMDIParentFrame::Tile(wxOrientation WXUNUSED(orient)) { // TODO } @@ -394,3 +393,5 @@ void wxMDIClientWindow::OnScroll(wxScrollEvent& event) { } +#endif +