X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..e3e717ecc5add075cd53a04cf24fe27e24170944:/src/stubs/mdi.cpp diff --git a/src/stubs/mdi.cpp b/src/stubs/mdi.cpp index bcd7785c0d..4869697cd7 100644 --- a/src/stubs/mdi.cpp +++ b/src/stubs/mdi.cpp @@ -14,6 +14,8 @@ #endif #include "wx/mdi.h" +#include "wx/menu.h" +#include "wx/settings.h" extern wxList wxModelessWindows; @@ -95,7 +97,7 @@ void wxMDIParentFrame::SetMenuBar(wxMenuBar *menu_bar) void wxMDIParentFrame::OnSize(wxSizeEvent& event) { -#if USE_CONSTRAINTS +#if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); #endif