--- classdef.cpp~	2009-08-03 14:43:22.623060000 -0400
+++ classdef.cpp	2009-08-03 15:15:10.011587000 -0400
@@ -2041,7 +2041,7 @@
       name().find('@')==-1 && /* anonymous compound */
       (m_impl->prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && /* private */
       (!m_impl->isLocal || Config_getBool("EXTRACT_LOCAL_CLASSES")) && /* local */
-      hasDocumentation() &&   /* documented */ 
+      (hasDocumentation() || !Config_getBool("HIDE_UNDOC_CLASSES")) &&   /* documented */ 
       !isReference() &&         /* not an external reference */
       (!m_impl->isStatic || Config_getBool("EXTRACT_STATIC"));
   }
