git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15952
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include <wx/gizmos/editlbox.h>
#include <wx/gizmos/splittree.h>
#include <wx/gizmos/ledctrl.h>
#include <wx/gizmos/editlbox.h>
#include <wx/gizmos/splittree.h>
#include <wx/gizmos/ledctrl.h>
+#include <wx/listctrl.h>
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetListCtrl",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetListCtrl",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDelButton",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDelButton",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetNewButton",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetNewButton",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetUpButton",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetUpButton",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDownButton",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDownButton",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
wxEditableListBox * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetEditButton",_kwnames,&_argo0))
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetEditButton",_kwnames,&_argo0))
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
#include <wx/gizmos/editlbox.h>
#include <wx/gizmos/splittree.h>
#include <wx/gizmos/ledctrl.h>
#include <wx/gizmos/editlbox.h>
#include <wx/gizmos/splittree.h>
#include <wx/gizmos/ledctrl.h>
+#include <wx/listctrl.h>
%}
//---------------------------------------------------------------------------
%}
//---------------------------------------------------------------------------
return val
def GetListCtrl(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetListCtrl,(self,) + _args, _kwargs)
return val
def GetListCtrl(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetListCtrl,(self,) + _args, _kwargs)
- if val: val = wxListCtrlPtr(val)
return val
def GetDelButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetDelButton,(self,) + _args, _kwargs)
return val
def GetDelButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetDelButton,(self,) + _args, _kwargs)
- if val: val = wxBitmapButtonPtr(val)
return val
def GetNewButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetNewButton,(self,) + _args, _kwargs)
return val
def GetNewButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetNewButton,(self,) + _args, _kwargs)
- if val: val = wxBitmapButtonPtr(val)
return val
def GetUpButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetUpButton,(self,) + _args, _kwargs)
return val
def GetUpButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetUpButton,(self,) + _args, _kwargs)
- if val: val = wxBitmapButtonPtr(val)
return val
def GetDownButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetDownButton,(self,) + _args, _kwargs)
return val
def GetDownButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetDownButton,(self,) + _args, _kwargs)
- if val: val = wxBitmapButtonPtr(val)
return val
def GetEditButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetEditButton,(self,) + _args, _kwargs)
return val
def GetEditButton(self, *_args, **_kwargs):
val = apply(gizmosc.wxEditableListBox_GetEditButton,(self,) + _args, _kwargs)
- if val: val = wxBitmapButtonPtr(val)
return val
def __repr__(self):
return "<C wxEditableListBox instance at %s>" % (self.this,)
return val
def __repr__(self):
return "<C wxEditableListBox instance at %s>" % (self.this,)
%typemap(python, out) wxToolTip* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxToolTip* { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxBitmapButton* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxButton* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxControl* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxFrame* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxGrid* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxButton* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxControl* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxFrame* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxGrid* { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxListCtrl* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMDIChildFrame* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMDIClientWindow* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMenuBar* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMDIChildFrame* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMDIClientWindow* { $target = wxPyMake_wxObject($source); }
%typemap(python, out) wxMenuBar* { $target = wxPyMake_wxObject($source); }