public GL_ToggleControl createToggle(GL_DialogWindow dialog, string toggleText)
    {
        IntPtr           cPtr = OpenGLSupportPINVOKE.GL_DialogDynamicsWorld_createToggle(swigCPtr, GL_DialogWindow.getCPtr(dialog), toggleText);
        GL_ToggleControl ret  = (cPtr == IntPtr.Zero) ? null : new GL_ToggleControl(cPtr, false);

        return(ret);
    }
 internal static HandleRef getCPtr(GL_ToggleControl obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(GL_ToggleControl obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }