]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/mdi.cpp
tried to correct the colour problems
[wxWidgets.git] / src / stubs / mdi.cpp
index bcd7785c0dbcdce0b0dbdcca2f8ec97e59d0b1aa..9e62e1d15cf86aa18456f78b03567f933c3acabe 100644 (file)
 #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