gernerated source code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,17 +106,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -545,12 +534,13 @@ static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject
|
|||||||
long _arg3 = (long ) 0;
|
long _arg3 = (long ) 0;
|
||||||
wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition;
|
wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo4 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
|
char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_argo4))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -559,13 +549,12 @@ static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo4) {
|
if (_obj4)
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPoint_p")) {
|
_arg4 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDirDialog. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj4, &_arg4))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
|
_result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
|
||||||
@@ -823,12 +812,13 @@ static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject
|
|||||||
long _arg5 = (long ) 0;
|
long _arg5 = (long ) 0;
|
||||||
wxPoint * _arg6 = (wxPoint *) &wxPyDefaultPosition;
|
wxPoint * _arg6 = (wxPoint *) &wxPyDefaultPosition;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo6 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj6 = 0;
|
||||||
char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
|
char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -837,13 +827,12 @@ static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo6) {
|
if (_obj6)
|
||||||
if (_argo6 == Py_None) { _arg6 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPoint_p")) {
|
_arg6 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxFileDialog. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj6, &_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
|
_result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
|
||||||
@@ -1407,12 +1396,13 @@ static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args,
|
|||||||
PyObject * _obj1 = 0;
|
PyObject * _obj1 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _obj4 = 0;
|
PyObject * _obj4 = 0;
|
||||||
PyObject * _argo6 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj6 = 0;
|
||||||
char *_kwnames[] = { "parent","message","caption","LIST","style","pos", NULL };
|
char *_kwnames[] = { "parent","message","caption","LIST","style","pos", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_argo6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1442,13 +1432,12 @@ static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo6) {
|
if (_obj6)
|
||||||
if (_argo6 == Py_None) { _arg6 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPoint_p")) {
|
_arg6 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSingleChoiceDialog. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj6, &_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
if (_obj4) {
|
if (_obj4) {
|
||||||
_arg3 = PyList_Size(_obj4);
|
_arg3 = PyList_Size(_obj4);
|
||||||
@@ -1640,12 +1629,13 @@ static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyO
|
|||||||
long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
|
long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
|
||||||
wxPoint * _arg5 = (wxPoint *) &wxPyDefaultPosition;
|
wxPoint * _arg5 = (wxPoint *) &wxPyDefaultPosition;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo5 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj5 = 0;
|
||||||
char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
|
char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1654,13 +1644,12 @@ static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyO
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo5) {
|
if (_obj5)
|
||||||
if (_argo5 == Py_None) { _arg5 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPoint_p")) {
|
_arg5 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTextEntryDialog. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj5, &_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
|
_result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
|
||||||
@@ -2407,12 +2396,13 @@ static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObj
|
|||||||
long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
|
long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
|
||||||
wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition;
|
wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo4 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
|
char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_argo4))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -2421,13 +2411,12 @@ static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObj
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo4) {
|
if (_obj4)
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPoint_p")) {
|
_arg4 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMessageDialog. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj4, &_arg4))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
|
_result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
|
||||||
@@ -2693,6 +2682,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -2804,6 +2794,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
@@ -2823,6 +2814,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
@@ -2906,6 +2898,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -2983,6 +2976,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -2992,6 +2986,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_wxControl",0},
|
{ "_class_wxControl","_wxControl",0},
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -349,6 +349,9 @@ class wxListBoxPtr(wxControlPtr):
|
|||||||
def GetSelections(self, *_args, **_kwargs):
|
def GetSelections(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def InsertItems(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def GetString(self, *_args, **_kwargs):
|
def GetString(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxListBox_GetString,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxListBox_GetString,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -770,3 +773,5 @@ class wxSlider(wxSliderPtr):
|
|||||||
|
|
||||||
#-------------- VARIABLE WRAPPERS ------------------
|
#-------------- VARIABLE WRAPPERS ------------------
|
||||||
|
|
||||||
|
cvar = controlsc.cvar
|
||||||
|
wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)
|
||||||
|
@@ -54,6 +54,9 @@ extern PyObject *SWIG_newvarlink(void);
|
|||||||
#define SWIG_name "controls2c"
|
#define SWIG_name "controls2c"
|
||||||
|
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
#include <wx/listctrl.h>
|
#include <wx/listctrl.h>
|
||||||
#include <wx/treectrl.h>
|
#include <wx/treectrl.h>
|
||||||
|
|
||||||
@@ -104,17 +107,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
extern wxValidator wxPyDefaultValidator;
|
extern wxValidator wxPyDefaultValidator;
|
||||||
@@ -1068,12 +1060,13 @@ static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *arg
|
|||||||
wxListEvent * _arg0;
|
wxListEvent * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","m_pointDrag", NULL };
|
char *_kwnames[] = { "self","m_pointDrag", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1082,13 +1075,11 @@ static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *arg
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
|
_result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
|
||||||
@@ -1251,14 +1242,16 @@ static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *
|
|||||||
wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
|
wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
|
||||||
char * _arg6 = (char *) "listCtrl";
|
char * _arg6 = (char *) "listCtrl";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
PyObject * _argo5 = 0;
|
PyObject * _argo5 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_argo5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1267,20 +1260,18 @@ static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (_argo5) {
|
if (_argo5) {
|
||||||
if (_argo5 == Py_None) { _arg5 = NULL; }
|
if (_argo5 == Py_None) { _arg5 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
|
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
|
||||||
@@ -1606,11 +1597,12 @@ static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args,
|
|||||||
wxPoint * _arg2;
|
wxPoint * _arg2;
|
||||||
int _arg3;
|
int _arg3;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
char *_kwnames[] = { "self","start","pt","direction", NULL };
|
char *_kwnames[] = { "self","start","pt","direction", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1619,13 +1611,11 @@ static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
{
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
_arg2 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
|
_result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
|
||||||
@@ -2123,14 +2113,15 @@ static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObje
|
|||||||
int * _arg2;
|
int * _arg2;
|
||||||
int temp;
|
int temp;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","point", NULL };
|
char *_kwnames[] = { "self","point", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
{
|
{
|
||||||
_arg2 = &temp;
|
_arg2 = &temp;
|
||||||
}
|
}
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -2139,13 +2130,11 @@ static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
|
_result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
|
||||||
@@ -2702,11 +2691,12 @@ static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args
|
|||||||
long _arg1;
|
long _arg1;
|
||||||
wxPoint * _arg2;
|
wxPoint * _arg2;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
char *_kwnames[] = { "self","item","pos", NULL };
|
char *_kwnames[] = { "self","item","pos", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_argo2))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -2715,13 +2705,11 @@ static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
{
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
_arg2 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
|
_result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
|
||||||
@@ -3307,14 +3295,16 @@ static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *
|
|||||||
wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
|
wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
|
||||||
char * _arg6 = (char *) "wxTreeCtrl";
|
char * _arg6 = (char *) "wxTreeCtrl";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
PyObject * _argo5 = 0;
|
PyObject * _argo5 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_argo5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -3323,20 +3313,18 @@ static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (_argo5) {
|
if (_argo5) {
|
||||||
if (_argo5 == Py_None) { _arg5 = NULL; }
|
if (_argo5 == Py_None) { _arg5 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
|
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
|
||||||
@@ -5491,12 +5479,13 @@ static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObje
|
|||||||
wxTreeCtrl * _arg0;
|
wxTreeCtrl * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","point", NULL };
|
char *_kwnames[] = { "self","point", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -5505,13 +5494,11 @@ static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
|
_result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
|
||||||
@@ -5695,6 +5682,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -5764,6 +5752,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
|
{ "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
|
{ "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
|
{ "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
|
||||||
@@ -5789,6 +5778,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
|
{ "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
|
||||||
{ "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
|
{ "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -5842,6 +5832,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -5905,6 +5896,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxListEvent","_wxListEvent",0},
|
{ "_class_wxListEvent","_wxListEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
@@ -5916,6 +5908,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxTreeItemId","_wxTreeItemId",0},
|
{ "_class_wxTreeItemId","_wxTreeItemId",0},
|
||||||
{ "_wxTreeCtrl","_class_wxTreeCtrl",0},
|
{ "_wxTreeCtrl","_class_wxTreeCtrl",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
|
@@ -103,18 +103,89 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
|
class wxPyEvent : public wxEvent {
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxPyEvent)
|
||||||
|
public:
|
||||||
|
wxPyEvent(int id=0, PyObject* userData = Py_None)
|
||||||
|
: wxEvent(id) {
|
||||||
|
m_userData = userData;
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
}
|
||||||
|
|
||||||
|
~wxPyEvent() {
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
|
Py_DECREF(m_userData);
|
||||||
|
wxPySaveThread(doSave);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetPyData(PyObject* userData) {
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
|
Py_DECREF(m_userData);
|
||||||
|
m_userData = userData;
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
wxPySaveThread(doSave);
|
||||||
|
}
|
||||||
|
|
||||||
|
PyObject* GetPyData() const {
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
return m_userData;
|
||||||
|
}
|
||||||
|
|
||||||
|
// This one is so the event object can be Cloned...
|
||||||
|
void CopyObject(wxObject& dest) const {
|
||||||
|
wxEvent::CopyObject(dest);
|
||||||
|
((wxPyEvent*)&dest)->SetPyData(m_userData);
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
PyObject* m_userData;
|
||||||
|
};
|
||||||
|
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS(wxPyEvent, wxEvent)
|
||||||
|
|
||||||
|
|
||||||
|
class wxPyCommandEvent : public wxCommandEvent {
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxPyCommandEvent)
|
||||||
|
public:
|
||||||
|
wxPyCommandEvent(wxEventType commandType = wxEVT_NULL, int id=0, PyObject* userData = Py_None)
|
||||||
|
: wxCommandEvent(commandType, id) {
|
||||||
|
m_userData = userData;
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
}
|
||||||
|
|
||||||
|
~wxPyCommandEvent() {
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
|
Py_DECREF(m_userData);
|
||||||
|
wxPySaveThread(doSave);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetPyData(PyObject* userData) {
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
|
Py_DECREF(m_userData);
|
||||||
|
m_userData = userData;
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
wxPySaveThread(doSave);
|
||||||
|
}
|
||||||
|
|
||||||
|
PyObject* GetPyData() const {
|
||||||
|
Py_INCREF(m_userData);
|
||||||
|
return m_userData;
|
||||||
|
}
|
||||||
|
|
||||||
|
// This one is so the event object can be Cloned...
|
||||||
|
void CopyObject(wxObject& dest) const {
|
||||||
|
wxCommandEvent::CopyObject(dest);
|
||||||
|
((wxPyCommandEvent*)&dest)->SetPyData(m_userData);
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
PyObject* m_userData;
|
||||||
|
};
|
||||||
|
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS(wxPyCommandEvent, wxCommandEvent)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -2472,11 +2543,12 @@ static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *arg
|
|||||||
wxJoystickEvent * _arg0;
|
wxJoystickEvent * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","pos", NULL };
|
char *_kwnames[] = { "self","pos", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -2485,13 +2557,11 @@ static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *arg
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxJoystickEvent_SetPosition(_arg0,*_arg1);
|
wxJoystickEvent_SetPosition(_arg0,*_arg1);
|
||||||
@@ -3150,142 +3220,6 @@ static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
|
|||||||
return (void *) dest;
|
return (void *) dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *SwigwxPyEventTowxCommandEvent(void *ptr) {
|
|
||||||
wxPyEvent *src;
|
|
||||||
wxCommandEvent *dest;
|
|
||||||
src = (wxPyEvent *) ptr;
|
|
||||||
dest = (wxCommandEvent *) src;
|
|
||||||
return (void *) dest;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void *SwigwxPyEventTowxEvent(void *ptr) {
|
|
||||||
wxPyEvent *src;
|
|
||||||
wxEvent *dest;
|
|
||||||
src = (wxPyEvent *) ptr;
|
|
||||||
dest = (wxEvent *) src;
|
|
||||||
return (void *) dest;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
|
|
||||||
static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxPyEvent * _result;
|
|
||||||
wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
|
|
||||||
PyObject * _arg1 = (PyObject *) Py_None;
|
|
||||||
PyObject * _obj1 = 0;
|
|
||||||
char *_kwnames[] = { "commandType","userData", NULL };
|
|
||||||
char _ptemp[128];
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1))
|
|
||||||
return NULL;
|
|
||||||
if (_obj1)
|
|
||||||
{
|
|
||||||
_arg1 = _obj1;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} if (_result) {
|
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
|
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
|
||||||
} else {
|
|
||||||
Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define delete_wxPyEvent(_swigobj) (delete _swigobj)
|
|
||||||
static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxPyEvent * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
delete_wxPyEvent(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
|
|
||||||
static PyObject *_wrap_wxPyEvent_SetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxPyEvent * _arg0;
|
|
||||||
PyObject * _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
PyObject * _obj1 = 0;
|
|
||||||
char *_kwnames[] = { "self","userData", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetUserData",_kwnames,&_argo0,&_obj1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
_arg1 = _obj1;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
wxPyEvent_SetUserData(_arg0,_arg1);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
|
|
||||||
static PyObject *_wrap_wxPyEvent_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
PyObject * _result;
|
|
||||||
wxPyEvent * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetUserData",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (PyObject *)wxPyEvent_GetUserData(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
}{
|
|
||||||
_resultobj = _result;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
|
static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
|
||||||
wxNotifyEvent *src;
|
wxNotifyEvent *src;
|
||||||
wxCommandEvent *dest;
|
wxCommandEvent *dest;
|
||||||
@@ -3356,13 +3290,282 @@ static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObje
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void *SwigwxPyEventTowxEvent(void *ptr) {
|
||||||
|
wxPyEvent *src;
|
||||||
|
wxEvent *dest;
|
||||||
|
src = (wxPyEvent *) ptr;
|
||||||
|
dest = (wxEvent *) src;
|
||||||
|
return (void *) dest;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
|
||||||
|
static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyEvent * _result;
|
||||||
|
int _arg0 = (int ) 0;
|
||||||
|
PyObject * _arg1 = (PyObject *) Py_None;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "id","userData", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_obj1)
|
||||||
|
{
|
||||||
|
_arg1 = _obj1;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define delete_wxPyEvent(_swigobj) (delete _swigobj)
|
||||||
|
static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyEvent * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
delete_wxPyEvent(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxPyEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxPyEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyEvent * _arg0;
|
||||||
|
PyObject * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","userData", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetPyData",_kwnames,&_argo0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetPyData. Expected _wxPyEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = _obj1;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxPyEvent_SetPyData(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxPyEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
|
||||||
|
static PyObject *_wrap_wxPyEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
PyObject * _result;
|
||||||
|
wxPyEvent * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetPyData",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetPyData. Expected _wxPyEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (PyObject *)wxPyEvent_GetPyData(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
}{
|
||||||
|
_resultobj = _result;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) {
|
||||||
|
wxPyCommandEvent *src;
|
||||||
|
wxCommandEvent *dest;
|
||||||
|
src = (wxPyCommandEvent *) ptr;
|
||||||
|
dest = (wxCommandEvent *) src;
|
||||||
|
return (void *) dest;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void *SwigwxPyCommandEventTowxEvent(void *ptr) {
|
||||||
|
wxPyCommandEvent *src;
|
||||||
|
wxEvent *dest;
|
||||||
|
src = (wxPyCommandEvent *) ptr;
|
||||||
|
dest = (wxEvent *) src;
|
||||||
|
return (void *) dest;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define new_wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2) (new wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2))
|
||||||
|
static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyCommandEvent * _result;
|
||||||
|
wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
|
||||||
|
int _arg1 = (int ) 0;
|
||||||
|
PyObject * _arg2 = (PyObject *) Py_None;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
|
char *_kwnames[] = { "commandType","id","userData", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiO:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1,&_obj2))
|
||||||
|
return NULL;
|
||||||
|
if (_obj2)
|
||||||
|
{
|
||||||
|
_arg2 = _obj2;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1,_arg2);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
|
||||||
|
static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyCommandEvent * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
delete_wxPyCommandEvent(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxPyCommandEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxPyCommandEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyCommandEvent * _arg0;
|
||||||
|
PyObject * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","userData", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetPyData",_kwnames,&_argo0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetPyData. Expected _wxPyCommandEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = _obj1;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxPyCommandEvent_SetPyData(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxPyCommandEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
|
||||||
|
static PyObject *_wrap_wxPyCommandEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
PyObject * _result;
|
||||||
|
wxPyCommandEvent * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetPyData",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetPyData. Expected _wxPyCommandEvent_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (PyObject *)wxPyCommandEvent_GetPyData(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
}{
|
||||||
|
_resultobj = _result;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static PyMethodDef eventscMethods[] = {
|
static PyMethodDef eventscMethods[] = {
|
||||||
{ "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyCommandEvent_GetPyData", (PyCFunction) _wrap_wxPyCommandEvent_GetPyData, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyCommandEvent_SetPyData", (PyCFunction) _wrap_wxPyCommandEvent_SetPyData, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyEvent_GetUserData", (PyCFunction) _wrap_wxPyEvent_GetUserData, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyEvent_SetUserData", (PyCFunction) _wrap_wxPyEvent_SetUserData, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPyEvent_GetPyData", (PyCFunction) _wrap_wxPyEvent_GetPyData, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPyEvent_SetPyData", (PyCFunction) _wrap_wxPyEvent_SetPyData, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
|
{ "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
|
{ "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
|
{ "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -3472,10 +3675,12 @@ static PyMethodDef eventscMethods[] = {
|
|||||||
*/
|
*/
|
||||||
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
||||||
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
|
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
|
||||||
{ "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
{ "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
|
||||||
{ "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
{ "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
|
||||||
{ "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
|
{ "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
|
||||||
{ "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
|
{ "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
|
||||||
|
{ "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
||||||
|
{ "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
||||||
{ "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
{ "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
||||||
{ "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
{ "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
||||||
{ "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
|
{ "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
|
||||||
@@ -3526,6 +3731,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -3563,10 +3769,12 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
{ "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
{ "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
{ "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
|
{ "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
|
{ "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
|
||||||
|
{ "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
||||||
|
{ "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
{ "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
{ "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
|
{ "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
|
||||||
@@ -3615,10 +3823,10 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
|
{ "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
|
{ "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
|
||||||
|
{ "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
|
||||||
{ "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
{ "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
||||||
{ "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
{ "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
||||||
{ "_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent},
|
|
||||||
{ "_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent},
|
|
||||||
{ "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
{ "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
||||||
{ "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
{ "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
||||||
{ "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
|
{ "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
|
||||||
@@ -3698,6 +3906,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
||||||
@@ -3711,10 +3920,10 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
{ "_class_wxShowEvent","_wxShowEvent",0},
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
||||||
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
||||||
|
{ "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
|
||||||
|
{ "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
|
||||||
{ "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
{ "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
||||||
{ "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
{ "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
|
||||||
{ "_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent},
|
|
||||||
{ "_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent},
|
|
||||||
{ "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
{ "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
||||||
{ "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
{ "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
|
||||||
{ "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
|
{ "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
|
||||||
|
@@ -618,29 +618,6 @@ class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxPyEventPtr(wxCommandEventPtr):
|
|
||||||
def __init__(self,this):
|
|
||||||
self.this = this
|
|
||||||
self.thisown = 0
|
|
||||||
def __del__(self,eventsc=eventsc):
|
|
||||||
if self.thisown == 1 :
|
|
||||||
eventsc.delete_wxPyEvent(self)
|
|
||||||
def SetUserData(self, *_args, **_kwargs):
|
|
||||||
val = apply(eventsc.wxPyEvent_SetUserData,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def GetUserData(self, *_args, **_kwargs):
|
|
||||||
val = apply(eventsc.wxPyEvent_GetUserData,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def __repr__(self):
|
|
||||||
return "<C wxPyEvent instance at %s>" % (self.this,)
|
|
||||||
class wxPyEvent(wxPyEventPtr):
|
|
||||||
def __init__(self,*_args,**_kwargs):
|
|
||||||
self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
|
|
||||||
self.thisown = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxNotifyEventPtr(wxCommandEventPtr):
|
class wxNotifyEventPtr(wxCommandEventPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
@@ -660,6 +637,52 @@ class wxNotifyEvent(wxNotifyEventPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxPyEventPtr(wxEventPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def __del__(self,eventsc=eventsc):
|
||||||
|
if self.thisown == 1 :
|
||||||
|
eventsc.delete_wxPyEvent(self)
|
||||||
|
def SetPyData(self, *_args, **_kwargs):
|
||||||
|
val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetPyData(self, *_args, **_kwargs):
|
||||||
|
val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxPyEvent instance at %s>" % (self.this,)
|
||||||
|
class wxPyEvent(wxPyEventPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxPyCommandEventPtr(wxCommandEventPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def __del__(self,eventsc=eventsc):
|
||||||
|
if self.thisown == 1 :
|
||||||
|
eventsc.delete_wxPyCommandEvent(self)
|
||||||
|
def SetPyData(self, *_args, **_kwargs):
|
||||||
|
val = apply(eventsc.wxPyCommandEvent_SetPyData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetPyData(self, *_args, **_kwargs):
|
||||||
|
val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxPyCommandEvent instance at %s>" % (self.this,)
|
||||||
|
class wxPyCommandEvent(wxPyCommandEventPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------- FUNCTION WRAPPERS ------------------
|
#-------------- FUNCTION WRAPPERS ------------------
|
||||||
|
@@ -103,17 +103,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -147,13 +136,15 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwa
|
|||||||
char * _arg6 = (char *) "frame";
|
char * _arg6 = (char *) "frame";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _argo3 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo4 = 0;
|
PyObject * _obj3 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -169,20 +160,18 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
||||||
}
|
}
|
||||||
if (_argo3) {
|
if (_obj3)
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
|
_arg3 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxFrame. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj3, &_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj4)
|
||||||
if (_argo4) {
|
{
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
_arg4 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
|
if (! wxSize_helper(_obj4, &_arg4))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxFrame. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
_result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
||||||
@@ -872,13 +861,15 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject
|
|||||||
char * _arg6 = (char *) "frame";
|
char * _arg6 = (char *) "frame";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _argo3 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo4 = 0;
|
PyObject * _obj3 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -894,20 +885,18 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject
|
|||||||
}
|
}
|
||||||
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
||||||
}
|
}
|
||||||
if (_argo3) {
|
if (_obj3)
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
|
_arg3 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMiniFrame. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj3, &_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj4)
|
||||||
if (_argo4) {
|
{
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
_arg4 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
|
if (! wxSize_helper(_obj4, &_arg4))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMiniFrame. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
_result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
||||||
@@ -962,6 +951,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -1029,6 +1019,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
@@ -1045,6 +1036,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -1097,6 +1089,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -1158,6 +1151,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -1167,6 +1161,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_wxControl",0},
|
{ "_class_wxControl","_wxControl",0},
|
||||||
|
@@ -107,17 +107,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
// Alternate 'constructor'
|
// Alternate 'constructor'
|
||||||
wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
|
wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
|
||||||
@@ -5661,11 +5650,12 @@ static PyObject *_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject *self, PyObject
|
|||||||
wxScreenDC * _arg0;
|
wxScreenDC * _arg0;
|
||||||
wxRect * _arg1 = (wxRect *) NULL;
|
wxRect * _arg1 = (wxRect *) NULL;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxRect temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","rect", NULL };
|
char *_kwnames[] = { "self","rect", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -5674,13 +5664,12 @@ static PyObject *_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject *self, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
if (_obj1)
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
|
_arg1 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
|
if (! wxRect_helper(_obj1, &_arg1))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
|
_result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
|
||||||
|
@@ -103,17 +103,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
wxImage* wxNullImage() {
|
wxImage* wxNullImage() {
|
||||||
|
@@ -102,17 +102,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -154,13 +143,15 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyOb
|
|||||||
char * _arg6 = (char *) "frame";
|
char * _arg6 = (char *) "frame";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _argo3 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo4 = 0;
|
PyObject * _obj3 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -176,20 +167,18 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyOb
|
|||||||
}
|
}
|
||||||
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
||||||
}
|
}
|
||||||
if (_argo3) {
|
if (_obj3)
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
|
_arg3 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj3, &_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj4)
|
||||||
if (_argo4) {
|
{
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
_arg4 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
|
if (! wxSize_helper(_obj4, &_arg4))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxMDIParentFrame *)new_wxMDIParentFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
_result = (wxMDIParentFrame *)new_wxMDIParentFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
||||||
@@ -483,13 +472,15 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObj
|
|||||||
char * _arg6 = (char *) "frame";
|
char * _arg6 = (char *) "frame";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _argo3 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo4 = 0;
|
PyObject * _obj3 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -505,20 +496,18 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObj
|
|||||||
}
|
}
|
||||||
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
||||||
}
|
}
|
||||||
if (_argo3) {
|
if (_obj3)
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
|
_arg3 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj3, &_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj4)
|
||||||
if (_argo4) {
|
{
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
_arg4 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
|
if (! wxSize_helper(_obj4, &_arg4))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxMDIChildFrame *)new_wxMDIChildFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
_result = (wxMDIChildFrame *)new_wxMDIChildFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
||||||
@@ -702,6 +691,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -771,6 +761,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
@@ -787,6 +778,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -845,6 +837,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -908,6 +901,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -918,6 +912,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_wxControl",0},
|
{ "_class_wxControl","_wxControl",0},
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -459,6 +459,9 @@ class wxAcceleratorEntryPtr :
|
|||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
|
def __del__(self,miscc=miscc):
|
||||||
|
if self.thisown == 1 :
|
||||||
|
miscc.delete_wxAcceleratorEntry(self)
|
||||||
def Set(self, *_args, **_kwargs):
|
def Set(self, *_args, **_kwargs):
|
||||||
val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs)
|
val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -485,6 +488,9 @@ class wxAcceleratorTablePtr :
|
|||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
|
def __del__(self,miscc=miscc):
|
||||||
|
if self.thisown == 1 :
|
||||||
|
miscc.delete_wxAcceleratorTable(self)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxAcceleratorTable instance at %s>" % (self.this,)
|
return "<C wxAcceleratorTable instance at %s>" % (self.this,)
|
||||||
class wxAcceleratorTable(wxAcceleratorTablePtr):
|
class wxAcceleratorTable(wxAcceleratorTablePtr):
|
||||||
|
@@ -104,17 +104,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
void wxToolTip_Enable(bool flag) {
|
void wxToolTip_Enable(bool flag) {
|
||||||
@@ -462,12 +451,14 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
{ "_wxPoint","_class_wxPoint",0},
|
{ "_wxPoint","_class_wxPoint",0},
|
||||||
{ "_wxBitmap","_class_wxBitmap",0},
|
{ "_wxBitmap","_class_wxBitmap",0},
|
||||||
{ "_wxPyTimer","_class_wxPyTimer",0},
|
{ "_wxPyTimer","_class_wxPyTimer",0},
|
||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
{ "_EBool","_int",0},
|
{ "_EBool","_int",0},
|
||||||
@@ -496,6 +487,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_unsigned_short","_short",0},
|
{ "_unsigned_short","_short",0},
|
||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
{ "_class_wxPoint","_wxPoint",0},
|
{ "_class_wxPoint","_wxPoint",0},
|
||||||
{ "_wxRealPoint","_class_wxRealPoint",0},
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
||||||
@@ -539,6 +531,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
||||||
{ "_class_wxPaintDC","_wxPaintDC",0},
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_class_wxIcon","_wxIcon",0},
|
{ "_class_wxIcon","_wxIcon",0},
|
||||||
{ "_class_wxColour","_wxColour",0},
|
{ "_class_wxColour","_wxColour",0},
|
||||||
|
@@ -104,17 +104,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
class wxPyPrintout : public wxPrintout {
|
class wxPyPrintout : public wxPrintout {
|
||||||
@@ -714,11 +703,12 @@ static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args,
|
|||||||
wxPrintData * _arg0;
|
wxPrintData * _arg0;
|
||||||
wxSize * _arg1;
|
wxSize * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","sz", NULL };
|
char *_kwnames[] = { "self","sz", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPrintData_SetPaperSize",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -727,13 +717,11 @@ static PyObject *_wrap_wxPrintData_SetPaperSize(PyObject *self, PyObject *args,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPrintData_SetPaperSize. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPrintData_SetPaperSize(_arg0,*_arg1);
|
wxPrintData_SetPaperSize(_arg0,*_arg1);
|
||||||
@@ -1437,11 +1425,12 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, Py
|
|||||||
wxPageSetupDialogData * _arg0;
|
wxPageSetupDialogData * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","pt", NULL };
|
char *_kwnames[] = { "self","pt", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginTopLeft",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1450,13 +1439,11 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMarginTopLeft(PyObject *self, Py
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetMarginTopLeft. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
|
wxPageSetupDialogData_SetMarginTopLeft(_arg0,*_arg1);
|
||||||
@@ -1473,11 +1460,12 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self
|
|||||||
wxPageSetupDialogData * _arg0;
|
wxPageSetupDialogData * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","pt", NULL };
|
char *_kwnames[] = { "self","pt", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMarginBottomRight",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1486,13 +1474,11 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMarginBottomRight(PyObject *self
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetMarginBottomRight. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
|
wxPageSetupDialogData_SetMarginBottomRight(_arg0,*_arg1);
|
||||||
@@ -1509,11 +1495,12 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self,
|
|||||||
wxPageSetupDialogData * _arg0;
|
wxPageSetupDialogData * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","pt", NULL };
|
char *_kwnames[] = { "self","pt", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginTopLeft",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1522,13 +1509,11 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginTopLeft(PyObject *self,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginTopLeft. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1);
|
wxPageSetupDialogData_SetMinMarginTopLeft(_arg0,*_arg1);
|
||||||
@@ -1545,11 +1530,12 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *s
|
|||||||
wxPageSetupDialogData * _arg0;
|
wxPageSetupDialogData * _arg0;
|
||||||
wxPoint * _arg1;
|
wxPoint * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxPoint temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","pt", NULL };
|
char *_kwnames[] = { "self","pt", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetMinMarginBottomRight",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1558,13 +1544,11 @@ static PyObject *_wrap_wxPageSetupDialogData_SetMinMarginBottomRight(PyObject *s
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetMinMarginBottomRight. Expected _wxPoint_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1);
|
wxPageSetupDialogData_SetMinMarginBottomRight(_arg0,*_arg1);
|
||||||
@@ -1617,11 +1601,12 @@ static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObje
|
|||||||
wxPageSetupDialogData * _arg0;
|
wxPageSetupDialogData * _arg0;
|
||||||
wxSize * _arg1;
|
wxSize * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","size", NULL };
|
char *_kwnames[] = { "self","size", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPageSetupDialogData_SetPaperSize",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1630,13 +1615,11 @@ static PyObject *_wrap_wxPageSetupDialogData_SetPaperSize(PyObject *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPageSetupDialogData_SetPaperSize. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
|
wxPageSetupDialogData_SetPaperSize(_arg0,*_arg1);
|
||||||
@@ -4149,13 +4132,15 @@ static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObje
|
|||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
PyObject * _argo1 = 0;
|
||||||
PyObject * _obj2 = 0;
|
PyObject * _obj2 = 0;
|
||||||
PyObject * _argo3 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo4 = 0;
|
PyObject * _obj3 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
|
char *_kwnames[] = { "preview","parent","title","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOls:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOls:new_wxPreviewFrame",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -4178,20 +4163,18 @@ static PyObject *_wrap_new_wxPreviewFrame(PyObject *self, PyObject *args, PyObje
|
|||||||
}
|
}
|
||||||
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
||||||
}
|
}
|
||||||
if (_argo3) {
|
if (_obj3)
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
|
_arg3 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPreviewFrame. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj3, &_arg3))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj4)
|
||||||
if (_argo4) {
|
{
|
||||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
_arg4 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
|
if (! wxSize_helper(_obj4, &_arg4))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxPreviewFrame. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
_result = (wxPreviewFrame *)new_wxPreviewFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
|
||||||
@@ -4377,6 +4360,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -4466,6 +4450,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
@@ -4487,6 +4472,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
@@ -4552,6 +4538,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -4620,6 +4607,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
@@ -4630,6 +4618,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_wxControl",0},
|
{ "_class_wxControl","_wxControl",0},
|
||||||
|
1692
utils/wxPython/src/gtk/sizers.cpp
Normal file
1692
utils/wxPython/src/gtk/sizers.cpp
Normal file
File diff suppressed because it is too large
Load Diff
229
utils/wxPython/src/gtk/sizers.py
Normal file
229
utils/wxPython/src/gtk/sizers.py
Normal file
@@ -0,0 +1,229 @@
|
|||||||
|
# This file was created automatically by SWIG.
|
||||||
|
import sizersc
|
||||||
|
|
||||||
|
from misc import *
|
||||||
|
|
||||||
|
from windows import *
|
||||||
|
|
||||||
|
from gdi import *
|
||||||
|
|
||||||
|
from controls import *
|
||||||
|
|
||||||
|
from events import *
|
||||||
|
import wx
|
||||||
|
import string
|
||||||
|
class wxSizerItemPtr :
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def GetSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetSize,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def CalcMin(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_CalcMin,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def SetDimension(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetDimension,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def IsWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_IsWindow,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def IsSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_IsSizer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def IsSpacer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_IsSpacer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetWindow,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxWindowPtr(val)
|
||||||
|
return val
|
||||||
|
def GetSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetSizer,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizerPtr(val)
|
||||||
|
return val
|
||||||
|
def GetOption(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetOption,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetFlag(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetFlag,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetBorder(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetBorder,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetUserData(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetUserData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxSizerItem instance at %s>" % (self.this,)
|
||||||
|
class wxSizerItem(wxSizerItemPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxSizerPtr :
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def Destroy(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_Destroy,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def AddWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_AddWindow,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def AddSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_AddSizer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def AddSpacer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_AddSpacer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def PrependWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_PrependWindow,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def PrependSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_PrependSizer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def PrependSpacer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_PrependSpacer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def RemoveWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_RemoveWindow,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def RemoveSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_RemoveSizer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def RemovePos(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_RemovePos,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetDimension(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_SetDimension,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_GetSize,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetPosition(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_GetPosition,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetMinSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_GetMinSize,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def Layout(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_Layout,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def Fit(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_Fit,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetSizeHints(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_SetSizeHints,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetChildren(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizer_GetChildren,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxSizer instance at %s>" % (self.this,)
|
||||||
|
|
||||||
|
def Add(self, *args):
|
||||||
|
if type(args[0]) == type(1):
|
||||||
|
apply(self.AddSpacer, args)
|
||||||
|
elif string.find(args[0].this, 'Sizer') != -1:
|
||||||
|
apply(self.AddSizer, args)
|
||||||
|
else:
|
||||||
|
apply(self.AddWindow, args)
|
||||||
|
|
||||||
|
def Prepend(self, *args):
|
||||||
|
if type(args[0]) == type(1):
|
||||||
|
apply(self.PrependSpacer, args)
|
||||||
|
elif string.find(args[0].this, 'Sizer') != -1:
|
||||||
|
apply(self.PrependSizer, args)
|
||||||
|
else:
|
||||||
|
apply(self.PrependWindow, args)
|
||||||
|
|
||||||
|
def Remove(self, *args):
|
||||||
|
if type(args[0]) == type(1):
|
||||||
|
apply(self.RemovePos, args)
|
||||||
|
elif string.find(args[0].this, 'Sizer') != -1:
|
||||||
|
apply(self.RemoveSizer, args)
|
||||||
|
else:
|
||||||
|
apply(self.RemoveWindow, args)
|
||||||
|
|
||||||
|
def AddMany(self, widgets):
|
||||||
|
for childinfo in widgets:
|
||||||
|
if type(childinfo) != type(()):
|
||||||
|
childinfo = (childinfo, )
|
||||||
|
apply(self.Add, childinfo)
|
||||||
|
|
||||||
|
class wxSizer(wxSizerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxPySizerPtr(wxSizerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def _setSelf(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxPySizer__setSelf,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxPySizer instance at %s>" % (self.this,)
|
||||||
|
class wxPySizer(wxPySizerPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(sizersc.new_wxPySizer,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
self._setSelf(self)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxBoxSizerPtr(wxSizerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def GetOrientation(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxBoxSizer_GetOrientation,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxBoxSizer instance at %s>" % (self.this,)
|
||||||
|
class wxBoxSizer(wxBoxSizerPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(sizersc.new_wxBoxSizer,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxStaticBoxSizerPtr(wxBoxSizerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def GetStaticBox(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxStaticBoxSizer_GetStaticBox,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxStaticBoxPtr(val)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxStaticBoxSizer instance at %s>" % (self.this,)
|
||||||
|
class wxStaticBoxSizer(wxStaticBoxSizerPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(sizersc.new_wxStaticBoxSizer,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#-------------- FUNCTION WRAPPERS ------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#-------------- VARIABLE WRAPPERS ------------------
|
||||||
|
|
@@ -104,17 +104,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -146,13 +135,15 @@ static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject
|
|||||||
long _arg4 = (long ) wxST_SIZEGRIP;
|
long _arg4 = (long ) wxST_SIZEGRIP;
|
||||||
char * _arg5 = (char *) "statusBar";
|
char * _arg5 = (char *) "statusBar";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -161,20 +152,18 @@ static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -1362,13 +1351,15 @@ static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *k
|
|||||||
long _arg4 = (long ) wxTB_HORIZONTAL|wxNO_BORDER;
|
long _arg4 = (long ) wxTB_HORIZONTAL|wxNO_BORDER;
|
||||||
char * _arg5 = (char *) "toolBar";
|
char * _arg5 = (char *) "toolBar";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1377,20 +1368,18 @@ static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *k
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -1919,11 +1908,12 @@ static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyOb
|
|||||||
wxToolBar * _arg0;
|
wxToolBar * _arg0;
|
||||||
wxSize * _arg1;
|
wxSize * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","size", NULL };
|
char *_kwnames[] = { "self","size", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1932,13 +1922,11 @@ static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyOb
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxToolBar_SetMargins(_arg0,*_arg1);
|
wxToolBar_SetMargins(_arg0,*_arg1);
|
||||||
@@ -2105,6 +2093,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -2171,6 +2160,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxRect","_class_wxRect",0},
|
{ "_wxRect","_class_wxRect",0},
|
||||||
@@ -2187,6 +2177,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -2239,6 +2230,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -2299,6 +2291,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -2308,6 +2301,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
|
{ "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,26 @@ class wxEvtHandlerPtr :
|
|||||||
def ProcessEvent(self, *_args, **_kwargs):
|
def ProcessEvent(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxEvtHandler_ProcessEvent,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxEvtHandler_ProcessEvent,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def GetEvtHandlerEnabled(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_GetEvtHandlerEnabled,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetEvtHandlerEnabled(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_SetEvtHandlerEnabled,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetNextHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_GetNextHandler,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxEvtHandlerPtr(val)
|
||||||
|
return val
|
||||||
|
def GetPreviousHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxEvtHandlerPtr(val)
|
||||||
|
return val
|
||||||
|
def SetNextHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_SetNextHandler,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetPreviousHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def Connect(self, *_args, **_kwargs):
|
def Connect(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -37,6 +57,52 @@ class wxEvtHandler(wxEvtHandlerPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxValidatorPtr(wxEvtHandlerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def Clone(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxValidator_Clone,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxValidatorPtr(val)
|
||||||
|
return val
|
||||||
|
def GetWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxValidator_GetWindow,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxWindowPtr(val)
|
||||||
|
return val
|
||||||
|
def SetWindow(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxValidator_SetWindow,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxValidator instance at %s>" % (self.this,)
|
||||||
|
class wxValidator(wxValidatorPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(windowsc.new_wxValidator,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxPyValidatorPtr(wxValidatorPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def Destroy(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxPyValidator_Destroy,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def _setSelf(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxPyValidator__setSelf,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxPyValidator instance at %s>" % (self.this,)
|
||||||
|
class wxPyValidator(wxPyValidatorPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
self._setSelf(self, 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxWindowPtr(wxEvtHandlerPtr):
|
class wxWindowPtr(wxEvtHandlerPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
@@ -268,9 +334,15 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
def SetConstraints(self, *_args, **_kwargs):
|
def SetConstraints(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_SetConstraints,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_SetConstraints,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def UnsetConstraints(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_UnsetConstraints,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def SetFocus(self, *_args, **_kwargs):
|
def SetFocus(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_SetFocus,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_SetFocus,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def AcceptsFocus(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_AcceptsFocus,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def SetFont(self, *_args, **_kwargs):
|
def SetFont(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_SetFont,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_SetFont,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -365,6 +437,16 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
val = apply(windowsc.wxWindow_GetToolTip,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_GetToolTip,(self,) + _args, _kwargs)
|
||||||
if val: val = wxToolTipPtr(val)
|
if val: val = wxToolTipPtr(val)
|
||||||
return val
|
return val
|
||||||
|
def SetSizer(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_SetSizer,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetValidator(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_GetValidator,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxValidatorPtr(val)
|
||||||
|
return val
|
||||||
|
def SetValidator(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_SetValidator,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxWindow instance at %s>" % (self.this,)
|
return "<C wxWindow instance at %s>" % (self.this,)
|
||||||
class wxWindow(wxWindowPtr):
|
class wxWindow(wxWindowPtr):
|
||||||
@@ -690,6 +772,10 @@ class wxMenuItem(wxMenuItemPtr):
|
|||||||
|
|
||||||
#-------------- FUNCTION WRAPPERS ------------------
|
#-------------- FUNCTION WRAPPERS ------------------
|
||||||
|
|
||||||
|
wxValidator_IsSilent = windowsc.wxValidator_IsSilent
|
||||||
|
|
||||||
|
wxValidator_SetBellOnError = windowsc.wxValidator_SetBellOnError
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------- VARIABLE WRAPPERS ------------------
|
#-------------- VARIABLE WRAPPERS ------------------
|
||||||
|
@@ -108,17 +108,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -653,13 +642,15 @@ static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwar
|
|||||||
long _arg4 = (long ) 0;
|
long _arg4 = (long ) 0;
|
||||||
char * _arg5 = (char *) "grid";
|
char * _arg5 = (char *) "grid";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -668,20 +659,18 @@ static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwar
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -3616,13 +3605,15 @@ static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *
|
|||||||
long _arg4 = (long ) 0;
|
long _arg4 = (long ) 0;
|
||||||
char * _arg5 = (char *) "notebook";
|
char * _arg5 = (char *) "notebook";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -3631,20 +3622,18 @@ static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -4385,13 +4374,15 @@ static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyOb
|
|||||||
long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
|
long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
|
||||||
char * _arg5 = (char *) "splitterWindow";
|
char * _arg5 = (char *) "splitterWindow";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -4400,20 +4391,18 @@ static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyOb
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -5133,6 +5122,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -5207,6 +5197,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
|
{ "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
|
{ "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
|
{ "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
|
||||||
@@ -5236,6 +5227,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
|
{ "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
|
||||||
{ "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
|
{ "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -5294,6 +5286,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
{ "_wxClientDC","_class_wxClientDC",0},
|
{ "_wxClientDC","_class_wxClientDC",0},
|
||||||
@@ -5354,6 +5347,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -5363,6 +5357,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
|
{ "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
|
||||||
|
@@ -104,17 +104,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -196,11 +185,12 @@ static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, P
|
|||||||
wxSashEvent * _arg0;
|
wxSashEvent * _arg0;
|
||||||
wxRect * _arg1;
|
wxRect * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxRect temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","rect", NULL };
|
char *_kwnames[] = { "self","rect", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -209,13 +199,11 @@ static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, P
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
|
if (! wxRect_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashEvent_SetDragRect. Expected _wxRect_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxSashEvent_SetDragRect(_arg0,*_arg1);
|
wxSashEvent_SetDragRect(_arg0,*_arg1);
|
||||||
@@ -337,13 +325,15 @@ static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject
|
|||||||
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
||||||
char * _arg5 = (char *) "sashWindow";
|
char * _arg5 = (char *) "sashWindow";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -352,20 +342,18 @@ static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSashWindow. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSashWindow. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -981,11 +969,12 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *
|
|||||||
wxQueryLayoutInfoEvent * _arg0;
|
wxQueryLayoutInfoEvent * _arg0;
|
||||||
wxSize * _arg1;
|
wxSize * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","size", NULL };
|
char *_kwnames[] = { "self","size", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -994,13 +983,11 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxQueryLayoutInfoEvent_SetSize. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
|
wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
|
||||||
@@ -1219,11 +1206,12 @@ static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *
|
|||||||
wxCalculateLayoutEvent * _arg0;
|
wxCalculateLayoutEvent * _arg0;
|
||||||
wxRect * _arg1;
|
wxRect * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxRect temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","rect", NULL };
|
char *_kwnames[] = { "self","rect", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1232,13 +1220,11 @@ static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
|
if (! wxRect_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCalculateLayoutEvent_SetRect. Expected _wxRect_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
|
wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
|
||||||
@@ -1313,13 +1299,15 @@ static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, Py
|
|||||||
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
|
||||||
char * _arg5 = (char *) "layoutWindow";
|
char * _arg5 = (char *) "layoutWindow";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxPoint temp;
|
||||||
PyObject * _argo3 = 0;
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1328,20 +1316,18 @@ static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, Py
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSashLayoutWindow. Expected _wxPoint_p.");
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
if (_obj3)
|
||||||
if (_argo3) {
|
{
|
||||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
_arg3 = &temp0;
|
||||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSashLayoutWindow. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
_result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||||
@@ -1445,11 +1431,12 @@ static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObjec
|
|||||||
wxSashLayoutWindow * _arg0;
|
wxSashLayoutWindow * _arg0;
|
||||||
wxSize * _arg1;
|
wxSize * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
char *_kwnames[] = { "self","size", NULL };
|
char *_kwnames[] = { "self","size", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_argo1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1458,13 +1445,11 @@ static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObjec
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo1) {
|
{
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
_arg1 = &temp;
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSize_p.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
|
wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
|
||||||
@@ -1564,11 +1549,12 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject
|
|||||||
wxRect * _arg2 = (wxRect *) NULL;
|
wxRect * _arg2 = (wxRect *) NULL;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
PyObject * _argo1 = 0;
|
||||||
PyObject * _argo2 = 0;
|
wxRect temp;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
char *_kwnames[] = { "self","frame","rect", NULL };
|
char *_kwnames[] = { "self","frame","rect", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_argo2))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -1584,13 +1570,12 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_argo2) {
|
if (_obj2)
|
||||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
{
|
||||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxRect_p")) {
|
_arg2 = &temp;
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxRect_p.");
|
if (! wxRect_helper(_obj2, &_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
|
_result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
|
||||||
@@ -1760,6 +1745,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
{ "_wxPrintQuality","_unsigned_int",0},
|
{ "_wxPrintQuality","_unsigned_int",0},
|
||||||
@@ -1840,6 +1826,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
{ "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
||||||
{ "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
{ "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
|
||||||
{ "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
{ "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
|
||||||
@@ -1867,6 +1854,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
@@ -1927,6 +1915,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_wxSashEvent","_class_wxSashEvent",0},
|
{ "_wxSashEvent","_class_wxSashEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
@@ -1992,6 +1981,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
@@ -2002,6 +1992,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
||||||
{ "_class_wxControl","_wxControl",0},
|
{ "_class_wxControl","_wxControl",0},
|
||||||
|
@@ -102,17 +102,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
|
||||||
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
|
|
||||||
@@ -646,6 +635,7 @@ extern "C" SWIGEXPORT(void) initframesc();
|
|||||||
extern "C" SWIGEXPORT(void) initwindows3c();
|
extern "C" SWIGEXPORT(void) initwindows3c();
|
||||||
extern "C" SWIGEXPORT(void) initimagec();
|
extern "C" SWIGEXPORT(void) initimagec();
|
||||||
extern "C" SWIGEXPORT(void) initprintfwc();
|
extern "C" SWIGEXPORT(void) initprintfwc();
|
||||||
|
extern "C" SWIGEXPORT(void) initsizersc();
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -1626,6 +1616,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
||||||
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
||||||
{ "_wxImage","_class_wxImage",0},
|
{ "_wxImage","_class_wxImage",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
@@ -1640,11 +1631,13 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxRegionIterator","_wxRegionIterator",0},
|
{ "_class_wxRegionIterator","_wxRegionIterator",0},
|
||||||
{ "_class_wxMenuBar","_wxMenuBar",0},
|
{ "_class_wxMenuBar","_wxMenuBar",0},
|
||||||
{ "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
|
{ "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
|
||||||
|
{ "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
|
||||||
{ "_class_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler},
|
{ "_class_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler},
|
||||||
{ "_class_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler},
|
{ "_class_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler},
|
||||||
{ "_class_wxEvtHandler","_wxEvtHandler",0},
|
{ "_class_wxEvtHandler","_wxEvtHandler",0},
|
||||||
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
||||||
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
||||||
|
{ "_wxPySizer","_class_wxPySizer",0},
|
||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
@@ -1672,11 +1665,13 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
||||||
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
||||||
{ "_wxSashWindow","_class_wxSashWindow",0},
|
{ "_wxSashWindow","_class_wxSashWindow",0},
|
||||||
|
{ "_class_wxSizer","_wxSizer",0},
|
||||||
{ "_class_wxPrintDialogData","_wxPrintDialogData",0},
|
{ "_class_wxPrintDialogData","_wxPrintDialogData",0},
|
||||||
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
||||||
{ "_class_wxGauge","_wxGauge",0},
|
{ "_class_wxGauge","_wxGauge",0},
|
||||||
{ "_class_wxSashEvent","_wxSashEvent",0},
|
{ "_class_wxSashEvent","_wxSashEvent",0},
|
||||||
{ "_wxDC","_class_wxDC",0},
|
{ "_wxDC","_class_wxDC",0},
|
||||||
|
{ "_wxSizerItem","_class_wxSizerItem",0},
|
||||||
{ "_wxListEvent","_class_wxListEvent",0},
|
{ "_wxListEvent","_class_wxListEvent",0},
|
||||||
{ "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
|
{ "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
|
||||||
{ "_wxProgressDialog","_class_wxProgressDialog",0},
|
{ "_wxProgressDialog","_class_wxProgressDialog",0},
|
||||||
@@ -1695,6 +1690,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
|
{ "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
|
||||||
{ "_class_wxStatusBar","_wxStatusBar",0},
|
{ "_class_wxStatusBar","_wxStatusBar",0},
|
||||||
{ "_class_wxGIFHandler","_wxGIFHandler",0},
|
{ "_class_wxGIFHandler","_wxGIFHandler",0},
|
||||||
|
{ "_class_wxPySizer","_wxPySizer",0},
|
||||||
{ "_class_wxPostScriptDC","_wxPostScriptDC",0},
|
{ "_class_wxPostScriptDC","_wxPostScriptDC",0},
|
||||||
{ "_wxPanel","_class_wxPanel",0},
|
{ "_wxPanel","_class_wxPanel",0},
|
||||||
{ "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
|
{ "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
|
||||||
@@ -1726,6 +1722,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_uint","_unsigned_int",0},
|
{ "_uint","_unsigned_int",0},
|
||||||
{ "_uint","_int",0},
|
{ "_uint","_int",0},
|
||||||
{ "_uint","_wxWindowID",0},
|
{ "_uint","_wxWindowID",0},
|
||||||
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
||||||
{ "_class_wxEvent","_wxEvent",0},
|
{ "_class_wxEvent","_wxEvent",0},
|
||||||
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
||||||
{ "_wxSplitterEvent","_class_wxSplitterEvent",0},
|
{ "_wxSplitterEvent","_class_wxSplitterEvent",0},
|
||||||
@@ -1739,6 +1736,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxButton","_wxButton",0},
|
{ "_class_wxButton","_wxButton",0},
|
||||||
{ "_wxRadioBox","_class_wxRadioBox",0},
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
||||||
{ "_class_wxFontData","_wxFontData",0},
|
{ "_class_wxFontData","_wxFontData",0},
|
||||||
|
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
||||||
{ "_class___wxPyCleanup","___wxPyCleanup",0},
|
{ "_class___wxPyCleanup","___wxPyCleanup",0},
|
||||||
{ "_wxBitmap","_class_wxBitmap",0},
|
{ "_wxBitmap","_class_wxBitmap",0},
|
||||||
{ "_wxPrintDialog","_class_wxPrintDialog",0},
|
{ "_wxPrintDialog","_class_wxPrintDialog",0},
|
||||||
@@ -1752,6 +1750,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
||||||
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
@@ -1818,6 +1817,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
||||||
{ "_class_wxFont","_wxFont",0},
|
{ "_class_wxFont","_wxFont",0},
|
||||||
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
||||||
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
||||||
{ "_wxSashEvent","_class_wxSashEvent",0},
|
{ "_wxSashEvent","_class_wxSashEvent",0},
|
||||||
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
||||||
@@ -1829,6 +1829,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxRealPoint","_class_wxRealPoint",0},
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
||||||
{ "_class_wxRadioBox","_wxRadioBox",0},
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
||||||
{ "_wxGridCell","_class_wxGridCell",0},
|
{ "_wxGridCell","_class_wxGridCell",0},
|
||||||
|
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
||||||
{ "_signed_short","_WXTYPE",0},
|
{ "_signed_short","_WXTYPE",0},
|
||||||
{ "_signed_short","_short",0},
|
{ "_signed_short","_short",0},
|
||||||
{ "_wxMemoryDC","_class_wxMemoryDC",0},
|
{ "_wxMemoryDC","_class_wxMemoryDC",0},
|
||||||
@@ -1883,6 +1884,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowID","_signed_int",0},
|
{ "_wxWindowID","_signed_int",0},
|
||||||
{ "_wxWindowID","_unsigned_int",0},
|
{ "_wxWindowID","_unsigned_int",0},
|
||||||
{ "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
|
{ "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
|
||||||
|
{ "_class_wxSizerItem","_wxSizerItem",0},
|
||||||
{ "_int","_wxPrintQuality",0},
|
{ "_int","_wxPrintQuality",0},
|
||||||
{ "_int","_size_t",0},
|
{ "_int","_size_t",0},
|
||||||
{ "_int","_EBool",0},
|
{ "_int","_EBool",0},
|
||||||
@@ -1891,6 +1893,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_int","_unsigned_int",0},
|
{ "_int","_unsigned_int",0},
|
||||||
{ "_int","_signed_int",0},
|
{ "_int","_signed_int",0},
|
||||||
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
||||||
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
||||||
{ "_class_wxListEvent","_wxListEvent",0},
|
{ "_class_wxListEvent","_wxListEvent",0},
|
||||||
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
@@ -1900,11 +1903,13 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
||||||
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
||||||
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
||||||
|
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
||||||
{ "_class_wxPaintDC","_wxPaintDC",0},
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
||||||
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
||||||
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
{ "_class_wxTreeItemId","_wxTreeItemId",0},
|
{ "_class_wxTreeItemId","_wxTreeItemId",0},
|
||||||
{ "_wxTreeCtrl","_class_wxTreeCtrl",0},
|
{ "_wxTreeCtrl","_class_wxTreeCtrl",0},
|
||||||
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
||||||
@@ -1924,6 +1929,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
||||||
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
||||||
|
{ "_wxSizer","_class_wxSizer",0},
|
||||||
{ "_class_wxShowEvent","_wxShowEvent",0},
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
||||||
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
||||||
{ "_wxGauge","_class_wxGauge",0},
|
{ "_wxGauge","_class_wxGauge",0},
|
||||||
@@ -2034,6 +2040,8 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxALIGN_CENTER", PyInt_FromLong((long) wxALIGN_CENTER));
|
PyDict_SetItemString(d,"wxALIGN_CENTER", PyInt_FromLong((long) wxALIGN_CENTER));
|
||||||
PyDict_SetItemString(d,"wxALIGN_CENTRE", PyInt_FromLong((long) wxALIGN_CENTRE));
|
PyDict_SetItemString(d,"wxALIGN_CENTRE", PyInt_FromLong((long) wxALIGN_CENTRE));
|
||||||
PyDict_SetItemString(d,"wxALIGN_RIGHT", PyInt_FromLong((long) wxALIGN_RIGHT));
|
PyDict_SetItemString(d,"wxALIGN_RIGHT", PyInt_FromLong((long) wxALIGN_RIGHT));
|
||||||
|
PyDict_SetItemString(d,"wxALIGN_BOTTOM", PyInt_FromLong((long) wxALIGN_BOTTOM));
|
||||||
|
PyDict_SetItemString(d,"wxALIGN_TOP", PyInt_FromLong((long) wxALIGN_TOP));
|
||||||
PyDict_SetItemString(d,"wxLB_NEEDED_SB", PyInt_FromLong((long) wxLB_NEEDED_SB));
|
PyDict_SetItemString(d,"wxLB_NEEDED_SB", PyInt_FromLong((long) wxLB_NEEDED_SB));
|
||||||
PyDict_SetItemString(d,"wxLB_ALWAYS_SB", PyInt_FromLong((long) wxLB_ALWAYS_SB));
|
PyDict_SetItemString(d,"wxLB_ALWAYS_SB", PyInt_FromLong((long) wxLB_ALWAYS_SB));
|
||||||
PyDict_SetItemString(d,"wxLB_SORT", PyInt_FromLong((long) wxLB_SORT));
|
PyDict_SetItemString(d,"wxLB_SORT", PyInt_FromLong((long) wxLB_SORT));
|
||||||
@@ -2608,6 +2616,8 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
|
||||||
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
|
||||||
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGED));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGING));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGING));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
|
||||||
@@ -2616,7 +2626,8 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
|
||||||
PyDict_SetItemString(d,"__version__", PyString_FromString("2.1b4"));
|
PyDict_SetItemString(d,"wxEVT_NAVIGATION_KEY", PyInt_FromLong((long) wxEVT_NAVIGATION_KEY));
|
||||||
|
PyDict_SetItemString(d,"__version__", PyString_FromString("0.0.0"));
|
||||||
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
||||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
|
SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
|
||||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
|
SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
|
||||||
@@ -2643,6 +2654,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
initwindows3c();
|
initwindows3c();
|
||||||
initimagec();
|
initimagec();
|
||||||
initprintfwc();
|
initprintfwc();
|
||||||
|
initsizersc();
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; _swig_mapping[i].n1; i++)
|
for (i = 0; _swig_mapping[i].n1; i++)
|
||||||
|
@@ -30,6 +30,8 @@ from windows3 import *
|
|||||||
from image import *
|
from image import *
|
||||||
|
|
||||||
from printfw import *
|
from printfw import *
|
||||||
|
|
||||||
|
from sizers import *
|
||||||
class wxPyAppPtr(wxEvtHandlerPtr):
|
class wxPyAppPtr(wxEvtHandlerPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
@@ -210,6 +212,8 @@ wxALIGN_LEFT = wxc.wxALIGN_LEFT
|
|||||||
wxALIGN_CENTER = wxc.wxALIGN_CENTER
|
wxALIGN_CENTER = wxc.wxALIGN_CENTER
|
||||||
wxALIGN_CENTRE = wxc.wxALIGN_CENTRE
|
wxALIGN_CENTRE = wxc.wxALIGN_CENTRE
|
||||||
wxALIGN_RIGHT = wxc.wxALIGN_RIGHT
|
wxALIGN_RIGHT = wxc.wxALIGN_RIGHT
|
||||||
|
wxALIGN_BOTTOM = wxc.wxALIGN_BOTTOM
|
||||||
|
wxALIGN_TOP = wxc.wxALIGN_TOP
|
||||||
wxLB_NEEDED_SB = wxc.wxLB_NEEDED_SB
|
wxLB_NEEDED_SB = wxc.wxLB_NEEDED_SB
|
||||||
wxLB_ALWAYS_SB = wxc.wxLB_ALWAYS_SB
|
wxLB_ALWAYS_SB = wxc.wxLB_ALWAYS_SB
|
||||||
wxLB_SORT = wxc.wxLB_SORT
|
wxLB_SORT = wxc.wxLB_SORT
|
||||||
@@ -784,6 +788,8 @@ wxEVT_COMMAND_LIST_KEY_DOWN = wxc.wxEVT_COMMAND_LIST_KEY_DOWN
|
|||||||
wxEVT_COMMAND_LIST_INSERT_ITEM = wxc.wxEVT_COMMAND_LIST_INSERT_ITEM
|
wxEVT_COMMAND_LIST_INSERT_ITEM = wxc.wxEVT_COMMAND_LIST_INSERT_ITEM
|
||||||
wxEVT_COMMAND_LIST_COL_CLICK = wxc.wxEVT_COMMAND_LIST_COL_CLICK
|
wxEVT_COMMAND_LIST_COL_CLICK = wxc.wxEVT_COMMAND_LIST_COL_CLICK
|
||||||
wxEVT_COMMAND_LIST_ITEM_ACTIVATED = wxc.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
|
wxEVT_COMMAND_LIST_ITEM_ACTIVATED = wxc.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
|
||||||
|
wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK = wxc.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
|
||||||
|
wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK = wxc.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
|
||||||
wxEVT_COMMAND_TAB_SEL_CHANGED = wxc.wxEVT_COMMAND_TAB_SEL_CHANGED
|
wxEVT_COMMAND_TAB_SEL_CHANGED = wxc.wxEVT_COMMAND_TAB_SEL_CHANGED
|
||||||
wxEVT_COMMAND_TAB_SEL_CHANGING = wxc.wxEVT_COMMAND_TAB_SEL_CHANGING
|
wxEVT_COMMAND_TAB_SEL_CHANGING = wxc.wxEVT_COMMAND_TAB_SEL_CHANGING
|
||||||
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = wxc.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
|
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = wxc.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
|
||||||
@@ -792,6 +798,7 @@ wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wxc.wxEVT_COMMAND_SPLITTER_SASH_POS_C
|
|||||||
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wxc.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
|
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wxc.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
|
||||||
wxEVT_COMMAND_SPLITTER_UNSPLIT = wxc.wxEVT_COMMAND_SPLITTER_UNSPLIT
|
wxEVT_COMMAND_SPLITTER_UNSPLIT = wxc.wxEVT_COMMAND_SPLITTER_UNSPLIT
|
||||||
wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wxc.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
|
wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wxc.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
|
||||||
|
wxEVT_NAVIGATION_KEY = wxc.wxEVT_NAVIGATION_KEY
|
||||||
__version__ = wxc.__version__
|
__version__ = wxc.__version__
|
||||||
cvar = wxc.cvar
|
cvar = wxc.cvar
|
||||||
wxPyDefaultPosition = wxPointPtr(wxc.cvar.wxPyDefaultPosition)
|
wxPyDefaultPosition = wxPointPtr(wxc.cvar.wxPyDefaultPosition)
|
||||||
@@ -1403,6 +1410,14 @@ def EVT_LIST_INSERT_ITEM(win, id, func):
|
|||||||
def EVT_LIST_COL_CLICK(win, id, func):
|
def EVT_LIST_COL_CLICK(win, id, func):
|
||||||
win.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK, func)
|
win.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK, func)
|
||||||
|
|
||||||
|
def EVT_LIST_ITEM_RIGHT_CLICK(win, id, func):
|
||||||
|
win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, func)
|
||||||
|
|
||||||
|
def EVT_LIST_ITEM_MIDDLE_CLICK(win, id, func):
|
||||||
|
win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, func)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#wxSplitterWindow
|
#wxSplitterWindow
|
||||||
def EVT_SPLITTER_SASH_POS_CHANGING(win, id, func):
|
def EVT_SPLITTER_SASH_POS_CHANGING(win, id, func):
|
||||||
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, func)
|
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, func)
|
||||||
@@ -1449,14 +1464,6 @@ wxDefaultPosition = wxPyDefaultPosition
|
|||||||
wxDefaultSize = wxPyDefaultSize
|
wxDefaultSize = wxPyDefaultSize
|
||||||
|
|
||||||
|
|
||||||
# This is to cover up a bug in SWIG. We are redefining
|
|
||||||
# the shadow class that is generated for wxAcceleratorTable
|
|
||||||
# because SWIG incorrectly uses "arg0.this"
|
|
||||||
class wxAcceleratorTable(wxAcceleratorTablePtr):
|
|
||||||
def __init__(self,arg0) :
|
|
||||||
self.this = miscc.new_wxAcceleratorTable(arg0)
|
|
||||||
self.thisown = 1
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# This helper function will take a wxPython object and convert it to
|
# This helper function will take a wxPython object and convert it to
|
||||||
# another wxPython object type. This will not be able to create objects
|
# another wxPython object type. This will not be able to create objects
|
||||||
@@ -1491,31 +1498,36 @@ def wxPyTypeCast(obj, typeStr):
|
|||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
## class wxPyStdOutWindow:
|
class wxPyOnDemandOutputWindow:
|
||||||
## def __init__(self, title = "wxPython: stdout/stderr"):
|
def __init__(self, title = "wxPython: stdout/stderr"):
|
||||||
## self.frame = None
|
self.frame = None
|
||||||
## self.title = title
|
self.title = title
|
||||||
|
|
||||||
## def write(self, str):
|
def SetParent(self, parent):
|
||||||
## if not self.frame:
|
self.parent = parent
|
||||||
## self.frame = wxFrame(NULL, -1, self.title)
|
|
||||||
## self.text = wxTextCtrl(self.frame, -1, "", wxPoint(0,0), wxDefaultSize,
|
|
||||||
## wxTE_MULTILINE|wxTE_READONLY)
|
|
||||||
## self.frame.SetSize(wxSize(450, 300))
|
|
||||||
## self.frame.Show(true)
|
|
||||||
## EVT_CLOSE(self.frame, self.OnCloseWindow)
|
|
||||||
## self.text.AppendText(str)
|
|
||||||
|
|
||||||
## def OnCloseWindow(self, event):
|
def OnCloseWindow(self, event):
|
||||||
## wxBell()
|
if self.frame != None:
|
||||||
## self.frame.Destroy()
|
self.frame.Destroy()
|
||||||
## self.frame = None
|
self.frame = None
|
||||||
## self.text = None
|
self.text = None
|
||||||
|
|
||||||
|
# this provides the file-like behaviour
|
||||||
|
def write(self, str):
|
||||||
|
if not self.frame:
|
||||||
|
self.frame = wxFrame(self.parent, -1, self.title)
|
||||||
|
self.text = wxTextCtrl(self.frame, -1, "",
|
||||||
|
style = wxTE_MULTILINE|wxTE_READONLY)
|
||||||
|
self.frame.SetSize(wxSize(450, 300))
|
||||||
|
self.frame.Show(true)
|
||||||
|
EVT_CLOSE(self.frame, self.OnCloseWindow)
|
||||||
|
self.text.AppendText(str)
|
||||||
|
|
||||||
|
def close(self):
|
||||||
|
self.frame = None
|
||||||
|
self.text = None
|
||||||
|
|
||||||
|
|
||||||
## def close(self):
|
|
||||||
## if self.frame:
|
|
||||||
## self.frame.Close(true)
|
|
||||||
|
|
||||||
_defRedirect = (wxPlatform == '__WXMSW__')
|
_defRedirect = (wxPlatform == '__WXMSW__')
|
||||||
|
|
||||||
@@ -1525,6 +1537,7 @@ _defRedirect = (wxPlatform == '__WXMSW__')
|
|||||||
|
|
||||||
class wxApp(wxPyApp):
|
class wxApp(wxPyApp):
|
||||||
error = 'wxApp.error'
|
error = 'wxApp.error'
|
||||||
|
outputWindowClass = wxPyOnDemandOutputWindow
|
||||||
|
|
||||||
def __init__(self, redirect=_defRedirect, filename=None):
|
def __init__(self, redirect=_defRedirect, filename=None):
|
||||||
wxPyApp.__init__(self)
|
wxPyApp.__init__(self)
|
||||||
@@ -1532,7 +1545,6 @@ class wxApp(wxPyApp):
|
|||||||
self.saveStdio = (sys.stdout, sys.stderr)
|
self.saveStdio = (sys.stdout, sys.stderr)
|
||||||
if redirect:
|
if redirect:
|
||||||
self.RedirectStdio(filename)
|
self.RedirectStdio(filename)
|
||||||
|
|
||||||
# this initializes wxWindows and then calls our OnInit
|
# this initializes wxWindows and then calls our OnInit
|
||||||
_wxStart(self.OnInit)
|
_wxStart(self.OnInit)
|
||||||
|
|
||||||
@@ -1543,12 +1555,22 @@ class wxApp(wxPyApp):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def SetTopWindow(self, frame):
|
||||||
|
if self.stdioWin:
|
||||||
|
self.stdioWin.SetParent(frame)
|
||||||
|
sys.stdout = self.stdioWin #sys.stderr =
|
||||||
|
wxPyApp.SetTopWindow(self, frame)
|
||||||
|
|
||||||
|
def MainLoop(self):
|
||||||
|
wxPyApp.MainLoop(self)
|
||||||
|
self.RestoreStdio()
|
||||||
|
|
||||||
def RedirectStdio(self, filename):
|
def RedirectStdio(self, filename):
|
||||||
if filename:
|
if filename:
|
||||||
sys.stdout = sys.stderr = open(filename, 'a')
|
sys.stdout = sys.stderr = open(filename, 'a')
|
||||||
else:
|
else:
|
||||||
raise self.error, 'wxPyStdOutWindow not yet implemented.'
|
self.stdioWin = self.outputWindowClass() # wxPyOnDemandOutputWindow
|
||||||
#self.stdioWin = sys.stdout = sys.stderr = wxPyStdOutWindow()
|
|
||||||
|
|
||||||
def RestoreStdio(self):
|
def RestoreStdio(self):
|
||||||
sys.stdout, sys.stderr = self.saveStdio
|
sys.stdout, sys.stderr = self.saveStdio
|
||||||
@@ -1556,6 +1578,7 @@ class wxApp(wxPyApp):
|
|||||||
self.stdioWin.close()
|
self.stdioWin.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# DO NOT hold any other references to this object. This is how we know when
|
# DO NOT hold any other references to this object. This is how we know when
|
||||||
# to cleanup system resources that wxWin is holding...
|
# to cleanup system resources that wxWin is holding...
|
||||||
|
Reference in New Issue
Block a user