New toolbar wrappers
wxMask demos GenericButton now derives from wxControl Lots of small changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2719,6 +2719,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_class_wxColourData","_wxColourData",0},
|
{ "_class_wxColourData","_wxColourData",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
@@ -2829,7 +2830,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
|
||||||
{ "_wxColourDialog","_class_wxColourDialog",0},
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
@@ -2839,10 +2839,12 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
@@ -2900,6 +2902,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
{ "_WXTYPE","_unsigned_short",0},
|
{ "_WXTYPE","_unsigned_short",0},
|
||||||
@@ -2949,7 +2952,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -3032,6 +3034,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -3101,6 +3104,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_class_wxFontDialog","_wxFontDialog",0},
|
{ "_class_wxFontDialog","_wxFontDialog",0},
|
||||||
{ "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
|
{ "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
|
||||||
{ "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
|
{ "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
|
||||||
|
@@ -178,19 +178,58 @@ static void *SwigwxControlTowxEvtHandler(void *ptr) {
|
|||||||
return (void *) dest;
|
return (void *) dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define new_wxControl() (new wxControl())
|
#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||||
static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxControl * _result;
|
wxControl * _result;
|
||||||
char *_kwnames[] = { NULL };
|
wxWindow * _arg0;
|
||||||
|
wxWindowID _arg1;
|
||||||
|
wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
|
||||||
|
wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
|
||||||
|
long _arg4 = (long ) 0;
|
||||||
|
wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
|
||||||
|
char * _arg6 = (char *) "control";
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
wxPoint temp;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
|
wxSize temp0;
|
||||||
|
PyObject * _obj3 = 0;
|
||||||
|
PyObject * _argo5 = 0;
|
||||||
|
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,":new_wxControl",_kwnames))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_obj2)
|
||||||
|
{
|
||||||
|
_arg2 = &temp;
|
||||||
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
if (_obj3)
|
||||||
|
{
|
||||||
|
_arg3 = &temp0;
|
||||||
|
if (! wxSize_helper(_obj3, &_arg3))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
if (_argo5) {
|
||||||
|
if (_argo5 == Py_None) { _arg5 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxControl *)new_wxControl();
|
_result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
} if (_result) {
|
} if (_result) {
|
||||||
@@ -203,72 +242,6 @@ static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *k
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxControl_CreateControl(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->CreateControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
|
||||||
static PyObject *_wrap_wxControl_CreateControl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
bool _result;
|
|
||||||
wxControl * _arg0;
|
|
||||||
wxWindow * _arg1;
|
|
||||||
wxWindowID _arg2;
|
|
||||||
wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
|
|
||||||
wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
|
|
||||||
long _arg5 = (long ) 0;
|
|
||||||
wxValidator * _arg6 = (wxValidator *) &wxPyDefaultValidator;
|
|
||||||
char * _arg7 = (char *) "";
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
PyObject * _argo1 = 0;
|
|
||||||
wxPoint temp;
|
|
||||||
PyObject * _obj3 = 0;
|
|
||||||
wxSize temp0;
|
|
||||||
PyObject * _obj4 = 0;
|
|
||||||
PyObject * _argo6 = 0;
|
|
||||||
char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOs:wxControl_CreateControl",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_CreateControl. Expected _wxControl_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (_argo1) {
|
|
||||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_CreateControl. Expected _wxWindow_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (_obj3)
|
|
||||||
{
|
|
||||||
_arg3 = &temp;
|
|
||||||
if (! wxPoint_helper(_obj3, &_arg3))
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
if (_obj4)
|
|
||||||
{
|
|
||||||
_arg4 = &temp0;
|
|
||||||
if (! wxSize_helper(_obj4, &_arg4))
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
if (_argo6) {
|
|
||||||
if (_argo6 == Py_None) { _arg6 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_CreateControl. Expected _wxValidator_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (bool )wxControl_CreateControl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
|
#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
|
||||||
static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -505,6 +478,78 @@ static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxButton * _arg0;
|
||||||
|
wxColour * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _argo1 = 0;
|
||||||
|
char *_kwnames[] = { "self","colour", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_argo1) {
|
||||||
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetBackgroundColour. Expected _wxColour_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxButton_SetBackgroundColour(_arg0,*_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxButton * _arg0;
|
||||||
|
wxColour * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _argo1 = 0;
|
||||||
|
char *_kwnames[] = { "self","colour", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_argo1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_argo1) {
|
||||||
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetForegroundColour. Expected _wxColour_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxButton_SetForegroundColour(_arg0,*_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxBitmapButtonTowxButton(void *ptr) {
|
static void *SwigwxBitmapButtonTowxButton(void *ptr) {
|
||||||
wxBitmapButton *src;
|
wxBitmapButton *src;
|
||||||
wxButton *dest;
|
wxButton *dest;
|
||||||
@@ -7285,12 +7330,13 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
|
{ "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
|
{ "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
|
{ "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
|
{ "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxControl_CreateControl", (PyCFunction) _wrap_wxControl_CreateControl, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
|
@@ -15,9 +15,6 @@ class wxControlPtr(wxWindowPtr):
|
|||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
def CreateControl(self, *_args, **_kwargs):
|
|
||||||
val = apply(controlsc.wxControl_CreateControl,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def Command(self, *_args, **_kwargs):
|
def Command(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -45,6 +42,12 @@ class wxButtonPtr(wxControlPtr):
|
|||||||
def SetDefault(self, *_args, **_kwargs):
|
def SetDefault(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetForegroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxButton instance at %s>" % (self.this,)
|
return "<C wxButton instance at %s>" % (self.this,)
|
||||||
class wxButton(wxButtonPtr):
|
class wxButton(wxButtonPtr):
|
||||||
|
@@ -975,6 +975,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
||||||
@@ -1053,17 +1054,18 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",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_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},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
@@ -1104,6 +1106,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
{ "_WXTYPE","_unsigned_short",0},
|
{ "_WXTYPE","_unsigned_short",0},
|
||||||
@@ -1139,7 +1142,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -1207,6 +1209,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -1259,6 +1262,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
|
{ "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
|
||||||
{ "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
|
{ "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
|
||||||
{ "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
|
{ "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
|
||||||
|
@@ -226,6 +226,9 @@ class wxColourPtr :
|
|||||||
return val
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxColour instance at %s>" % (self.this,)
|
return "<C wxColour instance at %s>" % (self.this,)
|
||||||
|
asTuple = Get
|
||||||
|
def __str__(self): return str(self.asTuple())
|
||||||
|
def __repr__(self): return str(self.asTuple())
|
||||||
class wxColour(wxColourPtr):
|
class wxColour(wxColourPtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(gdic.new_wxColour,_args,_kwargs)
|
self.this = apply(gdic.new_wxColour,_args,_kwargs)
|
||||||
|
@@ -772,6 +772,39 @@ static PyObject *_wrap_new_wxPCXHandler(PyObject *self, PyObject *args, PyObject
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void *SwigwxTIFFHandlerTowxImageHandler(void *ptr) {
|
||||||
|
wxTIFFHandler *src;
|
||||||
|
wxImageHandler *dest;
|
||||||
|
src = (wxTIFFHandler *) ptr;
|
||||||
|
dest = (wxImageHandler *) src;
|
||||||
|
return (void *) dest;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define new_wxTIFFHandler() (new wxTIFFHandler())
|
||||||
|
static PyObject *_wrap_new_wxTIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxTIFFHandler * _result;
|
||||||
|
char *_kwnames[] = { NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTIFFHandler",_kwnames))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxTIFFHandler *)new_wxTIFFHandler();
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxTIFFHandler_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
|
#define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
|
||||||
static PyObject *_wrap_new_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1681,6 +1714,7 @@ static PyMethodDef imagecMethods[] = {
|
|||||||
{ "wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
|
{ "wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "delete_wxImage", (PyCFunction) _wrap_delete_wxImage, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxImage", (PyCFunction) _wrap_delete_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxImage", (PyCFunction) _wrap_new_wxImage, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxImage", (PyCFunction) _wrap_new_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "new_wxTIFFHandler", (PyCFunction) _wrap_new_wxTIFFHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxPCXHandler", (PyCFunction) _wrap_new_wxPCXHandler, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxPCXHandler", (PyCFunction) _wrap_new_wxPCXHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxPNMHandler", (PyCFunction) _wrap_new_wxPNMHandler, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxPNMHandler", (PyCFunction) _wrap_new_wxPNMHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxGIFHandler", (PyCFunction) _wrap_new_wxGIFHandler, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxGIFHandler", (PyCFunction) _wrap_new_wxGIFHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -1727,6 +1761,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
|
{ "_wxImageHandler","_class_wxTIFFHandler",SwigwxTIFFHandlerTowxImageHandler},
|
||||||
|
{ "_wxImageHandler","_wxTIFFHandler",SwigwxTIFFHandlerTowxImageHandler},
|
||||||
{ "_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
{ "_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
||||||
{ "_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
{ "_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
||||||
{ "_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler},
|
{ "_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler},
|
||||||
@@ -1747,6 +1783,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_long","_unsigned_long",0},
|
{ "_long","_unsigned_long",0},
|
||||||
{ "_long","_signed_long",0},
|
{ "_long","_signed_long",0},
|
||||||
{ "_wxImageList","_class_wxImageList",0},
|
{ "_wxImageList","_class_wxImageList",0},
|
||||||
|
{ "_class_wxTIFFHandler","_wxTIFFHandler",0},
|
||||||
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
||||||
{ "_wxDC","_class_wxDC",0},
|
{ "_wxDC","_class_wxDC",0},
|
||||||
{ "_class_wxBMPHandler","_wxBMPHandler",0},
|
{ "_class_wxBMPHandler","_wxBMPHandler",0},
|
||||||
@@ -1817,6 +1854,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
|
{ "_class_wxImageHandler","_class_wxTIFFHandler",SwigwxTIFFHandlerTowxImageHandler},
|
||||||
|
{ "_class_wxImageHandler","_wxTIFFHandler",SwigwxTIFFHandlerTowxImageHandler},
|
||||||
{ "_class_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
{ "_class_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
||||||
{ "_class_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
{ "_class_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler},
|
||||||
{ "_class_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler},
|
{ "_class_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler},
|
||||||
@@ -1879,6 +1918,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxCoord","_wxPrintQuality",0},
|
{ "_wxCoord","_wxPrintQuality",0},
|
||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
||||||
|
{ "_wxTIFFHandler","_class_wxTIFFHandler",0},
|
||||||
{ "_class_wxBusyInfo","_wxBusyInfo",0},
|
{ "_class_wxBusyInfo","_wxBusyInfo",0},
|
||||||
{ "_class_wxClientDC","_wxClientDC",0},
|
{ "_class_wxClientDC","_wxClientDC",0},
|
||||||
{ "_class_wxSize","_wxSize",0},
|
{ "_class_wxSize","_wxSize",0},
|
||||||
|
@@ -125,6 +125,20 @@ class wxPCXHandler(wxPCXHandlerPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxTIFFHandlerPtr(wxImageHandlerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxTIFFHandler instance at %s>" % (self.this,)
|
||||||
|
class wxTIFFHandler(wxTIFFHandlerPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(imagec.new_wxTIFFHandler,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxImagePtr :
|
class wxImagePtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
|
@@ -717,6 +717,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
||||||
@@ -795,18 +796,19 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",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_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},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
@@ -848,6 +850,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
@@ -887,7 +890,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -958,6 +960,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -1013,6 +1016,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
|
{ "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
|
||||||
{ "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
|
{ "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
|
||||||
{ "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
|
{ "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
|
||||||
|
@@ -239,6 +239,44 @@ class wxRectPtr :
|
|||||||
return "<C wxRect instance at %s>" % (self.this,)
|
return "<C wxRect instance at %s>" % (self.this,)
|
||||||
def __str__(self): return str(self.asTuple())
|
def __str__(self): return str(self.asTuple())
|
||||||
def __repr__(self): return str(self.asTuple())
|
def __repr__(self): return str(self.asTuple())
|
||||||
|
|
||||||
|
# override the __getattr__ made by SWIG
|
||||||
|
def __getattr__(self, name):
|
||||||
|
d = {
|
||||||
|
'x' : miscc.wxRect_x_get,
|
||||||
|
'y' : miscc.wxRect_y_get,
|
||||||
|
'width' : miscc.wxRect_width_get,
|
||||||
|
'height' : miscc.wxRect_height_get,
|
||||||
|
'top' : miscc.wxRect_GetTop,
|
||||||
|
'bottom' : miscc.wxRect_GetBottom,
|
||||||
|
'left' : miscc.wxRect_GetLeft,
|
||||||
|
'right' : miscc.wxRect_GetRight,
|
||||||
|
}
|
||||||
|
try:
|
||||||
|
func = d[name]
|
||||||
|
except KeyError:
|
||||||
|
raise AttributeError,name
|
||||||
|
return func(self)
|
||||||
|
|
||||||
|
# and also the __setattr__
|
||||||
|
def __setattr__(self, name, value):
|
||||||
|
d = {
|
||||||
|
'x' : miscc.wxRect_x_set,
|
||||||
|
'y' : miscc.wxRect_y_set,
|
||||||
|
'width' : miscc.wxRect_width_set,
|
||||||
|
'height' : miscc.wxRect_height_set,
|
||||||
|
'top' : miscc.wxRect_SetTop,
|
||||||
|
'bottom' : miscc.wxRect_SetBottom,
|
||||||
|
'left' : miscc.wxRect_SetLeft,
|
||||||
|
'right' : miscc.wxRect_SetRight,
|
||||||
|
}
|
||||||
|
try:
|
||||||
|
func = d[name]
|
||||||
|
except KeyError:
|
||||||
|
self.__dict__[name] = value
|
||||||
|
return
|
||||||
|
func(self, value)
|
||||||
|
|
||||||
class wxRect(wxRectPtr):
|
class wxRect(wxRectPtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(miscc.new_wxRect,_args,_kwargs)
|
self.this = apply(miscc.new_wxRect,_args,_kwargs)
|
||||||
|
@@ -4376,6 +4376,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_class_wxColourData","_wxColourData",0},
|
{ "_class_wxColourData","_wxColourData",0},
|
||||||
{ "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
|
{ "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
|
||||||
@@ -4475,7 +4476,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
|
||||||
{ "_wxColourDialog","_class_wxColourDialog",0},
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
||||||
{ "_wxPrintData","_class_wxPrintData",0},
|
{ "_wxPrintData","_class_wxPrintData",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
@@ -4486,10 +4486,12 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
@@ -4538,6 +4540,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
{ "_WXTYPE","_unsigned_short",0},
|
{ "_WXTYPE","_unsigned_short",0},
|
||||||
@@ -4579,7 +4582,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -4653,6 +4655,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -4716,6 +4719,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_class_wxFontDialog","_wxFontDialog",0},
|
{ "_class_wxFontDialog","_wxFontDialog",0},
|
||||||
{ "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
|
{ "_wxWindow","_class_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
|
||||||
{ "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
|
{ "_wxWindow","_wxPreviewFrame",SwigwxPreviewFrameTowxWindow},
|
||||||
|
@@ -104,17 +104,6 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
|
||||||
class wxPyUserData : public wxObject {
|
|
||||||
public:
|
|
||||||
wxPyUserData(PyObject* obj) { m_obj = obj; Py_INCREF(m_obj); }
|
|
||||||
~wxPyUserData() {
|
|
||||||
bool doSave = wxPyRestoreThread();
|
|
||||||
Py_DECREF(m_obj);
|
|
||||||
wxPySaveThread(doSave);
|
|
||||||
}
|
|
||||||
PyObject* m_obj;
|
|
||||||
};
|
|
||||||
|
|
||||||
class wxPySizer : public wxSizer {
|
class wxPySizer : public wxSizer {
|
||||||
DECLARE_DYNAMIC_CLASS(wxPySizer);
|
DECLARE_DYNAMIC_CLASS(wxPySizer);
|
||||||
public:
|
public:
|
||||||
@@ -464,6 +453,119 @@ static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
int _arg2;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","x","y", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetInitSize",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","option", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetOption",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetOption(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","flag", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetFlag(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","border", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetBorder(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
|
static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
|
||||||
wxPyUserData* data = (wxPyUserData*)self->GetUserData();
|
wxPyUserData* data = (wxPyUserData*)self->GetUserData();
|
||||||
if (data) {
|
if (data) {
|
||||||
@@ -1395,6 +1497,10 @@ static PyMethodDef sizerscMethods[] = {
|
|||||||
{ "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetOption", (PyCFunction) _wrap_wxSizerItem_SetOption, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -55,6 +55,18 @@ class wxSizerItemPtr :
|
|||||||
def GetBorder(self, *_args, **_kwargs):
|
def GetBorder(self, *_args, **_kwargs):
|
||||||
val = apply(sizersc.wxSizerItem_GetBorder,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxSizerItem_GetBorder,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetInitSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetInitSize,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetOption(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetOption,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetFlag(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetFlag,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetBorder(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetBorder,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def GetUserData(self, *_args, **_kwargs):
|
def GetUserData(self, *_args, **_kwargs):
|
||||||
val = apply(sizersc.wxSizerItem_GetUserData,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxSizerItem_GetUserData,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -56,186 +56,251 @@ class wxStatusBar(wxStatusBarPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxToolBarToolPtr :
|
class wxToolBarToolBasePtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
def __del__(self,stattoolc=stattoolc):
|
def Destroy(self, *_args, **_kwargs):
|
||||||
if self.thisown == 1 :
|
val = apply(stattoolc.wxToolBarToolBase_Destroy,(self,) + _args, _kwargs)
|
||||||
stattoolc.delete_wxToolBarTool(self)
|
|
||||||
def SetSize(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBarTool_SetSize,(self,) + _args, _kwargs)
|
|
||||||
return val
|
return val
|
||||||
def GetWidth(self, *_args, **_kwargs):
|
def GetId(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBarTool_GetWidth,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarToolBase_GetId,(self,) + _args, _kwargs)
|
||||||
return val
|
|
||||||
def GetHeight(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBarTool_GetHeight,(self,) + _args, _kwargs)
|
|
||||||
return val
|
return val
|
||||||
def GetControl(self, *_args, **_kwargs):
|
def GetControl(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBarTool_GetControl,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarToolBase_GetControl,(self,) + _args, _kwargs)
|
||||||
if val: val = wxControlPtr(val)
|
if val: val = wxControlPtr(val)
|
||||||
return val
|
return val
|
||||||
def __setattr__(self,name,value):
|
def GetToolBar(self, *_args, **_kwargs):
|
||||||
if name == "m_toolStyle" :
|
val = apply(stattoolc.wxToolBarToolBase_GetToolBar,(self,) + _args, _kwargs)
|
||||||
stattoolc.wxToolBarTool_m_toolStyle_set(self,value)
|
if val: val = wxToolBarBasePtr(val)
|
||||||
return
|
return val
|
||||||
if name == "m_clientData" :
|
def IsButton(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_clientData_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_IsButton,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_index" :
|
def IsControl(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_index_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_IsControl,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_x" :
|
def IsSeparator(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_x_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_IsSeparator,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_y" :
|
def GetStyle(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_y_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_GetStyle,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_width" :
|
def IsEnabled(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_width_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_IsEnabled,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_height" :
|
def IsToggled(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_height_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_IsToggled,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_toggleState" :
|
def CanBeToggled(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_toggleState_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_CanBeToggled,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_isToggle" :
|
def GetBitmap1(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_isToggle_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_GetBitmap1,(self,) + _args, _kwargs)
|
||||||
return
|
if val: val = wxBitmapPtr(val)
|
||||||
if name == "m_deleteSecondBitmap" :
|
return val
|
||||||
stattoolc.wxToolBarTool_m_deleteSecondBitmap_set(self,value)
|
def GetBitmap2(self, *_args, **_kwargs):
|
||||||
return
|
val = apply(stattoolc.wxToolBarToolBase_GetBitmap2,(self,) + _args, _kwargs)
|
||||||
if name == "m_enabled" :
|
if val: val = wxBitmapPtr(val)
|
||||||
stattoolc.wxToolBarTool_m_enabled_set(self,value)
|
return val
|
||||||
return
|
def GetBitmap(self, *_args, **_kwargs):
|
||||||
if name == "m_bitmap1" :
|
val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
|
||||||
stattoolc.wxToolBarTool_m_bitmap1_set(self,value.this)
|
if val: val = wxBitmapPtr(val)
|
||||||
return
|
return val
|
||||||
if name == "m_bitmap2" :
|
def GetShortHelp(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_bitmap2_set(self,value.this)
|
val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_isMenuCommand" :
|
def GetLongHelp(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_isMenuCommand_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_GetLongHelp,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_shortHelpString" :
|
def Enable(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_shortHelpString_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_Enable,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
if name == "m_longHelpString" :
|
def Toggle(self, *_args, **_kwargs):
|
||||||
stattoolc.wxToolBarTool_m_longHelpString_set(self,value)
|
val = apply(stattoolc.wxToolBarToolBase_Toggle,(self,) + _args, _kwargs)
|
||||||
return
|
return val
|
||||||
self.__dict__[name] = value
|
def SetToggle(self, *_args, **_kwargs):
|
||||||
def __getattr__(self,name):
|
val = apply(stattoolc.wxToolBarToolBase_SetToggle,(self,) + _args, _kwargs)
|
||||||
if name == "m_toolStyle" :
|
return val
|
||||||
return stattoolc.wxToolBarTool_m_toolStyle_get(self)
|
def SetShortHelp(self, *_args, **_kwargs):
|
||||||
if name == "m_clientData" :
|
val = apply(stattoolc.wxToolBarToolBase_SetShortHelp,(self,) + _args, _kwargs)
|
||||||
return stattoolc.wxToolBarTool_m_clientData_get(self)
|
return val
|
||||||
if name == "m_index" :
|
def SetLongHelp(self, *_args, **_kwargs):
|
||||||
return stattoolc.wxToolBarTool_m_index_get(self)
|
val = apply(stattoolc.wxToolBarToolBase_SetLongHelp,(self,) + _args, _kwargs)
|
||||||
if name == "m_x" :
|
return val
|
||||||
return stattoolc.wxToolBarTool_m_x_get(self)
|
def SetBitmap1(self, *_args, **_kwargs):
|
||||||
if name == "m_y" :
|
val = apply(stattoolc.wxToolBarToolBase_SetBitmap1,(self,) + _args, _kwargs)
|
||||||
return stattoolc.wxToolBarTool_m_y_get(self)
|
return val
|
||||||
if name == "m_width" :
|
def SetBitmap2(self, *_args, **_kwargs):
|
||||||
return stattoolc.wxToolBarTool_m_width_get(self)
|
val = apply(stattoolc.wxToolBarToolBase_SetBitmap2,(self,) + _args, _kwargs)
|
||||||
if name == "m_height" :
|
return val
|
||||||
return stattoolc.wxToolBarTool_m_height_get(self)
|
def Detach(self, *_args, **_kwargs):
|
||||||
if name == "m_toggleState" :
|
val = apply(stattoolc.wxToolBarToolBase_Detach,(self,) + _args, _kwargs)
|
||||||
return stattoolc.wxToolBarTool_m_toggleState_get(self)
|
return val
|
||||||
if name == "m_isToggle" :
|
def Attach(self, *_args, **_kwargs):
|
||||||
return stattoolc.wxToolBarTool_m_isToggle_get(self)
|
val = apply(stattoolc.wxToolBarToolBase_Attach,(self,) + _args, _kwargs)
|
||||||
if name == "m_deleteSecondBitmap" :
|
return val
|
||||||
return stattoolc.wxToolBarTool_m_deleteSecondBitmap_get(self)
|
def GetClientData(self, *_args, **_kwargs):
|
||||||
if name == "m_enabled" :
|
val = apply(stattoolc.wxToolBarToolBase_GetClientData,(self,) + _args, _kwargs)
|
||||||
return stattoolc.wxToolBarTool_m_enabled_get(self)
|
return val
|
||||||
if name == "m_bitmap1" :
|
def SetClientData(self, *_args, **_kwargs):
|
||||||
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap1_get(self))
|
val = apply(stattoolc.wxToolBarToolBase_SetClientData,(self,) + _args, _kwargs)
|
||||||
if name == "m_bitmap2" :
|
return val
|
||||||
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap2_get(self))
|
|
||||||
if name == "m_isMenuCommand" :
|
|
||||||
return stattoolc.wxToolBarTool_m_isMenuCommand_get(self)
|
|
||||||
if name == "m_shortHelpString" :
|
|
||||||
return stattoolc.wxToolBarTool_m_shortHelpString_get(self)
|
|
||||||
if name == "m_longHelpString" :
|
|
||||||
return stattoolc.wxToolBarTool_m_longHelpString_get(self)
|
|
||||||
raise AttributeError,name
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxToolBarTool instance at %s>" % (self.this,)
|
return "<C wxToolBarToolBase instance at %s>" % (self.this,)
|
||||||
class wxToolBarTool(wxToolBarToolPtr):
|
class wxToolBarToolBase(wxToolBarToolBasePtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,this):
|
||||||
self.this = apply(stattoolc.new_wxToolBarTool,_args,_kwargs)
|
self.this = this
|
||||||
self.thisown = 1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxToolBarPtr(wxControlPtr):
|
class wxToolBarBasePtr(wxControlPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
def AddControl(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_AddControl,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def AddSeparator(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_AddSeparator,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def ClearTools(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_ClearTools,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def AddTool(self, *_args, **_kwargs):
|
def AddTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_AddTool,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_AddTool,(self,) + _args, _kwargs)
|
||||||
if val: val = wxToolBarToolPtr(val)
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def AddSimpleTool(self, *_args, **_kwargs):
|
def AddSimpleTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_AddSimpleTool,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_AddSimpleTool,(self,) + _args, _kwargs)
|
||||||
if val: val = wxToolBarToolPtr(val)
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def EnableTool(self, *_args, **_kwargs):
|
def InsertTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_EnableTool,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_InsertTool,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolMargins(self, *_args, **_kwargs):
|
def InsertSimpleTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolMargins,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_InsertSimpleTool,(self,) + _args, _kwargs)
|
||||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolEnabled(self, *_args, **_kwargs):
|
def AddControl(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolEnabled,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_AddControl,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolLongHelp(self, *_args, **_kwargs):
|
def InsertControl(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolLongHelp,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_InsertControl,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolPacking(self, *_args, **_kwargs):
|
def AddSeparator(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolPacking,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_AddSeparator,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolSeparation(self, *_args, **_kwargs):
|
def InsertSeparator(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolSeparation,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_InsertSeparator,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolShortHelp(self, *_args, **_kwargs):
|
def RemoveTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolShortHelp,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_RemoveTool,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def GetToolState(self, *_args, **_kwargs):
|
def DeleteToolByPos(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_GetToolState,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_DeleteToolByPos,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def DeleteTool(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_DeleteTool,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def ClearTools(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_ClearTools,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Realize(self, *_args, **_kwargs):
|
def Realize(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_Realize,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_Realize,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def SetToolLongHelp(self, *_args, **_kwargs):
|
def EnableTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_SetToolLongHelp,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_EnableTool,(self,) + _args, _kwargs)
|
||||||
return val
|
|
||||||
def SetToolShortHelp(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_SetToolShortHelp,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def SetMargins(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_SetMargins,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def SetToolPacking(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_SetToolPacking,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def SetToolSeparation(self, *_args, **_kwargs):
|
|
||||||
val = apply(stattoolc.wxToolBar_SetToolSeparation,(self,) + _args, _kwargs)
|
|
||||||
return val
|
return val
|
||||||
def ToggleTool(self, *_args, **_kwargs):
|
def ToggleTool(self, *_args, **_kwargs):
|
||||||
val = apply(stattoolc.wxToolBar_ToggleTool,(self,) + _args, _kwargs)
|
val = apply(stattoolc.wxToolBarBase_ToggleTool,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToggle(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToggle,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolClientData(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolClientData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolClientData(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolClientData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolState(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolState,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolEnabled(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolEnabled,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolShortHelp(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolShortHelp,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolShortHelp(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolShortHelp,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolLongHelp(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolLongHelp,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolLongHelp(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolLongHelp,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetMarginsXY(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetMarginsXY,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetMargins(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetMargins,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolPacking(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolPacking,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolSeparation(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolSeparation,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolMargins(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolMargins,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetToolPacking(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolPacking,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolSeparation(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolSeparation,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetRows(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetRows,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetMaxRowsCols(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetMaxRowsCols,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetMaxRows(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetMaxRows,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetMaxCols(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetMaxCols,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetToolBitmapSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_SetToolBitmapSize,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetToolBitmapSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolBitmapSize,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetToolSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarBase_GetToolSize,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxToolBarBase instance at %s>" % (self.this,)
|
||||||
|
class wxToolBarBase(wxToolBarBasePtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxToolBarPtr(wxToolBarBasePtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def FindToolForPosition(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
return val
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxToolBar instance at %s>" % (self.this,)
|
return "<C wxToolBar instance at %s>" % (self.this,)
|
||||||
@@ -248,6 +313,25 @@ class wxToolBar(wxToolBarPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxToolBarSimplePtr(wxToolBarBasePtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def FindToolForPosition(self, *_args, **_kwargs):
|
||||||
|
val = apply(stattoolc.wxToolBarSimple_FindToolForPosition,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxToolBarToolBasePtr(val)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxToolBarSimple instance at %s>" % (self.this,)
|
||||||
|
class wxToolBarSimple(wxToolBarSimplePtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(stattoolc.new_wxToolBarSimple,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
wx._StdWindowCallbacks(self)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------- FUNCTION WRAPPERS ------------------
|
#-------------- FUNCTION WRAPPERS ------------------
|
||||||
@@ -256,3 +340,6 @@ class wxToolBar(wxToolBarPtr):
|
|||||||
|
|
||||||
#-------------- VARIABLE WRAPPERS ------------------
|
#-------------- VARIABLE WRAPPERS ------------------
|
||||||
|
|
||||||
|
wxTOOL_STYLE_BUTTON = stattoolc.wxTOOL_STYLE_BUTTON
|
||||||
|
wxTOOL_STYLE_SEPARATOR = stattoolc.wxTOOL_STYLE_SEPARATOR
|
||||||
|
wxTOOL_STYLE_CONTROL = stattoolc.wxTOOL_STYLE_CONTROL
|
||||||
|
@@ -1769,6 +1769,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_wxGrid","_class_wxGrid",0},
|
{ "_wxGrid","_class_wxGrid",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
@@ -1871,18 +1872,19 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",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_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},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
@@ -1927,6 +1929,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
@@ -1967,7 +1970,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -2038,6 +2040,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -2097,6 +2100,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
{ "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
||||||
{ "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
{ "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
|
||||||
{ "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
|
{ "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
|
||||||
|
@@ -1609,6 +1609,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
{ "_wxImageHandler","_class_wxImageHandler",0},
|
{ "_wxImageHandler","_class_wxImageHandler",0},
|
||||||
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
||||||
{ "_class_wxTreeCtrl","_wxTreeCtrl",0},
|
{ "_class_wxTreeCtrl","_wxTreeCtrl",0},
|
||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_wxToolTip","_class_wxToolTip",0},
|
{ "_wxToolTip","_class_wxToolTip",0},
|
||||||
@@ -1637,6 +1638,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
||||||
{ "_wxSashWindow","_class_wxSashWindow",0},
|
{ "_wxSashWindow","_class_wxSashWindow",0},
|
||||||
{ "_class_wxSizer","_wxSizer",0},
|
{ "_class_wxSizer","_wxSizer",0},
|
||||||
|
{ "_class_wxTIFFHandler","_wxTIFFHandler",0},
|
||||||
{ "_class_wxPrintDialogData","_wxPrintDialogData",0},
|
{ "_class_wxPrintDialogData","_wxPrintDialogData",0},
|
||||||
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
||||||
{ "_class_wxClipboard","_wxClipboard",0},
|
{ "_class_wxClipboard","_wxClipboard",0},
|
||||||
@@ -1730,7 +1732,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindowDC","_class_wxWindowDC",0},
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
||||||
{ "_wxScrollBar","_class_wxScrollBar",0},
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
||||||
{ "_wxToolBarTool","_class_wxToolBarTool",0},
|
|
||||||
{ "_wxColourDialog","_class_wxColourDialog",0},
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
||||||
{ "_wxPrintData","_class_wxPrintData",0},
|
{ "_wxPrintData","_class_wxPrintData",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
@@ -1742,12 +1743,14 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
{ "_class_wxBusyCursor","_wxBusyCursor",0},
|
{ "_class_wxBusyCursor","_wxBusyCursor",0},
|
||||||
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
||||||
{ "_wxListItem","_class_wxListItem",0},
|
{ "_wxListItem","_class_wxListItem",0},
|
||||||
{ "_class_wxToolBar","_wxToolBar",0},
|
{ "_class_wxToolBar","_wxToolBar",0},
|
||||||
{ "_wxDropTarget","_class_wxDropTarget",0},
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
||||||
{ "_class_wxStaticLine","_wxStaticLine",0},
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
@@ -1798,6 +1801,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
||||||
{ "_wxListBox","_class_wxListBox",0},
|
{ "_wxListBox","_class_wxListBox",0},
|
||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
@@ -1841,7 +1845,6 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
||||||
{ "_wxStatusBar","_class_wxStatusBar",0},
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
||||||
{ "_class_wxToolBarTool","_wxToolBarTool",0},
|
|
||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
||||||
@@ -1924,6 +1927,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxComboBox","_wxComboBox",0},
|
{ "_class_wxComboBox","_wxComboBox",0},
|
||||||
{ "_class_wxRadioButton","_wxRadioButton",0},
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
||||||
{ "_wxValidator","_class_wxValidator",0},
|
{ "_wxValidator","_class_wxValidator",0},
|
||||||
|
{ "_wxToolBarBase","_class_wxToolBarBase",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},
|
||||||
@@ -1955,6 +1959,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSizer","_class_wxSizer",0},
|
{ "_wxSizer","_class_wxSizer",0},
|
||||||
{ "_class_wxShowEvent","_wxShowEvent",0},
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
||||||
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
||||||
|
{ "_wxTIFFHandler","_class_wxTIFFHandler",0},
|
||||||
{ "_wxPyDropTarget","_class_wxPyDropTarget",0},
|
{ "_wxPyDropTarget","_class_wxPyDropTarget",0},
|
||||||
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
||||||
{ "_wxGauge","_class_wxGauge",0},
|
{ "_wxGauge","_class_wxGauge",0},
|
||||||
@@ -1995,6 +2000,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
|
{ "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
|
||||||
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
||||||
{ "_class_wxFontDialog","_wxFontDialog",0},
|
{ "_class_wxFontDialog","_wxFontDialog",0},
|
||||||
{ "_wxWindow","_class_wxWindow",0},
|
{ "_wxWindow","_class_wxWindow",0},
|
||||||
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
||||||
@@ -2257,6 +2263,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxBITMAP_TYPE_ANY", PyInt_FromLong((long) wxBITMAP_TYPE_ANY));
|
PyDict_SetItemString(d,"wxBITMAP_TYPE_ANY", PyInt_FromLong((long) wxBITMAP_TYPE_ANY));
|
||||||
PyDict_SetItemString(d,"wxBITMAP_TYPE_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_RESOURCE));
|
PyDict_SetItemString(d,"wxBITMAP_TYPE_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_RESOURCE));
|
||||||
PyDict_SetItemString(d,"wxBITMAP_TYPE_JPEG", PyInt_FromLong((long) wxBITMAP_TYPE_JPEG));
|
PyDict_SetItemString(d,"wxBITMAP_TYPE_JPEG", PyInt_FromLong((long) wxBITMAP_TYPE_JPEG));
|
||||||
|
PyDict_SetItemString(d,"wxBITMAP_TYPE_PCX", PyInt_FromLong((long) wxBITMAP_TYPE_PCX));
|
||||||
PyDict_SetItemString(d,"wxOPEN", PyInt_FromLong((long) wxOPEN));
|
PyDict_SetItemString(d,"wxOPEN", PyInt_FromLong((long) wxOPEN));
|
||||||
PyDict_SetItemString(d,"wxSAVE", PyInt_FromLong((long) wxSAVE));
|
PyDict_SetItemString(d,"wxSAVE", PyInt_FromLong((long) wxSAVE));
|
||||||
PyDict_SetItemString(d,"wxHIDE_READONLY", PyInt_FromLong((long) wxHIDE_READONLY));
|
PyDict_SetItemString(d,"wxHIDE_READONLY", PyInt_FromLong((long) wxHIDE_READONLY));
|
||||||
|
@@ -385,6 +385,7 @@ wxBITMAP_TYPE_PNG_RESOURCE = wxc.wxBITMAP_TYPE_PNG_RESOURCE
|
|||||||
wxBITMAP_TYPE_ANY = wxc.wxBITMAP_TYPE_ANY
|
wxBITMAP_TYPE_ANY = wxc.wxBITMAP_TYPE_ANY
|
||||||
wxBITMAP_TYPE_RESOURCE = wxc.wxBITMAP_TYPE_RESOURCE
|
wxBITMAP_TYPE_RESOURCE = wxc.wxBITMAP_TYPE_RESOURCE
|
||||||
wxBITMAP_TYPE_JPEG = wxc.wxBITMAP_TYPE_JPEG
|
wxBITMAP_TYPE_JPEG = wxc.wxBITMAP_TYPE_JPEG
|
||||||
|
wxBITMAP_TYPE_PCX = wxc.wxBITMAP_TYPE_PCX
|
||||||
wxOPEN = wxc.wxOPEN
|
wxOPEN = wxc.wxOPEN
|
||||||
wxSAVE = wxc.wxSAVE
|
wxSAVE = wxc.wxSAVE
|
||||||
wxHIDE_READONLY = wxc.wxHIDE_READONLY
|
wxHIDE_READONLY = wxc.wxHIDE_READONLY
|
||||||
|
Reference in New Issue
Block a user