X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01b2eeec59f924bc1af582e70d010f89dc29d3d3..f97d84a63b21fffcc830390e5bc3fe0eedb6e15b:/src/qt/mdi.cpp

diff --git a/src/qt/mdi.cpp b/src/qt/mdi.cpp
index bcd7785c0d..7ece99f432 100644
--- a/src/qt/mdi.cpp
+++ b/src/qt/mdi.cpp
@@ -17,7 +17,6 @@
 
 extern wxList wxModelessWindows;
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame)
 IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxFrame)
 IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow)
@@ -32,7 +31,6 @@ BEGIN_EVENT_TABLE(wxMDIClientWindow, wxWindow)
   EVT_SCROLL(wxMDIClientWindow::OnScroll)
 END_EVENT_TABLE()
 
-#endif
 
 // Parent frame
 
@@ -95,7 +93,7 @@ void wxMDIParentFrame::SetMenuBar(wxMenuBar *menu_bar)
 
 void wxMDIParentFrame::OnSize(wxSizeEvent& event)
 {
-#if USE_CONSTRAINTS
+#if wxUSE_CONSTRAINTS
     if (GetAutoLayout())
       Layout();
 #endif