reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -436,11 +436,12 @@ static PyObject *_wrap_new_GLContext(PyObject *self, PyObject *args, PyObject *k
 | 
			
		||||
        SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
 | 
			
		||||
    }
 | 
			
		||||
    {
 | 
			
		||||
        if (!wxPyCheckForApp()) SWIG_fail;
 | 
			
		||||
        PyThreadState* __tstate = wxPyBeginAllowThreads();
 | 
			
		||||
        result = (wxGLContext *)new wxGLContext(arg1,arg2,(wxPalette const &)*arg3,(wxGLContext const *)arg4);
 | 
			
		||||
        
 | 
			
		||||
        wxPyEndAllowThreads(__tstate);
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;    
 | 
			
		||||
    }
 | 
			
		||||
    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGLContext, 1);
 | 
			
		||||
    return resultobj;
 | 
			
		||||
@@ -685,11 +686,12 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    {
 | 
			
		||||
        if (!wxPyCheckForApp()) SWIG_fail;
 | 
			
		||||
        PyThreadState* __tstate = wxPyBeginAllowThreads();
 | 
			
		||||
        result = (wxGLCanvas *)new wxGLCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6,arg7,(wxPalette const &)*arg8);
 | 
			
		||||
        
 | 
			
		||||
        wxPyEndAllowThreads(__tstate);
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;    
 | 
			
		||||
    }
 | 
			
		||||
    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGLCanvas, 1);
 | 
			
		||||
    {
 | 
			
		||||
@@ -803,11 +805,12 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *self, PyObject *args, P
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    {
 | 
			
		||||
        if (!wxPyCheckForApp()) SWIG_fail;
 | 
			
		||||
        PyThreadState* __tstate = wxPyBeginAllowThreads();
 | 
			
		||||
        result = (wxGLCanvas *)new wxGLCanvas(arg1,(wxGLContext const *)arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxPalette const &)*arg9);
 | 
			
		||||
        
 | 
			
		||||
        wxPyEndAllowThreads(__tstate);
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;
 | 
			
		||||
        if (PyErr_Occurred()) SWIG_fail;    
 | 
			
		||||
    }
 | 
			
		||||
    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGLCanvas, 1);
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user