]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docmdi.cpp
Added support for delayed deactivation of windows (for MDI)
[wxWidgets.git] / src / common / docmdi.cpp
index 5deea0ff6598b00eb73313fd3e31d62a6779b570..2c7f79268a0ff19ca1b29c159bc05b0f429b2123 100644 (file)
@@ -20,7 +20,7 @@
   #pragma hdrstop
 #endif
 
-#if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE
+#if wxUSE_MDI_ARCHITECTURE
 
 #include "wx/docmdi.h"
 
@@ -109,7 +109,7 @@ bool wxDocMDIChildFrame::ProcessEvent(wxEvent& event)
 
     // Break recursion loops
     if (ActiveEvent == &event)
-        return false;
+        return FALSE;
 
     ActiveEvent = &event;