Updated SWIG generated code for wxGTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1fb264fd5a
commit
84a81942dd
@ -207,18 +207,12 @@ static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, Py
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxColourData_GetColour(_arg0);
|
_result = new wxColour (wxColourData_GetColour(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2171,18 +2165,12 @@ static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyOb
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxFontData_GetColour(_arg0);
|
_result = new wxColour (wxFontData_GetColour(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class wxColourDataPtr(wxObjectPtr):
|
|||||||
return val
|
return val
|
||||||
def GetColour(self, *_args, **_kwargs):
|
def GetColour(self, *_args, **_kwargs):
|
||||||
val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs)
|
val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetCustomColour(self, *_args, **_kwargs):
|
def GetCustomColour(self, *_args, **_kwargs):
|
||||||
val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs)
|
val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs)
|
||||||
@ -241,7 +241,7 @@ class wxFontDataPtr(wxObjectPtr):
|
|||||||
return val
|
return val
|
||||||
def GetColour(self, *_args, **_kwargs):
|
def GetColour(self, *_args, **_kwargs):
|
||||||
val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs)
|
val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetChosenFont(self, *_args, **_kwargs):
|
def GetChosenFont(self, *_args, **_kwargs):
|
||||||
val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs)
|
val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs)
|
||||||
|
@ -3790,18 +3790,12 @@ static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxPen_GetColour(_arg0);
|
_result = new wxColour (wxPen_GetColour(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4382,18 +4376,12 @@ static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxBrush_GetColour(_arg0);
|
_result = new wxColour (wxBrush_GetColour(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6258,18 +6246,12 @@ static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, Py
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxDC_GetTextBackground(_arg0);
|
_result = new wxColour (wxDC_GetTextBackground(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6467,18 +6449,12 @@ static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, Py
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxColour & _result_ref = wxDC_GetTextForeground(_arg0);
|
_result = new wxColour (wxDC_GetTextForeground(_arg0));
|
||||||
_result = (wxColour *) &_result_ref;
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,7 +350,7 @@ class wxPenPtr(wxGDIObjectPtr):
|
|||||||
return val
|
return val
|
||||||
def GetColour(self, *_args, **_kwargs):
|
def GetColour(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
|
val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetJoin(self, *_args, **_kwargs):
|
def GetJoin(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
|
val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
|
||||||
@ -427,7 +427,7 @@ class wxBrushPtr(wxGDIObjectPtr):
|
|||||||
gdic.delete_wxBrush(self)
|
gdic.delete_wxBrush(self)
|
||||||
def GetColour(self, *_args, **_kwargs):
|
def GetColour(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
|
val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetStipple(self, *_args, **_kwargs):
|
def GetStipple(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
|
val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
|
||||||
@ -623,7 +623,7 @@ class wxDCPtr(wxObjectPtr):
|
|||||||
return val
|
return val
|
||||||
def GetTextBackground(self, *_args, **_kwargs):
|
def GetTextBackground(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
|
val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetTextExtent(self, *_args, **_kwargs):
|
def GetTextExtent(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
|
val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
|
||||||
@ -633,7 +633,7 @@ class wxDCPtr(wxObjectPtr):
|
|||||||
return val
|
return val
|
||||||
def GetTextForeground(self, *_args, **_kwargs):
|
def GetTextForeground(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
|
val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
|
||||||
if val: val = wxColourPtr(val)
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
return val
|
return val
|
||||||
def GetUserScale(self, *_args, **_kwargs):
|
def GetUserScale(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
|
val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user