X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9ac87bc5cbe46227195e32c44e25831f8206e3c..d1a6e2b7a103d761fbc15e0e9c1c20ab53a849d9:/contrib/src/ogl/constrnt.cpp diff --git a/contrib/src/ogl/constrnt.cpp b/contrib/src/ogl/constrnt.cpp index 354cac46d8..ddd736d643 100644 --- a/contrib/src/ogl/constrnt.cpp +++ b/contrib/src/ogl/constrnt.cpp @@ -24,11 +24,12 @@ #include #endif -#include +#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; }