X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c9955d147ed92cdd79d795ed94d6e03fca06a52..31d7fc0f9cb3f5913ecd4a039a816487a6753a93:/contrib/src/ogl/constrnt.cpp diff --git a/contrib/src/ogl/constrnt.cpp b/contrib/src/ogl/constrnt.cpp index 98e9e6ffde..ddd736d643 100644 --- a/contrib/src/ogl/constrnt.cpp +++ b/contrib/src/ogl/constrnt.cpp @@ -24,11 +24,12 @@ #include #endif +#if wxUSE_PROLOGIO #include +#endif + +#include "wx/ogl/ogl.h" -#include -#include -#include wxList *wxOGLConstraintTypes = NULL; @@ -385,8 +386,6 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - - return FALSE; } case gyCONSTRAINT_ABOVE: { @@ -479,8 +478,10 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - + #if 0 + // two returned values ? return FALSE; + #endif } case gyCONSTRAINT_ALIGNED_TOP: { @@ -567,8 +568,10 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - + #if 0 + // two returned values ? return FALSE; + #endif } case gyCONSTRAINT_MIDALIGNED_TOP: { @@ -610,9 +613,11 @@ bool wxOGLConstraint::Evaluate() } return changed; } - + #if 0 + // default value handled in main function body default: return FALSE; + #endif } return FALSE; }