Removed initial startup dependency on the OpenGL DLLs so only the
glcanvasc.pyd depends on them, not wxNN_N.dll git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -56,16 +56,16 @@ extern PyObject *SWIG_newvarlink(void);
 | 
			
		||||
#define SWIG_name    "glcanvasc"
 | 
			
		||||
 | 
			
		||||
#include "export.h"
 | 
			
		||||
#include <wx/glcanvas.h>
 | 
			
		||||
#include "myglcanvas.h"
 | 
			
		||||
 | 
			
		||||
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
 | 
			
		||||
    PyObject*   o2;
 | 
			
		||||
    if (!target) {                   
 | 
			
		||||
    if (!target) {
 | 
			
		||||
        target = o;
 | 
			
		||||
    } else if (target == Py_None) {  
 | 
			
		||||
    } else if (target == Py_None) {
 | 
			
		||||
        Py_DECREF(Py_None);
 | 
			
		||||
        target = o;
 | 
			
		||||
    } else {                         
 | 
			
		||||
    } else {
 | 
			
		||||
        if (!PyList_Check(target)) {
 | 
			
		||||
            o2 = target;
 | 
			
		||||
            target = PyList_New(0);
 | 
			
		||||
@@ -82,23 +82,23 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
 | 
			
		||||
    PyObject*   o2;
 | 
			
		||||
    PyObject*   o3;
 | 
			
		||||
 | 
			
		||||
    if (!target) {                   
 | 
			
		||||
    if (!target) {
 | 
			
		||||
        target = o;
 | 
			
		||||
    } else if (target == Py_None) {  
 | 
			
		||||
    } else if (target == Py_None) {
 | 
			
		||||
        Py_DECREF(Py_None);
 | 
			
		||||
        target = o;
 | 
			
		||||
    } else {                         
 | 
			
		||||
    } else {
 | 
			
		||||
        if (!PyTuple_Check(target)) {
 | 
			
		||||
            o2 = target;
 | 
			
		||||
            target = PyTuple_New(1);
 | 
			
		||||
            PyTuple_SetItem(target, 0, o2);
 | 
			
		||||
        }
 | 
			
		||||
        o3 = PyTuple_New(1);            
 | 
			
		||||
        PyTuple_SetItem(o3, 0, o);      
 | 
			
		||||
        o3 = PyTuple_New(1);
 | 
			
		||||
        PyTuple_SetItem(o3, 0, o);
 | 
			
		||||
 | 
			
		||||
        o2 = target;
 | 
			
		||||
        target = PySequence_Concat(o2, o3); 
 | 
			
		||||
        Py_DECREF(o2);                      
 | 
			
		||||
        target = PySequence_Concat(o2, o3);
 | 
			
		||||
        Py_DECREF(o2);
 | 
			
		||||
        Py_DECREF(o3);
 | 
			
		||||
    }
 | 
			
		||||
    return target;
 | 
			
		||||
@@ -595,6 +595,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_wxPyProcess","_class_wxPyProcess",0},
 | 
			
		||||
    { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
 | 
			
		||||
    { "_wxImageHandler","_class_wxImageHandler",0},
 | 
			
		||||
    { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
 | 
			
		||||
    { "_wxLog","_class_wxLog",0},
 | 
			
		||||
    { "_class_wxToolBarBase","_wxToolBarBase",0},
 | 
			
		||||
    { "_wxMask","_class_wxMask",0},
 | 
			
		||||
@@ -610,6 +611,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_wxDataObject","_class_wxDataObject",0},
 | 
			
		||||
    { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
 | 
			
		||||
    { "_wxStaticBox","_class_wxStaticBox",0},
 | 
			
		||||
    { "_wxColourDatabase","_class_wxColourDatabase",0},
 | 
			
		||||
    { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
 | 
			
		||||
    { "_wxPyDropSource","_class_wxPyDropSource",0},
 | 
			
		||||
    { "_wxChoice","_class_wxChoice",0},
 | 
			
		||||
@@ -726,6 +728,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_class_wxZipFSHandler","_wxZipFSHandler",0},
 | 
			
		||||
    { "_char","_wxChar",0},
 | 
			
		||||
    { "_wxBitmap","_class_wxBitmap",0},
 | 
			
		||||
    { "_wxPenList","_class_wxPenList",0},
 | 
			
		||||
    { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
 | 
			
		||||
    { "_wxPrintDialog","_class_wxPrintDialog",0},
 | 
			
		||||
    { "_wxWindowDC","_class_wxWindowDC",0},
 | 
			
		||||
@@ -741,6 +744,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_wxMessageDialog","_class_wxMessageDialog",0},
 | 
			
		||||
    { "_class_wxValidator","_wxValidator",0},
 | 
			
		||||
    { "_class_wxPyEvent","_wxPyEvent",0},
 | 
			
		||||
    { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
 | 
			
		||||
    { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
 | 
			
		||||
    { "_wxConfig","_class_wxConfig",0},
 | 
			
		||||
    { "_class_wxIconizeEvent","_wxIconizeEvent",0},
 | 
			
		||||
@@ -753,6 +757,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_class_wxToolBar","_wxToolBar",0},
 | 
			
		||||
    { "_wxDropTarget","_class_wxDropTarget",0},
 | 
			
		||||
    { "_class_wxStaticLine","_wxStaticLine",0},
 | 
			
		||||
    { "_class_wxColourDatabase","_wxColourDatabase",0},
 | 
			
		||||
    { "_wxScrollEvent","_class_wxScrollEvent",0},
 | 
			
		||||
    { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
 | 
			
		||||
    { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
 | 
			
		||||
@@ -781,9 +786,11 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
 | 
			
		||||
    { "_wxGenericDragImage","_class_wxGenericDragImage",0},
 | 
			
		||||
    { "_class_wxProgressDialog","_wxProgressDialog",0},
 | 
			
		||||
    { "_class_wxBrushList","_wxBrushList",0},
 | 
			
		||||
    { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
 | 
			
		||||
    { "_wxPyInputStream","_class_wxPyInputStream",0},
 | 
			
		||||
    { "_wxPyApp","_class_wxPyApp",0},
 | 
			
		||||
    { "_class_wxPenList","_wxPenList",0},
 | 
			
		||||
    { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
 | 
			
		||||
    { "_class_wxOutputStream","_wxOutputStream",0},
 | 
			
		||||
    { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
 | 
			
		||||
@@ -847,6 +854,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_class_wxCloseEvent","_wxCloseEvent",0},
 | 
			
		||||
    { "_wxSashEvent","_class_wxSashEvent",0},
 | 
			
		||||
    { "_wxBusyInfo","_class_wxBusyInfo",0},
 | 
			
		||||
    { "_wxFontList","_class_wxFontList",0},
 | 
			
		||||
    { "_class_wxMenuEvent","_wxMenuEvent",0},
 | 
			
		||||
    { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
 | 
			
		||||
    { "_wxJoystick","_class_wxJoystick",0},
 | 
			
		||||
@@ -1032,12 +1040,14 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
			
		||||
    { "_wxGauge","_class_wxGauge",0},
 | 
			
		||||
    { "_class_wxCheckListBox","_wxCheckListBox",0},
 | 
			
		||||
    { "_class_wxBusyInfo","_wxBusyInfo",0},
 | 
			
		||||
    { "_class_wxFontList","_wxFontList",0},
 | 
			
		||||
    { "_class_wxJoystick","_wxJoystick",0},
 | 
			
		||||
    { "_class_wxCommandEvent","_wxCommandEvent",0},
 | 
			
		||||
    { "_class_wxClientDC","_wxClientDC",0},
 | 
			
		||||
    { "_class_wxSizeEvent","_wxSizeEvent",0},
 | 
			
		||||
    { "_class_wxListCtrl","_wxListCtrl",0},
 | 
			
		||||
    { "_class_wxGLCanvas","_wxGLCanvas",0},
 | 
			
		||||
    { "_wxBrushList","_class_wxBrushList",0},
 | 
			
		||||
    { "_wxCustomDataObject","_class_wxCustomDataObject",0},
 | 
			
		||||
    { "_class_wxLogNull","_wxLogNull",0},
 | 
			
		||||
    { "_class_wxSize","_wxSize",0},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user