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