reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3167,6 +3167,7 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineDownExtend(*args, **kwargs):
|
def LineDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineDownExtend(self)
|
LineDownExtend(self)
|
||||||
@@ -3179,10 +3180,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
LineUp(self)
|
LineUp(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollLines(-1).
|
Move caret up one line.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineUpExtend(*args, **kwargs):
|
def LineUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineUpExtend(self)
|
LineUpExtend(self)
|
||||||
@@ -3327,6 +3329,7 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageUpExtend(*args, **kwargs):
|
def PageUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageUpExtend(self)
|
PageUpExtend(self)
|
||||||
@@ -3339,10 +3342,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
PageDown(self)
|
PageDown(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollPages(1).
|
Move caret one page down.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageDownExtend(*args, **kwargs):
|
def PageDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageDownExtend(self)
|
PageDownExtend(self)
|
||||||
|
@@ -3163,10 +3163,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
LineDown(self)
|
LineDown(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollLines(1).
|
Move caret down one line.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineDownExtend(*args, **kwargs):
|
def LineDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineDownExtend(self)
|
LineDownExtend(self)
|
||||||
@@ -3179,10 +3180,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
LineUp(self)
|
LineUp(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollLines(-1).
|
Move caret up one line.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineUpExtend(*args, **kwargs):
|
def LineUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineUpExtend(self)
|
LineUpExtend(self)
|
||||||
@@ -3323,10 +3325,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
PageUp(self)
|
PageUp(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollPages(-1).
|
Move caret one page up.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageUpExtend(*args, **kwargs):
|
def PageUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageUpExtend(self)
|
PageUpExtend(self)
|
||||||
@@ -3339,10 +3342,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
PageDown(self)
|
PageDown(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollPages(1).
|
Move caret one page down.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageDownExtend(*args, **kwargs):
|
def PageDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageDownExtend(self)
|
PageDownExtend(self)
|
||||||
|
@@ -3163,10 +3163,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
LineDown(self)
|
LineDown(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollLines(1).
|
Move caret down one line.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineDownExtend(*args, **kwargs):
|
def LineDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineDownExtend(self)
|
LineDownExtend(self)
|
||||||
@@ -3179,10 +3180,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
LineUp(self)
|
LineUp(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollLines(-1).
|
Move caret up one line.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def LineUpExtend(*args, **kwargs):
|
def LineUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
LineUpExtend(self)
|
LineUpExtend(self)
|
||||||
@@ -3323,10 +3325,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
PageUp(self)
|
PageUp(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollPages(-1).
|
Move caret one page up.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageUpExtend(*args, **kwargs):
|
def PageUpExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageUpExtend(self)
|
PageUpExtend(self)
|
||||||
@@ -3339,10 +3342,11 @@ class StyledTextCtrl(_core.Control):
|
|||||||
"""
|
"""
|
||||||
PageDown(self)
|
PageDown(self)
|
||||||
|
|
||||||
This is just a wrapper for ScrollPages(1).
|
Move caret one page down.
|
||||||
"""
|
"""
|
||||||
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def PageDownExtend(*args, **kwargs):
|
def PageDownExtend(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
PageDownExtend(self)
|
PageDownExtend(self)
|
||||||
|
@@ -1504,11 +1504,19 @@ class CheckListBox(ListBox):
|
|||||||
return _controls_.CheckListBox_GetItemHeight(*args, **kwargs)
|
return _controls_.CheckListBox_GetItemHeight(*args, **kwargs)
|
||||||
|
|
||||||
def HitTest(*args, **kwargs):
|
def HitTest(*args, **kwargs):
|
||||||
"""HitTest(self, Point pt) -> int"""
|
"""
|
||||||
|
HitTest(self, Point pt) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
||||||
|
|
||||||
def HitTestXY(*args, **kwargs):
|
def HitTestXY(*args, **kwargs):
|
||||||
"""HitTestXY(self, int x, int y) -> int"""
|
"""
|
||||||
|
HitTestXY(self, int x, int y) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
@@ -2109,8 +2117,6 @@ class ScrollBar(_core.Control):
|
|||||||
"""
|
"""
|
||||||
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
||||||
bool refresh=True)
|
bool refresh=True)
|
||||||
|
|
||||||
Sets the scrollbar properties of a built-in scrollbar.
|
|
||||||
"""
|
"""
|
||||||
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -2612,16 +2612,19 @@ static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
|
|||||||
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
||||||
int count = self->GetNumberOfFiles();
|
int count = self->GetNumberOfFiles();
|
||||||
wxString* files = self->GetFiles();
|
wxString* files = self->GetFiles();
|
||||||
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||||
PyObject* list = PyList_New(count);
|
PyObject* list = PyList_New(count);
|
||||||
|
|
||||||
if (!list) {
|
if (!list) {
|
||||||
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<count; i++) {
|
for (int i=0; i<count; i++) {
|
||||||
PyList_SetItem(list, i, wx2PyString(files[i]));
|
PyList_SetItem(list, i, wx2PyString(files[i]));
|
||||||
}
|
}
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2726,6 +2729,7 @@ static long wxWindow_GetHandle(wxWindow *self){
|
|||||||
static void wxWindow_AssociateHandle(wxWindow *self,long handle){
|
static void wxWindow_AssociateHandle(wxWindow *self,long handle){
|
||||||
self->AssociateHandle((WXWidget)handle);
|
self->AssociateHandle((WXWidget)handle);
|
||||||
}
|
}
|
||||||
|
static void wxWindow_DragAcceptFiles(wxWindow *self,bool accept){}
|
||||||
|
|
||||||
wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
|
wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
|
||||||
return wxWindow::FindWindowById(id, parent);
|
return wxWindow::FindWindowById(id, parent);
|
||||||
@@ -18331,7 +18335,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs
|
|||||||
wxKeyEvent *result;
|
wxKeyEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "keyType", NULL
|
(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
||||||
@@ -19774,7 +19778,7 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
|
|||||||
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
int arg1 = (int) 0 ;
|
int arg1 = (int) 0 ;
|
||||||
wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
|
wxDC *arg2 = (wxDC *) NULL ;
|
||||||
wxEraseEvent *result;
|
wxEraseEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
@@ -20390,6 +20394,34 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
|
bool result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
@@ -20449,34 +20481,6 @@ static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
|
||||||
bool result;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
||||||
}
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||||
@@ -22280,7 +22284,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs)
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "winid",(char *) "commandType", NULL
|
(char *) "winid",(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22335,7 +22339,7 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22345,7 +22349,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22363,7 +22367,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22372,7 +22376,7 @@ static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -22404,7 +22408,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "commandType",(char *) "id", NULL
|
(char *) "eventType",(char *) "id", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22459,7 +22463,7 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22469,7 +22473,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22487,7 +22491,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22496,7 +22500,7 @@ static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -31738,6 +31742,37 @@ static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||||
|
bool arg2 ;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
PyObject * obj1 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self",(char *) "accept", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
arg2 = (bool)(SWIG_As_bool(obj1));
|
||||||
|
if (SWIG_arg_fail(2)) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
wxWindow_DragAcceptFiles(arg1,arg2);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
Py_INCREF(Py_None); resultobj = Py_None;
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||||
@@ -45843,9 +45878,9 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -45922,13 +45957,13 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -46219,6 +46254,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
@@ -16950,7 +16950,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
@@ -1491,11 +1491,19 @@ class CheckListBox(ListBox):
|
|||||||
return _controls_.CheckListBox_Check(*args, **kwargs)
|
return _controls_.CheckListBox_Check(*args, **kwargs)
|
||||||
|
|
||||||
def HitTest(*args, **kwargs):
|
def HitTest(*args, **kwargs):
|
||||||
"""HitTest(self, Point pt) -> int"""
|
"""
|
||||||
|
HitTest(self, Point pt) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
||||||
|
|
||||||
def HitTestXY(*args, **kwargs):
|
def HitTestXY(*args, **kwargs):
|
||||||
"""HitTestXY(self, int x, int y) -> int"""
|
"""
|
||||||
|
HitTestXY(self, int x, int y) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
@@ -2096,8 +2104,6 @@ class ScrollBar(_core.Control):
|
|||||||
"""
|
"""
|
||||||
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
||||||
bool refresh=True)
|
bool refresh=True)
|
||||||
|
|
||||||
Sets the scrollbar properties of a built-in scrollbar.
|
|
||||||
"""
|
"""
|
||||||
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -2612,16 +2612,19 @@ static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
|
|||||||
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
||||||
int count = self->GetNumberOfFiles();
|
int count = self->GetNumberOfFiles();
|
||||||
wxString* files = self->GetFiles();
|
wxString* files = self->GetFiles();
|
||||||
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||||
PyObject* list = PyList_New(count);
|
PyObject* list = PyList_New(count);
|
||||||
|
|
||||||
if (!list) {
|
if (!list) {
|
||||||
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<count; i++) {
|
for (int i=0; i<count; i++) {
|
||||||
PyList_SetItem(list, i, wx2PyString(files[i]));
|
PyList_SetItem(list, i, wx2PyString(files[i]));
|
||||||
}
|
}
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2726,6 +2729,7 @@ static long wxWindow_GetHandle(wxWindow *self){
|
|||||||
static void wxWindow_AssociateHandle(wxWindow *self,long handle){
|
static void wxWindow_AssociateHandle(wxWindow *self,long handle){
|
||||||
self->AssociateHandle((WXWidget)handle);
|
self->AssociateHandle((WXWidget)handle);
|
||||||
}
|
}
|
||||||
|
static void wxWindow_DragAcceptFiles(wxWindow *self,bool accept){}
|
||||||
|
|
||||||
wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
|
wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
|
||||||
return wxWindow::FindWindowById(id, parent);
|
return wxWindow::FindWindowById(id, parent);
|
||||||
@@ -18331,7 +18335,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs
|
|||||||
wxKeyEvent *result;
|
wxKeyEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "keyType", NULL
|
(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
||||||
@@ -19774,7 +19778,7 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
|
|||||||
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
int arg1 = (int) 0 ;
|
int arg1 = (int) 0 ;
|
||||||
wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
|
wxDC *arg2 = (wxDC *) NULL ;
|
||||||
wxEraseEvent *result;
|
wxEraseEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
@@ -20390,6 +20394,34 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
|
bool result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
@@ -20449,34 +20481,6 @@ static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
|
||||||
bool result;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
||||||
}
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||||
@@ -22280,7 +22284,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs)
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "winid",(char *) "commandType", NULL
|
(char *) "winid",(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22335,7 +22339,7 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22345,7 +22349,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22363,7 +22367,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22372,7 +22376,7 @@ static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -22404,7 +22408,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "commandType",(char *) "id", NULL
|
(char *) "eventType",(char *) "id", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22459,7 +22463,7 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22469,7 +22473,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22487,7 +22491,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22496,7 +22500,7 @@ static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -31738,6 +31742,37 @@ static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||||
|
bool arg2 ;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
PyObject * obj1 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self",(char *) "accept", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
arg2 = (bool)(SWIG_As_bool(obj1));
|
||||||
|
if (SWIG_arg_fail(2)) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
wxWindow_DragAcceptFiles(arg1,arg2);
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
Py_INCREF(Py_None); resultobj = Py_None;
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||||
@@ -45843,9 +45878,9 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -45922,13 +45957,13 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -46219,6 +46254,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
@@ -16942,7 +16942,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
@@ -1504,11 +1504,19 @@ class CheckListBox(ListBox):
|
|||||||
return _controls_.CheckListBox_GetItemHeight(*args, **kwargs)
|
return _controls_.CheckListBox_GetItemHeight(*args, **kwargs)
|
||||||
|
|
||||||
def HitTest(*args, **kwargs):
|
def HitTest(*args, **kwargs):
|
||||||
"""HitTest(self, Point pt) -> int"""
|
"""
|
||||||
|
HitTest(self, Point pt) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
return _controls_.CheckListBox_HitTest(*args, **kwargs)
|
||||||
|
|
||||||
def HitTestXY(*args, **kwargs):
|
def HitTestXY(*args, **kwargs):
|
||||||
"""HitTestXY(self, int x, int y) -> int"""
|
"""
|
||||||
|
HitTestXY(self, int x, int y) -> int
|
||||||
|
|
||||||
|
Test where the given (in client coords) point lies
|
||||||
|
"""
|
||||||
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
return _controls_.CheckListBox_HitTestXY(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
@@ -2117,8 +2125,6 @@ class ScrollBar(_core.Control):
|
|||||||
"""
|
"""
|
||||||
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
|
||||||
bool refresh=True)
|
bool refresh=True)
|
||||||
|
|
||||||
Sets the scrollbar properties of a built-in scrollbar.
|
|
||||||
"""
|
"""
|
||||||
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -2612,16 +2612,19 @@ static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
|
|||||||
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
|
||||||
int count = self->GetNumberOfFiles();
|
int count = self->GetNumberOfFiles();
|
||||||
wxString* files = self->GetFiles();
|
wxString* files = self->GetFiles();
|
||||||
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||||
PyObject* list = PyList_New(count);
|
PyObject* list = PyList_New(count);
|
||||||
|
|
||||||
if (!list) {
|
if (!list) {
|
||||||
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<count; i++) {
|
for (int i=0; i<count; i++) {
|
||||||
PyList_SetItem(list, i, wx2PyString(files[i]));
|
PyList_SetItem(list, i, wx2PyString(files[i]));
|
||||||
}
|
}
|
||||||
|
wxPyEndBlockThreads(blocked);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18315,7 +18318,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs
|
|||||||
wxKeyEvent *result;
|
wxKeyEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "keyType", NULL
|
(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
|
||||||
@@ -19758,7 +19761,7 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
|
|||||||
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
int arg1 = (int) 0 ;
|
int arg1 = (int) 0 ;
|
||||||
wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
|
wxDC *arg2 = (wxDC *) NULL ;
|
||||||
wxEraseEvent *result;
|
wxEraseEvent *result;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
@@ -20374,6 +20377,34 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject *resultobj;
|
||||||
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
|
bool result;
|
||||||
|
PyObject * obj0 = 0 ;
|
||||||
|
char *kwnames[] = {
|
||||||
|
(char *) "self", NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
||||||
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||||
|
}
|
||||||
|
return resultobj;
|
||||||
|
fail:
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
||||||
@@ -20433,34 +20464,6 @@ static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject *resultobj;
|
|
||||||
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
|
|
||||||
bool result;
|
|
||||||
PyObject * obj0 = 0 ;
|
|
||||||
char *kwnames[] = {
|
|
||||||
(char *) "self", NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
|
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
|
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
||||||
}
|
|
||||||
return resultobj;
|
|
||||||
fail:
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||||
@@ -22264,7 +22267,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs)
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "winid",(char *) "commandType", NULL
|
(char *) "winid",(char *) "eventType", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22319,7 +22322,7 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22329,7 +22332,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22347,7 +22350,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
wxPyEvent *arg1 = (wxPyEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22356,7 +22359,7 @@ static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwa
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -22388,7 +22391,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *
|
|||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
char *kwnames[] = {
|
char *kwnames[] = {
|
||||||
(char *) "commandType",(char *) "id", NULL
|
(char *) "eventType",(char *) "id", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
|
||||||
@@ -22443,7 +22446,7 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *arg2 = (PyObject *) 0 ;
|
PyObject *arg2 = (PyObject *) 0 ;
|
||||||
@@ -22453,7 +22456,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self",(char *) "self", NULL
|
(char *) "self",(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
arg2 = obj1;
|
arg2 = obj1;
|
||||||
@@ -22471,7 +22474,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
@@ -22480,7 +22483,7 @@ static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObje
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
@@ -45893,9 +45896,9 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
||||||
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
@@ -45972,13 +45975,13 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
{ (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
|
||||||
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
{ (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||||
|
@@ -16941,7 +16941,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar
|
|||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
Reference in New Issue
Block a user