#include <wx/metafile.h>
-#include <wx/dnd.h>
-class wxPyDropSource : public wxDropSource {
-public:
-#ifndef __WXGTK__
- wxPyDropSource(wxWindow *win = NULL,
- const wxCursor © = wxNullCursor,
- const wxCursor &move = wxNullCursor,
- const wxCursor &none = wxNullCursor)
- : wxDropSource(win, copy, move, none) {}
-#else
- wxPyDropSource(wxWindow *win = NULL,
- const wxIcon& copy = wxNullIcon,
- const wxIcon& move = wxNullIcon,
- const wxIcon& none = wxNullIcon)
- : wxDropSource(win, copy, move, none) {}
-#endif
- ~wxPyDropSource() { }
-
- DEC_PYCALLBACK_BOOL_DR(GiveFeedback);
- PYPRIVATE;
-};
-
IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
-
-class wxPyDropTarget : public wxDropTarget {
-public:
- wxPyDropTarget(wxDataObject *dataObject = NULL)
- : wxDropTarget(dataObject) {}
-
- // called when mouse leaves the window: might be used to remove the
- // feedback which was given in OnEnter()
- DEC_PYCALLBACK__(OnLeave);
-
- // called when the mouse enters the window (only once until OnLeave())
- DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
-
- // called when the mouse moves in the window - shouldn't take long to
- // execute or otherwise mouse movement would be too slow
- DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
-
- // called after OnDrop() returns True: you will usually just call
- // GetData() from here and, probably, also refresh something to update the
- // new data and, finally, return the code indicating how did the operation
- // complete (returning default value in case of success and wxDragError on
- // failure is usually ok)
- DEC_PYCALLBACK_DR_2WXCDR_pure(OnData);
-
- // this function is called when data is dropped at position (x, y) - if it
- // returns True, OnData() will be called immediately afterwards which will
- // allow to retrieve the data dropped.
- DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
-
- PYPRIVATE;
-};
-
IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
-
class wxPyTextDropTarget : public wxTextDropTarget {
public:
wxPyTextDropTarget() {}
}
+static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxCaret *arg1 = (wxCaret *) 0 ;
+ wxPoint result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetPosition();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxPoint * resultptr;
+ resultptr = new wxPoint((wxPoint &) result);
+ resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCaret *arg1 = (wxCaret *) 0 ;
}
-static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCaret *arg1 = (wxCaret *) 0 ;
- wxPoint result;
+ wxSize result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetPosition();
+ result = (arg1)->GetSize();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
- wxPoint * resultptr;
- resultptr = new wxPoint((wxPoint &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
+ wxSize * resultptr;
+ resultptr = new wxSize((wxSize &) result);
+ resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
}
return resultobj;
fail:
}
-static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxCaret *arg1 = (wxCaret *) 0 ;
- wxSize result;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (arg1)->GetSize();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- {
- wxSize * resultptr;
- resultptr = new wxSize((wxSize &) result);
- resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
- }
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCaret *arg1 = (wxCaret *) 0 ;
}
+static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyTimer *arg1 = (wxPyTimer *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject *arg3 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "self",(char *) "_class", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ arg2 = obj1;
+ arg3 = obj2;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->_setCallbackInfo(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
}
-static PyObject *_wrap_Timer_Notify(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyTimer *arg1 = (wxPyTimer *) 0 ;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->Notify();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)((wxWave const *)arg1)->Play(arg2,arg3);
+ result = (bool)(arg1)->Play(arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
-static PyObject *_wrap_delete_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject *resultobj;
- wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
- PyObject * obj0 = 0 ;
- char *kwnames[] = {
- (char *) "self", NULL
- };
-
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
- if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- {
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- delete arg1;
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
- }
- Py_INCREF(Py_None); resultobj = Py_None;
- return resultobj;
- fail:
- return NULL;
-}
-
-
static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
PyObject *resultobj;
int arg1 ;
int arg2 = (int) wxDateTime::Gregorian ;
- wxDateTime::wxDateTime_t result;
+ int result;
char *kwnames[] = {
(char *) "year",(char *) "cal", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
+ result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
int arg1 ;
int arg2 = (int) wxDateTime::Inv_Year ;
int arg3 = (int) wxDateTime::Gregorian ;
- wxDateTime::wxDateTime_t result;
+ int result;
char *kwnames[] = {
(char *) "month",(char *) "year",(char *) "cal", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
+ result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- wxDateTime::wxDateTime_t arg1 ;
- wxDateTime::wxDateTime_t arg2 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
+ int arg1 ;
+ int arg2 = (int) 0 ;
+ int arg3 = (int) 0 ;
+ int arg4 = (int) 0 ;
wxDateTime *result;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
char *kwnames[] = {
(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
- arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- if (obj1) {
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj2) {
- arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj3) {
- arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- }
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- wxDateTime::wxDateTime_t arg1 ;
+ int arg1 ;
int arg2 = (int) wxDateTime::Inv_Month ;
int arg3 = (int) wxDateTime::Inv_Year ;
- wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
+ int arg4 = (int) 0 ;
+ int arg5 = (int) 0 ;
+ int arg6 = (int) 0 ;
+ int arg7 = (int) 0 ;
wxDateTime *result;
- PyObject * obj0 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- PyObject * obj6 = 0 ;
char *kwnames[] = {
(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiOOOO:new_DateTimeFromDMY",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
- arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
- if (PyErr_Occurred()) SWIG_fail;
- if (obj3) {
- arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj4) {
- arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj5) {
- arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj6) {
- arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
- if (PyErr_Occurred()) SWIG_fail;
- }
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
- wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
+ int arg2 ;
+ int arg3 = (int) 0 ;
+ int arg4 = (int) 0 ;
+ int arg5 = (int) 0 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (obj2) {
- arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj3) {
- arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj4) {
- arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
int arg3 = (int) wxDateTime::Inv_Month ;
int arg4 = (int) wxDateTime::Inv_Year ;
- wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
- wxDateTime::wxDateTime_t arg8 = (wxDateTime::wxDateTime_t) 0 ;
+ int arg5 = (int) 0 ;
+ int arg6 = (int) 0 ;
+ int arg7 = (int) 0 ;
+ int arg8 = (int) 0 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- PyObject * obj6 = 0 ;
- PyObject * obj7 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiOOOO:DateTime_Set",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if (obj4) {
- arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj5) {
- arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj6) {
- arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
- if (PyErr_Occurred()) SWIG_fail;
- }
- if (obj7) {
- arg8 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj7);
- if (PyErr_Occurred()) SWIG_fail;
- }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "day", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "hour", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "minute", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "second", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "millisecond", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
int arg3 = (int) wxDateTime::Mon ;
int arg4 = (int) wxDateTime::Monday_First ;
bool result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
int arg3 = (int) wxDateTime::Mon ;
int arg4 = (int) wxDateTime::Monday_First ;
wxDateTime result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_GetWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime *result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "yday", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- wxDateTime::wxDateTime_t arg2 ;
+ int arg2 ;
wxDateTime result;
PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "yday", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
- arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
- if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (arg1)->GetYearDay(arg2);
wxDateTime::TimeZone *arg2 = 0 ;
bool arg3 = (bool) False ;
wxDateTime result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
if (obj2) {
arg3 = PyInt_AsLong(obj2) ? true : false;
resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
}
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime::TimeZone *arg2 = 0 ;
bool arg3 = (bool) False ;
wxDateTime *result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
if (obj2) {
arg3 = PyInt_AsLong(obj2) ? true : false;
}
resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
+ temp2 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
+ result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return resultobj;
fail:
{
- if (arg2) delete arg2;
+ if (temp2) delete arg2;
}
return NULL;
}
int arg2 = (int) wxDateTime::Monday_First ;
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
+ temp3 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
+ result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return resultobj;
fail:
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return NULL;
}
int arg2 = (int) wxDateTime::Monday_First ;
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
- wxDateTime::wxDateTime_t result;
+ int result;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
+ temp3 = True;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
+ result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = PyInt_FromLong((long)result);
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return resultobj;
fail:
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return NULL;
}
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
wxString result;
bool temp2 = False ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
+ temp3 = True;
}
}
{
delete arg2;
}
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return resultobj;
fail:
delete arg2;
}
{
- if (arg3) delete arg3;
+ if (temp3) delete arg3;
}
return NULL;
}
{ (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
- { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
- { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
{ (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
{ (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
- { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
{ (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
{ (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
{ (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
- { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS },
{ (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
{ (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
{ (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },