X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..1fc8878582bcdab2a90b95fb713c4d088a0e2a57:/src/stubs/mdi.cpp diff --git a/src/stubs/mdi.cpp b/src/stubs/mdi.cpp index bcd7785c0d..9e62e1d15c 100644 --- a/src/stubs/mdi.cpp +++ b/src/stubs/mdi.cpp @@ -14,10 +14,11 @@ #endif #include "wx/mdi.h" +#include "wx/menu.h" +#include "wx/settings.h" extern wxList wxModelessWindows; -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow) @@ -32,7 +33,6 @@ BEGIN_EVENT_TABLE(wxMDIClientWindow, wxWindow) EVT_SCROLL(wxMDIClientWindow::OnScroll) END_EVENT_TABLE() -#endif // Parent frame @@ -95,7 +95,7 @@ void wxMDIParentFrame::SetMenuBar(wxMenuBar *menu_bar) void wxMDIParentFrame::OnSize(wxSizeEvent& event) { -#if USE_CONSTRAINTS +#if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); #endif