]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/constrnt.cpp
set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer
[wxWidgets.git] / contrib / src / ogl / constrnt.cpp
index c5e5650f094cea2c1efd074a055cc1958c6b9ae1..ddd736d643f9429aabf65737f5717e9d98f09f9a 100644 (file)
@@ -386,8 +386,6 @@ bool wxOGLConstraint::Evaluate()
         node = node->GetNext();
       }
       return changed;
-
-      return FALSE;
     }
     case gyCONSTRAINT_ABOVE:
     {
@@ -480,8 +478,10 @@ bool wxOGLConstraint::Evaluate()
         node = node->GetNext();
       }
       return changed;
-
+      #if 0
+      // two returned values ?
       return FALSE;
+      #endif
     }
     case gyCONSTRAINT_ALIGNED_TOP:
     {
@@ -568,8 +568,10 @@ bool wxOGLConstraint::Evaluate()
         node = node->GetNext();
       }
       return changed;
-
+      #if 0
+      // two returned values ?
       return FALSE;
+      #endif
     }
     case gyCONSTRAINT_MIDALIGNED_TOP:
     {
@@ -611,9 +613,11 @@ bool wxOGLConstraint::Evaluate()
       }
       return changed;
     }
-
+    #if 0
+    // default value handled in main function body
     default:
       return FALSE;
+    #endif
   }
   return FALSE;
 }