git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19799
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/*
* FILE : contrib/ogl/ogl.cpp
/*
* FILE : contrib/ogl/ogl.cpp
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Build 883)
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Build 883)
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
* Do not make changes to this file--changes will be lost!
*
*/
* Do not make changes to this file--changes will be lost!
*
*/
char *_kwnames[] = { NULL };
self = self;
char *_kwnames[] = { NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLInitialize",_kwnames))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLInitialize",_kwnames))
return NULL;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
return NULL;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
char *_kwnames[] = { NULL };
self = self;
char *_kwnames[] = { NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLCleanUp",_kwnames))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLCleanUp",_kwnames))
return NULL;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
return NULL;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *SWIG_globals;
#ifdef __cplusplus
static PyObject *SWIG_globals;
#ifdef __cplusplus
#endif
SWIGEXPORT(void) initoglc() {
PyObject *m, *d;
#endif
SWIGEXPORT(void) initoglc() {
PyObject *m, *d;
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-PyObject* wxPy_ConvertShapeList(wxListBase* list, const char* className) {
+PyObject* wxPy_ConvertShapeList(wxListBase* listbase, const char* className) {
+ wxList* list = (wxList*)listbase;
PyObject* pyList;
PyObject* pyObj;
wxObject* wxObj;
PyObject* pyList;
PyObject* pyObj;
wxObject* wxObj;
- wxNode* node = list->First();
+ wxNode* node = list->GetFirst();
wxPyBeginBlockThreads();
pyList = PyList_New(0);
while (node) {
wxPyBeginBlockThreads();
pyList = PyList_New(0);
while (node) {
+ wxObj = node->GetData();
pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
PyList_Append(pyList, pyObj);
pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
PyList_Append(pyList, pyObj);
+ node = node->GetNext();
}
wxPyEndBlockThreads();
return pyList;
}
wxPyEndBlockThreads();
return pyList;