]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/mdi.cpp
no message
[wxWidgets.git] / src / stubs / mdi.cpp
index bcd7785c0dbcdce0b0dbdcca2f8ec97e59d0b1aa..4869697cd7ced1494032a5bafa462c6fdc8fd0ba 100644 (file)
@@ -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