From: Robin Dunn Date: Wed, 19 Nov 2003 18:38:16 +0000 (+0000) Subject: reSWIGged X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/423f194a1411e8aac372de29ef4a7ab5f90acb04?hp=9d1d5697d58d8df82347aaaaef742f52fc168e4a reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/contrib/glcanvas/mac/glcanvas.py b/wxPython/contrib/glcanvas/mac/glcanvas.py index 81a92af688..ac95be0d08 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas.py +++ b/wxPython/contrib/glcanvas/mac/glcanvas.py @@ -6,21 +6,38 @@ import _glcanvas import core wx = core class GLContext(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, + GLContext other=None) -> GLContext""" newobj = _glcanvas.new_GLContext(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_glcanvas.delete_GLContext): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetCurrent(*args, **kwargs): return _glcanvas.GLContext_SetCurrent(*args, **kwargs) - def SetColour(*args, **kwargs): return _glcanvas.GLContext_SetColour(*args, **kwargs) - def SwapBuffers(*args, **kwargs): return _glcanvas.GLContext_SwapBuffers(*args, **kwargs) - def GetWindow(*args, **kwargs): return _glcanvas.GLContext_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetCurrent(*args, **kwargs): + """SetCurrent()""" + return _glcanvas.GLContext_SetCurrent(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxString colour)""" + return _glcanvas.GLContext_SetColour(*args, **kwargs) + + def SwapBuffers(*args, **kwargs): + """SwapBuffers()""" + return _glcanvas.GLContext_SwapBuffers(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _glcanvas.GLContext_GetWindow(*args, **kwargs) + class GLContextPtr(GLContext): def __init__(self, this): @@ -46,18 +63,36 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA class GLCanvas(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, + wxPalette palette=wxNullPalette) -> GLCanvas""" newobj = _glcanvas.new_GLCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetCurrent(*args, **kwargs): return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs) - def SetColour(*args, **kwargs): return _glcanvas.GLCanvas_SetColour(*args, **kwargs) - def SwapBuffers(*args, **kwargs): return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs) - def GetContext(*args, **kwargs): return _glcanvas.GLCanvas_GetContext(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetCurrent(*args, **kwargs): + """SetCurrent()""" + return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxString colour)""" + return _glcanvas.GLCanvas_SetColour(*args, **kwargs) + + def SwapBuffers(*args, **kwargs): + """SwapBuffers()""" + return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs) + + def GetContext(*args, **kwargs): + """GetContext() -> GLContext""" + return _glcanvas.GLCanvas_GetContext(*args, **kwargs) + class GLCanvasPtr(GLCanvas): def __init__(self, this): @@ -67,6 +102,10 @@ class GLCanvasPtr(GLCanvas): _glcanvas.GLCanvas_swigregister(GLCanvasPtr) def wxGLCanvasWithContext(*args, **kwargs): + """wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas""" val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs) val.thisown = 1 val._setOORInfo(val) diff --git a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp index 2c685663db..9ac3cd5c0c 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -351,7 +345,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxGLContext *arg1 = (wxGLContext *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -363,7 +357,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -448,7 +442,7 @@ static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -462,7 +456,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw wxGLCanvas *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; int *temp7 ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -492,7 +486,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } if (obj6) { @@ -547,7 +541,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxGLContext *arg2 = (wxGLContext *) NULL ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -561,7 +555,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, wxGLCanvas *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; int *temp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -595,7 +589,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj7) { @@ -674,7 +668,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -686,7 +680,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.py b/wxPython/contrib/glcanvas/msw/glcanvas.py index ece1507994..720f965d53 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas.py +++ b/wxPython/contrib/glcanvas/msw/glcanvas.py @@ -6,21 +6,38 @@ import _glcanvas import core wx = core class GLContext(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, + GLContext other=None) -> GLContext""" newobj = _glcanvas.new_GLContext(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_glcanvas.delete_GLContext): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetCurrent(*args, **kwargs): return _glcanvas.GLContext_SetCurrent(*args, **kwargs) - def SetColour(*args, **kwargs): return _glcanvas.GLContext_SetColour(*args, **kwargs) - def SwapBuffers(*args, **kwargs): return _glcanvas.GLContext_SwapBuffers(*args, **kwargs) - def GetWindow(*args, **kwargs): return _glcanvas.GLContext_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetCurrent(*args, **kwargs): + """SetCurrent()""" + return _glcanvas.GLContext_SetCurrent(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxString colour)""" + return _glcanvas.GLContext_SetColour(*args, **kwargs) + + def SwapBuffers(*args, **kwargs): + """SwapBuffers()""" + return _glcanvas.GLContext_SwapBuffers(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _glcanvas.GLContext_GetWindow(*args, **kwargs) + class GLContextPtr(GLContext): def __init__(self, this): @@ -46,22 +63,52 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA class GLCanvas(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, + wxPalette palette=wxNullPalette) -> GLCanvas""" newobj = _glcanvas.new_GLCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetCurrent(*args, **kwargs): return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs) - def SetColour(*args, **kwargs): return _glcanvas.GLCanvas_SetColour(*args, **kwargs) - def SwapBuffers(*args, **kwargs): return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs) - def GetContext(*args, **kwargs): return _glcanvas.GLCanvas_GetContext(*args, **kwargs) - def SetupPixelFormat(*args, **kwargs): return _glcanvas.GLCanvas_SetupPixelFormat(*args, **kwargs) - def SetupPalette(*args, **kwargs): return _glcanvas.GLCanvas_SetupPalette(*args, **kwargs) - def CreateDefaultPalette(*args, **kwargs): return _glcanvas.GLCanvas_CreateDefaultPalette(*args, **kwargs) - def GetPalette(*args, **kwargs): return _glcanvas.GLCanvas_GetPalette(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetCurrent(*args, **kwargs): + """SetCurrent()""" + return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxString colour)""" + return _glcanvas.GLCanvas_SetColour(*args, **kwargs) + + def SwapBuffers(*args, **kwargs): + """SwapBuffers()""" + return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs) + + def GetContext(*args, **kwargs): + """GetContext() -> GLContext""" + return _glcanvas.GLCanvas_GetContext(*args, **kwargs) + + def SetupPixelFormat(*args, **kwargs): + """SetupPixelFormat(int attribList=None)""" + return _glcanvas.GLCanvas_SetupPixelFormat(*args, **kwargs) + + def SetupPalette(*args, **kwargs): + """SetupPalette(wxPalette palette)""" + return _glcanvas.GLCanvas_SetupPalette(*args, **kwargs) + + def CreateDefaultPalette(*args, **kwargs): + """CreateDefaultPalette() -> wxPalette""" + return _glcanvas.GLCanvas_CreateDefaultPalette(*args, **kwargs) + + def GetPalette(*args, **kwargs): + """GetPalette() -> wxPalette""" + return _glcanvas.GLCanvas_GetPalette(*args, **kwargs) + class GLCanvasPtr(GLCanvas): def __init__(self, this): @@ -71,6 +118,10 @@ class GLCanvasPtr(GLCanvas): _glcanvas.GLCanvas_swigregister(GLCanvasPtr) def wxGLCanvasWithContext(*args, **kwargs): + """wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas""" val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs) val.thisown = 1 val._setOORInfo(val) diff --git a/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp index 164bd38211..6a68076953 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -347,7 +341,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxGLContext *arg1 = (wxGLContext *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -359,7 +353,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -444,7 +438,7 @@ static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -458,7 +452,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw wxGLCanvas *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; int *temp7 ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -488,7 +482,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } if (obj6) { @@ -543,7 +537,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxGLContext *arg2 = (wxGLContext *) NULL ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -557,7 +551,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, wxGLCanvas *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; int *temp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -591,7 +585,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj7) { @@ -670,7 +664,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -682,7 +676,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); diff --git a/wxPython/src/mac/calendar.py b/wxPython/src/mac/calendar.py index 412bd12d80..e027f1cd59 100644 --- a/wxPython/src/mac/calendar.py +++ b/wxPython/src/mac/calendar.py @@ -23,30 +23,85 @@ CAL_BORDER_NONE = _calendar.CAL_BORDER_NONE CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND class CalendarDateAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour colText, wxColour colBack=wxNullColour, wxColour colBorder=wxNullColour, + wxFont font=wxNullFont, + wxCalendarDateBorder border=CAL_BORDER_NONE) -> CalendarDateAttr""" newobj = _calendar.new_CalendarDateAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs) - def SetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _calendar.CalendarDateAttr_SetFont(*args, **kwargs) - def SetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs) - def SetHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs) - def HasBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _calendar.CalendarDateAttr_HasFont(*args, **kwargs) - def HasBorder(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs) - def IsHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs) - def GetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _calendar.CalendarDateAttr_GetFont(*args, **kwargs) - def GetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs) + + def SetBorderColour(*args, **kwargs): + """SetBorderColour(wxColour col)""" + return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _calendar.CalendarDateAttr_SetFont(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(wxCalendarDateBorder border)""" + return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs) + + def SetHoliday(*args, **kwargs): + """SetHoliday(bool holiday)""" + return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs) + + def HasBorderColour(*args, **kwargs): + """HasBorderColour() -> bool""" + return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _calendar.CalendarDateAttr_HasFont(*args, **kwargs) + + def HasBorder(*args, **kwargs): + """HasBorder() -> bool""" + return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs) + + def IsHoliday(*args, **kwargs): + """IsHoliday() -> bool""" + return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs) + + def GetBorderColour(*args, **kwargs): + """GetBorderColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _calendar.CalendarDateAttr_GetFont(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> wxCalendarDateBorder""" + return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) + class CalendarDateAttrPtr(CalendarDateAttr): def __init__(self, this): @@ -56,20 +111,29 @@ class CalendarDateAttrPtr(CalendarDateAttr): _calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr) def CalendarDateAttrBorder(*args, **kwargs): + """CalendarDateAttrBorder(wxCalendarDateBorder border, wxColour colBorder=wxNullColour) -> CalendarDateAttr""" val = _calendar.new_CalendarDateAttrBorder(*args, **kwargs) val.thisown = 1 return val class CalendarEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent""" newobj = _calendar.new_CalendarEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDate(*args, **kwargs): return _calendar.CalendarEvent_GetDate(*args, **kwargs) - def GetWeekDay(*args, **kwargs): return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDate(*args, **kwargs): + """GetDate() -> DateTime""" + return _calendar.CalendarEvent_GetDate(*args, **kwargs) + + def GetWeekDay(*args, **kwargs): + """GetWeekDay() -> wxDateTime::WeekDay""" + return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs) + class CalendarEventPtr(CalendarEvent): def __init__(self, this): @@ -92,41 +156,131 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) class CalendarCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> CalendarCtrl""" newobj = _calendar.new_CalendarCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _calendar.CalendarCtrl_Create(*args, **kwargs) - def SetDate(*args, **kwargs): return _calendar.CalendarCtrl_SetDate(*args, **kwargs) - def GetDate(*args, **kwargs): return _calendar.CalendarCtrl_GetDate(*args, **kwargs) - def SetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs) - def GetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs) - def SetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs) - def GetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs) - def SetDateRange(*args, **kwargs): return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs) - def EnableYearChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs) - def EnableMonthChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs) - def EnableHolidayDisplay(*args, **kwargs): return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs) - def SetHeaderColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs) - def GetHeaderColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs) - def GetHeaderColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs) - def SetHighlightColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs) - def GetHighlightColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs) - def GetHighlightColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs) - def SetHolidayColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs) - def GetHolidayColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs) - def GetHolidayColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs) - def GetAttr(*args, **kwargs): return _calendar.CalendarCtrl_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _calendar.CalendarCtrl_SetAttr(*args, **kwargs) - def SetHoliday(*args, **kwargs): return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs) - def ResetAttr(*args, **kwargs): return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs) - def HitTest(*args, **kwargs): return _calendar.CalendarCtrl_HitTest(*args, **kwargs) - def Enable(*args, **kwargs): return _calendar.CalendarCtrl_Enable(*args, **kwargs) - def Show(*args, **kwargs): return _calendar.CalendarCtrl_Show(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> bool""" + return _calendar.CalendarCtrl_Create(*args, **kwargs) + + def SetDate(*args, **kwargs): + """SetDate(DateTime date)""" + return _calendar.CalendarCtrl_SetDate(*args, **kwargs) + + def GetDate(*args, **kwargs): + """GetDate() -> DateTime""" + return _calendar.CalendarCtrl_GetDate(*args, **kwargs) + + def SetLowerDateLimit(*args, **kwargs): + """SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs) + + def GetLowerDateLimit(*args, **kwargs): + """GetLowerDateLimit() -> DateTime""" + return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs) + + def SetUpperDateLimit(*args, **kwargs): + """SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs) + + def GetUpperDateLimit(*args, **kwargs): + """GetUpperDateLimit() -> DateTime""" + return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs) + + def SetDateRange(*args, **kwargs): + """SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs) + + def EnableYearChange(*args, **kwargs): + """EnableYearChange(bool enable=True)""" + return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs) + + def EnableMonthChange(*args, **kwargs): + """EnableMonthChange(bool enable=True)""" + return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs) + + def EnableHolidayDisplay(*args, **kwargs): + """EnableHolidayDisplay(bool display=True)""" + return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs) + + def SetHeaderColours(*args, **kwargs): + """SetHeaderColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs) + + def GetHeaderColourFg(*args, **kwargs): + """GetHeaderColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs) + + def GetHeaderColourBg(*args, **kwargs): + """GetHeaderColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs) + + def SetHighlightColours(*args, **kwargs): + """SetHighlightColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs) + + def GetHighlightColourFg(*args, **kwargs): + """GetHighlightColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs) + + def GetHighlightColourBg(*args, **kwargs): + """GetHighlightColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs) + + def SetHolidayColours(*args, **kwargs): + """SetHolidayColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs) + + def GetHolidayColourFg(*args, **kwargs): + """GetHolidayColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs) + + def GetHolidayColourBg(*args, **kwargs): + """GetHolidayColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(size_t day) -> CalendarDateAttr""" + return _calendar.CalendarCtrl_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(size_t day, CalendarDateAttr attr)""" + return _calendar.CalendarCtrl_SetAttr(*args, **kwargs) + + def SetHoliday(*args, **kwargs): + """SetHoliday(size_t day)""" + return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs) + + def ResetAttr(*args, **kwargs): + """ResetAttr(size_t day)""" + return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pos, DateTime date=None, wxDateTime::WeekDay wd=None) -> wxCalendarHitTestResult""" + return _calendar.CalendarCtrl_HitTest(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True) -> bool""" + return _calendar.CalendarCtrl_Enable(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show=True) -> bool""" + return _calendar.CalendarCtrl_Show(*args, **kwargs) + class CalendarCtrlPtr(CalendarCtrl): def __init__(self, this): @@ -136,6 +290,7 @@ class CalendarCtrlPtr(CalendarCtrl): _calendar.CalendarCtrl_swigregister(CalendarCtrlPtr) def PreCalendarCtrl(*args, **kwargs): + """PreCalendarCtrl() -> CalendarCtrl""" val = _calendar.new_PreCalendarCtrl(*args, **kwargs) val.thisown = 1 return val diff --git a/wxPython/src/mac/calendar_wrap.cpp b/wxPython/src/mac/calendar_wrap.cpp index 6e293f162a..d5287c26e2 100644 --- a/wxPython/src/mac/calendar_wrap.cpp +++ b/wxPython/src/mac/calendar_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -913,7 +907,7 @@ static PyObject * CalendarEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -926,7 +920,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject wxCalendarCtrl *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -960,7 +954,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1011,7 +1005,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxDateTime const &arg4_defvalue = wxDefaultDateTime ; wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -1024,7 +1018,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1060,7 +1054,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1313,7 +1307,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *self, PyObject *args, static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1343,7 +1337,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *a static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1373,7 +1367,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject * static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1849,7 +1843,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -1880,7 +1874,7 @@ static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_CalendarCtrl_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; diff --git a/wxPython/src/mac/controls.py b/wxPython/src/mac/controls.py index 422ee96adb..c98eec2e2a 100644 --- a/wxPython/src/mac/controls.py +++ b/wxPython/src/mac/controls.py @@ -14,17 +14,36 @@ BU_BOTTOM = _controls.BU_BOTTOM BU_EXACTFIT = _controls.BU_EXACTFIT BU_AUTODRAW = _controls.BU_AUTODRAW class Button(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> Button""" newobj = _controls.new_Button(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Button_Create(*args, **kwargs) - def SetDefault(*args, **kwargs): return _controls.Button_SetDefault(*args, **kwargs) - GetDefaultSize = staticmethod(_controls.Button_GetDefaultSize) - def __repr__(self): - return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool""" + return _controls.Button_Create(*args, **kwargs) + + def SetDefault(*args, **kwargs): + """SetDefault()""" + return _controls.Button_SetDefault(*args, **kwargs) + + def GetDefaultSize(*args, **kwargs): + """Button.GetDefaultSize() -> Size""" + return _controls.Button_GetDefaultSize(*args, **kwargs) + + GetDefaultSize = staticmethod(GetDefaultSize) class ButtonPtr(Button): def __init__(self, this): @@ -34,33 +53,81 @@ class ButtonPtr(Button): _controls.Button_swigregister(ButtonPtr) def PreButton(*args, **kwargs): + """PreButton() -> Button""" val = _controls.new_PreButton(*args, **kwargs) val.thisown = 1 return val -Button_GetDefaultSize = _controls.Button_GetDefaultSize +def Button_GetDefaultSize(*args, **kwargs): + """Button_GetDefaultSize() -> Size""" + return _controls.Button_GetDefaultSize(*args, **kwargs) class BitmapButton(Button): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> BitmapButton""" newobj = _controls.new_BitmapButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.BitmapButton_Create(*args, **kwargs) - def GetBitmapLabel(*args, **kwargs): return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) - def GetBitmapDisabled(*args, **kwargs): return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) - def GetBitmapFocus(*args, **kwargs): return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) - def GetBitmapSelected(*args, **kwargs): return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) - def SetBitmapDisabled(*args, **kwargs): return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) - def SetBitmapFocus(*args, **kwargs): return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) - def SetBitmapSelected(*args, **kwargs): return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) - def SetBitmapLabel(*args, **kwargs): return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) - def SetMargins(*args, **kwargs): return _controls.BitmapButton_SetMargins(*args, **kwargs) - def GetMarginX(*args, **kwargs): return _controls.BitmapButton_GetMarginX(*args, **kwargs) - def GetMarginY(*args, **kwargs): return _controls.BitmapButton_GetMarginY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool""" + return _controls.BitmapButton_Create(*args, **kwargs) + + def GetBitmapLabel(*args, **kwargs): + """GetBitmapLabel() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) + + def GetBitmapDisabled(*args, **kwargs): + """GetBitmapDisabled() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) + + def GetBitmapFocus(*args, **kwargs): + """GetBitmapFocus() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) + + def GetBitmapSelected(*args, **kwargs): + """GetBitmapSelected() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) + + def SetBitmapDisabled(*args, **kwargs): + """SetBitmapDisabled(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) + + def SetBitmapFocus(*args, **kwargs): + """SetBitmapFocus(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) + + def SetBitmapSelected(*args, **kwargs): + """SetBitmapSelected(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) + + def SetBitmapLabel(*args, **kwargs): + """SetBitmapLabel(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(int x, int y)""" + return _controls.BitmapButton_SetMargins(*args, **kwargs) + + def GetMarginX(*args, **kwargs): + """GetMarginX() -> int""" + return _controls.BitmapButton_GetMarginX(*args, **kwargs) + + def GetMarginY(*args, **kwargs): + """GetMarginY() -> int""" + return _controls.BitmapButton_GetMarginY(*args, **kwargs) + class BitmapButtonPtr(BitmapButton): def __init__(self, this): @@ -70,6 +137,7 @@ class BitmapButtonPtr(BitmapButton): _controls.BitmapButton_swigregister(BitmapButtonPtr) def PreBitmapButton(*args, **kwargs): + """PreBitmapButton() -> BitmapButton""" val = _controls.new_PreBitmapButton(*args, **kwargs) val.thisown = 1 return val @@ -83,22 +151,55 @@ CHK_UNCHECKED = _controls.CHK_UNCHECKED CHK_CHECKED = _controls.CHK_CHECKED CHK_UNDETERMINED = _controls.CHK_UNDETERMINED class CheckBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> CheckBox""" newobj = _controls.new_CheckBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.CheckBox_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.CheckBox_GetValue(*args, **kwargs) - def IsChecked(*args, **kwargs): return _controls.CheckBox_IsChecked(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.CheckBox_SetValue(*args, **kwargs) - def Get3StateValue(*args, **kwargs): return _controls.CheckBox_Get3StateValue(*args, **kwargs) - def Set3StateValue(*args, **kwargs): return _controls.CheckBox_Set3StateValue(*args, **kwargs) - def Is3State(*args, **kwargs): return _controls.CheckBox_Is3State(*args, **kwargs) - def Is3rdStateAllowedForUser(*args, **kwargs): return _controls.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> bool""" + return _controls.CheckBox_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> bool""" + return _controls.CheckBox_GetValue(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _controls.CheckBox_IsChecked(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(bool state)""" + return _controls.CheckBox_SetValue(*args, **kwargs) + + def Get3StateValue(*args, **kwargs): + """Get3StateValue() -> wxCheckBoxState""" + return _controls.CheckBox_Get3StateValue(*args, **kwargs) + + def Set3StateValue(*args, **kwargs): + """Set3StateValue(wxCheckBoxState state)""" + return _controls.CheckBox_Set3StateValue(*args, **kwargs) + + def Is3State(*args, **kwargs): + """Is3State() -> bool""" + return _controls.CheckBox_Is3State(*args, **kwargs) + + def Is3rdStateAllowedForUser(*args, **kwargs): + """Is3rdStateAllowedForUser() -> bool""" + return _controls.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs) + class CheckBoxPtr(CheckBox): def __init__(self, this): @@ -108,6 +209,7 @@ class CheckBoxPtr(CheckBox): _controls.CheckBox_swigregister(CheckBoxPtr) def PreCheckBox(*args, **kwargs): + """PreCheckBox() -> CheckBox""" val = _controls.new_PreCheckBox(*args, **kwargs) val.thisown = 1 return val @@ -115,20 +217,47 @@ def PreCheckBox(*args, **kwargs): #--------------------------------------------------------------------------- class Choice(core.ControlWithItems): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> Choice""" newobj = _controls.new_Choice(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Choice_Create(*args, **kwargs) - def GetColumns(*args, **kwargs): return _controls.Choice_GetColumns(*args, **kwargs) - def SetColumns(*args, **kwargs): return _controls.Choice_SetColumns(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.Choice_SetSelection(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.Choice_SetStringSelection(*args, **kwargs) - def SetString(*args, **kwargs): return _controls.Choice_SetString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> bool""" + return _controls.Choice_Create(*args, **kwargs) + + def GetColumns(*args, **kwargs): + """GetColumns() -> int""" + return _controls.Choice_GetColumns(*args, **kwargs) + + def SetColumns(*args, **kwargs): + """SetColumns(int n=1)""" + return _controls.Choice_SetColumns(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n)""" + return _controls.Choice_SetSelection(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString string)""" + return _controls.Choice_SetStringSelection(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString s)""" + return _controls.Choice_SetString(*args, **kwargs) + class ChoicePtr(Choice): def __init__(self, this): @@ -138,6 +267,7 @@ class ChoicePtr(Choice): _controls.Choice_swigregister(ChoicePtr) def PreChoice(*args, **kwargs): + """PreChoice() -> Choice""" val = _controls.new_PreChoice(*args, **kwargs) val.thisown = 1 return val @@ -145,28 +275,81 @@ def PreChoice(*args, **kwargs): #--------------------------------------------------------------------------- class ComboBox(core.Control,core.ItemContainer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> ComboBox""" newobj = _controls.new_ComboBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ComboBox_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.ComboBox_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.ComboBox_SetValue(*args, **kwargs) - def Copy(*args, **kwargs): return _controls.ComboBox_Copy(*args, **kwargs) - def Cut(*args, **kwargs): return _controls.ComboBox_Cut(*args, **kwargs) - def Paste(*args, **kwargs): return _controls.ComboBox_Paste(*args, **kwargs) - def SetInsertionPoint(*args, **kwargs): return _controls.ComboBox_SetInsertionPoint(*args, **kwargs) - def GetInsertionPoint(*args, **kwargs): return _controls.ComboBox_GetInsertionPoint(*args, **kwargs) - def GetLastPosition(*args, **kwargs): return _controls.ComboBox_GetLastPosition(*args, **kwargs) - def Replace(*args, **kwargs): return _controls.ComboBox_Replace(*args, **kwargs) - def SetMark(*args, **kwargs): return _controls.ComboBox_SetMark(*args, **kwargs) - def SetEditable(*args, **kwargs): return _controls.ComboBox_SetEditable(*args, **kwargs) - def SetInsertionPointEnd(*args, **kwargs): return _controls.ComboBox_SetInsertionPointEnd(*args, **kwargs) - def Remove(*args, **kwargs): return _controls.ComboBox_Remove(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> bool""" + return _controls.ComboBox_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _controls.ComboBox_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _controls.ComboBox_SetValue(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy()""" + return _controls.ComboBox_Copy(*args, **kwargs) + + def Cut(*args, **kwargs): + """Cut()""" + return _controls.ComboBox_Cut(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste()""" + return _controls.ComboBox_Paste(*args, **kwargs) + + def SetInsertionPoint(*args, **kwargs): + """SetInsertionPoint(long pos)""" + return _controls.ComboBox_SetInsertionPoint(*args, **kwargs) + + def GetInsertionPoint(*args, **kwargs): + """GetInsertionPoint() -> long""" + return _controls.ComboBox_GetInsertionPoint(*args, **kwargs) + + def GetLastPosition(*args, **kwargs): + """GetLastPosition() -> long""" + return _controls.ComboBox_GetLastPosition(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(long from, long to, wxString value)""" + return _controls.ComboBox_Replace(*args, **kwargs) + + def SetMark(*args, **kwargs): + """SetMark(long from, long to)""" + return _controls.ComboBox_SetMark(*args, **kwargs) + + def SetEditable(*args, **kwargs): + """SetEditable(bool editable)""" + return _controls.ComboBox_SetEditable(*args, **kwargs) + + def SetInsertionPointEnd(*args, **kwargs): + """SetInsertionPointEnd()""" + return _controls.ComboBox_SetInsertionPointEnd(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(long from, long to)""" + return _controls.ComboBox_Remove(*args, **kwargs) + class ComboBoxPtr(ComboBox): def __init__(self, this): @@ -176,6 +359,7 @@ class ComboBoxPtr(ComboBox): _controls.ComboBox_swigregister(ComboBoxPtr) def PreComboBox(*args, **kwargs): + """PreComboBox() -> ComboBox""" val = _controls.new_PreComboBox(*args, **kwargs) val.thisown = 1 return val @@ -187,24 +371,63 @@ GA_VERTICAL = _controls.GA_VERTICAL GA_SMOOTH = _controls.GA_SMOOTH GA_PROGRESSBAR = _controls.GA_PROGRESSBAR class Gauge(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> Gauge""" newobj = _controls.new_Gauge(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Gauge_Create(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.Gauge_SetRange(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.Gauge_GetRange(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.Gauge_SetValue(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.Gauge_GetValue(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.Gauge_IsVertical(*args, **kwargs) - def SetShadowWidth(*args, **kwargs): return _controls.Gauge_SetShadowWidth(*args, **kwargs) - def GetShadowWidth(*args, **kwargs): return _controls.Gauge_GetShadowWidth(*args, **kwargs) - def SetBezelFace(*args, **kwargs): return _controls.Gauge_SetBezelFace(*args, **kwargs) - def GetBezelFace(*args, **kwargs): return _controls.Gauge_GetBezelFace(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> bool""" + return _controls.Gauge_Create(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int range)""" + return _controls.Gauge_SetRange(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange() -> int""" + return _controls.Gauge_GetRange(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int pos)""" + return _controls.Gauge_SetValue(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.Gauge_GetValue(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.Gauge_IsVertical(*args, **kwargs) + + def SetShadowWidth(*args, **kwargs): + """SetShadowWidth(int w)""" + return _controls.Gauge_SetShadowWidth(*args, **kwargs) + + def GetShadowWidth(*args, **kwargs): + """GetShadowWidth() -> int""" + return _controls.Gauge_GetShadowWidth(*args, **kwargs) + + def SetBezelFace(*args, **kwargs): + """SetBezelFace(int w)""" + return _controls.Gauge_SetBezelFace(*args, **kwargs) + + def GetBezelFace(*args, **kwargs): + """GetBezelFace() -> int""" + return _controls.Gauge_GetBezelFace(*args, **kwargs) + class GaugePtr(Gauge): def __init__(self, this): @@ -214,6 +437,7 @@ class GaugePtr(Gauge): _controls.Gauge_swigregister(GaugePtr) def PreGauge(*args, **kwargs): + """PreGauge() -> Gauge""" val = _controls.new_PreGauge(*args, **kwargs) val.thisown = 1 return val @@ -221,15 +445,25 @@ def PreGauge(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> StaticBox""" newobj = _controls.new_StaticBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticBox_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> bool""" + return _controls.StaticBox_Create(*args, **kwargs) + class StaticBoxPtr(StaticBox): def __init__(self, this): @@ -239,6 +473,7 @@ class StaticBoxPtr(StaticBox): _controls.StaticBox_swigregister(StaticBoxPtr) def PreStaticBox(*args, **kwargs): + """PreStaticBox() -> StaticBox""" val = _controls.new_PreStaticBox(*args, **kwargs) val.thisown = 1 return val @@ -246,17 +481,34 @@ def PreStaticBox(*args, **kwargs): #--------------------------------------------------------------------------- class StaticLine(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> StaticLine""" newobj = _controls.new_StaticLine(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticLine_Create(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.StaticLine_IsVertical(*args, **kwargs) - GetDefaultSize = staticmethod(_controls.StaticLine_GetDefaultSize) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> bool""" + return _controls.StaticLine_Create(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.StaticLine_IsVertical(*args, **kwargs) + + def GetDefaultSize(*args, **kwargs): + """StaticLine.GetDefaultSize() -> int""" + return _controls.StaticLine_GetDefaultSize(*args, **kwargs) + + GetDefaultSize = staticmethod(GetDefaultSize) class StaticLinePtr(StaticLine): def __init__(self, this): @@ -266,24 +518,37 @@ class StaticLinePtr(StaticLine): _controls.StaticLine_swigregister(StaticLinePtr) def PreStaticLine(*args, **kwargs): + """PreStaticLine() -> StaticLine""" val = _controls.new_PreStaticLine(*args, **kwargs) val.thisown = 1 return val -StaticLine_GetDefaultSize = _controls.StaticLine_GetDefaultSize +def StaticLine_GetDefaultSize(*args, **kwargs): + """StaticLine_GetDefaultSize() -> int""" + return _controls.StaticLine_GetDefaultSize(*args, **kwargs) #--------------------------------------------------------------------------- class StaticText(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> StaticText""" newobj = _controls.new_StaticText(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticText_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> bool""" + return _controls.StaticText_Create(*args, **kwargs) + class StaticTextPtr(StaticText): def __init__(self, this): @@ -293,6 +558,7 @@ class StaticTextPtr(StaticText): _controls.StaticText_swigregister(StaticTextPtr) def PreStaticText(*args, **kwargs): + """PreStaticText() -> StaticText""" val = _controls.new_PreStaticText(*args, **kwargs) val.thisown = 1 return val @@ -300,17 +566,35 @@ def PreStaticText(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBitmap(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap""" newobj = _controls.new_StaticBitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Create(*args, **kwargs): return _controls.StaticBitmap_Create(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _controls.StaticBitmap_GetBitmap(*args, **kwargs) - def SetBitmap(*args, **kwargs): return _controls.StaticBitmap_SetBitmap(*args, **kwargs) - def SetIcon(*args, **kwargs): return _controls.StaticBitmap_SetIcon(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> bool""" + return _controls.StaticBitmap_Create(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _controls.StaticBitmap_GetBitmap(*args, **kwargs) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _controls.StaticBitmap_SetBitmap(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxIcon icon)""" + return _controls.StaticBitmap_SetIcon(*args, **kwargs) + class StaticBitmapPtr(StaticBitmap): def __init__(self, this): @@ -320,6 +604,7 @@ class StaticBitmapPtr(StaticBitmap): _controls.StaticBitmap_swigregister(StaticBitmapPtr) def PreStaticBitmap(*args, **kwargs): + """PreStaticBitmap() -> StaticBitmap""" val = _controls.new_PreStaticBitmap(*args, **kwargs) val.thisown = 1 return val @@ -327,30 +612,87 @@ def PreStaticBitmap(*args, **kwargs): #--------------------------------------------------------------------------- class ListBox(core.ControlWithItems): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> ListBox""" newobj = _controls.new_ListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ListBox_Create(*args, **kwargs) - def Insert(*args, **kwargs): return _controls.ListBox_Insert(*args, **kwargs) - def InsertItems(*args, **kwargs): return _controls.ListBox_InsertItems(*args, **kwargs) - def Set(*args, **kwargs): return _controls.ListBox_Set(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.ListBox_IsSelected(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.ListBox_SetSelection(*args, **kwargs) - def Select(*args, **kwargs): return _controls.ListBox_Select(*args, **kwargs) - def Deselect(*args, **kwargs): return _controls.ListBox_Deselect(*args, **kwargs) - def DeselectAll(*args, **kwargs): return _controls.ListBox_DeselectAll(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.ListBox_SetStringSelection(*args, **kwargs) - def GetSelections(*args, **kwargs): return _controls.ListBox_GetSelections(*args, **kwargs) - def SetFirstItem(*args, **kwargs): return _controls.ListBox_SetFirstItem(*args, **kwargs) - def SetFirstItemStr(*args, **kwargs): return _controls.ListBox_SetFirstItemStr(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.ListBox_EnsureVisible(*args, **kwargs) - def AppendAndEnsureVisible(*args, **kwargs): return _controls.ListBox_AppendAndEnsureVisible(*args, **kwargs) - def IsSorted(*args, **kwargs): return _controls.ListBox_IsSorted(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool""" + return _controls.ListBox_Create(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(wxString item, int pos, PyObject clientData=None)""" + return _controls.ListBox_Insert(*args, **kwargs) + + def InsertItems(*args, **kwargs): + """InsertItems(wxArrayString items, int pos)""" + return _controls.ListBox_InsertItems(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(wxArrayString items)""" + return _controls.ListBox_Set(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(int n) -> bool""" + return _controls.ListBox_IsSelected(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n, bool select=True)""" + return _controls.ListBox_SetSelection(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(int n)""" + return _controls.ListBox_Select(*args, **kwargs) + + def Deselect(*args, **kwargs): + """Deselect(int n)""" + return _controls.ListBox_Deselect(*args, **kwargs) + + def DeselectAll(*args, **kwargs): + """DeselectAll(int itemToLeaveSelected=-1)""" + return _controls.ListBox_DeselectAll(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString s, bool select=True) -> bool""" + return _controls.ListBox_SetStringSelection(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _controls.ListBox_GetSelections(*args, **kwargs) + + def SetFirstItem(*args, **kwargs): + """SetFirstItem(int n)""" + return _controls.ListBox_SetFirstItem(*args, **kwargs) + + def SetFirstItemStr(*args, **kwargs): + """SetFirstItemStr(wxString s)""" + return _controls.ListBox_SetFirstItemStr(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(int n)""" + return _controls.ListBox_EnsureVisible(*args, **kwargs) + + def AppendAndEnsureVisible(*args, **kwargs): + """AppendAndEnsureVisible(wxString s)""" + return _controls.ListBox_AppendAndEnsureVisible(*args, **kwargs) + + def IsSorted(*args, **kwargs): + """IsSorted() -> bool""" + return _controls.ListBox_IsSorted(*args, **kwargs) + class ListBoxPtr(ListBox): def __init__(self, this): @@ -360,6 +702,7 @@ class ListBoxPtr(ListBox): _controls.ListBox_swigregister(ListBoxPtr) def PreListBox(*args, **kwargs): + """PreListBox() -> ListBox""" val = _controls.new_PreListBox(*args, **kwargs) val.thisown = 1 return val @@ -367,18 +710,41 @@ def PreListBox(*args, **kwargs): #--------------------------------------------------------------------------- class CheckListBox(ListBox): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> CheckListBox""" newobj = _controls.new_CheckListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Create(*args, **kwargs): return _controls.CheckListBox_Create(*args, **kwargs) - def IsChecked(*args, **kwargs): return _controls.CheckListBox_IsChecked(*args, **kwargs) - def Check(*args, **kwargs): return _controls.CheckListBox_Check(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.CheckListBox_HitTest(*args, **kwargs) - def HitTestXY(*args, **kwargs): return _controls.CheckListBox_HitTestXY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool""" + return _controls.CheckListBox_Create(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked(int index) -> bool""" + return _controls.CheckListBox_IsChecked(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(int index, int check=True)""" + return _controls.CheckListBox_Check(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> int""" + return _controls.CheckListBox_HitTest(*args, **kwargs) + + def HitTestXY(*args, **kwargs): + """HitTestXY(int x, int y) -> int""" + return _controls.CheckListBox_HitTestXY(*args, **kwargs) + class CheckListBoxPtr(CheckListBox): def __init__(self, this): @@ -388,6 +754,7 @@ class CheckListBoxPtr(CheckListBox): _controls.CheckListBox_swigregister(CheckListBoxPtr) def PreCheckListBox(*args, **kwargs): + """PreCheckListBox() -> CheckListBox""" val = _controls.new_PreCheckListBox(*args, **kwargs) val.thisown = 1 return val @@ -431,40 +798,126 @@ TEXT_ATTR_LEFT_INDENT = _controls.TEXT_ATTR_LEFT_INDENT TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS class TextAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): + """__init__() -> TextAttr +__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, + wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr""" newobj = _controls.new_TextAttr(*args) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Init(*args, **kwargs): return _controls.TextAttr_Init(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.TextAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.TextAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.TextAttr_SetFont(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _controls.TextAttr_SetAlignment(*args, **kwargs) - def SetTabs(*args, **kwargs): return _controls.TextAttr_SetTabs(*args, **kwargs) - def SetLeftIndent(*args, **kwargs): return _controls.TextAttr_SetLeftIndent(*args, **kwargs) - def SetRightIndent(*args, **kwargs): return _controls.TextAttr_SetRightIndent(*args, **kwargs) - def SetFlags(*args, **kwargs): return _controls.TextAttr_SetFlags(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _controls.TextAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _controls.TextAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _controls.TextAttr_HasFont(*args, **kwargs) - def HasAlignment(*args, **kwargs): return _controls.TextAttr_HasAlignment(*args, **kwargs) - def HasTabs(*args, **kwargs): return _controls.TextAttr_HasTabs(*args, **kwargs) - def HasLeftIndent(*args, **kwargs): return _controls.TextAttr_HasLeftIndent(*args, **kwargs) - def HasRightIndent(*args, **kwargs): return _controls.TextAttr_HasRightIndent(*args, **kwargs) - def HasFlag(*args, **kwargs): return _controls.TextAttr_HasFlag(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.TextAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.TextAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.TextAttr_GetFont(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _controls.TextAttr_GetAlignment(*args, **kwargs) - def GetTabs(*args, **kwargs): return _controls.TextAttr_GetTabs(*args, **kwargs) - def GetLeftIndent(*args, **kwargs): return _controls.TextAttr_GetLeftIndent(*args, **kwargs) - def GetRightIndent(*args, **kwargs): return _controls.TextAttr_GetRightIndent(*args, **kwargs) - def GetFlags(*args, **kwargs): return _controls.TextAttr_GetFlags(*args, **kwargs) - def IsDefault(*args, **kwargs): return _controls.TextAttr_IsDefault(*args, **kwargs) - Combine = staticmethod(_controls.TextAttr_Combine) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Init(*args, **kwargs): + """Init()""" + return _controls.TextAttr_Init(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.TextAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.TextAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font, long flags=TEXT_ATTR_FONT)""" + return _controls.TextAttr_SetFont(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxTextAttrAlignment alignment)""" + return _controls.TextAttr_SetAlignment(*args, **kwargs) + + def SetTabs(*args, **kwargs): + """SetTabs(wxArrayInt tabs)""" + return _controls.TextAttr_SetTabs(*args, **kwargs) + + def SetLeftIndent(*args, **kwargs): + """SetLeftIndent(int indent)""" + return _controls.TextAttr_SetLeftIndent(*args, **kwargs) + + def SetRightIndent(*args, **kwargs): + """SetRightIndent(int indent)""" + return _controls.TextAttr_SetRightIndent(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(long flags)""" + return _controls.TextAttr_SetFlags(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _controls.TextAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _controls.TextAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _controls.TextAttr_HasFont(*args, **kwargs) + + def HasAlignment(*args, **kwargs): + """HasAlignment() -> bool""" + return _controls.TextAttr_HasAlignment(*args, **kwargs) + + def HasTabs(*args, **kwargs): + """HasTabs() -> bool""" + return _controls.TextAttr_HasTabs(*args, **kwargs) + + def HasLeftIndent(*args, **kwargs): + """HasLeftIndent() -> bool""" + return _controls.TextAttr_HasLeftIndent(*args, **kwargs) + + def HasRightIndent(*args, **kwargs): + """HasRightIndent() -> bool""" + return _controls.TextAttr_HasRightIndent(*args, **kwargs) + + def HasFlag(*args, **kwargs): + """HasFlag(long flag) -> bool""" + return _controls.TextAttr_HasFlag(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.TextAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.TextAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.TextAttr_GetFont(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxTextAttrAlignment""" + return _controls.TextAttr_GetAlignment(*args, **kwargs) + + def GetTabs(*args, **kwargs): + """GetTabs() -> wxArrayInt""" + return _controls.TextAttr_GetTabs(*args, **kwargs) + + def GetLeftIndent(*args, **kwargs): + """GetLeftIndent() -> long""" + return _controls.TextAttr_GetLeftIndent(*args, **kwargs) + + def GetRightIndent(*args, **kwargs): + """GetRightIndent() -> long""" + return _controls.TextAttr_GetRightIndent(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> long""" + return _controls.TextAttr_GetFlags(*args, **kwargs) + + def IsDefault(*args, **kwargs): + """IsDefault() -> bool""" + return _controls.TextAttr_IsDefault(*args, **kwargs) + + def Combine(*args, **kwargs): + """TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" + return _controls.TextAttr_Combine(*args, **kwargs) + + Combine = staticmethod(Combine) class TextAttrPtr(TextAttr): def __init__(self, this): @@ -473,67 +926,228 @@ class TextAttrPtr(TextAttr): self.__class__ = TextAttr _controls.TextAttr_swigregister(TextAttrPtr) -TextAttr_Combine = _controls.TextAttr_Combine +def TextAttr_Combine(*args, **kwargs): + """TextAttr_Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" + return _controls.TextAttr_Combine(*args, **kwargs) class TextCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> TextCtrl""" newobj = _controls.new_TextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.TextCtrl_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.TextCtrl_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.TextCtrl_SetValue(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.TextCtrl_GetRange(*args, **kwargs) - def GetLineLength(*args, **kwargs): return _controls.TextCtrl_GetLineLength(*args, **kwargs) - def GetLineText(*args, **kwargs): return _controls.TextCtrl_GetLineText(*args, **kwargs) - def GetNumberOfLines(*args, **kwargs): return _controls.TextCtrl_GetNumberOfLines(*args, **kwargs) - def IsModified(*args, **kwargs): return _controls.TextCtrl_IsModified(*args, **kwargs) - def IsEditable(*args, **kwargs): return _controls.TextCtrl_IsEditable(*args, **kwargs) - def IsSingleLine(*args, **kwargs): return _controls.TextCtrl_IsSingleLine(*args, **kwargs) - def IsMultiLine(*args, **kwargs): return _controls.TextCtrl_IsMultiLine(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.TextCtrl_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _controls.TextCtrl_GetStringSelection(*args, **kwargs) - def Clear(*args, **kwargs): return _controls.TextCtrl_Clear(*args, **kwargs) - def Replace(*args, **kwargs): return _controls.TextCtrl_Replace(*args, **kwargs) - def Remove(*args, **kwargs): return _controls.TextCtrl_Remove(*args, **kwargs) - def LoadFile(*args, **kwargs): return _controls.TextCtrl_LoadFile(*args, **kwargs) - def SaveFile(*args, **kwargs): return _controls.TextCtrl_SaveFile(*args, **kwargs) - def MarkDirty(*args, **kwargs): return _controls.TextCtrl_MarkDirty(*args, **kwargs) - def DiscardEdits(*args, **kwargs): return _controls.TextCtrl_DiscardEdits(*args, **kwargs) - def SetMaxLength(*args, **kwargs): return _controls.TextCtrl_SetMaxLength(*args, **kwargs) - def WriteText(*args, **kwargs): return _controls.TextCtrl_WriteText(*args, **kwargs) - def AppendText(*args, **kwargs): return _controls.TextCtrl_AppendText(*args, **kwargs) - def EmulateKeyPress(*args, **kwargs): return _controls.TextCtrl_EmulateKeyPress(*args, **kwargs) - def SetStyle(*args, **kwargs): return _controls.TextCtrl_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _controls.TextCtrl_GetStyle(*args, **kwargs) - def SetDefaultStyle(*args, **kwargs): return _controls.TextCtrl_SetDefaultStyle(*args, **kwargs) - def GetDefaultStyle(*args, **kwargs): return _controls.TextCtrl_GetDefaultStyle(*args, **kwargs) - def XYToPosition(*args, **kwargs): return _controls.TextCtrl_XYToPosition(*args, **kwargs) - def PositionToXY(*args, **kwargs): return _controls.TextCtrl_PositionToXY(*args, **kwargs) - def ShowPosition(*args, **kwargs): return _controls.TextCtrl_ShowPosition(*args, **kwargs) - def Copy(*args, **kwargs): return _controls.TextCtrl_Copy(*args, **kwargs) - def Cut(*args, **kwargs): return _controls.TextCtrl_Cut(*args, **kwargs) - def Paste(*args, **kwargs): return _controls.TextCtrl_Paste(*args, **kwargs) - def CanCopy(*args, **kwargs): return _controls.TextCtrl_CanCopy(*args, **kwargs) - def CanCut(*args, **kwargs): return _controls.TextCtrl_CanCut(*args, **kwargs) - def CanPaste(*args, **kwargs): return _controls.TextCtrl_CanPaste(*args, **kwargs) - def Undo(*args, **kwargs): return _controls.TextCtrl_Undo(*args, **kwargs) - def Redo(*args, **kwargs): return _controls.TextCtrl_Redo(*args, **kwargs) - def CanUndo(*args, **kwargs): return _controls.TextCtrl_CanUndo(*args, **kwargs) - def CanRedo(*args, **kwargs): return _controls.TextCtrl_CanRedo(*args, **kwargs) - def SetInsertionPoint(*args, **kwargs): return _controls.TextCtrl_SetInsertionPoint(*args, **kwargs) - def SetInsertionPointEnd(*args, **kwargs): return _controls.TextCtrl_SetInsertionPointEnd(*args, **kwargs) - def GetInsertionPoint(*args, **kwargs): return _controls.TextCtrl_GetInsertionPoint(*args, **kwargs) - def GetLastPosition(*args, **kwargs): return _controls.TextCtrl_GetLastPosition(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.TextCtrl_SetSelection(*args, **kwargs) - def SelectAll(*args, **kwargs): return _controls.TextCtrl_SelectAll(*args, **kwargs) - def SetEditable(*args, **kwargs): return _controls.TextCtrl_SetEditable(*args, **kwargs) - def write(*args, **kwargs): return _controls.TextCtrl_write(*args, **kwargs) - def GetString(*args, **kwargs): return _controls.TextCtrl_GetString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> bool""" + return _controls.TextCtrl_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _controls.TextCtrl_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _controls.TextCtrl_SetValue(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange(long from, long to) -> wxString""" + return _controls.TextCtrl_GetRange(*args, **kwargs) + + def GetLineLength(*args, **kwargs): + """GetLineLength(long lineNo) -> int""" + return _controls.TextCtrl_GetLineLength(*args, **kwargs) + + def GetLineText(*args, **kwargs): + """GetLineText(long lineNo) -> wxString""" + return _controls.TextCtrl_GetLineText(*args, **kwargs) + + def GetNumberOfLines(*args, **kwargs): + """GetNumberOfLines() -> int""" + return _controls.TextCtrl_GetNumberOfLines(*args, **kwargs) + + def IsModified(*args, **kwargs): + """IsModified() -> bool""" + return _controls.TextCtrl_IsModified(*args, **kwargs) + + def IsEditable(*args, **kwargs): + """IsEditable() -> bool""" + return _controls.TextCtrl_IsEditable(*args, **kwargs) + + def IsSingleLine(*args, **kwargs): + """IsSingleLine() -> bool""" + return _controls.TextCtrl_IsSingleLine(*args, **kwargs) + + def IsMultiLine(*args, **kwargs): + """IsMultiLine() -> bool""" + return _controls.TextCtrl_IsMultiLine(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection(long OUTPUT, long OUTPUT)""" + return _controls.TextCtrl_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _controls.TextCtrl_GetStringSelection(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _controls.TextCtrl_Clear(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(long from, long to, wxString value)""" + return _controls.TextCtrl_Replace(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(long from, long to)""" + return _controls.TextCtrl_Remove(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString file) -> bool""" + return _controls.TextCtrl_LoadFile(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString file=wxPyEmptyString) -> bool""" + return _controls.TextCtrl_SaveFile(*args, **kwargs) + + def MarkDirty(*args, **kwargs): + """MarkDirty()""" + return _controls.TextCtrl_MarkDirty(*args, **kwargs) + + def DiscardEdits(*args, **kwargs): + """DiscardEdits()""" + return _controls.TextCtrl_DiscardEdits(*args, **kwargs) + + def SetMaxLength(*args, **kwargs): + """SetMaxLength(unsigned long len)""" + return _controls.TextCtrl_SetMaxLength(*args, **kwargs) + + def WriteText(*args, **kwargs): + """WriteText(wxString text)""" + return _controls.TextCtrl_WriteText(*args, **kwargs) + + def AppendText(*args, **kwargs): + """AppendText(wxString text)""" + return _controls.TextCtrl_AppendText(*args, **kwargs) + + def EmulateKeyPress(*args, **kwargs): + """EmulateKeyPress(KeyEvent event) -> bool""" + return _controls.TextCtrl_EmulateKeyPress(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long start, long end, TextAttr style) -> bool""" + return _controls.TextCtrl_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle(long position, TextAttr style) -> bool""" + return _controls.TextCtrl_GetStyle(*args, **kwargs) + + def SetDefaultStyle(*args, **kwargs): + """SetDefaultStyle(TextAttr style) -> bool""" + return _controls.TextCtrl_SetDefaultStyle(*args, **kwargs) + + def GetDefaultStyle(*args, **kwargs): + """GetDefaultStyle() -> TextAttr""" + return _controls.TextCtrl_GetDefaultStyle(*args, **kwargs) + + def XYToPosition(*args, **kwargs): + """XYToPosition(long x, long y) -> long""" + return _controls.TextCtrl_XYToPosition(*args, **kwargs) + + def PositionToXY(*args, **kwargs): + """PositionToXY(long pos, long OUTPUT, long OUTPUT)""" + return _controls.TextCtrl_PositionToXY(*args, **kwargs) + + def ShowPosition(*args, **kwargs): + """ShowPosition(long pos)""" + return _controls.TextCtrl_ShowPosition(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy()""" + return _controls.TextCtrl_Copy(*args, **kwargs) + + def Cut(*args, **kwargs): + """Cut()""" + return _controls.TextCtrl_Cut(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste()""" + return _controls.TextCtrl_Paste(*args, **kwargs) + + def CanCopy(*args, **kwargs): + """CanCopy() -> bool""" + return _controls.TextCtrl_CanCopy(*args, **kwargs) + + def CanCut(*args, **kwargs): + """CanCut() -> bool""" + return _controls.TextCtrl_CanCut(*args, **kwargs) + + def CanPaste(*args, **kwargs): + """CanPaste() -> bool""" + return _controls.TextCtrl_CanPaste(*args, **kwargs) + + def Undo(*args, **kwargs): + """Undo()""" + return _controls.TextCtrl_Undo(*args, **kwargs) + + def Redo(*args, **kwargs): + """Redo()""" + return _controls.TextCtrl_Redo(*args, **kwargs) + + def CanUndo(*args, **kwargs): + """CanUndo() -> bool""" + return _controls.TextCtrl_CanUndo(*args, **kwargs) + + def CanRedo(*args, **kwargs): + """CanRedo() -> bool""" + return _controls.TextCtrl_CanRedo(*args, **kwargs) + + def SetInsertionPoint(*args, **kwargs): + """SetInsertionPoint(long pos)""" + return _controls.TextCtrl_SetInsertionPoint(*args, **kwargs) + + def SetInsertionPointEnd(*args, **kwargs): + """SetInsertionPointEnd()""" + return _controls.TextCtrl_SetInsertionPointEnd(*args, **kwargs) + + def GetInsertionPoint(*args, **kwargs): + """GetInsertionPoint() -> long""" + return _controls.TextCtrl_GetInsertionPoint(*args, **kwargs) + + def GetLastPosition(*args, **kwargs): + """GetLastPosition() -> long""" + return _controls.TextCtrl_GetLastPosition(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(long from, long to)""" + return _controls.TextCtrl_SetSelection(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll()""" + return _controls.TextCtrl_SelectAll(*args, **kwargs) + + def SetEditable(*args, **kwargs): + """SetEditable(bool editable)""" + return _controls.TextCtrl_SetEditable(*args, **kwargs) + + def write(*args, **kwargs): + """write(wxString text)""" + return _controls.TextCtrl_write(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(long from, long to) -> wxString""" + return _controls.TextCtrl_GetString(*args, **kwargs) + class TextCtrlPtr(TextCtrl): def __init__(self, this): @@ -543,6 +1157,7 @@ class TextCtrlPtr(TextCtrl): _controls.TextCtrl_swigregister(TextCtrlPtr) def PreTextCtrl(*args, **kwargs): + """PreTextCtrl() -> TextCtrl""" val = _controls.new_PreTextCtrl(*args, **kwargs) val.thisown = 1 return val @@ -552,16 +1167,27 @@ wxEVT_COMMAND_TEXT_ENTER = _controls.wxEVT_COMMAND_TEXT_ENTER wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN class TextUrlEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent""" newobj = _controls.new_TextUrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMouseEvent(*args, **kwargs): return _controls.TextUrlEvent_GetMouseEvent(*args, **kwargs) - def GetURLStart(*args, **kwargs): return _controls.TextUrlEvent_GetURLStart(*args, **kwargs) - def GetURLEnd(*args, **kwargs): return _controls.TextUrlEvent_GetURLEnd(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMouseEvent(*args, **kwargs): + """GetMouseEvent() -> MouseEvent""" + return _controls.TextUrlEvent_GetMouseEvent(*args, **kwargs) + + def GetURLStart(*args, **kwargs): + """GetURLStart() -> long""" + return _controls.TextUrlEvent_GetURLStart(*args, **kwargs) + + def GetURLEnd(*args, **kwargs): + """GetURLEnd() -> long""" + return _controls.TextUrlEvent_GetURLEnd(*args, **kwargs) + class TextUrlEventPtr(TextUrlEvent): def __init__(self, this): @@ -578,23 +1204,55 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- class ScrollBar(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar""" newobj = _controls.new_ScrollBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ScrollBar_Create(*args, **kwargs) - def GetThumbPosition(*args, **kwargs): return _controls.ScrollBar_GetThumbPosition(*args, **kwargs) - def GetThumbSize(*args, **kwargs): return _controls.ScrollBar_GetThumbSize(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool""" + return _controls.ScrollBar_Create(*args, **kwargs) + + def GetThumbPosition(*args, **kwargs): + """GetThumbPosition() -> int""" + return _controls.ScrollBar_GetThumbPosition(*args, **kwargs) + + def GetThumbSize(*args, **kwargs): + """GetThumbSize() -> int""" + return _controls.ScrollBar_GetThumbSize(*args, **kwargs) + GetThumbLength = GetThumbSize - def GetPageSize(*args, **kwargs): return _controls.ScrollBar_GetPageSize(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.ScrollBar_GetRange(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.ScrollBar_IsVertical(*args, **kwargs) - def SetThumbPosition(*args, **kwargs): return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) - def SetScrollbar(*args, **kwargs): return _controls.ScrollBar_SetScrollbar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPageSize(*args, **kwargs): + """GetPageSize() -> int""" + return _controls.ScrollBar_GetPageSize(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange() -> int""" + return _controls.ScrollBar_GetRange(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.ScrollBar_IsVertical(*args, **kwargs) + + def SetThumbPosition(*args, **kwargs): + """SetThumbPosition(int viewStart)""" + return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) + + def SetScrollbar(*args, **kwargs): + """SetScrollbar(int position, int thumbSize, int range, int pageSize, + bool refresh=True)""" + return _controls.ScrollBar_SetScrollbar(*args, **kwargs) + class ScrollBarPtr(ScrollBar): def __init__(self, this): @@ -604,6 +1262,7 @@ class ScrollBarPtr(ScrollBar): _controls.ScrollBar_swigregister(ScrollBarPtr) def PreScrollBar(*args, **kwargs): + """PreScrollBar() -> ScrollBar""" val = _controls.new_PreScrollBar(*args, **kwargs) val.thisown = 1 return val @@ -615,53 +1274,121 @@ SP_VERTICAL = _controls.SP_VERTICAL SP_ARROW_KEYS = _controls.SP_ARROW_KEYS SP_WRAP = _controls.SP_WRAP class SpinButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton""" newobj = _controls.new_SpinButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.SpinButton_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.SpinButton_GetValue(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.SpinButton_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.SpinButton_GetMax(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.SpinButton_SetValue(*args, **kwargs) - def SetMin(*args, **kwargs): return _controls.SpinButton_SetMin(*args, **kwargs) - def SetMax(*args, **kwargs): return _controls.SpinButton_SetMax(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.SpinButton_SetRange(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.SpinButton_IsVertical(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class SpinButtonPtr(SpinButton): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = SpinButton + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> bool""" + return _controls.SpinButton_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.SpinButton_GetValue(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.SpinButton_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.SpinButton_GetMax(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int val)""" + return _controls.SpinButton_SetValue(*args, **kwargs) + + def SetMin(*args, **kwargs): + """SetMin(int minVal)""" + return _controls.SpinButton_SetMin(*args, **kwargs) + + def SetMax(*args, **kwargs): + """SetMax(int maxVal)""" + return _controls.SpinButton_SetMax(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minVal, int maxVal)""" + return _controls.SpinButton_SetRange(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.SpinButton_IsVertical(*args, **kwargs) + + +class SpinButtonPtr(SpinButton): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SpinButton _controls.SpinButton_swigregister(SpinButtonPtr) def PreSpinButton(*args, **kwargs): + """PreSpinButton() -> SpinButton""" val = _controls.new_PreSpinButton(*args, **kwargs) val.thisown = 1 return val class SpinCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl""" newobj = _controls.new_SpinCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.SpinCtrl_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.SpinCtrl_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.SpinCtrl_SetValue(*args, **kwargs) - def SetValueString(*args, **kwargs): return _controls.SpinCtrl_SetValueString(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.SpinCtrl_SetRange(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.SpinCtrl_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.SpinCtrl_GetMax(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.SpinCtrl_SetSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool""" + return _controls.SpinCtrl_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.SpinCtrl_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int value)""" + return _controls.SpinCtrl_SetValue(*args, **kwargs) + + def SetValueString(*args, **kwargs): + """SetValueString(wxString text)""" + return _controls.SpinCtrl_SetValueString(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minVal, int maxVal)""" + return _controls.SpinCtrl_SetRange(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.SpinCtrl_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.SpinCtrl_GetMax(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(long from, long to)""" + return _controls.SpinCtrl_SetSelection(*args, **kwargs) + class SpinCtrlPtr(SpinCtrl): def __init__(self, this): @@ -671,6 +1398,7 @@ class SpinCtrlPtr(SpinCtrl): _controls.SpinCtrl_swigregister(SpinCtrlPtr) def PreSpinCtrl(*args, **kwargs): + """PreSpinCtrl() -> SpinCtrl""" val = _controls.new_PreSpinCtrl(*args, **kwargs) val.thisown = 1 return val @@ -681,30 +1409,83 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- class RadioBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> RadioBox""" newobj = _controls.new_RadioBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.RadioBox_Create(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.RadioBox_SetSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.RadioBox_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _controls.RadioBox_GetStringSelection(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.RadioBox_SetStringSelection(*args, **kwargs) - def GetCount(*args, **kwargs): return _controls.RadioBox_GetCount(*args, **kwargs) - def FindString(*args, **kwargs): return _controls.RadioBox_FindString(*args, **kwargs) - def GetString(*args, **kwargs): return _controls.RadioBox_GetString(*args, **kwargs) - def SetString(*args, **kwargs): return _controls.RadioBox_SetString(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> bool""" + return _controls.RadioBox_Create(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n)""" + return _controls.RadioBox_SetSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.RadioBox_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _controls.RadioBox_GetStringSelection(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString s) -> bool""" + return _controls.RadioBox_SetStringSelection(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _controls.RadioBox_GetCount(*args, **kwargs) + + def FindString(*args, **kwargs): + """FindString(wxString s) -> int""" + return _controls.RadioBox_FindString(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(int n) -> wxString""" + return _controls.RadioBox_GetString(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString label)""" + return _controls.RadioBox_SetString(*args, **kwargs) + GetItemLabel = GetString SetItemLabel = SetString - def EnableItem(*args, **kwargs): return _controls.RadioBox_EnableItem(*args, **kwargs) - def ShowItem(*args, **kwargs): return _controls.RadioBox_ShowItem(*args, **kwargs) - def GetColumnCount(*args, **kwargs): return _controls.RadioBox_GetColumnCount(*args, **kwargs) - def GetRowCount(*args, **kwargs): return _controls.RadioBox_GetRowCount(*args, **kwargs) - def GetNextItem(*args, **kwargs): return _controls.RadioBox_GetNextItem(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def EnableItem(*args, **kwargs): + """EnableItem(int n, bool enable=True)""" + return _controls.RadioBox_EnableItem(*args, **kwargs) + + def ShowItem(*args, **kwargs): + """ShowItem(int n, bool show=True)""" + return _controls.RadioBox_ShowItem(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount() -> int""" + return _controls.RadioBox_GetColumnCount(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount() -> int""" + return _controls.RadioBox_GetRowCount(*args, **kwargs) + + def GetNextItem(*args, **kwargs): + """GetNextItem(int item, wxDirection dir, long style) -> int""" + return _controls.RadioBox_GetNextItem(*args, **kwargs) + class RadioBoxPtr(RadioBox): def __init__(self, this): @@ -714,6 +1495,7 @@ class RadioBoxPtr(RadioBox): _controls.RadioBox_swigregister(RadioBoxPtr) def PreRadioBox(*args, **kwargs): + """PreRadioBox() -> RadioBox""" val = _controls.new_PreRadioBox(*args, **kwargs) val.thisown = 1 return val @@ -721,17 +1503,35 @@ def PreRadioBox(*args, **kwargs): #--------------------------------------------------------------------------- class RadioButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> RadioButton""" newobj = _controls.new_RadioButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.RadioButton_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.RadioButton_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.RadioButton_SetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> bool""" + return _controls.RadioButton_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> bool""" + return _controls.RadioButton_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(bool value)""" + return _controls.RadioButton_SetValue(*args, **kwargs) + class RadioButtonPtr(RadioButton): def __init__(self, this): @@ -741,6 +1541,7 @@ class RadioButtonPtr(RadioButton): _controls.RadioButton_swigregister(RadioButtonPtr) def PreRadioButton(*args, **kwargs): + """PreRadioButton() -> RadioButton""" val = _controls.new_PreRadioButton(*args, **kwargs) val.thisown = 1 return val @@ -748,36 +1549,111 @@ def PreRadioButton(*args, **kwargs): #--------------------------------------------------------------------------- class Slider(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> Slider""" newobj = _controls.new_Slider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Slider_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.Slider_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.Slider_SetValue(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.Slider_SetRange(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.Slider_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.Slider_GetMax(*args, **kwargs) - def SetMin(*args, **kwargs): return _controls.Slider_SetMin(*args, **kwargs) - def SetMax(*args, **kwargs): return _controls.Slider_SetMax(*args, **kwargs) - def SetLineSize(*args, **kwargs): return _controls.Slider_SetLineSize(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _controls.Slider_SetPageSize(*args, **kwargs) - def GetLineSize(*args, **kwargs): return _controls.Slider_GetLineSize(*args, **kwargs) - def GetPageSize(*args, **kwargs): return _controls.Slider_GetPageSize(*args, **kwargs) - def SetThumbLength(*args, **kwargs): return _controls.Slider_SetThumbLength(*args, **kwargs) - def GetThumbLength(*args, **kwargs): return _controls.Slider_GetThumbLength(*args, **kwargs) - def SetTickFreq(*args, **kwargs): return _controls.Slider_SetTickFreq(*args, **kwargs) - def GetTickFreq(*args, **kwargs): return _controls.Slider_GetTickFreq(*args, **kwargs) - def ClearTicks(*args, **kwargs): return _controls.Slider_ClearTicks(*args, **kwargs) - def SetTick(*args, **kwargs): return _controls.Slider_SetTick(*args, **kwargs) - def ClearSel(*args, **kwargs): return _controls.Slider_ClearSel(*args, **kwargs) - def GetSelEnd(*args, **kwargs): return _controls.Slider_GetSelEnd(*args, **kwargs) - def GetSelStart(*args, **kwargs): return _controls.Slider_GetSelStart(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.Slider_SetSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> bool""" + return _controls.Slider_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.Slider_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int value)""" + return _controls.Slider_SetValue(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minValue, int maxValue)""" + return _controls.Slider_SetRange(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.Slider_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.Slider_GetMax(*args, **kwargs) + + def SetMin(*args, **kwargs): + """SetMin(int minValue)""" + return _controls.Slider_SetMin(*args, **kwargs) + + def SetMax(*args, **kwargs): + """SetMax(int maxValue)""" + return _controls.Slider_SetMax(*args, **kwargs) + + def SetLineSize(*args, **kwargs): + """SetLineSize(int lineSize)""" + return _controls.Slider_SetLineSize(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(int pageSize)""" + return _controls.Slider_SetPageSize(*args, **kwargs) + + def GetLineSize(*args, **kwargs): + """GetLineSize() -> int""" + return _controls.Slider_GetLineSize(*args, **kwargs) + + def GetPageSize(*args, **kwargs): + """GetPageSize() -> int""" + return _controls.Slider_GetPageSize(*args, **kwargs) + + def SetThumbLength(*args, **kwargs): + """SetThumbLength(int lenPixels)""" + return _controls.Slider_SetThumbLength(*args, **kwargs) + + def GetThumbLength(*args, **kwargs): + """GetThumbLength() -> int""" + return _controls.Slider_GetThumbLength(*args, **kwargs) + + def SetTickFreq(*args, **kwargs): + """SetTickFreq(int n, int pos)""" + return _controls.Slider_SetTickFreq(*args, **kwargs) + + def GetTickFreq(*args, **kwargs): + """GetTickFreq() -> int""" + return _controls.Slider_GetTickFreq(*args, **kwargs) + + def ClearTicks(*args, **kwargs): + """ClearTicks()""" + return _controls.Slider_ClearTicks(*args, **kwargs) + + def SetTick(*args, **kwargs): + """SetTick(int tickPos)""" + return _controls.Slider_SetTick(*args, **kwargs) + + def ClearSel(*args, **kwargs): + """ClearSel()""" + return _controls.Slider_ClearSel(*args, **kwargs) + + def GetSelEnd(*args, **kwargs): + """GetSelEnd() -> int""" + return _controls.Slider_GetSelEnd(*args, **kwargs) + + def GetSelStart(*args, **kwargs): + """GetSelStart() -> int""" + return _controls.Slider_GetSelStart(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int min, int max)""" + return _controls.Slider_SetSelection(*args, **kwargs) + class SliderPtr(Slider): def __init__(self, this): @@ -787,6 +1663,7 @@ class SliderPtr(Slider): _controls.Slider_swigregister(SliderPtr) def PreSlider(*args, **kwargs): + """PreSlider() -> Slider""" val = _controls.new_PreSlider(*args, **kwargs) val.thisown = 1 return val @@ -797,14 +1674,20 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls.wxEVT_COMMAND_TOGGLEBUTTON_CLICKE EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) class ToggleButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> ToggleButton""" newobj = _controls.new_ToggleButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class ToggleButtonPtr(ToggleButton): def __init__(self, this): @@ -814,6 +1697,7 @@ class ToggleButtonPtr(ToggleButton): _controls.ToggleButton_swigregister(ToggleButtonPtr) def PreToggleButton(*args, **kwargs): + """PreToggleButton() -> ToggleButton""" val = _controls.new_PreToggleButton(*args, **kwargs) val.thisown = 1 return val @@ -821,31 +1705,89 @@ def PreToggleButton(*args, **kwargs): #--------------------------------------------------------------------------- class BookCtrl(core.Control): - def GetPageCount(*args, **kwargs): return _controls.BookCtrl_GetPageCount(*args, **kwargs) - def GetPage(*args, **kwargs): return _controls.BookCtrl_GetPage(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.BookCtrl_GetSelection(*args, **kwargs) - def SetPageText(*args, **kwargs): return _controls.BookCtrl_SetPageText(*args, **kwargs) - def GetPageText(*args, **kwargs): return _controls.BookCtrl_GetPageText(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.BookCtrl_SetImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): - val = _controls.BookCtrl_AssignImageList(*args, **kwargs) - args[1].thisown = 0 - return val - def GetImageList(*args, **kwargs): return _controls.BookCtrl_GetImageList(*args, **kwargs) - def GetPageImage(*args, **kwargs): return _controls.BookCtrl_GetPageImage(*args, **kwargs) - def SetPageImage(*args, **kwargs): return _controls.BookCtrl_SetPageImage(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _controls.BookCtrl_SetPageSize(*args, **kwargs) - def CalcSizeFromPage(*args, **kwargs): return _controls.BookCtrl_CalcSizeFromPage(*args, **kwargs) - def DeletePage(*args, **kwargs): return _controls.BookCtrl_DeletePage(*args, **kwargs) - def RemovePage(*args, **kwargs): return _controls.BookCtrl_RemovePage(*args, **kwargs) - def DeleteAllPages(*args, **kwargs): return _controls.BookCtrl_DeleteAllPages(*args, **kwargs) - def AddPage(*args, **kwargs): return _controls.BookCtrl_AddPage(*args, **kwargs) - def InsertPage(*args, **kwargs): return _controls.BookCtrl_InsertPage(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.BookCtrl_SetSelection(*args, **kwargs) - def AdvanceSelection(*args, **kwargs): return _controls.BookCtrl_AdvanceSelection(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPageCount(*args, **kwargs): + """GetPageCount() -> size_t""" + return _controls.BookCtrl_GetPageCount(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage(size_t n) -> Window""" + return _controls.BookCtrl_GetPage(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.BookCtrl_GetSelection(*args, **kwargs) + + def SetPageText(*args, **kwargs): + """SetPageText(size_t n, wxString strText) -> bool""" + return _controls.BookCtrl_SetPageText(*args, **kwargs) + + def GetPageText(*args, **kwargs): + """GetPageText(size_t n) -> wxString""" + return _controls.BookCtrl_GetPageText(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList)""" + return _controls.BookCtrl_SetImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList)""" + val = _controls.BookCtrl_AssignImageList(*args, **kwargs) + args[1].thisown = 0 + return val + + def GetImageList(*args, **kwargs): + """GetImageList() -> wxImageList""" + return _controls.BookCtrl_GetImageList(*args, **kwargs) + + def GetPageImage(*args, **kwargs): + """GetPageImage(size_t n) -> int""" + return _controls.BookCtrl_GetPageImage(*args, **kwargs) + + def SetPageImage(*args, **kwargs): + """SetPageImage(size_t n, int imageId) -> bool""" + return _controls.BookCtrl_SetPageImage(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(Size size)""" + return _controls.BookCtrl_SetPageSize(*args, **kwargs) + + def CalcSizeFromPage(*args, **kwargs): + """CalcSizeFromPage(Size sizePage) -> Size""" + return _controls.BookCtrl_CalcSizeFromPage(*args, **kwargs) + + def DeletePage(*args, **kwargs): + """DeletePage(size_t n) -> bool""" + return _controls.BookCtrl_DeletePage(*args, **kwargs) + + def RemovePage(*args, **kwargs): + """RemovePage(size_t n) -> bool""" + return _controls.BookCtrl_RemovePage(*args, **kwargs) + + def DeleteAllPages(*args, **kwargs): + """DeleteAllPages() -> bool""" + return _controls.BookCtrl_DeleteAllPages(*args, **kwargs) + + def AddPage(*args, **kwargs): + """AddPage(Window page, wxString text, bool select=False, int imageId=-1) -> bool""" + return _controls.BookCtrl_AddPage(*args, **kwargs) + + def InsertPage(*args, **kwargs): + """InsertPage(size_t n, Window page, wxString text, bool select=False, + int imageId=-1) -> bool""" + return _controls.BookCtrl_InsertPage(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(size_t n) -> int""" + return _controls.BookCtrl_SetSelection(*args, **kwargs) + + def AdvanceSelection(*args, **kwargs): + """AdvanceSelection(bool forward=True)""" + return _controls.BookCtrl_AdvanceSelection(*args, **kwargs) + class BookCtrlPtr(BookCtrl): def __init__(self, this): @@ -855,17 +1797,32 @@ class BookCtrlPtr(BookCtrl): _controls.BookCtrl_swigregister(BookCtrlPtr) class BookCtrlEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> BookCtrlEvent""" newobj = _controls.new_BookCtrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSelection(*args, **kwargs): return _controls.BookCtrlEvent_GetSelection(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.BookCtrlEvent_SetSelection(*args, **kwargs) - def GetOldSelection(*args, **kwargs): return _controls.BookCtrlEvent_GetOldSelection(*args, **kwargs) - def SetOldSelection(*args, **kwargs): return _controls.BookCtrlEvent_SetOldSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.BookCtrlEvent_GetSelection(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int nSel)""" + return _controls.BookCtrlEvent_SetSelection(*args, **kwargs) + + def GetOldSelection(*args, **kwargs): + """GetOldSelection() -> int""" + return _controls.BookCtrlEvent_GetOldSelection(*args, **kwargs) + + def SetOldSelection(*args, **kwargs): + """SetOldSelection(int nOldSel)""" + return _controls.BookCtrlEvent_SetOldSelection(*args, **kwargs) + class BookCtrlEventPtr(BookCtrlEvent): def __init__(self, this): @@ -887,20 +1844,43 @@ NB_HITTEST_ONICON = _controls.NB_HITTEST_ONICON NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM class Notebook(BookCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook""" newobj = _controls.new_Notebook(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Notebook_Create(*args, **kwargs) - def GetRowCount(*args, **kwargs): return _controls.Notebook_GetRowCount(*args, **kwargs) - def SetPadding(*args, **kwargs): return _controls.Notebook_SetPadding(*args, **kwargs) - def SetTabSize(*args, **kwargs): return _controls.Notebook_SetTabSize(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.Notebook_HitTest(*args, **kwargs) - def CalcSizeFromPage(*args, **kwargs): return _controls.Notebook_CalcSizeFromPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool""" + return _controls.Notebook_Create(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount() -> int""" + return _controls.Notebook_GetRowCount(*args, **kwargs) + + def SetPadding(*args, **kwargs): + """SetPadding(Size padding)""" + return _controls.Notebook_SetPadding(*args, **kwargs) + + def SetTabSize(*args, **kwargs): + """SetTabSize(Size sz)""" + return _controls.Notebook_SetTabSize(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt, long OUTPUT) -> int""" + return _controls.Notebook_HitTest(*args, **kwargs) + + def CalcSizeFromPage(*args, **kwargs): + """CalcSizeFromPage(Size sizePage) -> Size""" + return _controls.Notebook_CalcSizeFromPage(*args, **kwargs) + class NotebookPtr(Notebook): def __init__(self, this): @@ -910,18 +1890,22 @@ class NotebookPtr(Notebook): _controls.Notebook_swigregister(NotebookPtr) def PreNotebook(*args, **kwargs): + """PreNotebook() -> Notebook""" val = _controls.new_PreNotebook(*args, **kwargs) val.thisown = 1 return val class NotebookEvent(BookCtrlEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> NotebookEvent""" newobj = _controls.new_NotebookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class NotebookEventPtr(NotebookEvent): def __init__(self, this): @@ -975,16 +1959,27 @@ LB_LEFT = _controls.LB_LEFT LB_RIGHT = _controls.LB_RIGHT LB_ALIGN_MASK = _controls.LB_ALIGN_MASK class Listbook(BookCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> Listbook""" newobj = _controls.new_Listbook(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Listbook_Create(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.Listbook_IsVertical(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> bool""" + return _controls.Listbook_Create(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.Listbook_IsVertical(*args, **kwargs) + class ListbookPtr(Listbook): def __init__(self, this): @@ -994,18 +1989,22 @@ class ListbookPtr(Listbook): _controls.Listbook_swigregister(ListbookPtr) def PreListbook(*args, **kwargs): + """PreListbook() -> Listbook""" val = _controls.new_PreListbook(*args, **kwargs) val.thisown = 1 return val class ListbookEvent(BookCtrlEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> ListbookEvent""" newobj = _controls.new_ListbookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ListbookEventPtr(ListbookEvent): def __init__(self, this): @@ -1022,17 +2021,29 @@ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANG #--------------------------------------------------------------------------- class BookCtrlSizer(core.Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(BookCtrl nb) -> BookCtrlSizer""" newobj = _controls.new_BookCtrlSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _controls.BookCtrlSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _controls.BookCtrlSizer_CalcMin(*args, **kwargs) - def GetControl(*args, **kwargs): return _controls.BookCtrlSizer_GetControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _controls.BookCtrlSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _controls.BookCtrlSizer_CalcMin(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> BookCtrl""" + return _controls.BookCtrlSizer_GetControl(*args, **kwargs) + class BookCtrlSizerPtr(BookCtrlSizer): def __init__(self, this): @@ -1042,17 +2053,29 @@ class BookCtrlSizerPtr(BookCtrlSizer): _controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr) class NotebookSizer(core.Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Notebook nb) -> NotebookSizer""" newobj = _controls.new_NotebookSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _controls.NotebookSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _controls.NotebookSizer_CalcMin(*args, **kwargs) - def GetNotebook(*args, **kwargs): return _controls.NotebookSizer_GetNotebook(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _controls.NotebookSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _controls.NotebookSizer_CalcMin(*args, **kwargs) + + def GetNotebook(*args, **kwargs): + """GetNotebook() -> Notebook""" + return _controls.NotebookSizer_GetNotebook(*args, **kwargs) + class NotebookSizerPtr(NotebookSizer): def __init__(self, this): @@ -1078,43 +2101,131 @@ TB_NOALIGN = _controls.TB_NOALIGN TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT TB_HORZ_TEXT = _controls.TB_HORZ_TEXT class ToolBarToolBase(core.Object): - def GetId(*args, **kwargs): return _controls.ToolBarToolBase_GetId(*args, **kwargs) - def GetControl(*args, **kwargs): return _controls.ToolBarToolBase_GetControl(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _controls.ToolBarToolBase_GetToolBar(*args, **kwargs) - def IsButton(*args, **kwargs): return _controls.ToolBarToolBase_IsButton(*args, **kwargs) - def IsControl(*args, **kwargs): return _controls.ToolBarToolBase_IsControl(*args, **kwargs) - def IsSeparator(*args, **kwargs): return _controls.ToolBarToolBase_IsSeparator(*args, **kwargs) - def GetStyle(*args, **kwargs): return _controls.ToolBarToolBase_GetStyle(*args, **kwargs) - def GetKind(*args, **kwargs): return _controls.ToolBarToolBase_GetKind(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _controls.ToolBarToolBase_IsEnabled(*args, **kwargs) - def IsToggled(*args, **kwargs): return _controls.ToolBarToolBase_IsToggled(*args, **kwargs) - def CanBeToggled(*args, **kwargs): return _controls.ToolBarToolBase_CanBeToggled(*args, **kwargs) - def GetNormalBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetNormalBitmap(*args, **kwargs) - def GetDisabledBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetDisabledBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetBitmap(*args, **kwargs) - def GetLabel(*args, **kwargs): return _controls.ToolBarToolBase_GetLabel(*args, **kwargs) - def GetShortHelp(*args, **kwargs): return _controls.ToolBarToolBase_GetShortHelp(*args, **kwargs) - def GetLongHelp(*args, **kwargs): return _controls.ToolBarToolBase_GetLongHelp(*args, **kwargs) - def Enable(*args, **kwargs): return _controls.ToolBarToolBase_Enable(*args, **kwargs) - def Toggle(*args, **kwargs): return _controls.ToolBarToolBase_Toggle(*args, **kwargs) - def SetToggle(*args, **kwargs): return _controls.ToolBarToolBase_SetToggle(*args, **kwargs) - def SetShortHelp(*args, **kwargs): return _controls.ToolBarToolBase_SetShortHelp(*args, **kwargs) - def SetLongHelp(*args, **kwargs): return _controls.ToolBarToolBase_SetLongHelp(*args, **kwargs) - def SetNormalBitmap(*args, **kwargs): return _controls.ToolBarToolBase_SetNormalBitmap(*args, **kwargs) - def SetDisabledBitmap(*args, **kwargs): return _controls.ToolBarToolBase_SetDisabledBitmap(*args, **kwargs) - def SetLabel(*args, **kwargs): return _controls.ToolBarToolBase_SetLabel(*args, **kwargs) - def Detach(*args, **kwargs): return _controls.ToolBarToolBase_Detach(*args, **kwargs) - def Attach(*args, **kwargs): return _controls.ToolBarToolBase_Attach(*args, **kwargs) - def GetClientData(*args, **kwargs): return _controls.ToolBarToolBase_GetClientData(*args, **kwargs) - def SetClientData(*args, **kwargs): return _controls.ToolBarToolBase_SetClientData(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetId(*args, **kwargs): + """GetId() -> int""" + return _controls.ToolBarToolBase_GetId(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _controls.ToolBarToolBase_GetControl(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> ToolBarBase""" + return _controls.ToolBarToolBase_GetToolBar(*args, **kwargs) + + def IsButton(*args, **kwargs): + """IsButton() -> int""" + return _controls.ToolBarToolBase_IsButton(*args, **kwargs) + + def IsControl(*args, **kwargs): + """IsControl() -> int""" + return _controls.ToolBarToolBase_IsControl(*args, **kwargs) + + def IsSeparator(*args, **kwargs): + """IsSeparator() -> int""" + return _controls.ToolBarToolBase_IsSeparator(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _controls.ToolBarToolBase_GetStyle(*args, **kwargs) + + def GetKind(*args, **kwargs): + """GetKind() -> wxItemKind""" + return _controls.ToolBarToolBase_GetKind(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _controls.ToolBarToolBase_IsEnabled(*args, **kwargs) + + def IsToggled(*args, **kwargs): + """IsToggled() -> bool""" + return _controls.ToolBarToolBase_IsToggled(*args, **kwargs) + + def CanBeToggled(*args, **kwargs): + """CanBeToggled() -> bool""" + return _controls.ToolBarToolBase_CanBeToggled(*args, **kwargs) + + def GetNormalBitmap(*args, **kwargs): + """GetNormalBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetNormalBitmap(*args, **kwargs) + + def GetDisabledBitmap(*args, **kwargs): + """GetDisabledBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetDisabledBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetBitmap(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.ToolBarToolBase_GetLabel(*args, **kwargs) + + def GetShortHelp(*args, **kwargs): + """GetShortHelp() -> wxString""" + return _controls.ToolBarToolBase_GetShortHelp(*args, **kwargs) + + def GetLongHelp(*args, **kwargs): + """GetLongHelp() -> wxString""" + return _controls.ToolBarToolBase_GetLongHelp(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable) -> bool""" + return _controls.ToolBarToolBase_Enable(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle()""" + return _controls.ToolBarToolBase_Toggle(*args, **kwargs) + + def SetToggle(*args, **kwargs): + """SetToggle(bool toggle) -> bool""" + return _controls.ToolBarToolBase_SetToggle(*args, **kwargs) + + def SetShortHelp(*args, **kwargs): + """SetShortHelp(wxString help) -> bool""" + return _controls.ToolBarToolBase_SetShortHelp(*args, **kwargs) + + def SetLongHelp(*args, **kwargs): + """SetLongHelp(wxString help) -> bool""" + return _controls.ToolBarToolBase_SetLongHelp(*args, **kwargs) + + def SetNormalBitmap(*args, **kwargs): + """SetNormalBitmap(wxBitmap bmp)""" + return _controls.ToolBarToolBase_SetNormalBitmap(*args, **kwargs) + + def SetDisabledBitmap(*args, **kwargs): + """SetDisabledBitmap(wxBitmap bmp)""" + return _controls.ToolBarToolBase_SetDisabledBitmap(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _controls.ToolBarToolBase_SetLabel(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _controls.ToolBarToolBase_Detach(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(ToolBarBase tbar)""" + return _controls.ToolBarToolBase_Attach(*args, **kwargs) + + def GetClientData(*args, **kwargs): + """GetClientData() -> PyObject""" + return _controls.ToolBarToolBase_GetClientData(*args, **kwargs) + + def SetClientData(*args, **kwargs): + """SetClientData(PyObject clientData)""" + return _controls.ToolBarToolBase_SetClientData(*args, **kwargs) + GetBitmap1 = GetNormalBitmap GetBitmap2 = GetDisabledBitmap SetBitmap1 = SetNormalBitmap SetBitmap2 = SetDisabledBitmap - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ToolBarToolBasePtr(ToolBarToolBase): def __init__(self, this): @@ -1124,8 +2235,25 @@ class ToolBarToolBasePtr(ToolBarToolBase): _controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr) class ToolBarBase(core.Control): - def DoAddTool(*args, **kwargs): return _controls.ToolBarBase_DoAddTool(*args, **kwargs) - def DoInsertTool(*args, **kwargs): return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def DoAddTool(*args, **kwargs): + """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, + wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase""" + return _controls.ToolBarBase_DoAddTool(*args, **kwargs) + + def DoInsertTool(*args, **kwargs): + """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, + wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, + PyObject clientData=None) -> ToolBarToolBase""" + return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) + # These match the original Add methods for this class, kept for # backwards compatibility with versions < 2.3.3. @@ -1249,48 +2377,162 @@ class ToolBarBase(core.Control): return self.DoAddTool(id, '', bitmap, bmpDisabled, wx.ITEM_RADIO, shortHelp, longHelp, clientData) - def AddControl(*args, **kwargs): return _controls.ToolBarBase_AddControl(*args, **kwargs) - def InsertControl(*args, **kwargs): return _controls.ToolBarBase_InsertControl(*args, **kwargs) - def FindControl(*args, **kwargs): return _controls.ToolBarBase_FindControl(*args, **kwargs) - def AddSeparator(*args, **kwargs): return _controls.ToolBarBase_AddSeparator(*args, **kwargs) - def InsertSeparator(*args, **kwargs): return _controls.ToolBarBase_InsertSeparator(*args, **kwargs) - def RemoveTool(*args, **kwargs): return _controls.ToolBarBase_RemoveTool(*args, **kwargs) - def DeleteToolByPos(*args, **kwargs): return _controls.ToolBarBase_DeleteToolByPos(*args, **kwargs) - def DeleteTool(*args, **kwargs): return _controls.ToolBarBase_DeleteTool(*args, **kwargs) - def ClearTools(*args, **kwargs): return _controls.ToolBarBase_ClearTools(*args, **kwargs) - def Realize(*args, **kwargs): return _controls.ToolBarBase_Realize(*args, **kwargs) - def EnableTool(*args, **kwargs): return _controls.ToolBarBase_EnableTool(*args, **kwargs) - def ToggleTool(*args, **kwargs): return _controls.ToolBarBase_ToggleTool(*args, **kwargs) - def SetToggle(*args, **kwargs): return _controls.ToolBarBase_SetToggle(*args, **kwargs) - def GetToolClientData(*args, **kwargs): return _controls.ToolBarBase_GetToolClientData(*args, **kwargs) - def SetToolClientData(*args, **kwargs): return _controls.ToolBarBase_SetToolClientData(*args, **kwargs) - def GetToolPos(*args, **kwargs): return _controls.ToolBarBase_GetToolPos(*args, **kwargs) - def GetToolState(*args, **kwargs): return _controls.ToolBarBase_GetToolState(*args, **kwargs) - def GetToolEnabled(*args, **kwargs): return _controls.ToolBarBase_GetToolEnabled(*args, **kwargs) - def SetToolShortHelp(*args, **kwargs): return _controls.ToolBarBase_SetToolShortHelp(*args, **kwargs) - def GetToolShortHelp(*args, **kwargs): return _controls.ToolBarBase_GetToolShortHelp(*args, **kwargs) - def SetToolLongHelp(*args, **kwargs): return _controls.ToolBarBase_SetToolLongHelp(*args, **kwargs) - def GetToolLongHelp(*args, **kwargs): return _controls.ToolBarBase_GetToolLongHelp(*args, **kwargs) - def SetMarginsXY(*args, **kwargs): return _controls.ToolBarBase_SetMarginsXY(*args, **kwargs) - def SetMargins(*args, **kwargs): return _controls.ToolBarBase_SetMargins(*args, **kwargs) - def SetToolPacking(*args, **kwargs): return _controls.ToolBarBase_SetToolPacking(*args, **kwargs) - def SetToolSeparation(*args, **kwargs): return _controls.ToolBarBase_SetToolSeparation(*args, **kwargs) - def GetToolMargins(*args, **kwargs): return _controls.ToolBarBase_GetToolMargins(*args, **kwargs) - def GetMargins(*args, **kwargs): return _controls.ToolBarBase_GetMargins(*args, **kwargs) - def GetToolPacking(*args, **kwargs): return _controls.ToolBarBase_GetToolPacking(*args, **kwargs) - def GetToolSeparation(*args, **kwargs): return _controls.ToolBarBase_GetToolSeparation(*args, **kwargs) - def SetRows(*args, **kwargs): return _controls.ToolBarBase_SetRows(*args, **kwargs) - def SetMaxRowsCols(*args, **kwargs): return _controls.ToolBarBase_SetMaxRowsCols(*args, **kwargs) - def GetMaxRows(*args, **kwargs): return _controls.ToolBarBase_GetMaxRows(*args, **kwargs) - def GetMaxCols(*args, **kwargs): return _controls.ToolBarBase_GetMaxCols(*args, **kwargs) - def SetToolBitmapSize(*args, **kwargs): return _controls.ToolBarBase_SetToolBitmapSize(*args, **kwargs) - def GetToolBitmapSize(*args, **kwargs): return _controls.ToolBarBase_GetToolBitmapSize(*args, **kwargs) - def GetToolSize(*args, **kwargs): return _controls.ToolBarBase_GetToolSize(*args, **kwargs) - def FindToolForPosition(*args, **kwargs): return _controls.ToolBarBase_FindToolForPosition(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.ToolBarBase_IsVertical(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddControl(*args, **kwargs): + """AddControl(Control control) -> ToolBarToolBase""" + return _controls.ToolBarBase_AddControl(*args, **kwargs) + + def InsertControl(*args, **kwargs): + """InsertControl(size_t pos, Control control) -> ToolBarToolBase""" + return _controls.ToolBarBase_InsertControl(*args, **kwargs) + + def FindControl(*args, **kwargs): + """FindControl(int id) -> Control""" + return _controls.ToolBarBase_FindControl(*args, **kwargs) + + def AddSeparator(*args, **kwargs): + """AddSeparator() -> ToolBarToolBase""" + return _controls.ToolBarBase_AddSeparator(*args, **kwargs) + + def InsertSeparator(*args, **kwargs): + """InsertSeparator(size_t pos) -> ToolBarToolBase""" + return _controls.ToolBarBase_InsertSeparator(*args, **kwargs) + + def RemoveTool(*args, **kwargs): + """RemoveTool(int id) -> ToolBarToolBase""" + return _controls.ToolBarBase_RemoveTool(*args, **kwargs) + + def DeleteToolByPos(*args, **kwargs): + """DeleteToolByPos(size_t pos) -> bool""" + return _controls.ToolBarBase_DeleteToolByPos(*args, **kwargs) + + def DeleteTool(*args, **kwargs): + """DeleteTool(int id) -> bool""" + return _controls.ToolBarBase_DeleteTool(*args, **kwargs) + + def ClearTools(*args, **kwargs): + """ClearTools()""" + return _controls.ToolBarBase_ClearTools(*args, **kwargs) + + def Realize(*args, **kwargs): + """Realize() -> bool""" + return _controls.ToolBarBase_Realize(*args, **kwargs) + + def EnableTool(*args, **kwargs): + """EnableTool(int id, bool enable)""" + return _controls.ToolBarBase_EnableTool(*args, **kwargs) + + def ToggleTool(*args, **kwargs): + """ToggleTool(int id, bool toggle)""" + return _controls.ToolBarBase_ToggleTool(*args, **kwargs) + + def SetToggle(*args, **kwargs): + """SetToggle(int id, bool toggle)""" + return _controls.ToolBarBase_SetToggle(*args, **kwargs) + + def GetToolClientData(*args, **kwargs): + """GetToolClientData(int id) -> PyObject""" + return _controls.ToolBarBase_GetToolClientData(*args, **kwargs) + + def SetToolClientData(*args, **kwargs): + """SetToolClientData(int id, PyObject clientData)""" + return _controls.ToolBarBase_SetToolClientData(*args, **kwargs) + + def GetToolPos(*args, **kwargs): + """GetToolPos(int id) -> int""" + return _controls.ToolBarBase_GetToolPos(*args, **kwargs) + + def GetToolState(*args, **kwargs): + """GetToolState(int id) -> bool""" + return _controls.ToolBarBase_GetToolState(*args, **kwargs) + + def GetToolEnabled(*args, **kwargs): + """GetToolEnabled(int id) -> bool""" + return _controls.ToolBarBase_GetToolEnabled(*args, **kwargs) + + def SetToolShortHelp(*args, **kwargs): + """SetToolShortHelp(int id, wxString helpString)""" + return _controls.ToolBarBase_SetToolShortHelp(*args, **kwargs) + + def GetToolShortHelp(*args, **kwargs): + """GetToolShortHelp(int id) -> wxString""" + return _controls.ToolBarBase_GetToolShortHelp(*args, **kwargs) + + def SetToolLongHelp(*args, **kwargs): + """SetToolLongHelp(int id, wxString helpString)""" + return _controls.ToolBarBase_SetToolLongHelp(*args, **kwargs) + + def GetToolLongHelp(*args, **kwargs): + """GetToolLongHelp(int id) -> wxString""" + return _controls.ToolBarBase_GetToolLongHelp(*args, **kwargs) + + def SetMarginsXY(*args, **kwargs): + """SetMarginsXY(int x, int y)""" + return _controls.ToolBarBase_SetMarginsXY(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(Size size)""" + return _controls.ToolBarBase_SetMargins(*args, **kwargs) + + def SetToolPacking(*args, **kwargs): + """SetToolPacking(int packing)""" + return _controls.ToolBarBase_SetToolPacking(*args, **kwargs) + + def SetToolSeparation(*args, **kwargs): + """SetToolSeparation(int separation)""" + return _controls.ToolBarBase_SetToolSeparation(*args, **kwargs) + + def GetToolMargins(*args, **kwargs): + """GetToolMargins() -> Size""" + return _controls.ToolBarBase_GetToolMargins(*args, **kwargs) + + def GetMargins(*args, **kwargs): + """GetMargins() -> Size""" + return _controls.ToolBarBase_GetMargins(*args, **kwargs) + + def GetToolPacking(*args, **kwargs): + """GetToolPacking() -> int""" + return _controls.ToolBarBase_GetToolPacking(*args, **kwargs) + + def GetToolSeparation(*args, **kwargs): + """GetToolSeparation() -> int""" + return _controls.ToolBarBase_GetToolSeparation(*args, **kwargs) + + def SetRows(*args, **kwargs): + """SetRows(int nRows)""" + return _controls.ToolBarBase_SetRows(*args, **kwargs) + + def SetMaxRowsCols(*args, **kwargs): + """SetMaxRowsCols(int rows, int cols)""" + return _controls.ToolBarBase_SetMaxRowsCols(*args, **kwargs) + + def GetMaxRows(*args, **kwargs): + """GetMaxRows() -> int""" + return _controls.ToolBarBase_GetMaxRows(*args, **kwargs) + + def GetMaxCols(*args, **kwargs): + """GetMaxCols() -> int""" + return _controls.ToolBarBase_GetMaxCols(*args, **kwargs) + + def SetToolBitmapSize(*args, **kwargs): + """SetToolBitmapSize(Size size)""" + return _controls.ToolBarBase_SetToolBitmapSize(*args, **kwargs) + + def GetToolBitmapSize(*args, **kwargs): + """GetToolBitmapSize() -> Size""" + return _controls.ToolBarBase_GetToolBitmapSize(*args, **kwargs) + + def GetToolSize(*args, **kwargs): + """GetToolSize() -> Size""" + return _controls.ToolBarBase_GetToolSize(*args, **kwargs) + + def FindToolForPosition(*args, **kwargs): + """FindToolForPosition(int x, int y) -> ToolBarToolBase""" + return _controls.ToolBarBase_FindToolForPosition(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.ToolBarBase_IsVertical(*args, **kwargs) + class ToolBarBasePtr(ToolBarBase): def __init__(self, this): @@ -1300,16 +2542,29 @@ class ToolBarBasePtr(ToolBarBase): _controls.ToolBarBase_swigregister(ToolBarBasePtr) class ToolBar(ToolBarBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> ToolBar""" newobj = _controls.new_ToolBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ToolBar_Create(*args, **kwargs) - def FindToolForPosition(*args, **kwargs): return _controls.ToolBar_FindToolForPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> bool""" + return _controls.ToolBar_Create(*args, **kwargs) + + def FindToolForPosition(*args, **kwargs): + """FindToolForPosition(int x, int y) -> ToolBarToolBase""" + return _controls.ToolBar_FindToolForPosition(*args, **kwargs) + class ToolBarPtr(ToolBar): def __init__(self, this): @@ -1319,6 +2574,7 @@ class ToolBarPtr(ToolBar): _controls.ToolBar_swigregister(ToolBarPtr) def PreToolBar(*args, **kwargs): + """PreToolBar() -> ToolBar""" val = _controls.new_PreToolBar(*args, **kwargs) val.thisown = 1 return val @@ -1396,26 +2652,59 @@ LIST_FIND_RIGHT = _controls.LIST_FIND_RIGHT #--------------------------------------------------------------------------- class ListItemAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, + wxFont font=wxNullFont) -> ListItemAttr""" newobj = _controls.new_ListItemAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTextColour(*args, **kwargs): return _controls.ListItemAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.ListItemAttr_SetFont(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _controls.ListItemAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _controls.ListItemAttr_HasFont(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListItemAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.ListItemAttr_GetFont(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.ListItemAttr_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.ListItemAttr_SetTextColour(*args, **kwargs) -class ListItemAttrPtr(ListItemAttr): - def __init__(self, this): + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.ListItemAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _controls.ListItemAttr_SetFont(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _controls.ListItemAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _controls.ListItemAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _controls.ListItemAttr_HasFont(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListItemAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.ListItemAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.ListItemAttr_GetFont(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.ListItemAttr_Destroy(*args, **kwargs) + + +class ListItemAttrPtr(ListItemAttr): + def __init__(self, this): self.this = this if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = ListItemAttr @@ -1424,44 +2713,137 @@ _controls.ListItemAttr_swigregister(ListItemAttrPtr) #--------------------------------------------------------------------------- class ListItem(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ListItem""" newobj = _controls.new_ListItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_ListItem): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Clear(*args, **kwargs): return _controls.ListItem_Clear(*args, **kwargs) - def ClearAttributes(*args, **kwargs): return _controls.ListItem_ClearAttributes(*args, **kwargs) - def SetMask(*args, **kwargs): return _controls.ListItem_SetMask(*args, **kwargs) - def SetId(*args, **kwargs): return _controls.ListItem_SetId(*args, **kwargs) - def SetColumn(*args, **kwargs): return _controls.ListItem_SetColumn(*args, **kwargs) - def SetState(*args, **kwargs): return _controls.ListItem_SetState(*args, **kwargs) - def SetStateMask(*args, **kwargs): return _controls.ListItem_SetStateMask(*args, **kwargs) - def SetText(*args, **kwargs): return _controls.ListItem_SetText(*args, **kwargs) - def SetImage(*args, **kwargs): return _controls.ListItem_SetImage(*args, **kwargs) - def SetData(*args, **kwargs): return _controls.ListItem_SetData(*args, **kwargs) - def SetWidth(*args, **kwargs): return _controls.ListItem_SetWidth(*args, **kwargs) - def SetAlign(*args, **kwargs): return _controls.ListItem_SetAlign(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.ListItem_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListItem_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.ListItem_SetFont(*args, **kwargs) - def GetMask(*args, **kwargs): return _controls.ListItem_GetMask(*args, **kwargs) - def GetId(*args, **kwargs): return _controls.ListItem_GetId(*args, **kwargs) - def GetColumn(*args, **kwargs): return _controls.ListItem_GetColumn(*args, **kwargs) - def GetState(*args, **kwargs): return _controls.ListItem_GetState(*args, **kwargs) - def GetText(*args, **kwargs): return _controls.ListItem_GetText(*args, **kwargs) - def GetImage(*args, **kwargs): return _controls.ListItem_GetImage(*args, **kwargs) - def GetData(*args, **kwargs): return _controls.ListItem_GetData(*args, **kwargs) - def GetWidth(*args, **kwargs): return _controls.ListItem_GetWidth(*args, **kwargs) - def GetAlign(*args, **kwargs): return _controls.ListItem_GetAlign(*args, **kwargs) - def GetAttributes(*args, **kwargs): return _controls.ListItem_GetAttributes(*args, **kwargs) - def HasAttributes(*args, **kwargs): return _controls.ListItem_HasAttributes(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListItem_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.ListItem_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.ListItem_GetFont(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _controls.ListItem_Clear(*args, **kwargs) + + def ClearAttributes(*args, **kwargs): + """ClearAttributes()""" + return _controls.ListItem_ClearAttributes(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(long mask)""" + return _controls.ListItem_SetMask(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(long id)""" + return _controls.ListItem_SetId(*args, **kwargs) + + def SetColumn(*args, **kwargs): + """SetColumn(int col)""" + return _controls.ListItem_SetColumn(*args, **kwargs) + + def SetState(*args, **kwargs): + """SetState(long state)""" + return _controls.ListItem_SetState(*args, **kwargs) + + def SetStateMask(*args, **kwargs): + """SetStateMask(long stateMask)""" + return _controls.ListItem_SetStateMask(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _controls.ListItem_SetText(*args, **kwargs) + + def SetImage(*args, **kwargs): + """SetImage(int image)""" + return _controls.ListItem_SetImage(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(long data)""" + return _controls.ListItem_SetData(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _controls.ListItem_SetWidth(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(wxListColumnFormat align)""" + return _controls.ListItem_SetAlign(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.ListItem_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.ListItem_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _controls.ListItem_SetFont(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> long""" + return _controls.ListItem_GetMask(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> long""" + return _controls.ListItem_GetId(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn() -> int""" + return _controls.ListItem_GetColumn(*args, **kwargs) + + def GetState(*args, **kwargs): + """GetState() -> long""" + return _controls.ListItem_GetState(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _controls.ListItem_GetText(*args, **kwargs) + + def GetImage(*args, **kwargs): + """GetImage() -> int""" + return _controls.ListItem_GetImage(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> long""" + return _controls.ListItem_GetData(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _controls.ListItem_GetWidth(*args, **kwargs) + + def GetAlign(*args, **kwargs): + """GetAlign() -> wxListColumnFormat""" + return _controls.ListItem_GetAlign(*args, **kwargs) + + def GetAttributes(*args, **kwargs): + """GetAttributes() -> ListItemAttr""" + return _controls.ListItem_GetAttributes(*args, **kwargs) + + def HasAttributes(*args, **kwargs): + """HasAttributes() -> bool""" + return _controls.ListItem_HasAttributes(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListItem_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.ListItem_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.ListItem_GetFont(*args, **kwargs) + m_mask = property(_controls.ListItem_m_mask_get, _controls.ListItem_m_mask_set) m_itemId = property(_controls.ListItem_m_itemId_get, _controls.ListItem_m_itemId_set) m_col = property(_controls.ListItem_m_col_get, _controls.ListItem_m_col_set) @@ -1472,8 +2854,6 @@ class ListItem(core.Object): m_data = property(_controls.ListItem_m_data_get, _controls.ListItem_m_data_set) m_format = property(_controls.ListItem_m_format_get, _controls.ListItem_m_format_set) m_width = property(_controls.ListItem_m_width_get, _controls.ListItem_m_width_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ListItemPtr(ListItem): def __init__(self, this): @@ -1485,7 +2865,11 @@ _controls.ListItem_swigregister(ListItemPtr) #--------------------------------------------------------------------------- class ListEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent""" newobj = _controls.new_ListEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1496,24 +2880,64 @@ class ListEvent(core.NotifyEvent): m_col = property(_controls.ListEvent_m_col_get, _controls.ListEvent_m_col_set) m_pointDrag = property(_controls.ListEvent_m_pointDrag_get, _controls.ListEvent_m_pointDrag_set) m_item = property(_controls.ListEvent_m_item_get) - def GetKeyCode(*args, **kwargs): return _controls.ListEvent_GetKeyCode(*args, **kwargs) + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _controls.ListEvent_GetKeyCode(*args, **kwargs) + GetCode = GetKeyCode - def GetIndex(*args, **kwargs): return _controls.ListEvent_GetIndex(*args, **kwargs) - def GetColumn(*args, **kwargs): return _controls.ListEvent_GetColumn(*args, **kwargs) - def GetPoint(*args, **kwargs): return _controls.ListEvent_GetPoint(*args, **kwargs) + def GetIndex(*args, **kwargs): + """GetIndex() -> long""" + return _controls.ListEvent_GetIndex(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn() -> int""" + return _controls.ListEvent_GetColumn(*args, **kwargs) + + def GetPoint(*args, **kwargs): + """GetPoint() -> Point""" + return _controls.ListEvent_GetPoint(*args, **kwargs) + GetPostiion = GetPoint - def GetLabel(*args, **kwargs): return _controls.ListEvent_GetLabel(*args, **kwargs) - def GetText(*args, **kwargs): return _controls.ListEvent_GetText(*args, **kwargs) - def GetImage(*args, **kwargs): return _controls.ListEvent_GetImage(*args, **kwargs) - def GetData(*args, **kwargs): return _controls.ListEvent_GetData(*args, **kwargs) - def GetMask(*args, **kwargs): return _controls.ListEvent_GetMask(*args, **kwargs) - def GetItem(*args, **kwargs): return _controls.ListEvent_GetItem(*args, **kwargs) - def GetCacheFrom(*args, **kwargs): return _controls.ListEvent_GetCacheFrom(*args, **kwargs) - def GetCacheTo(*args, **kwargs): return _controls.ListEvent_GetCacheTo(*args, **kwargs) - def IsEditCancelled(*args, **kwargs): return _controls.ListEvent_IsEditCancelled(*args, **kwargs) - def SetEditCanceled(*args, **kwargs): return _controls.ListEvent_SetEditCanceled(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.ListEvent_GetLabel(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _controls.ListEvent_GetText(*args, **kwargs) + + def GetImage(*args, **kwargs): + """GetImage() -> int""" + return _controls.ListEvent_GetImage(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> long""" + return _controls.ListEvent_GetData(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> long""" + return _controls.ListEvent_GetMask(*args, **kwargs) + + def GetItem(*args, **kwargs): + """GetItem() -> ListItem""" + return _controls.ListEvent_GetItem(*args, **kwargs) + + def GetCacheFrom(*args, **kwargs): + """GetCacheFrom() -> long""" + return _controls.ListEvent_GetCacheFrom(*args, **kwargs) + + def GetCacheTo(*args, **kwargs): + """GetCacheTo() -> long""" + return _controls.ListEvent_GetCacheTo(*args, **kwargs) + + def IsEditCancelled(*args, **kwargs): + """IsEditCancelled() -> bool""" + return _controls.ListEvent_IsEditCancelled(*args, **kwargs) + + def SetEditCanceled(*args, **kwargs): + """SetEditCanceled(bool editCancelled)""" + return _controls.ListEvent_SetEditCanceled(*args, **kwargs) + class ListEventPtr(ListEvent): def __init__(self, this): @@ -1570,101 +2994,300 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- class ListCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl""" newobj = _controls.new_ListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl) - def Create(*args, **kwargs): return _controls.ListCtrl_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _controls.ListCtrl__setCallbackInfo(*args, **kwargs) - def SetForegroundColour(*args, **kwargs): return _controls.ListCtrl_SetForegroundColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListCtrl_SetBackgroundColour(*args, **kwargs) - def GetColumn(*args, **kwargs): + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + return _controls.ListCtrl_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.ListCtrl__setCallbackInfo(*args, **kwargs) + + def SetForegroundColour(*args, **kwargs): + """SetForegroundColour(wxColour col) -> bool""" + return _controls.ListCtrl_SetForegroundColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour col) -> bool""" + return _controls.ListCtrl_SetBackgroundColour(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn(int col) -> ListItem""" val = _controls.ListCtrl_GetColumn(*args, **kwargs) if val is not None: val.thisown = 1 return val - def SetColumn(*args, **kwargs): return _controls.ListCtrl_SetColumn(*args, **kwargs) - def GetColumnWidth(*args, **kwargs): return _controls.ListCtrl_GetColumnWidth(*args, **kwargs) - def SetColumnWidth(*args, **kwargs): return _controls.ListCtrl_SetColumnWidth(*args, **kwargs) - def GetCountPerPage(*args, **kwargs): return _controls.ListCtrl_GetCountPerPage(*args, **kwargs) - def GetViewRect(*args, **kwargs): return _controls.ListCtrl_GetViewRect(*args, **kwargs) - def GetItem(*args, **kwargs): + + def SetColumn(*args, **kwargs): + """SetColumn(int col, ListItem item) -> bool""" + return _controls.ListCtrl_SetColumn(*args, **kwargs) + + def GetColumnWidth(*args, **kwargs): + """GetColumnWidth(int col) -> int""" + return _controls.ListCtrl_GetColumnWidth(*args, **kwargs) + + def SetColumnWidth(*args, **kwargs): + """SetColumnWidth(int col, int width) -> bool""" + return _controls.ListCtrl_SetColumnWidth(*args, **kwargs) + + def GetCountPerPage(*args, **kwargs): + """GetCountPerPage() -> int""" + return _controls.ListCtrl_GetCountPerPage(*args, **kwargs) + + def GetViewRect(*args, **kwargs): + """GetViewRect() -> Rect""" + return _controls.ListCtrl_GetViewRect(*args, **kwargs) + + def GetItem(*args, **kwargs): + """GetItem(long itemId, int col=0) -> ListItem""" val = _controls.ListCtrl_GetItem(*args, **kwargs) if val is not None: val.thisown = 1 return val - def SetItem(*args, **kwargs): return _controls.ListCtrl_SetItem(*args, **kwargs) - def SetStringItem(*args, **kwargs): return _controls.ListCtrl_SetStringItem(*args, **kwargs) - def GetItemState(*args, **kwargs): return _controls.ListCtrl_GetItemState(*args, **kwargs) - def SetItemState(*args, **kwargs): return _controls.ListCtrl_SetItemState(*args, **kwargs) - def SetItemImage(*args, **kwargs): return _controls.ListCtrl_SetItemImage(*args, **kwargs) - def GetItemText(*args, **kwargs): return _controls.ListCtrl_GetItemText(*args, **kwargs) - def SetItemText(*args, **kwargs): return _controls.ListCtrl_SetItemText(*args, **kwargs) - def GetItemData(*args, **kwargs): return _controls.ListCtrl_GetItemData(*args, **kwargs) - def SetItemData(*args, **kwargs): return _controls.ListCtrl_SetItemData(*args, **kwargs) - def GetItemPosition(*args, **kwargs): return _controls.ListCtrl_GetItemPosition(*args, **kwargs) - def GetItemRect(*args, **kwargs): return _controls.ListCtrl_GetItemRect(*args, **kwargs) - def SetItemPosition(*args, **kwargs): return _controls.ListCtrl_SetItemPosition(*args, **kwargs) - def GetItemCount(*args, **kwargs): return _controls.ListCtrl_GetItemCount(*args, **kwargs) - def GetColumnCount(*args, **kwargs): return _controls.ListCtrl_GetColumnCount(*args, **kwargs) - def GetItemSpacing(*args, **kwargs): return _controls.ListCtrl_GetItemSpacing(*args, **kwargs) - def SetItemSpacing(*args, **kwargs): return _controls.ListCtrl_SetItemSpacing(*args, **kwargs) - def GetSelectedItemCount(*args, **kwargs): return _controls.ListCtrl_GetSelectedItemCount(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListCtrl_GetTextColour(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.ListCtrl_SetTextColour(*args, **kwargs) - def GetTopItem(*args, **kwargs): return _controls.ListCtrl_GetTopItem(*args, **kwargs) - def SetSingleStyle(*args, **kwargs): return _controls.ListCtrl_SetSingleStyle(*args, **kwargs) - def SetWindowStyleFlag(*args, **kwargs): return _controls.ListCtrl_SetWindowStyleFlag(*args, **kwargs) - def GetNextItem(*args, **kwargs): return _controls.ListCtrl_GetNextItem(*args, **kwargs) - def GetImageList(*args, **kwargs): return _controls.ListCtrl_GetImageList(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.ListCtrl_SetImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): + + def SetItem(*args, **kwargs): + """SetItem(ListItem info) -> bool""" + return _controls.ListCtrl_SetItem(*args, **kwargs) + + def SetStringItem(*args, **kwargs): + """SetStringItem(long index, int col, wxString label, int imageId=-1) -> long""" + return _controls.ListCtrl_SetStringItem(*args, **kwargs) + + def GetItemState(*args, **kwargs): + """GetItemState(long item, long stateMask) -> int""" + return _controls.ListCtrl_GetItemState(*args, **kwargs) + + def SetItemState(*args, **kwargs): + """SetItemState(long item, long state, long stateMask) -> bool""" + return _controls.ListCtrl_SetItemState(*args, **kwargs) + + def SetItemImage(*args, **kwargs): + """SetItemImage(long item, int image, int selImage) -> bool""" + return _controls.ListCtrl_SetItemImage(*args, **kwargs) + + def GetItemText(*args, **kwargs): + """GetItemText(long item) -> wxString""" + return _controls.ListCtrl_GetItemText(*args, **kwargs) + + def SetItemText(*args, **kwargs): + """SetItemText(long item, wxString str)""" + return _controls.ListCtrl_SetItemText(*args, **kwargs) + + def GetItemData(*args, **kwargs): + """GetItemData(long item) -> long""" + return _controls.ListCtrl_GetItemData(*args, **kwargs) + + def SetItemData(*args, **kwargs): + """SetItemData(long item, long data) -> bool""" + return _controls.ListCtrl_SetItemData(*args, **kwargs) + + def GetItemPosition(*args, **kwargs): + """GetItemPosition(long item) -> Point""" + return _controls.ListCtrl_GetItemPosition(*args, **kwargs) + + def GetItemRect(*args, **kwargs): + """GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect""" + return _controls.ListCtrl_GetItemRect(*args, **kwargs) + + def SetItemPosition(*args, **kwargs): + """SetItemPosition(long item, Point pos) -> bool""" + return _controls.ListCtrl_SetItemPosition(*args, **kwargs) + + def GetItemCount(*args, **kwargs): + """GetItemCount() -> int""" + return _controls.ListCtrl_GetItemCount(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount() -> int""" + return _controls.ListCtrl_GetColumnCount(*args, **kwargs) + + def GetItemSpacing(*args, **kwargs): + """GetItemSpacing() -> Size""" + return _controls.ListCtrl_GetItemSpacing(*args, **kwargs) + + def SetItemSpacing(*args, **kwargs): + """SetItemSpacing(int spacing, bool isSmall=False)""" + return _controls.ListCtrl_SetItemSpacing(*args, **kwargs) + + def GetSelectedItemCount(*args, **kwargs): + """GetSelectedItemCount() -> int""" + return _controls.ListCtrl_GetSelectedItemCount(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListCtrl_GetTextColour(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour col)""" + return _controls.ListCtrl_SetTextColour(*args, **kwargs) + + def GetTopItem(*args, **kwargs): + """GetTopItem() -> long""" + return _controls.ListCtrl_GetTopItem(*args, **kwargs) + + def SetSingleStyle(*args, **kwargs): + """SetSingleStyle(long style, bool add=True)""" + return _controls.ListCtrl_SetSingleStyle(*args, **kwargs) + + def SetWindowStyleFlag(*args, **kwargs): + """SetWindowStyleFlag(long style)""" + return _controls.ListCtrl_SetWindowStyleFlag(*args, **kwargs) + + def GetNextItem(*args, **kwargs): + """GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long""" + return _controls.ListCtrl_GetNextItem(*args, **kwargs) + + def GetImageList(*args, **kwargs): + """GetImageList(int which) -> wxImageList""" + return _controls.ListCtrl_GetImageList(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList, int which)""" + return _controls.ListCtrl_SetImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList, int which)""" val = _controls.ListCtrl_AssignImageList(*args, **kwargs) args[1].thisown = 0 return val - def IsVirtual(*args, **kwargs): return _controls.ListCtrl_IsVirtual(*args, **kwargs) - def RefreshItem(*args, **kwargs): return _controls.ListCtrl_RefreshItem(*args, **kwargs) - def RefreshItems(*args, **kwargs): return _controls.ListCtrl_RefreshItems(*args, **kwargs) - def Arrange(*args, **kwargs): return _controls.ListCtrl_Arrange(*args, **kwargs) - def DeleteItem(*args, **kwargs): return _controls.ListCtrl_DeleteItem(*args, **kwargs) - def DeleteAllItems(*args, **kwargs): return _controls.ListCtrl_DeleteAllItems(*args, **kwargs) - def DeleteColumn(*args, **kwargs): return _controls.ListCtrl_DeleteColumn(*args, **kwargs) - def DeleteAllColumns(*args, **kwargs): return _controls.ListCtrl_DeleteAllColumns(*args, **kwargs) - def ClearAll(*args, **kwargs): return _controls.ListCtrl_ClearAll(*args, **kwargs) - def EditLabel(*args, **kwargs): return _controls.ListCtrl_EditLabel(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.ListCtrl_EnsureVisible(*args, **kwargs) - def FindItem(*args, **kwargs): return _controls.ListCtrl_FindItem(*args, **kwargs) - def FindItemData(*args, **kwargs): return _controls.ListCtrl_FindItemData(*args, **kwargs) - def FindItemAtPos(*args, **kwargs): return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.ListCtrl_HitTest(*args, **kwargs) - def InsertItem(*args, **kwargs): return _controls.ListCtrl_InsertItem(*args, **kwargs) - def InsertStringItem(*args, **kwargs): return _controls.ListCtrl_InsertStringItem(*args, **kwargs) - def InsertImageItem(*args, **kwargs): return _controls.ListCtrl_InsertImageItem(*args, **kwargs) - def InsertImageStringItem(*args, **kwargs): return _controls.ListCtrl_InsertImageStringItem(*args, **kwargs) - def InsertColumnInfo(*args, **kwargs): return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) - def InsertColumn(*args, **kwargs): return _controls.ListCtrl_InsertColumn(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _controls.ListCtrl_SetItemCount(*args, **kwargs) - def ScrollList(*args, **kwargs): return _controls.ListCtrl_ScrollList(*args, **kwargs) - def SetItemTextColour(*args, **kwargs): return _controls.ListCtrl_SetItemTextColour(*args, **kwargs) - def GetItemTextColour(*args, **kwargs): return _controls.ListCtrl_GetItemTextColour(*args, **kwargs) - def SetItemBackgroundColour(*args, **kwargs): return _controls.ListCtrl_SetItemBackgroundColour(*args, **kwargs) - def GetItemBackgroundColour(*args, **kwargs): return _controls.ListCtrl_GetItemBackgroundColour(*args, **kwargs) + + def IsVirtual(*args, **kwargs): + """IsVirtual() -> bool""" + return _controls.ListCtrl_IsVirtual(*args, **kwargs) + + def RefreshItem(*args, **kwargs): + """RefreshItem(long item)""" + return _controls.ListCtrl_RefreshItem(*args, **kwargs) + + def RefreshItems(*args, **kwargs): + """RefreshItems(long itemFrom, long itemTo)""" + return _controls.ListCtrl_RefreshItems(*args, **kwargs) + + def Arrange(*args, **kwargs): + """Arrange(int flag=LIST_ALIGN_DEFAULT) -> bool""" + return _controls.ListCtrl_Arrange(*args, **kwargs) + + def DeleteItem(*args, **kwargs): + """DeleteItem(long item) -> bool""" + return _controls.ListCtrl_DeleteItem(*args, **kwargs) + + def DeleteAllItems(*args, **kwargs): + """DeleteAllItems() -> bool""" + return _controls.ListCtrl_DeleteAllItems(*args, **kwargs) + + def DeleteColumn(*args, **kwargs): + """DeleteColumn(int col) -> bool""" + return _controls.ListCtrl_DeleteColumn(*args, **kwargs) + + def DeleteAllColumns(*args, **kwargs): + """DeleteAllColumns() -> bool""" + return _controls.ListCtrl_DeleteAllColumns(*args, **kwargs) + + def ClearAll(*args, **kwargs): + """ClearAll()""" + return _controls.ListCtrl_ClearAll(*args, **kwargs) + + def EditLabel(*args, **kwargs): + """EditLabel(long item)""" + return _controls.ListCtrl_EditLabel(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(long item) -> bool""" + return _controls.ListCtrl_EnsureVisible(*args, **kwargs) + + def FindItem(*args, **kwargs): + """FindItem(long start, wxString str, bool partial=False) -> long""" + return _controls.ListCtrl_FindItem(*args, **kwargs) + + def FindItemData(*args, **kwargs): + """FindItemData(long start, long data) -> long""" + return _controls.ListCtrl_FindItemData(*args, **kwargs) + + def FindItemAtPos(*args, **kwargs): + """FindItemAtPos(long start, Point pt, int direction) -> long""" + return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point point, int OUTPUT) -> long""" + return _controls.ListCtrl_HitTest(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(ListItem info) -> long""" + return _controls.ListCtrl_InsertItem(*args, **kwargs) + + def InsertStringItem(*args, **kwargs): + """InsertStringItem(long index, wxString label) -> long""" + return _controls.ListCtrl_InsertStringItem(*args, **kwargs) + + def InsertImageItem(*args, **kwargs): + """InsertImageItem(long index, int imageIndex) -> long""" + return _controls.ListCtrl_InsertImageItem(*args, **kwargs) + + def InsertImageStringItem(*args, **kwargs): + """InsertImageStringItem(long index, wxString label, int imageIndex) -> long""" + return _controls.ListCtrl_InsertImageStringItem(*args, **kwargs) + + def InsertColumnInfo(*args, **kwargs): + """InsertColumnInfo(long col, ListItem info) -> long""" + return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) + + def InsertColumn(*args, **kwargs): + """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, + int width=-1) -> long""" + return _controls.ListCtrl_InsertColumn(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(long count)""" + return _controls.ListCtrl_SetItemCount(*args, **kwargs) + + def ScrollList(*args, **kwargs): + """ScrollList(int dx, int dy) -> bool""" + return _controls.ListCtrl_ScrollList(*args, **kwargs) + + def SetItemTextColour(*args, **kwargs): + """SetItemTextColour(long item, wxColour col)""" + return _controls.ListCtrl_SetItemTextColour(*args, **kwargs) + + def GetItemTextColour(*args, **kwargs): + """GetItemTextColour(long item) -> wxColour""" + return _controls.ListCtrl_GetItemTextColour(*args, **kwargs) + + def SetItemBackgroundColour(*args, **kwargs): + """SetItemBackgroundColour(long item, wxColour col)""" + return _controls.ListCtrl_SetItemBackgroundColour(*args, **kwargs) + + def GetItemBackgroundColour(*args, **kwargs): + """GetItemBackgroundColour(long item) -> wxColour""" + return _controls.ListCtrl_GetItemBackgroundColour(*args, **kwargs) + # # Some helpers... def Select(self, idx, on=1): '''[de]select an item''' - if on: state = wxLIST_STATE_SELECTED + if on: state = wx.LIST_STATE_SELECTED else: state = 0 - self.SetItemState(idx, state, wxLIST_STATE_SELECTED) + self.SetItemState(idx, state, wx.LIST_STATE_SELECTED) def Focus(self, idx): '''Focus and show the given item''' - self.SetItemState(idx, wxLIST_STATE_FOCUSED, wxLIST_STATE_FOCUSED) + self.SetItemState(idx, wx.LIST_STATE_FOCUSED, wx.LIST_STATE_FOCUSED) self.EnsureVisible(idx) def GetFocusedItem(self): '''get the currently focused item or -1 if none''' - return self.GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_FOCUSED) + return self.GetNextItem(-1, wx.LIST_NEXT_ALL, wx.LIST_STATE_FOCUSED) def GetFirstSelected(self, *args): '''return first selected item, or -1 when none''' @@ -1672,22 +3295,22 @@ class ListCtrl(core.Control): def GetNextSelected(self, item): '''return subsequent selected items, or -1 when no more''' - return self.GetNextItem(item, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED) + return self.GetNextItem(item, wx.LIST_NEXT_ALL, wx.LIST_STATE_SELECTED) def IsSelected(self, idx): - '''return TRUE if the item is selected''' - return self.GetItemState(idx, wxLIST_STATE_SELECTED) != 0 + '''return True if the item is selected''' + return self.GetItemState(idx, wx.LIST_STATE_SELECTED) != 0 def SetColumnImage(self, col, image): item = self.GetColumn(col) - - item.SetMask( wxLIST_MASK_STATE | - wxLIST_MASK_TEXT | - wxLIST_MASK_IMAGE | - wxLIST_MASK_DATA | - wxLIST_SET_ITEM | - wxLIST_MASK_WIDTH | - wxLIST_MASK_FORMAT ) + # preserve all other attributes too + item.SetMask( wx.LIST_MASK_STATE | + wx.LIST_MASK_TEXT | + wx.LIST_MASK_IMAGE | + wx.LIST_MASK_DATA | + wx.LIST_SET_ITEM | + wx.LIST_MASK_WIDTH | + wx.LIST_MASK_FORMAT ) item.SetImage(image) self.SetColumn(col, item) @@ -1698,7 +3321,7 @@ class ListCtrl(core.Control): '''Append an item to the list control. The entry parameter should be a sequence with an item for each column''' if len(entry): - if wx.wxUSE_UNICODE: + if wx.USE_UNICODE: cvtfunc = unicode else: cvtfunc = str @@ -1708,10 +3331,14 @@ class ListCtrl(core.Control): self.SetStringItem(pos, i, cvtfunc(entry[i])) return pos - def SortItems(*args, **kwargs): return _controls.ListCtrl_SortItems(*args, **kwargs) - def GetMainWindow(*args, **kwargs): return _controls.ListCtrl_GetMainWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SortItems(*args, **kwargs): + """SortItems(PyObject func) -> bool""" + return _controls.ListCtrl_SortItems(*args, **kwargs) + + def GetMainWindow(*args, **kwargs): + """GetMainWindow() -> Window""" + return _controls.ListCtrl_GetMainWindow(*args, **kwargs) + class ListCtrlPtr(ListCtrl): def __init__(self, this): @@ -1721,6 +3348,7 @@ class ListCtrlPtr(ListCtrl): _controls.ListCtrl_swigregister(ListCtrlPtr) def PreListCtrl(*args, **kwargs): + """PreListCtrl() -> ListCtrl""" val = _controls.new_PreListCtrl(*args, **kwargs) val.thisown = 1 return val @@ -1728,23 +3356,57 @@ def PreListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class ListView(ListCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView""" newobj = _controls.new_ListView(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ListView_Create(*args, **kwargs) - def Select(*args, **kwargs): return _controls.ListView_Select(*args, **kwargs) - def Focus(*args, **kwargs): return _controls.ListView_Focus(*args, **kwargs) - def GetFocusedItem(*args, **kwargs): return _controls.ListView_GetFocusedItem(*args, **kwargs) - def GetNextSelected(*args, **kwargs): return _controls.ListView_GetNextSelected(*args, **kwargs) - def GetFirstSelected(*args, **kwargs): return _controls.ListView_GetFirstSelected(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.ListView_IsSelected(*args, **kwargs) - def SetColumnImage(*args, **kwargs): return _controls.ListView_SetColumnImage(*args, **kwargs) - def ClearColumnImage(*args, **kwargs): return _controls.ListView_ClearColumnImage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + return _controls.ListView_Create(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(long n, bool on=True)""" + return _controls.ListView_Select(*args, **kwargs) + + def Focus(*args, **kwargs): + """Focus(long index)""" + return _controls.ListView_Focus(*args, **kwargs) + + def GetFocusedItem(*args, **kwargs): + """GetFocusedItem() -> long""" + return _controls.ListView_GetFocusedItem(*args, **kwargs) + + def GetNextSelected(*args, **kwargs): + """GetNextSelected(long item) -> long""" + return _controls.ListView_GetNextSelected(*args, **kwargs) + + def GetFirstSelected(*args, **kwargs): + """GetFirstSelected() -> long""" + return _controls.ListView_GetFirstSelected(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(long index) -> bool""" + return _controls.ListView_IsSelected(*args, **kwargs) + + def SetColumnImage(*args, **kwargs): + """SetColumnImage(int col, int image)""" + return _controls.ListView_SetColumnImage(*args, **kwargs) + + def ClearColumnImage(*args, **kwargs): + """ClearColumnImage(int col)""" + return _controls.ListView_ClearColumnImage(*args, **kwargs) + class ListViewPtr(ListView): def __init__(self, this): @@ -1754,6 +3416,7 @@ class ListViewPtr(ListView): _controls.ListView_swigregister(ListViewPtr) def PreListView(*args, **kwargs): + """PreListView() -> ListView""" val = _controls.new_PreListView(*args, **kwargs) val.thisown = 1 return val @@ -1798,23 +3461,36 @@ TREE_HITTEST_ONITEM = _controls.TREE_HITTEST_ONITEM #--------------------------------------------------------------------------- class TreeItemId(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TreeItemId""" newobj = _controls.new_TreeItemId(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_TreeItemId): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _controls.TreeItemId_IsOk(*args, **kwargs) - def __eq__(*args, **kwargs): return _controls.TreeItemId___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _controls.TreeItemId___ne__(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _controls.TreeItemId_IsOk(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(TreeItemId other) -> bool""" + return _controls.TreeItemId___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(TreeItemId other) -> bool""" + return _controls.TreeItemId___ne__(*args, **kwargs) + m_pItem = property(_controls.TreeItemId_m_pItem_get, _controls.TreeItemId_m_pItem_set) Ok = IsOk def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TreeItemIdPtr(TreeItemId): def __init__(self, this): @@ -1824,18 +3500,35 @@ class TreeItemIdPtr(TreeItemId): _controls.TreeItemId_swigregister(TreeItemIdPtr) class TreeItemData(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PyObject obj=None) -> TreeItemData""" newobj = _controls.new_TreeItemData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetData(*args, **kwargs): return _controls.TreeItemData_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _controls.TreeItemData_SetData(*args, **kwargs) - def GetId(*args, **kwargs): return _controls.TreeItemData_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _controls.TreeItemData_SetId(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.TreeItemData_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _controls.TreeItemData_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject obj)""" + return _controls.TreeItemData_SetData(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> TreeItemId""" + return _controls.TreeItemData_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(TreeItemId id)""" + return _controls.TreeItemData_SetId(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.TreeItemData_Destroy(*args, **kwargs) + class TreeItemDataPtr(TreeItemData): def __init__(self, this): @@ -1887,26 +3580,67 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI class TreeEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent""" newobj = _controls.new_TreeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetItem(*args, **kwargs): return _controls.TreeEvent_GetItem(*args, **kwargs) - def SetItem(*args, **kwargs): return _controls.TreeEvent_SetItem(*args, **kwargs) - def GetOldItem(*args, **kwargs): return _controls.TreeEvent_GetOldItem(*args, **kwargs) - def SetOldItem(*args, **kwargs): return _controls.TreeEvent_SetOldItem(*args, **kwargs) - def GetPoint(*args, **kwargs): return _controls.TreeEvent_GetPoint(*args, **kwargs) - def SetPoint(*args, **kwargs): return _controls.TreeEvent_SetPoint(*args, **kwargs) - def GetKeyEvent(*args, **kwargs): return _controls.TreeEvent_GetKeyEvent(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _controls.TreeEvent_GetKeyCode(*args, **kwargs) - def SetKeyEvent(*args, **kwargs): return _controls.TreeEvent_SetKeyEvent(*args, **kwargs) - def GetLabel(*args, **kwargs): return _controls.TreeEvent_GetLabel(*args, **kwargs) - def SetLabel(*args, **kwargs): return _controls.TreeEvent_SetLabel(*args, **kwargs) - def IsEditCancelled(*args, **kwargs): return _controls.TreeEvent_IsEditCancelled(*args, **kwargs) - def SetEditCanceled(*args, **kwargs): return _controls.TreeEvent_SetEditCanceled(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetItem(*args, **kwargs): + """GetItem() -> TreeItemId""" + return _controls.TreeEvent_GetItem(*args, **kwargs) + + def SetItem(*args, **kwargs): + """SetItem(TreeItemId item)""" + return _controls.TreeEvent_SetItem(*args, **kwargs) + + def GetOldItem(*args, **kwargs): + """GetOldItem() -> TreeItemId""" + return _controls.TreeEvent_GetOldItem(*args, **kwargs) + + def SetOldItem(*args, **kwargs): + """SetOldItem(TreeItemId item)""" + return _controls.TreeEvent_SetOldItem(*args, **kwargs) + + def GetPoint(*args, **kwargs): + """GetPoint() -> Point""" + return _controls.TreeEvent_GetPoint(*args, **kwargs) + + def SetPoint(*args, **kwargs): + """SetPoint(Point pt)""" + return _controls.TreeEvent_SetPoint(*args, **kwargs) + + def GetKeyEvent(*args, **kwargs): + """GetKeyEvent() -> KeyEvent""" + return _controls.TreeEvent_GetKeyEvent(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _controls.TreeEvent_GetKeyCode(*args, **kwargs) + + def SetKeyEvent(*args, **kwargs): + """SetKeyEvent(KeyEvent evt)""" + return _controls.TreeEvent_SetKeyEvent(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.TreeEvent_GetLabel(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _controls.TreeEvent_SetLabel(*args, **kwargs) + + def IsEditCancelled(*args, **kwargs): + """IsEditCancelled() -> bool""" + return _controls.TreeEvent_IsEditCancelled(*args, **kwargs) + + def SetEditCanceled(*args, **kwargs): + """SetEditCanceled(bool editCancelled)""" + return _controls.TreeEvent_SetEditCanceled(*args, **kwargs) + class TreeEventPtr(TreeEvent): def __init__(self, this): @@ -1918,91 +3652,310 @@ _controls.TreeEvent_swigregister(TreeEventPtr) #--------------------------------------------------------------------------- class TreeCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl""" newobj = _controls.new_TreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl) - def Create(*args, **kwargs): return _controls.TreeCtrl_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _controls.TreeCtrl__setCallbackInfo(*args, **kwargs) - def GetCount(*args, **kwargs): return _controls.TreeCtrl_GetCount(*args, **kwargs) - def GetIndent(*args, **kwargs): return _controls.TreeCtrl_GetIndent(*args, **kwargs) - def SetIndent(*args, **kwargs): return _controls.TreeCtrl_SetIndent(*args, **kwargs) - def GetSpacing(*args, **kwargs): return _controls.TreeCtrl_GetSpacing(*args, **kwargs) - def SetSpacing(*args, **kwargs): return _controls.TreeCtrl_SetSpacing(*args, **kwargs) - def GetImageList(*args, **kwargs): return _controls.TreeCtrl_GetImageList(*args, **kwargs) - def GetStateImageList(*args, **kwargs): return _controls.TreeCtrl_GetStateImageList(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.TreeCtrl_SetImageList(*args, **kwargs) - def SetStateImageList(*args, **kwargs): return _controls.TreeCtrl_SetStateImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> bool""" + return _controls.TreeCtrl_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.TreeCtrl__setCallbackInfo(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> size_t""" + return _controls.TreeCtrl_GetCount(*args, **kwargs) + + def GetIndent(*args, **kwargs): + """GetIndent() -> unsigned int""" + return _controls.TreeCtrl_GetIndent(*args, **kwargs) + + def SetIndent(*args, **kwargs): + """SetIndent(unsigned int indent)""" + return _controls.TreeCtrl_SetIndent(*args, **kwargs) + + def GetSpacing(*args, **kwargs): + """GetSpacing() -> unsigned int""" + return _controls.TreeCtrl_GetSpacing(*args, **kwargs) + + def SetSpacing(*args, **kwargs): + """SetSpacing(unsigned int spacing)""" + return _controls.TreeCtrl_SetSpacing(*args, **kwargs) + + def GetImageList(*args, **kwargs): + """GetImageList() -> wxImageList""" + return _controls.TreeCtrl_GetImageList(*args, **kwargs) + + def GetStateImageList(*args, **kwargs): + """GetStateImageList() -> wxImageList""" + return _controls.TreeCtrl_GetStateImageList(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList)""" + return _controls.TreeCtrl_SetImageList(*args, **kwargs) + + def SetStateImageList(*args, **kwargs): + """SetStateImageList(wxImageList imageList)""" + return _controls.TreeCtrl_SetStateImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList)""" val = _controls.TreeCtrl_AssignImageList(*args, **kwargs) args[1].thisown = 0 return val - def AssignStateImageList(*args, **kwargs): + + def AssignStateImageList(*args, **kwargs): + """AssignStateImageList(wxImageList imageList)""" val = _controls.TreeCtrl_AssignStateImageList(*args, **kwargs) args[1].thisown = 0 return val - def GetItemText(*args, **kwargs): return _controls.TreeCtrl_GetItemText(*args, **kwargs) - def GetItemImage(*args, **kwargs): return _controls.TreeCtrl_GetItemImage(*args, **kwargs) - def GetItemData(*args, **kwargs): return _controls.TreeCtrl_GetItemData(*args, **kwargs) - def GetItemPyData(*args, **kwargs): return _controls.TreeCtrl_GetItemPyData(*args, **kwargs) + + def GetItemText(*args, **kwargs): + """GetItemText(TreeItemId item) -> wxString""" + return _controls.TreeCtrl_GetItemText(*args, **kwargs) + + def GetItemImage(*args, **kwargs): + """GetItemImage(TreeItemId item, wxTreeItemIcon which=TreeItemIcon_Normal) -> int""" + return _controls.TreeCtrl_GetItemImage(*args, **kwargs) + + def GetItemData(*args, **kwargs): + """GetItemData(TreeItemId item) -> TreeItemData""" + return _controls.TreeCtrl_GetItemData(*args, **kwargs) + + def GetItemPyData(*args, **kwargs): + """GetItemPyData(TreeItemId item) -> PyObject""" + return _controls.TreeCtrl_GetItemPyData(*args, **kwargs) + GetPyData = GetItemPyData - def GetItemTextColour(*args, **kwargs): return _controls.TreeCtrl_GetItemTextColour(*args, **kwargs) - def GetItemBackgroundColour(*args, **kwargs): return _controls.TreeCtrl_GetItemBackgroundColour(*args, **kwargs) - def GetItemFont(*args, **kwargs): return _controls.TreeCtrl_GetItemFont(*args, **kwargs) - def SetItemText(*args, **kwargs): return _controls.TreeCtrl_SetItemText(*args, **kwargs) - def SetItemImage(*args, **kwargs): return _controls.TreeCtrl_SetItemImage(*args, **kwargs) - def SetItemData(*args, **kwargs): return _controls.TreeCtrl_SetItemData(*args, **kwargs) - def SetItemPyData(*args, **kwargs): return _controls.TreeCtrl_SetItemPyData(*args, **kwargs) + def GetItemTextColour(*args, **kwargs): + """GetItemTextColour(TreeItemId item) -> wxColour""" + return _controls.TreeCtrl_GetItemTextColour(*args, **kwargs) + + def GetItemBackgroundColour(*args, **kwargs): + """GetItemBackgroundColour(TreeItemId item) -> wxColour""" + return _controls.TreeCtrl_GetItemBackgroundColour(*args, **kwargs) + + def GetItemFont(*args, **kwargs): + """GetItemFont(TreeItemId item) -> wxFont""" + return _controls.TreeCtrl_GetItemFont(*args, **kwargs) + + def SetItemText(*args, **kwargs): + """SetItemText(TreeItemId item, wxString text)""" + return _controls.TreeCtrl_SetItemText(*args, **kwargs) + + def SetItemImage(*args, **kwargs): + """SetItemImage(TreeItemId item, int image, wxTreeItemIcon which=TreeItemIcon_Normal)""" + return _controls.TreeCtrl_SetItemImage(*args, **kwargs) + + def SetItemData(*args, **kwargs): + """SetItemData(TreeItemId item, TreeItemData data)""" + return _controls.TreeCtrl_SetItemData(*args, **kwargs) + + def SetItemPyData(*args, **kwargs): + """SetItemPyData(TreeItemId item, PyObject obj)""" + return _controls.TreeCtrl_SetItemPyData(*args, **kwargs) + SetPyData = SetItemPyData - def SetItemHasChildren(*args, **kwargs): return _controls.TreeCtrl_SetItemHasChildren(*args, **kwargs) - def SetItemBold(*args, **kwargs): return _controls.TreeCtrl_SetItemBold(*args, **kwargs) - def SetItemTextColour(*args, **kwargs): return _controls.TreeCtrl_SetItemTextColour(*args, **kwargs) - def SetItemBackgroundColour(*args, **kwargs): return _controls.TreeCtrl_SetItemBackgroundColour(*args, **kwargs) - def SetItemFont(*args, **kwargs): return _controls.TreeCtrl_SetItemFont(*args, **kwargs) - def IsVisible(*args, **kwargs): return _controls.TreeCtrl_IsVisible(*args, **kwargs) - def ItemHasChildren(*args, **kwargs): return _controls.TreeCtrl_ItemHasChildren(*args, **kwargs) - def IsExpanded(*args, **kwargs): return _controls.TreeCtrl_IsExpanded(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.TreeCtrl_IsSelected(*args, **kwargs) - def IsBold(*args, **kwargs): return _controls.TreeCtrl_IsBold(*args, **kwargs) - def GetChildrenCount(*args, **kwargs): return _controls.TreeCtrl_GetChildrenCount(*args, **kwargs) - def GetRootItem(*args, **kwargs): return _controls.TreeCtrl_GetRootItem(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.TreeCtrl_GetSelection(*args, **kwargs) - def GetSelections(*args, **kwargs): return _controls.TreeCtrl_GetSelections(*args, **kwargs) - def GetItemParent(*args, **kwargs): return _controls.TreeCtrl_GetItemParent(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _controls.TreeCtrl_GetFirstChild(*args, **kwargs) - def GetNextChild(*args, **kwargs): return _controls.TreeCtrl_GetNextChild(*args, **kwargs) - def GetLastChild(*args, **kwargs): return _controls.TreeCtrl_GetLastChild(*args, **kwargs) - def GetNextSibling(*args, **kwargs): return _controls.TreeCtrl_GetNextSibling(*args, **kwargs) - def GetPrevSibling(*args, **kwargs): return _controls.TreeCtrl_GetPrevSibling(*args, **kwargs) - def GetFirstVisibleItem(*args, **kwargs): return _controls.TreeCtrl_GetFirstVisibleItem(*args, **kwargs) - def GetNextVisible(*args, **kwargs): return _controls.TreeCtrl_GetNextVisible(*args, **kwargs) - def GetPrevVisible(*args, **kwargs): return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) - def AddRoot(*args, **kwargs): return _controls.TreeCtrl_AddRoot(*args, **kwargs) - def PrependItem(*args, **kwargs): return _controls.TreeCtrl_PrependItem(*args, **kwargs) - def InsertItem(*args, **kwargs): return _controls.TreeCtrl_InsertItem(*args, **kwargs) - def InsertItemBefore(*args, **kwargs): return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) - def AppendItem(*args, **kwargs): return _controls.TreeCtrl_AppendItem(*args, **kwargs) - def Delete(*args, **kwargs): return _controls.TreeCtrl_Delete(*args, **kwargs) - def DeleteChildren(*args, **kwargs): return _controls.TreeCtrl_DeleteChildren(*args, **kwargs) - def DeleteAllItems(*args, **kwargs): return _controls.TreeCtrl_DeleteAllItems(*args, **kwargs) - def Expand(*args, **kwargs): return _controls.TreeCtrl_Expand(*args, **kwargs) - def Collapse(*args, **kwargs): return _controls.TreeCtrl_Collapse(*args, **kwargs) - def CollapseAndReset(*args, **kwargs): return _controls.TreeCtrl_CollapseAndReset(*args, **kwargs) - def Toggle(*args, **kwargs): return _controls.TreeCtrl_Toggle(*args, **kwargs) - def Unselect(*args, **kwargs): return _controls.TreeCtrl_Unselect(*args, **kwargs) - def UnselectAll(*args, **kwargs): return _controls.TreeCtrl_UnselectAll(*args, **kwargs) - def SelectItem(*args, **kwargs): return _controls.TreeCtrl_SelectItem(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.TreeCtrl_EnsureVisible(*args, **kwargs) - def ScrollTo(*args, **kwargs): return _controls.TreeCtrl_ScrollTo(*args, **kwargs) - def EditLabel(*args, **kwargs): return _controls.TreeCtrl_EditLabel(*args, **kwargs) - def GetEditControl(*args, **kwargs): return _controls.TreeCtrl_GetEditControl(*args, **kwargs) - def SortChildren(*args, **kwargs): return _controls.TreeCtrl_SortChildren(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.TreeCtrl_HitTest(*args, **kwargs) - def GetBoundingRect(*args, **kwargs): return _controls.TreeCtrl_GetBoundingRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetItemHasChildren(*args, **kwargs): + """SetItemHasChildren(TreeItemId item, bool has=True)""" + return _controls.TreeCtrl_SetItemHasChildren(*args, **kwargs) + + def SetItemBold(*args, **kwargs): + """SetItemBold(TreeItemId item, bool bold=True)""" + return _controls.TreeCtrl_SetItemBold(*args, **kwargs) + + def SetItemTextColour(*args, **kwargs): + """SetItemTextColour(TreeItemId item, wxColour col)""" + return _controls.TreeCtrl_SetItemTextColour(*args, **kwargs) + + def SetItemBackgroundColour(*args, **kwargs): + """SetItemBackgroundColour(TreeItemId item, wxColour col)""" + return _controls.TreeCtrl_SetItemBackgroundColour(*args, **kwargs) + + def SetItemFont(*args, **kwargs): + """SetItemFont(TreeItemId item, wxFont font)""" + return _controls.TreeCtrl_SetItemFont(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsVisible(*args, **kwargs) + + def ItemHasChildren(*args, **kwargs): + """ItemHasChildren(TreeItemId item) -> bool""" + return _controls.TreeCtrl_ItemHasChildren(*args, **kwargs) + + def IsExpanded(*args, **kwargs): + """IsExpanded(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsExpanded(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsSelected(*args, **kwargs) + + def IsBold(*args, **kwargs): + """IsBold(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsBold(*args, **kwargs) + + def GetChildrenCount(*args, **kwargs): + """GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t""" + return _controls.TreeCtrl_GetChildrenCount(*args, **kwargs) + + def GetRootItem(*args, **kwargs): + """GetRootItem() -> TreeItemId""" + return _controls.TreeCtrl_GetRootItem(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> TreeItemId""" + return _controls.TreeCtrl_GetSelection(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _controls.TreeCtrl_GetSelections(*args, **kwargs) + + def GetItemParent(*args, **kwargs): + """GetItemParent(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetItemParent(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild(TreeItemId item) -> PyObject""" + return _controls.TreeCtrl_GetFirstChild(*args, **kwargs) + + def GetNextChild(*args, **kwargs): + """GetNextChild(TreeItemId item, wxTreeItemIdValue cookie) -> PyObject""" + return _controls.TreeCtrl_GetNextChild(*args, **kwargs) + + def GetLastChild(*args, **kwargs): + """GetLastChild(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetLastChild(*args, **kwargs) + + def GetNextSibling(*args, **kwargs): + """GetNextSibling(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetNextSibling(*args, **kwargs) + + def GetPrevSibling(*args, **kwargs): + """GetPrevSibling(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetPrevSibling(*args, **kwargs) + + def GetFirstVisibleItem(*args, **kwargs): + """GetFirstVisibleItem() -> TreeItemId""" + return _controls.TreeCtrl_GetFirstVisibleItem(*args, **kwargs) + + def GetNextVisible(*args, **kwargs): + """GetNextVisible(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetNextVisible(*args, **kwargs) + + def GetPrevVisible(*args, **kwargs): + """GetPrevVisible(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) + + def AddRoot(*args, **kwargs): + """AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_AddRoot(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_PrependItem(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_InsertItem(*args, **kwargs) + + def InsertItemBefore(*args, **kwargs): + """InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) + + def AppendItem(*args, **kwargs): + """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_AppendItem(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(TreeItemId item)""" + return _controls.TreeCtrl_Delete(*args, **kwargs) + + def DeleteChildren(*args, **kwargs): + """DeleteChildren(TreeItemId item)""" + return _controls.TreeCtrl_DeleteChildren(*args, **kwargs) + + def DeleteAllItems(*args, **kwargs): + """DeleteAllItems()""" + return _controls.TreeCtrl_DeleteAllItems(*args, **kwargs) + + def Expand(*args, **kwargs): + """Expand(TreeItemId item)""" + return _controls.TreeCtrl_Expand(*args, **kwargs) + + def Collapse(*args, **kwargs): + """Collapse(TreeItemId item)""" + return _controls.TreeCtrl_Collapse(*args, **kwargs) + + def CollapseAndReset(*args, **kwargs): + """CollapseAndReset(TreeItemId item)""" + return _controls.TreeCtrl_CollapseAndReset(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle(TreeItemId item)""" + return _controls.TreeCtrl_Toggle(*args, **kwargs) + + def Unselect(*args, **kwargs): + """Unselect()""" + return _controls.TreeCtrl_Unselect(*args, **kwargs) + + def UnselectAll(*args, **kwargs): + """UnselectAll()""" + return _controls.TreeCtrl_UnselectAll(*args, **kwargs) + + def SelectItem(*args, **kwargs): + """SelectItem(TreeItemId item)""" + return _controls.TreeCtrl_SelectItem(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(TreeItemId item)""" + return _controls.TreeCtrl_EnsureVisible(*args, **kwargs) + + def ScrollTo(*args, **kwargs): + """ScrollTo(TreeItemId item)""" + return _controls.TreeCtrl_ScrollTo(*args, **kwargs) + + def EditLabel(*args, **kwargs): + """EditLabel(TreeItemId item)""" + return _controls.TreeCtrl_EditLabel(*args, **kwargs) + + def GetEditControl(*args, **kwargs): + """GetEditControl() -> TextCtrl""" + return _controls.TreeCtrl_GetEditControl(*args, **kwargs) + + def SortChildren(*args, **kwargs): + """SortChildren(TreeItemId item)""" + return _controls.TreeCtrl_SortChildren(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point point, int OUTPUT) -> TreeItemId""" + return _controls.TreeCtrl_HitTest(*args, **kwargs) + + def GetBoundingRect(*args, **kwargs): + """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject""" + return _controls.TreeCtrl_GetBoundingRect(*args, **kwargs) + class TreeCtrlPtr(TreeCtrl): def __init__(self, this): @@ -2012,6 +3965,7 @@ class TreeCtrlPtr(TreeCtrl): _controls.TreeCtrl_swigregister(TreeCtrlPtr) def PreTreeCtrl(*args, **kwargs): + """PreTreeCtrl() -> TreeCtrl""" val = _controls.new_PreTreeCtrl(*args, **kwargs) val.thisown = 1 return val @@ -2024,33 +3978,101 @@ DIRCTRL_SHOW_FILTERS = _controls.DIRCTRL_SHOW_FILTERS DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS class GenericDirCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl""" newobj = _controls.new_GenericDirCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.GenericDirCtrl_Create(*args, **kwargs) - def ExpandPath(*args, **kwargs): return _controls.GenericDirCtrl_ExpandPath(*args, **kwargs) - def GetDefaultPath(*args, **kwargs): return _controls.GenericDirCtrl_GetDefaultPath(*args, **kwargs) - def SetDefaultPath(*args, **kwargs): return _controls.GenericDirCtrl_SetDefaultPath(*args, **kwargs) - def GetPath(*args, **kwargs): return _controls.GenericDirCtrl_GetPath(*args, **kwargs) - def GetFilePath(*args, **kwargs): return _controls.GenericDirCtrl_GetFilePath(*args, **kwargs) - def SetPath(*args, **kwargs): return _controls.GenericDirCtrl_SetPath(*args, **kwargs) - def ShowHidden(*args, **kwargs): return _controls.GenericDirCtrl_ShowHidden(*args, **kwargs) - def GetShowHidden(*args, **kwargs): return _controls.GenericDirCtrl_GetShowHidden(*args, **kwargs) - def GetFilter(*args, **kwargs): return _controls.GenericDirCtrl_GetFilter(*args, **kwargs) - def SetFilter(*args, **kwargs): return _controls.GenericDirCtrl_SetFilter(*args, **kwargs) - def GetFilterIndex(*args, **kwargs): return _controls.GenericDirCtrl_GetFilterIndex(*args, **kwargs) - def SetFilterIndex(*args, **kwargs): return _controls.GenericDirCtrl_SetFilterIndex(*args, **kwargs) - def GetRootId(*args, **kwargs): return _controls.GenericDirCtrl_GetRootId(*args, **kwargs) - def GetTreeCtrl(*args, **kwargs): return _controls.GenericDirCtrl_GetTreeCtrl(*args, **kwargs) - def GetFilterListCtrl(*args, **kwargs): return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) - def FindChild(*args, **kwargs): return _controls.GenericDirCtrl_FindChild(*args, **kwargs) - def DoResize(*args, **kwargs): return _controls.GenericDirCtrl_DoResize(*args, **kwargs) - def ReCreateTree(*args, **kwargs): return _controls.GenericDirCtrl_ReCreateTree(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool""" + return _controls.GenericDirCtrl_Create(*args, **kwargs) + + def ExpandPath(*args, **kwargs): + """ExpandPath(wxString path) -> bool""" + return _controls.GenericDirCtrl_ExpandPath(*args, **kwargs) + + def GetDefaultPath(*args, **kwargs): + """GetDefaultPath() -> wxString""" + return _controls.GenericDirCtrl_GetDefaultPath(*args, **kwargs) + + def SetDefaultPath(*args, **kwargs): + """SetDefaultPath(wxString path)""" + return _controls.GenericDirCtrl_SetDefaultPath(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _controls.GenericDirCtrl_GetPath(*args, **kwargs) + + def GetFilePath(*args, **kwargs): + """GetFilePath() -> wxString""" + return _controls.GenericDirCtrl_GetFilePath(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _controls.GenericDirCtrl_SetPath(*args, **kwargs) + + def ShowHidden(*args, **kwargs): + """ShowHidden(bool show)""" + return _controls.GenericDirCtrl_ShowHidden(*args, **kwargs) + + def GetShowHidden(*args, **kwargs): + """GetShowHidden() -> bool""" + return _controls.GenericDirCtrl_GetShowHidden(*args, **kwargs) + + def GetFilter(*args, **kwargs): + """GetFilter() -> wxString""" + return _controls.GenericDirCtrl_GetFilter(*args, **kwargs) + + def SetFilter(*args, **kwargs): + """SetFilter(wxString filter)""" + return _controls.GenericDirCtrl_SetFilter(*args, **kwargs) + + def GetFilterIndex(*args, **kwargs): + """GetFilterIndex() -> int""" + return _controls.GenericDirCtrl_GetFilterIndex(*args, **kwargs) + + def SetFilterIndex(*args, **kwargs): + """SetFilterIndex(int n)""" + return _controls.GenericDirCtrl_SetFilterIndex(*args, **kwargs) + + def GetRootId(*args, **kwargs): + """GetRootId() -> TreeItemId""" + return _controls.GenericDirCtrl_GetRootId(*args, **kwargs) + + def GetTreeCtrl(*args, **kwargs): + """GetTreeCtrl() -> wxTreeCtrl""" + return _controls.GenericDirCtrl_GetTreeCtrl(*args, **kwargs) + + def GetFilterListCtrl(*args, **kwargs): + """GetFilterListCtrl() -> DirFilterListCtrl""" + return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) + + def FindChild(*args, **kwargs): + """FindChild(TreeItemId parentId, wxString path, bool OUTPUT) -> TreeItemId""" + return _controls.GenericDirCtrl_FindChild(*args, **kwargs) + + def DoResize(*args, **kwargs): + """DoResize()""" + return _controls.GenericDirCtrl_DoResize(*args, **kwargs) + + def ReCreateTree(*args, **kwargs): + """ReCreateTree()""" + return _controls.GenericDirCtrl_ReCreateTree(*args, **kwargs) + class GenericDirCtrlPtr(GenericDirCtrl): def __init__(self, this): @@ -2060,21 +4082,33 @@ class GenericDirCtrlPtr(GenericDirCtrl): _controls.GenericDirCtrl_swigregister(GenericDirCtrlPtr) def PreGenericDirCtrl(*args, **kwargs): + """PreGenericDirCtrl() -> GenericDirCtrl""" val = _controls.new_PreGenericDirCtrl(*args, **kwargs) val.thisown = 1 return val class DirFilterListCtrl(Choice): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> DirFilterListCtrl""" newobj = _controls.new_DirFilterListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.DirFilterListCtrl_Create(*args, **kwargs) - def FillFilterList(*args, **kwargs): return _controls.DirFilterListCtrl_FillFilterList(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> bool""" + return _controls.DirFilterListCtrl_Create(*args, **kwargs) + + def FillFilterList(*args, **kwargs): + """FillFilterList(wxString filter, int defaultFilter)""" + return _controls.DirFilterListCtrl_FillFilterList(*args, **kwargs) + class DirFilterListCtrlPtr(DirFilterListCtrl): def __init__(self, this): @@ -2084,6 +4118,7 @@ class DirFilterListCtrlPtr(DirFilterListCtrl): _controls.DirFilterListCtrl_swigregister(DirFilterListCtrlPtr) def PreDirFilterListCtrl(*args, **kwargs): + """PreDirFilterListCtrl() -> DirFilterListCtrl""" val = _controls.new_PreDirFilterListCtrl(*args, **kwargs) val.thisown = 1 return val @@ -2091,33 +4126,95 @@ def PreDirFilterListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class PyControl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> PyControl""" newobj = _controls.new_PyControl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyControl) - def _setCallbackInfo(*args, **kwargs): return _controls.PyControl__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _controls.PyControl_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _controls.PyControl_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _controls.PyControl_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _controls.PyControl_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _controls.PyControl_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _controls.PyControl_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _controls.PyControl_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _controls.PyControl_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _controls.PyControl_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _controls.PyControl_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _controls.PyControl_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _controls.PyControl_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _controls.PyControl_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _controls.PyControl_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _controls.PyControl_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _controls.PyControl_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _controls.PyControl_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _controls.PyControl_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.PyControl__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _controls.PyControl_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _controls.PyControl_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _controls.PyControl_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _controls.PyControl_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _controls.PyControl_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _controls.PyControl_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _controls.PyControl_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _controls.PyControl_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _controls.PyControl_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _controls.PyControl_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _controls.PyControl_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _controls.PyControl_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _controls.PyControl_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _controls.PyControl_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _controls.PyControl_base_RemoveChild(*args, **kwargs) + class PyControlPtr(PyControl): def __init__(self, this): @@ -2138,19 +4235,39 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) class HelpEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent""" newobj = _controls.new_HelpEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _controls.HelpEvent_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _controls.HelpEvent_SetPosition(*args, **kwargs) - def GetLink(*args, **kwargs): return _controls.HelpEvent_GetLink(*args, **kwargs) - def SetLink(*args, **kwargs): return _controls.HelpEvent_SetLink(*args, **kwargs) - def GetTarget(*args, **kwargs): return _controls.HelpEvent_GetTarget(*args, **kwargs) - def SetTarget(*args, **kwargs): return _controls.HelpEvent_SetTarget(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _controls.HelpEvent_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _controls.HelpEvent_SetPosition(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink() -> wxString""" + return _controls.HelpEvent_GetLink(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(wxString link)""" + return _controls.HelpEvent_SetLink(*args, **kwargs) + + def GetTarget(*args, **kwargs): + """GetTarget() -> wxString""" + return _controls.HelpEvent_GetTarget(*args, **kwargs) + + def SetTarget(*args, **kwargs): + """SetTarget(wxString target)""" + return _controls.HelpEvent_SetTarget(*args, **kwargs) + class HelpEventPtr(HelpEvent): def __init__(self, this): @@ -2160,19 +4277,29 @@ class HelpEventPtr(HelpEvent): _controls.HelpEvent_swigregister(HelpEventPtr) class ContextHelp(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window=None, bool doNow=True) -> ContextHelp""" newobj = _controls.new_ContextHelp(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_ContextHelp): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def BeginContextHelp(*args, **kwargs): return _controls.ContextHelp_BeginContextHelp(*args, **kwargs) - def EndContextHelp(*args, **kwargs): return _controls.ContextHelp_EndContextHelp(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def BeginContextHelp(*args, **kwargs): + """BeginContextHelp(Window window=None) -> bool""" + return _controls.ContextHelp_BeginContextHelp(*args, **kwargs) + + def EndContextHelp(*args, **kwargs): + """EndContextHelp() -> bool""" + return _controls.ContextHelp_EndContextHelp(*args, **kwargs) + class ContextHelpPtr(ContextHelp): def __init__(self, this): @@ -2182,14 +4309,18 @@ class ContextHelpPtr(ContextHelp): _controls.ContextHelp_swigregister(ContextHelpPtr) class ContextHelpButton(BitmapButton): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton""" newobj = _controls.new_ContextHelpButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class ContextHelpButtonPtr(ContextHelpButton): def __init__(self, this): @@ -2199,16 +4330,40 @@ class ContextHelpButtonPtr(ContextHelpButton): _controls.ContextHelpButton_swigregister(ContextHelpButtonPtr) class HelpProvider(object): - Set = staticmethod(_controls.HelpProvider_Set) - Get = staticmethod(_controls.HelpProvider_Get) - def GetHelp(*args, **kwargs): return _controls.HelpProvider_GetHelp(*args, **kwargs) - def ShowHelp(*args, **kwargs): return _controls.HelpProvider_ShowHelp(*args, **kwargs) - def AddHelp(*args, **kwargs): return _controls.HelpProvider_AddHelp(*args, **kwargs) - def AddHelpById(*args, **kwargs): return _controls.HelpProvider_AddHelpById(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.HelpProvider_Destroy(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider""" + return _controls.HelpProvider_Set(*args, **kwargs) + + Set = staticmethod(Set) + def Get(*args, **kwargs): + """HelpProvider.Get() -> HelpProvider""" + return _controls.HelpProvider_Get(*args, **kwargs) + + Get = staticmethod(Get) + def GetHelp(*args, **kwargs): + """GetHelp(Window window) -> wxString""" + return _controls.HelpProvider_GetHelp(*args, **kwargs) + + def ShowHelp(*args, **kwargs): + """ShowHelp(Window window) -> bool""" + return _controls.HelpProvider_ShowHelp(*args, **kwargs) + + def AddHelp(*args, **kwargs): + """AddHelp(Window window, wxString text)""" + return _controls.HelpProvider_AddHelp(*args, **kwargs) + + def AddHelpById(*args, **kwargs): + """AddHelpById(int id, wxString text)""" + return _controls.HelpProvider_AddHelpById(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.HelpProvider_Destroy(*args, **kwargs) + class HelpProviderPtr(HelpProvider): def __init__(self, this): @@ -2217,18 +4372,24 @@ class HelpProviderPtr(HelpProvider): self.__class__ = HelpProvider _controls.HelpProvider_swigregister(HelpProviderPtr) -HelpProvider_Set = _controls.HelpProvider_Set +def HelpProvider_Set(*args, **kwargs): + """HelpProvider_Set(HelpProvider helpProvider) -> HelpProvider""" + return _controls.HelpProvider_Set(*args, **kwargs) -HelpProvider_Get = _controls.HelpProvider_Get +def HelpProvider_Get(*args, **kwargs): + """HelpProvider_Get() -> HelpProvider""" + return _controls.HelpProvider_Get(*args, **kwargs) class SimpleHelpProvider(HelpProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SimpleHelpProvider""" newobj = _controls.new_SimpleHelpProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SimpleHelpProviderPtr(SimpleHelpProvider): def __init__(self, this): @@ -2237,4 +4398,100 @@ class SimpleHelpProviderPtr(SimpleHelpProvider): self.__class__ = SimpleHelpProvider _controls.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr) +#--------------------------------------------------------------------------- + +class DragImage(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(wxBitmap image, wxCursor cursor=wxNullCursor) -> DragImage""" + newobj = _controls.new_DragImage(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_controls.delete_DragImage): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def SetBackingBitmap(*args, **kwargs): + """SetBackingBitmap(wxBitmap bitmap)""" + return _controls.DragImage_SetBackingBitmap(*args, **kwargs) + + def BeginDrag(*args, **kwargs): + """BeginDrag(Point hotspot, Window window, bool fullScreen=False, + Rect rect=None) -> bool""" + return _controls.DragImage_BeginDrag(*args, **kwargs) + + def BeginDragBounded(*args, **kwargs): + """BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool""" + return _controls.DragImage_BeginDragBounded(*args, **kwargs) + + def EndDrag(*args, **kwargs): + """EndDrag() -> bool""" + return _controls.DragImage_EndDrag(*args, **kwargs) + + def Move(*args, **kwargs): + """Move(Point pt) -> bool""" + return _controls.DragImage_Move(*args, **kwargs) + + def Show(*args, **kwargs): + """Show() -> bool""" + return _controls.DragImage_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide() -> bool""" + return _controls.DragImage_Hide(*args, **kwargs) + + def GetImageRect(*args, **kwargs): + """GetImageRect(Point pos) -> Rect""" + return _controls.DragImage_GetImageRect(*args, **kwargs) + + def DoDrawImage(*args, **kwargs): + """DoDrawImage(wxDC dc, Point pos) -> bool""" + return _controls.DragImage_DoDrawImage(*args, **kwargs) + + def UpdateBackingFromWindow(*args, **kwargs): + """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, + Rect destRect) -> bool""" + return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs) + + def RedrawImage(*args, **kwargs): + """RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool""" + return _controls.DragImage_RedrawImage(*args, **kwargs) + + +class DragImagePtr(DragImage): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DragImage +_controls.DragImage_swigregister(DragImagePtr) + +def DragIcon(*args, **kwargs): + """DragIcon(wxIcon image, wxCursor cursor=wxNullCursor) -> DragImage""" + val = _controls.new_DragIcon(*args, **kwargs) + val.thisown = 1 + return val + +def DragString(*args, **kwargs): + """DragString(wxString str, wxCursor cursor=wxNullCursor) -> DragImage""" + val = _controls.new_DragString(*args, **kwargs) + val.thisown = 1 + return val + +def DragTreeItem(*args, **kwargs): + """DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage""" + val = _controls.new_DragTreeItem(*args, **kwargs) + val.thisown = 1 + return val + +def DragListItem(*args, **kwargs): + """DragListItem(ListCtrl listCtrl, long id) -> DragImage""" + val = _controls.new_DragListItem(*args, **kwargs) + val.thisown = 1 + return val + diff --git a/wxPython/src/mac/controls_wrap.cpp b/wxPython/src/mac/controls_wrap.cpp index caccc06f52..4d803cd547 100644 --- a/wxPython/src/mac/controls_wrap.cpp +++ b/wxPython/src/mac/controls_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -244,63 +238,67 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #define SWIGTYPE_p_wxToggleButton swig_types[20] #define SWIGTYPE_p_wxRadioButton swig_types[21] #define SWIGTYPE_p_wxChoice swig_types[22] -#define SWIGTYPE_p_wxListItemAttr swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -#define SWIGTYPE_p_wxSize swig_types[25] -#define SWIGTYPE_p_wxListView swig_types[26] -#define SWIGTYPE_p_wxIcon swig_types[27] -#define SWIGTYPE_p_wxTextCtrl swig_types[28] -#define SWIGTYPE_p_wxNotebook swig_types[29] -#define SWIGTYPE_p_wxNotifyEvent swig_types[30] -#define SWIGTYPE_p_wxArrayString swig_types[31] -#define SWIGTYPE_p_wxListbook swig_types[32] -#define SWIGTYPE_p_wxStaticBitmap swig_types[33] -#define SWIGTYPE_p_wxSlider swig_types[34] -#define SWIGTYPE_p_wxStaticBox swig_types[35] -#define SWIGTYPE_p_wxArrayInt swig_types[36] -#define SWIGTYPE_p_wxContextHelp swig_types[37] -#define SWIGTYPE_p_long swig_types[38] -#define SWIGTYPE_p_wxEvtHandler swig_types[39] -#define SWIGTYPE_p_wxListEvent swig_types[40] -#define SWIGTYPE_p_wxListBox swig_types[41] -#define SWIGTYPE_p_wxCheckListBox swig_types[42] -#define SWIGTYPE_p_wxBookCtrl swig_types[43] -#define SWIGTYPE_p_wxSpinButton swig_types[44] -#define SWIGTYPE_p_wxButton swig_types[45] -#define SWIGTYPE_p_wxBitmapButton swig_types[46] -#define SWIGTYPE_p_wxRect swig_types[47] -#define SWIGTYPE_p_wxContextHelpButton swig_types[48] -#define SWIGTYPE_p_wxRadioBox swig_types[49] -#define SWIGTYPE_p_wxScrollBar swig_types[50] -#define SWIGTYPE_p_wxTreeItemId swig_types[51] -#define SWIGTYPE_p_wxComboBox swig_types[52] -#define SWIGTYPE_p_wxHelpEvent swig_types[53] -#define SWIGTYPE_p_wxListItem swig_types[54] -#define SWIGTYPE_p_wxNotebookSizer swig_types[55] -#define SWIGTYPE_p_wxSpinCtrl swig_types[56] -#define SWIGTYPE_p_wxImageList swig_types[57] -#define SWIGTYPE_p_wxHelpProvider swig_types[58] -#define SWIGTYPE_p_wxTextAttr swig_types[59] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[60] -#define SWIGTYPE_p_wxPoint swig_types[61] -#define SWIGTYPE_p_wxListbookEvent swig_types[62] -#define SWIGTYPE_p_wxNotebookEvent swig_types[63] -#define SWIGTYPE_p_wxObject swig_types[64] -#define SWIGTYPE_p_wxKeyEvent swig_types[65] -#define SWIGTYPE_p_wxWindow swig_types[66] -#define SWIGTYPE_p_wxString swig_types[67] -#define SWIGTYPE_p_wxBitmap swig_types[68] -#define SWIGTYPE_p_wxTreeEvent swig_types[69] -#define SWIGTYPE_p_wxMouseEvent swig_types[70] -#define SWIGTYPE_p_wxCommandEvent swig_types[71] -#define SWIGTYPE_p_wxStaticText swig_types[72] -#define SWIGTYPE_p_wxControlWithItems swig_types[73] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[74] -#define SWIGTYPE_p_wxColour swig_types[75] -#define SWIGTYPE_p_wxToolBar swig_types[76] -#define SWIGTYPE_p_wxBookCtrlSizer swig_types[77] -#define SWIGTYPE_p_wxValidator swig_types[78] -static swig_type_info *swig_types[80]; +#define SWIGTYPE_p_wxMemoryDC swig_types[23] +#define SWIGTYPE_p_wxListItemAttr swig_types[24] +#define SWIGTYPE_p_int swig_types[25] +#define SWIGTYPE_p_wxSize swig_types[26] +#define SWIGTYPE_p_wxDC swig_types[27] +#define SWIGTYPE_p_wxListView swig_types[28] +#define SWIGTYPE_p_wxIcon swig_types[29] +#define SWIGTYPE_p_wxTextCtrl swig_types[30] +#define SWIGTYPE_p_wxNotebook swig_types[31] +#define SWIGTYPE_p_wxNotifyEvent swig_types[32] +#define SWIGTYPE_p_wxArrayString swig_types[33] +#define SWIGTYPE_p_wxListbook swig_types[34] +#define SWIGTYPE_p_wxStaticBitmap swig_types[35] +#define SWIGTYPE_p_wxSlider swig_types[36] +#define SWIGTYPE_p_wxStaticBox swig_types[37] +#define SWIGTYPE_p_wxArrayInt swig_types[38] +#define SWIGTYPE_p_wxContextHelp swig_types[39] +#define SWIGTYPE_p_long swig_types[40] +#define SWIGTYPE_p_wxEvtHandler swig_types[41] +#define SWIGTYPE_p_wxListEvent swig_types[42] +#define SWIGTYPE_p_wxListBox swig_types[43] +#define SWIGTYPE_p_wxCheckListBox swig_types[44] +#define SWIGTYPE_p_wxBookCtrl swig_types[45] +#define SWIGTYPE_p_wxSpinButton swig_types[46] +#define SWIGTYPE_p_wxButton swig_types[47] +#define SWIGTYPE_p_wxBitmapButton swig_types[48] +#define SWIGTYPE_p_wxRect swig_types[49] +#define SWIGTYPE_p_wxContextHelpButton swig_types[50] +#define SWIGTYPE_p_wxRadioBox swig_types[51] +#define SWIGTYPE_p_wxScrollBar swig_types[52] +#define SWIGTYPE_p_wxTreeItemId swig_types[53] +#define SWIGTYPE_p_wxComboBox swig_types[54] +#define SWIGTYPE_p_wxHelpEvent swig_types[55] +#define SWIGTYPE_p_wxListItem swig_types[56] +#define SWIGTYPE_p_wxNotebookSizer swig_types[57] +#define SWIGTYPE_p_wxGenericDragImage swig_types[58] +#define SWIGTYPE_p_wxSpinCtrl swig_types[59] +#define SWIGTYPE_p_wxImageList swig_types[60] +#define SWIGTYPE_p_wxHelpProvider swig_types[61] +#define SWIGTYPE_p_wxTextAttr swig_types[62] +#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63] +#define SWIGTYPE_p_wxPoint swig_types[64] +#define SWIGTYPE_p_wxListbookEvent swig_types[65] +#define SWIGTYPE_p_wxNotebookEvent swig_types[66] +#define SWIGTYPE_p_wxObject swig_types[67] +#define SWIGTYPE_p_wxCursor swig_types[68] +#define SWIGTYPE_p_wxKeyEvent swig_types[69] +#define SWIGTYPE_p_wxWindow swig_types[70] +#define SWIGTYPE_p_wxString swig_types[71] +#define SWIGTYPE_p_wxBitmap swig_types[72] +#define SWIGTYPE_p_wxTreeEvent swig_types[73] +#define SWIGTYPE_p_wxMouseEvent swig_types[74] +#define SWIGTYPE_p_wxCommandEvent swig_types[75] +#define SWIGTYPE_p_wxStaticText swig_types[76] +#define SWIGTYPE_p_wxControlWithItems swig_types[77] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[78] +#define SWIGTYPE_p_wxColour swig_types[79] +#define SWIGTYPE_p_wxToolBar swig_types[80] +#define SWIGTYPE_p_wxBookCtrlSizer swig_types[81] +#define SWIGTYPE_p_wxValidator swig_types[82] +static swig_type_info *swig_types[84]; /* -------- TYPES TABLE (END) -------- */ @@ -578,7 +576,7 @@ wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){ } bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){ if (!PyCallable_Check(func)) - return FALSE; + return False; return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func); } wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ @@ -596,11 +594,11 @@ wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ DECLARE_DEF_STRING(_TreeCtrlNameStr); bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){ - if (!other) return false; + if (!other) return False; return *self == *other; } bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){ - if (!other) return true; + if (!other) return True; return *self != *other; } void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } @@ -633,8 +631,8 @@ public: bool found; wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { - PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false); - PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false); + PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False); + PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False); rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); Py_DECREF(o1); Py_DECREF(o2); @@ -689,7 +687,7 @@ PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){ num = self->GetSelections(array); for (x=0; x < num; x++) { wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); - PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); + PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True); PyList_Append(rval, item); } wxPyEndBlockThreads(); @@ -700,8 +698,8 @@ PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item wxTreeItemId ritem = self->GetFirstChild(item, cookie); wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); - PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True)); wxPyEndBlockThreads(); return tup; } @@ -709,8 +707,8 @@ PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item, wxTreeItemId ritem = self->GetNextChild(item, cookie); wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); - PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True)); wxPyEndBlockThreads(); return tup; } @@ -719,7 +717,7 @@ PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &it if (self->GetBoundingRect(item, rect, textOnly)) { wxPyBeginBlockThreads(); wxRect* r = new wxRect(rect); - PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true); + PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True); wxPyEndBlockThreads(); return val; } @@ -801,13 +799,16 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild); void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; } + +#include + #ifdef __cplusplus extern "C" { #endif static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -819,10 +820,10 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar wxString const &arg8_defvalue = wxPyButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -838,7 +839,7 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -862,7 +863,7 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -925,7 +926,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxButton *arg1 = (wxButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -937,10 +938,10 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k wxString const &arg9_defvalue = wxPyButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -958,7 +959,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -982,7 +983,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -1075,7 +1076,7 @@ static PyObject * Button_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxBitmap *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -1089,7 +1090,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject wxBitmapButton *result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1128,7 +1129,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1183,7 +1184,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxBitmap *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -1197,7 +1198,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1238,7 +1239,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -1585,7 +1586,7 @@ static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -1597,10 +1598,10 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyCheckBoxNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxCheckBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1616,7 +1617,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -1640,7 +1641,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1699,7 +1700,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -1711,10 +1712,10 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg9_defvalue = wxPyCheckBoxNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1732,7 +1733,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -1756,7 +1757,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -1977,7 +1978,7 @@ static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -1992,7 +1993,7 @@ static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwar wxChoice *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2034,7 +2035,7 @@ static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwar { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -2091,7 +2092,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxChoice *arg1 = (wxChoice *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -2106,7 +2107,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2150,7 +2151,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -2260,7 +2261,7 @@ static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *resultobj; wxChoice *arg1 = (wxChoice *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2272,7 +2273,7 @@ static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2301,7 +2302,7 @@ static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject wxChoice *arg1 = (wxChoice *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -2313,7 +2314,7 @@ static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2347,7 +2348,7 @@ static PyObject * Choice_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -2362,10 +2363,10 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg10_defvalue = wxPyComboBoxNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; wxComboBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2383,7 +2384,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2415,7 +2416,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -2480,7 +2481,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxComboBox *arg1 = (wxComboBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -2495,10 +2496,10 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg11_defvalue = wxPyComboBoxNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2518,7 +2519,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -2550,7 +2551,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject { arg11 = wxString_in_helper(obj9); if (arg11 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -2624,7 +2625,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2636,7 +2637,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2813,7 +2814,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject long arg2 ; long arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -2825,7 +2826,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2963,7 +2964,7 @@ static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -2977,7 +2978,7 @@ static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwarg wxGauge *result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; @@ -3011,7 +3012,7 @@ static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwarg { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3062,7 +3063,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxGauge *arg1 = (wxGauge *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; int arg4 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3076,7 +3077,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -3112,7 +3113,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -3372,7 +3373,7 @@ static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3382,10 +3383,10 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyStaticBoxNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxStaticBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3400,7 +3401,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3418,7 +3419,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3481,7 +3482,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxStaticBox *arg1 = (wxStaticBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3491,10 +3492,10 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyStaticBoxNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3511,7 +3512,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3529,7 +3530,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3572,7 +3573,7 @@ static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -3583,7 +3584,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject * wxStaticLine *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3610,7 +3611,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -3661,7 +3662,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxStaticLine *arg1 = (wxStaticLine *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -3672,7 +3673,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3701,7 +3702,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3783,7 +3784,7 @@ static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3793,10 +3794,10 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * wxString const &arg7_defvalue = wxPyStaticTextNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxStaticText *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3811,7 +3812,7 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3829,7 +3830,7 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3888,7 +3889,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxStaticText *arg1 = (wxStaticText *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3898,10 +3899,10 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec wxString const &arg8_defvalue = wxPyStaticTextNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3918,7 +3919,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3936,7 +3937,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3979,7 +3980,7 @@ static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxBitmap *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3991,7 +3992,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject wxStaticBitmap *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4023,7 +4024,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -4074,7 +4075,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxBitmap *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -4086,7 +4087,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4120,7 +4121,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4244,7 +4245,7 @@ static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -4259,7 +4260,7 @@ static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwa wxListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4301,7 +4302,7 @@ static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwa { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4358,7 +4359,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -4373,7 +4374,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4417,7 +4418,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -4454,7 +4455,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject * wxString *arg2 = 0 ; int arg3 ; PyObject *arg4 = (PyObject *) NULL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4467,7 +4468,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { arg4 = obj3; @@ -4627,7 +4628,7 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -4733,9 +4734,9 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -4748,7 +4749,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -4830,7 +4831,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, P PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4842,7 +4843,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4895,7 +4896,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject * PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4907,7 +4908,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4966,7 +4967,7 @@ static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -4981,7 +4982,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject wxCheckListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5023,7 +5024,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -5080,7 +5081,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -5095,7 +5096,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5139,7 +5140,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -5200,7 +5201,7 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; - int arg3 = (int) TRUE ; + int arg3 = (int) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "index",(char *) "check", NULL @@ -5257,8 +5258,8 @@ static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6171,7 +6172,7 @@ static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -6184,10 +6185,10 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyTextCtrlNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxTextCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -6204,7 +6205,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6229,7 +6230,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -6292,7 +6293,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -6305,10 +6306,10 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject wxString const &arg9_defvalue = wxPyTextCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -6327,7 +6328,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -6352,7 +6353,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -6420,7 +6421,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6432,7 +6433,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6771,7 +6772,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject long arg2 ; long arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -6783,7 +6784,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6838,7 +6839,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObjec wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6850,7 +6851,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6880,7 +6881,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObjec wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6893,7 +6894,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -6998,7 +6999,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7010,7 +7011,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7038,7 +7039,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7050,7 +7051,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7746,7 +7747,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7758,7 +7759,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7941,7 +7942,7 @@ static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7954,7 +7955,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *k wxScrollBar *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7988,7 +7989,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8039,7 +8040,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxScrollBar *arg1 = (wxScrollBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8052,7 +8053,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8088,7 +8089,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -8270,7 +8271,7 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, Py int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) TRUE ; + bool arg6 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -8307,7 +8308,7 @@ static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8318,7 +8319,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject * wxSpinButton *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8345,7 +8346,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -8396,7 +8397,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxSpinButton *arg1 = (wxSpinButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8407,7 +8408,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8436,7 +8437,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8672,7 +8673,7 @@ static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -8686,10 +8687,10 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw wxString const &arg10_defvalue = wxPySpinCtrlNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; wxSpinCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8705,7 +8706,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -8724,7 +8725,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -8783,7 +8784,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -8797,10 +8798,10 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject wxString const &arg11_defvalue = wxPySpinCtrlNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8818,7 +8819,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -8837,7 +8838,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject { arg11 = wxString_in_helper(obj10); if (arg11 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -8924,7 +8925,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, P PyObject *resultobj; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8936,7 +8937,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9072,7 +9073,7 @@ static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -9087,10 +9088,10 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg11_defvalue = wxPyRadioBoxNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; wxRadioBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9107,7 +9108,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -9138,7 +9139,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw { arg11 = wxString_in_helper(obj9); if (arg11 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -9203,7 +9204,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -9218,10 +9219,10 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg12_defvalue = wxPyRadioBoxNameStr ; wxString *arg12 = (wxString *) &arg12_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -9240,7 +9241,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -9271,7 +9272,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject { arg12 = wxString_in_helper(obj10); if (arg12 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -9396,7 +9397,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *arg wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9408,7 +9409,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9462,7 +9463,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObj wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9474,7 +9475,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9535,7 +9536,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObje wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9547,7 +9548,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9575,7 +9576,7 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9606,7 +9607,7 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9721,7 +9722,7 @@ static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -9733,10 +9734,10 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyRadioButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxRadioButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9752,7 +9753,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -9776,7 +9777,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -9835,7 +9836,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxRadioButton *arg1 = (wxRadioButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -9847,10 +9848,10 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje wxString const &arg9_defvalue = wxPyRadioButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -9868,7 +9869,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -9892,7 +9893,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -9988,7 +9989,7 @@ static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; int arg3 ; int arg4 ; int arg5 ; @@ -10004,7 +10005,7 @@ static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwar wxSlider *result; wxPoint temp6 ; wxSize temp7 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; @@ -10038,7 +10039,7 @@ static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwar { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -10089,7 +10090,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxSlider *arg1 = (wxSlider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; int arg4 ; int arg5 ; int arg6 ; @@ -10105,7 +10106,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp7 ; wxSize temp8 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj6 = 0 ; @@ -10141,7 +10142,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k { arg11 = wxString_in_helper(obj10); if (arg11 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -10702,7 +10703,7 @@ static PyObject * Slider_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -10714,10 +10715,10 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyToggleButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxToggleButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -10733,7 +10734,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -10757,7 +10758,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -10906,7 +10907,7 @@ static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyOb size_t arg2 ; wxString *arg3 = 0 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10921,7 +10922,7 @@ static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11275,10 +11276,10 @@ static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject wxBookCtrl *arg1 = (wxBookCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; - bool arg4 = (bool) false ; + bool arg4 = (bool) False ; int arg5 = (int) -1 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11293,7 +11294,7 @@ static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -11327,10 +11328,10 @@ static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObj size_t arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; wxString *arg4 = 0 ; - bool arg5 = (bool) false ; + bool arg5 = (bool) False ; int arg6 = (int) -1 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11348,7 +11349,7 @@ static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { arg5 = PyInt_AsLong(obj4) ? true : false; @@ -11408,7 +11409,7 @@ static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyO static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxBookCtrl *arg1 = (wxBookCtrl *) 0 ; - bool arg2 = (bool) true ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11578,7 +11579,7 @@ static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -11589,7 +11590,7 @@ static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kw wxNotebook *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -11616,7 +11617,7 @@ static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -11671,7 +11672,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxNotebook *arg1 = (wxNotebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -11682,7 +11683,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -11711,7 +11712,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -11941,7 +11942,7 @@ static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -11952,7 +11953,7 @@ static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kw wxListbook *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -11979,7 +11980,7 @@ static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -12030,7 +12031,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListbook *arg1 = (wxListbook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -12041,7 +12042,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -12070,7 +12071,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -12926,7 +12927,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *ar wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12938,7 +12939,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12967,7 +12968,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *arg wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12979,7 +12980,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13067,7 +13068,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *resultobj; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13079,7 +13080,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13228,9 +13229,9 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO wxString *arg8 = (wxString *) &arg8_defvalue ; PyObject *arg9 = (PyObject *) NULL ; wxToolBarToolBase *result; - bool temp3 = false ; - bool temp7 = false ; - bool temp8 = false ; + bool temp3 = False ; + bool temp7 = False ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13247,7 +13248,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg4 == NULL) { @@ -13263,14 +13264,14 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj7) { { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj8) { @@ -13332,9 +13333,9 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, wxString *arg9 = (wxString *) &arg9_defvalue ; PyObject *arg10 = (PyObject *) NULL ; wxToolBarToolBase *result; - bool temp4 = false ; - bool temp8 = false ; - bool temp9 = false ; + bool temp4 = False ; + bool temp8 = False ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -13354,7 +13355,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg5 == NULL) { @@ -13370,14 +13371,14 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj8) { { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } if (obj9) { @@ -13929,7 +13930,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *ar wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -13941,7 +13942,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14002,7 +14003,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *arg wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -14014,7 +14015,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *arg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14478,8 +14479,8 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, P static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14539,7 +14540,7 @@ static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -14550,7 +14551,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwa wxToolBar *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -14577,7 +14578,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwa { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -14632,7 +14633,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxToolBar *arg1 = (wxToolBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -14643,7 +14644,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -14672,7 +14673,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -14700,8 +14701,8 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxToolBar *arg1 = (wxToolBar *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15294,7 +15295,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15306,7 +15307,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16091,7 +16092,6 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxListItem *arg1 = (wxListItem *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16100,8 +16100,12 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->m_text = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -16928,7 +16932,7 @@ static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -16941,7 +16945,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kw wxPyListCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -16975,7 +16979,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -17026,7 +17030,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -17039,7 +17043,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -17075,7 +17079,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -17429,7 +17433,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, Py wxString *arg4 = 0 ; int arg5 = (int) -1 ; long result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -17441,7 +17445,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, Py { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17585,7 +17589,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyOb wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -17597,7 +17601,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17851,7 +17855,7 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, P PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -17992,7 +17996,7 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, P PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -18440,9 +18444,9 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObjec wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool arg4 = (bool) FALSE ; + bool arg4 = (bool) False ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -18455,7 +18459,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -18620,7 +18624,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, long arg2 ; wxString *arg3 = 0 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -18632,7 +18636,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18690,7 +18694,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject * wxString *arg3 = 0 ; int arg4 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -18702,7 +18706,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18766,7 +18770,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyO int arg4 = (int) wxLIST_FORMAT_LEFT ; int arg5 = (int) -1 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -18778,7 +18782,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19043,7 +19047,7 @@ static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -19056,7 +19060,7 @@ static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kw wxListView *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -19090,7 +19094,7 @@ static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -19141,7 +19145,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListView *arg1 = (wxListView *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -19154,7 +19158,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -19190,7 +19194,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -19219,7 +19223,7 @@ static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -20092,7 +20096,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -20104,7 +20108,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -20191,7 +20195,7 @@ static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -20204,7 +20208,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kw wxPyTreeCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -20238,7 +20242,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20289,7 +20293,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -20302,7 +20306,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -20338,7 +20342,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -20927,7 +20931,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyOb wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -20944,7 +20948,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21070,7 +21074,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *arg PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21106,7 +21110,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21407,7 +21411,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -21838,7 +21842,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject int arg4 = (int) -1 ; wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -21851,7 +21855,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj4) { if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -21891,7 +21895,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyOb int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21909,7 +21913,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj5) { if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -21950,7 +21954,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObj int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21973,7 +21977,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22014,7 +22018,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22035,7 +22039,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22075,7 +22079,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObj int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22093,7 +22097,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObj { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj5) { if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22600,7 +22604,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22643,7 +22647,7 @@ static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -22657,11 +22661,11 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; wxGenericDirCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; - bool temp9 = false ; + bool temp7 = False ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -22678,7 +22682,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -22697,14 +22701,14 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj8) { { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -22771,7 +22775,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -22785,11 +22789,11 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; - bool temp10 = false ; + bool temp8 = False ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -22808,7 +22812,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -22827,14 +22831,14 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj9) { { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -22880,7 +22884,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22892,7 +22896,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22951,7 +22955,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *a PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22963,7 +22967,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23053,7 +23057,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23065,7 +23069,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23177,7 +23181,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23189,7 +23193,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23352,7 +23356,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, bool *arg4 = 0 ; wxTreeItemId result; wxTreeItemId *argp2 ; - bool temp3 = false ; + bool temp3 = False ; bool temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -23369,7 +23373,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23459,7 +23463,7 @@ static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -23529,7 +23533,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *resultobj; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -23580,7 +23584,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23592,7 +23596,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23626,7 +23630,7 @@ static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -23639,7 +23643,7 @@ static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *k wxPyControl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -23673,7 +23677,7 @@ static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -24251,7 +24255,7 @@ static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - wxWindowID arg2 = (wxWindowID) 0 ; + int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxHelpEvent *result; @@ -24373,7 +24377,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24385,7 +24389,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24441,7 +24445,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24453,7 +24457,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24487,7 +24491,7 @@ static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) NULL ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxContextHelp *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -24606,7 +24610,7 @@ static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_CONTEXT_HELP ; + int arg2 = (int) wxID_CONTEXT_HELP ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -24771,7 +24775,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24785,7 +24789,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24812,9 +24816,9 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -24826,7 +24830,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24910,195 +24914,800 @@ static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyMethodDef SwigMethods[] = { - { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS }, - { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS }, - { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS }, - { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS }, - { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS }, - { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS }, - { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS }, - { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS }, - { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS }, - { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS }, - { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS }, - { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS }, - { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS }, - { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS }, - { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, +static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxBitmap *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "image",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxIcon *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "image",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxString *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + bool temp1 = False ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "str",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = True; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyTreeCtrl *arg1 = 0 ; + wxTreeItemId *arg2 = 0 ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "treeCtrl",(char *) "id", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyListCtrl *arg1 = 0 ; + long arg2 ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "listCtrl",(char *) "id", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,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_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxBitmap *arg2 = (wxBitmap *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "bitmap", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetBackingBitmap(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxWindow *arg3 = (wxWindow *) 0 ; + bool arg4 = (bool) False ; + wxRect *arg5 = (wxRect *) NULL ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (obj3) { + arg4 = PyInt_AsLong(obj3) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + } + if (obj4) { + if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxWindow *arg4 = (wxWindow *) 0 ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->EndDrag(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Move((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Show(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Hide(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxRect result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxRect * resultptr; + resultptr = new wxRect((wxRect &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool result; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "dc",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxMemoryDC *arg3 = 0 ; + wxRect *arg4 = 0 ; + wxRect *arg5 = 0 ; + bool result; + wxRect temp4 ; + wxRect temp5 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg3 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + arg4 = &temp4; + if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; + } + { + arg5 = &temp5; + if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool arg4 ; + bool arg5 ; + bool result; + wxPoint temp2 ; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + arg4 = PyInt_AsLong(obj3) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + arg5 = PyInt_AsLong(obj4) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyMethodDef SwigMethods[] = { + { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS }, + { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS }, + { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS }, + { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS }, + { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS }, + { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS }, + { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS }, + { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS }, + { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS }, + { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS }, + { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS }, + { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS }, + { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS }, + { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS }, + { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, @@ -25680,6 +26289,24 @@ static PyMethodDef SwigMethods[] = { { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS }, { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS }, { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS }, + { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS }, { NULL, NULL } }; @@ -26385,6 +27012,9 @@ static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } +static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxGenericDragImage *) x)); +} static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); } @@ -26660,9 +27290,11 @@ static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}}; static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}}; static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}}; +static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}}; static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}}; static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; +static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}}; static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}}; @@ -26693,6 +27325,7 @@ static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}}; static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}}; static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}}; +static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}}; static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}}; static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}}; static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}}; @@ -26701,7 +27334,8 @@ static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvi static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}}; static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; @@ -26741,9 +27375,11 @@ _swigt__p_wxFont, _swigt__p_wxToggleButton, _swigt__p_wxRadioButton, _swigt__p_wxChoice, +_swigt__p_wxMemoryDC, _swigt__p_wxListItemAttr, _swigt__p_int, _swigt__p_wxSize, +_swigt__p_wxDC, _swigt__p_wxListView, _swigt__p_wxIcon, _swigt__p_wxTextCtrl, @@ -26774,6 +27410,7 @@ _swigt__p_wxComboBox, _swigt__p_wxHelpEvent, _swigt__p_wxListItem, _swigt__p_wxNotebookSizer, +_swigt__p_wxGenericDragImage, _swigt__p_wxSpinCtrl, _swigt__p_wxImageList, _swigt__p_wxHelpProvider, @@ -26783,6 +27420,7 @@ _swigt__p_wxPoint, _swigt__p_wxListbookEvent, _swigt__p_wxNotebookEvent, _swigt__p_wxObject, +_swigt__p_wxCursor, _swigt__p_wxKeyEvent, _swigt__p_wxWindow, _swigt__p_wxString, @@ -27141,5 +27779,8 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP)); PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP)); + + wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage"); + } diff --git a/wxPython/src/mac/core.py b/wxPython/src/mac/core.py index c020eefde3..fd202377d4 100644 --- a/wxPython/src/mac/core.py +++ b/wxPython/src/mac/core.py @@ -552,11 +552,23 @@ UPDATE_UI_FROMIDLE = _core.UPDATE_UI_FROMIDLE #--------------------------------------------------------------------------- class Object(object): - def GetClassName(*args, **kwargs): return _core.Object_GetClassName(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Object_Destroy(*args, **kwargs) + """The base class for most wx objects, although in wxPython not +much functionality is needed nor exposed.""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetClassName(*args, **kwargs): + """GetClassName() -> wxString + +Returns the class name of the C++ object using wxRTTI.""" + return _core.Object_GetClassName(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Object_Destroy(*args, **kwargs) + class ObjectPtr(Object): def __init__(self, this): @@ -636,42 +648,106 @@ CURSOR_MAX = _core.CURSOR_MAX #--------------------------------------------------------------------------- class Size(object): + """wx.Size is a useful data structure used to represent the size of something. +It simply contians integer width and height proprtites. In most places in +wxPython where a wx.Size is expected a (width,height) tuple can be used +instead.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) width = property(_core.Size_width_get, _core.Size_width_set) height = property(_core.Size_height_get, _core.Size_height_set) def __init__(self, *args, **kwargs): + """__init__(int w=0, int h=0) -> Size + +Creates a size object.""" newobj = _core.new_Size(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Size): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args, **kwargs): return _core.Size___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Size___ne__(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Size___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.Size___sub__(*args, **kwargs) - def IncTo(*args, **kwargs): return _core.Size_IncTo(*args, **kwargs) - def DecTo(*args, **kwargs): return _core.Size_DecTo(*args, **kwargs) - def Set(*args, **kwargs): return _core.Size_Set(*args, **kwargs) - def SetWidth(*args, **kwargs): return _core.Size_SetWidth(*args, **kwargs) - def SetHeight(*args, **kwargs): return _core.Size_SetHeight(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Size_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Size_GetHeight(*args, **kwargs) - def GetX(*args, **kwargs): return _core.Size_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.Size_GetY(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Size_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxSize'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(Size sz) -> bool + +Test for equality of wx.Size objects.""" + return _core.Size___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Size sz) -> bool + +Test for inequality.""" + return _core.Size___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Size sz) -> Size + +Add sz's proprties to this and return the result.""" + return _core.Size___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(Size sz) -> Size + +Subtract sz's properties from this and return the result.""" + return _core.Size___sub__(*args, **kwargs) + + def IncTo(*args, **kwargs): + """IncTo(Size sz) + +Increments this object so that both of its dimensions are not less +than the corresponding dimensions of the size.""" + return _core.Size_IncTo(*args, **kwargs) + + def DecTo(*args, **kwargs): + """DecTo(Size sz) + +Decrements this object so that both of its dimensions are not greater +than the corresponding dimensions of the size.""" + return _core.Size_DecTo(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int w, int h) + +Set both width and height.""" + return _core.Size_Set(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _core.Size_SetWidth(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _core.Size_SetHeight(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Size_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Size_GetHeight(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (width,height) + +Returns the width and height properties as a tuple.""" + return _core.Size_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Size'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.width = val elif index == 1: self.height = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -685,34 +761,75 @@ _core.Size_swigregister(SizePtr) #--------------------------------------------------------------------------- class RealPoint(object): + """A data structure for representing a point or position with floating point x +and y properties. In wxPython most places that expect a wx.RealPoint can also +accept a (x,y) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.RealPoint_x_get, _core.RealPoint_x_set) y = property(_core.RealPoint_y_get, _core.RealPoint_y_set) def __init__(self, *args, **kwargs): + """__init__(double x=0.0, double y=0.0) -> RealPoint + +Create a wx.RealPoint object""" newobj = _core.new_RealPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_RealPoint): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __add__(*args, **kwargs): return _core.RealPoint___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.RealPoint___sub__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.RealPoint___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.RealPoint___ne__(*args, **kwargs) - def Set(*args, **kwargs): return _core.RealPoint_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.RealPoint_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxRealPoint'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(RealPoint pt) -> bool + +Test for equality of wx.RealPoint objects.""" + return _core.RealPoint___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(RealPoint pt) -> bool + +Test for inequality of wx.RealPoint objects.""" + return _core.RealPoint___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(RealPoint pt) -> RealPoint + +Add pt's proprties to this and return the result.""" + return _core.RealPoint___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(RealPoint pt) -> RealPoint + +Subtract pt's proprties from this and return the result""" + return _core.RealPoint___sub__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(double x, double y) + +Set both the x and y properties""" + return _core.RealPoint_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return the x and y properties as a tuple. """ + return _core.RealPoint_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.RealPoint'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): - if index == 0: self.width = val - elif index == 1: self.height = val + if index == 0: self.x = val + elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0.0, 0.0) + def __nonzero__(self): return self.Get() != (0.0, 0.0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -726,36 +843,87 @@ _core.RealPoint_swigregister(RealPointPtr) #--------------------------------------------------------------------------- class Point(object): + """A data structure for representing a point or position with integer x and y +properties. Most places in wxPython that expect a wx.Point can also accept a +(x,y) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.Point_x_get, _core.Point_x_set) y = property(_core.Point_y_get, _core.Point_y_set) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0) -> Point + +Create a wx.Point object""" newobj = _core.new_Point(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Point): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args, **kwargs): return _core.Point___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Point___ne__(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Point___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.Point___sub__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Point___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _core.Point___isub__(*args, **kwargs) - def Set(*args, **kwargs): return _core.Point_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Point_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxPoint'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(Point pt) -> bool + +Test for equality of wx.Point objects.""" + return _core.Point___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Point pt) -> bool + +Test for inequality of wx.Point objects.""" + return _core.Point___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Point pt) -> Point + +Add pt's proprties to this and return the result.""" + return _core.Point___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(Point pt) -> Point + +Subtract pt's proprties from this and return the result""" + return _core.Point___sub__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Point pt) -> Point + +Add pt to this object.""" + return _core.Point___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(Point pt) -> Point + +Subtract pt from this object.""" + return _core.Point___isub__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(long x, long y) + +Set both the x and y properties""" + return _core.Point_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return the x and y properties as a tuple. """ + return _core.Point_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Point'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.x = val elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -769,66 +937,219 @@ _core.Point_swigregister(PointPtr) #--------------------------------------------------------------------------- class Rect(object): + """A class for representing and manipulating rectangles. It has x, y, width and +height properties. In wxPython most palces that expect a wx.Rect can also +accept a (x,y,width,height) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0, int width=0, int height=0) -> Rect + +Create a new Rect object.""" newobj = _core.new_Rect(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Rect): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetX(*args, **kwargs): return _core.Rect_GetX(*args, **kwargs) - def SetX(*args, **kwargs): return _core.Rect_SetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.Rect_GetY(*args, **kwargs) - def SetY(*args, **kwargs): return _core.Rect_SetY(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Rect_GetWidth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _core.Rect_SetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Rect_GetHeight(*args, **kwargs) - def SetHeight(*args, **kwargs): return _core.Rect_SetHeight(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Rect_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.Rect_SetPosition(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Rect_GetSize(*args, **kwargs) - def SetSize(*args, **kwargs): return _core.Rect_SetSize(*args, **kwargs) - def GetLeft(*args, **kwargs): return _core.Rect_GetLeft(*args, **kwargs) - def GetTop(*args, **kwargs): return _core.Rect_GetTop(*args, **kwargs) - def GetBottom(*args, **kwargs): return _core.Rect_GetBottom(*args, **kwargs) - def GetRight(*args, **kwargs): return _core.Rect_GetRight(*args, **kwargs) - def SetLeft(*args, **kwargs): return _core.Rect_SetLeft(*args, **kwargs) - def SetRight(*args, **kwargs): return _core.Rect_SetRight(*args, **kwargs) - def SetTop(*args, **kwargs): return _core.Rect_SetTop(*args, **kwargs) - def SetBottom(*args, **kwargs): return _core.Rect_SetBottom(*args, **kwargs) - def Inflate(*args, **kwargs): return _core.Rect_Inflate(*args, **kwargs) - def Deflate(*args, **kwargs): return _core.Rect_Deflate(*args, **kwargs) - def OffsetXY(*args, **kwargs): return _core.Rect_OffsetXY(*args, **kwargs) - def Offset(*args, **kwargs): return _core.Rect_Offset(*args, **kwargs) - def Intersect(*args, **kwargs): return _core.Rect_Intersect(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Rect___add__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Rect___iadd__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.Rect___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Rect___ne__(*args, **kwargs) - def InsideXY(*args, **kwargs): return _core.Rect_InsideXY(*args, **kwargs) - def Inside(*args, **kwargs): return _core.Rect_Inside(*args, **kwargs) - def Intersects(*args, **kwargs): return _core.Rect_Intersects(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.Rect_GetX(*args, **kwargs) + + def SetX(*args, **kwargs): + """SetX(int x)""" + return _core.Rect_SetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.Rect_GetY(*args, **kwargs) + + def SetY(*args, **kwargs): + """SetY(int y)""" + return _core.Rect_SetY(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Rect_GetWidth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _core.Rect_SetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Rect_GetHeight(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _core.Rect_SetHeight(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.Rect_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point p)""" + return _core.Rect_SetPosition(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.Rect_GetSize(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size s)""" + return _core.Rect_SetSize(*args, **kwargs) + + def GetLeft(*args, **kwargs): + """GetLeft() -> int""" + return _core.Rect_GetLeft(*args, **kwargs) + + def GetTop(*args, **kwargs): + """GetTop() -> int""" + return _core.Rect_GetTop(*args, **kwargs) + + def GetBottom(*args, **kwargs): + """GetBottom() -> int""" + return _core.Rect_GetBottom(*args, **kwargs) + + def GetRight(*args, **kwargs): + """GetRight() -> int""" + return _core.Rect_GetRight(*args, **kwargs) + + def SetLeft(*args, **kwargs): + """SetLeft(int left)""" + return _core.Rect_SetLeft(*args, **kwargs) + + def SetRight(*args, **kwargs): + """SetRight(int right)""" + return _core.Rect_SetRight(*args, **kwargs) + + def SetTop(*args, **kwargs): + """SetTop(int top)""" + return _core.Rect_SetTop(*args, **kwargs) + + def SetBottom(*args, **kwargs): + """SetBottom(int bottom)""" + return _core.Rect_SetBottom(*args, **kwargs) + + position = property(GetPosition, SetPosition) + size = property(GetSize, SetSize) + left = property(GetLeft, SetLeft) + right = property(GetRight, SetRight) + top = property(GetTop, SetTop) + bottom = property(GetBottom, SetBottom) + + def Inflate(*args, **kwargs): + """Inflate(int dx, int dy) -> Rect + +Increase the rectangle size by dx in x direction and dy in y direction. Both +(or one of) parameters may be negative to decrease the rectangle size.""" + return _core.Rect_Inflate(*args, **kwargs) + + def Deflate(*args, **kwargs): + """Deflate(int dx, int dy) -> Rect + +Decrease the rectangle size by dx in x direction and dy in y direction. Both +(or one of) parameters may be negative to increase the rectngle size. This +method is the opposite of Inflate.""" + return _core.Rect_Deflate(*args, **kwargs) + + def OffsetXY(*args, **kwargs): + """OffsetXY(int dx, int dy) + +Moves the rectangle by the specified offset. If dx is positive, the rectangle +is moved to the right, if dy is positive, it is moved to the bottom, otherwise +it is moved to the left or top respectively.""" + return _core.Rect_OffsetXY(*args, **kwargs) + + def Offset(*args, **kwargs): + """Offset(Point pt) + +Same as OffsetXY but uses dx,dy from Point""" + return _core.Rect_Offset(*args, **kwargs) + + def Intersect(*args, **kwargs): + """Intersect(Rect rect) -> Rect + +Return the intersectsion of this rectangle and rect.""" + return _core.Rect_Intersect(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Rect rect) -> Rect + +Add the properties of rect to this rectangle and return the result.""" + return _core.Rect___add__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Rect rect) -> Rect + +Add the properties of rect to this rectangle, updating this rectangle.""" + return _core.Rect___iadd__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Rect rect) -> bool + +Test for equality.""" + return _core.Rect___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Rect rect) -> bool + +Test for inequality.""" + return _core.Rect___ne__(*args, **kwargs) + + def InsideXY(*args, **kwargs): + """InsideXY(int x, int y) -> bool + +Return True if the point is (not strcitly) inside the rect.""" + return _core.Rect_InsideXY(*args, **kwargs) + + def Inside(*args, **kwargs): + """Inside(Point pt) -> bool + +Return True if the point is (not strcitly) inside the rect.""" + return _core.Rect_Inside(*args, **kwargs) + + def Intersects(*args, **kwargs): + """Intersects(Rect rect) -> bool + +Returns True if the rectangles have a non empty intersection.""" + return _core.Rect_Intersects(*args, **kwargs) + x = property(_core.Rect_x_get, _core.Rect_x_set) y = property(_core.Rect_y_get, _core.Rect_y_set) width = property(_core.Rect_width_get, _core.Rect_width_set) height = property(_core.Rect_height_get, _core.Rect_height_set) - def Set(*args, **kwargs): return _core.Rect_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Rect_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxRect'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def Set(*args, **kwargs): + """Set(int x=0, int y=0, int width=0, int height=0) + +Set all rectangle properties.""" + return _core.Rect_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y,width,height) + +Return the rectangle properties as a tuple.""" + return _core.Rect_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Rect'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.x = val elif index == 1: self.y = val elif index == 2: self.width = val elif index == 3: self.height = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0,0,0) + def __nonzero__(self): return self.Get() != (0,0,0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -840,65 +1161,149 @@ class RectPtr(Rect): _core.Rect_swigregister(RectPtr) def RectPP(*args, **kwargs): + """RectPP(Point topLeft, Point bottomRight) -> Rect + +Create a new Rect object from Points representing two corners.""" val = _core.new_RectPP(*args, **kwargs) val.thisown = 1 return val def RectPS(*args, **kwargs): + """RectPS(Point pos, Size size) -> Rect + +Create a new Rect from a position and size.""" val = _core.new_RectPS(*args, **kwargs) val.thisown = 1 return val -IntersectRect = _core.IntersectRect +def IntersectRect(*args, **kwargs): + """IntersectRect(Rect r1, Rect r2) -> Rect + +Calculate and return the intersection of r1 and r2.""" + return _core.IntersectRect(*args, **kwargs) #--------------------------------------------------------------------------- class Point2D(object): + """wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(double x=0.0, double y=0.0) -> Point2D + +Create a w.Point2D object.""" newobj = _core.new_Point2D(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFloor(*args, **kwargs): return _core.Point2D_GetFloor(*args, **kwargs) - def GetRounded(*args, **kwargs): return _core.Point2D_GetRounded(*args, **kwargs) - def GetVectorLength(*args, **kwargs): return _core.Point2D_GetVectorLength(*args, **kwargs) - def GetVectorAngle(*args, **kwargs): return _core.Point2D_GetVectorAngle(*args, **kwargs) - def SetVectorLength(*args, **kwargs): return _core.Point2D_SetVectorLength(*args, **kwargs) - def SetVectorAngle(*args, **kwargs): return _core.Point2D_SetVectorAngle(*args, **kwargs) + def GetFloor(*args, **kwargs): + """GetFloor() -> (x,y) + +Convert to integer""" + return _core.Point2D_GetFloor(*args, **kwargs) + + def GetRounded(*args, **kwargs): + """GetRounded() -> (x,y) + +Convert to integer""" + return _core.Point2D_GetRounded(*args, **kwargs) + + def GetVectorLength(*args, **kwargs): + """GetVectorLength() -> double""" + return _core.Point2D_GetVectorLength(*args, **kwargs) + + def GetVectorAngle(*args, **kwargs): + """GetVectorAngle() -> double""" + return _core.Point2D_GetVectorAngle(*args, **kwargs) + + def SetVectorLength(*args, **kwargs): + """SetVectorLength(double length)""" + return _core.Point2D_SetVectorLength(*args, **kwargs) + + def SetVectorAngle(*args, **kwargs): + """SetVectorAngle(double degrees)""" + return _core.Point2D_SetVectorAngle(*args, **kwargs) + def SetPolarCoordinates(self, angle, length): self.SetVectorLength(length) self.SetVectorAngle(angle) def Normalize(self): self.SetVectorLength(1.0) - def GetDistance(*args, **kwargs): return _core.Point2D_GetDistance(*args, **kwargs) - def GetDistanceSquare(*args, **kwargs): return _core.Point2D_GetDistanceSquare(*args, **kwargs) - def GetDotProduct(*args, **kwargs): return _core.Point2D_GetDotProduct(*args, **kwargs) - def GetCrossProduct(*args, **kwargs): return _core.Point2D_GetCrossProduct(*args, **kwargs) - def __neg__(*args, **kwargs): return _core.Point2D___neg__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Point2D___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _core.Point2D___isub__(*args, **kwargs) - def __imul__(*args, **kwargs): return _core.Point2D___imul__(*args, **kwargs) - def __idiv__(*args, **kwargs): return _core.Point2D___idiv__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.Point2D___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Point2D___ne__(*args, **kwargs) - m_x = property(_core.Point2D_m_x_get, _core.Point2D_m_x_set) - m_y = property(_core.Point2D_m_y_get, _core.Point2D_m_y_set) + def GetDistance(*args, **kwargs): + """GetDistance(Point2D pt) -> double""" + return _core.Point2D_GetDistance(*args, **kwargs) + + def GetDistanceSquare(*args, **kwargs): + """GetDistanceSquare(Point2D pt) -> double""" + return _core.Point2D_GetDistanceSquare(*args, **kwargs) + + def GetDotProduct(*args, **kwargs): + """GetDotProduct(Point2D vec) -> double""" + return _core.Point2D_GetDotProduct(*args, **kwargs) + + def GetCrossProduct(*args, **kwargs): + """GetCrossProduct(Point2D vec) -> double""" + return _core.Point2D_GetCrossProduct(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> Point2D + +the reflection of this point""" + return _core.Point2D___neg__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Point2D pt) -> Point2D""" + return _core.Point2D___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(Point2D pt) -> Point2D""" + return _core.Point2D___isub__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(Point2D pt) -> Point2D""" + return _core.Point2D___imul__(*args, **kwargs) + + def __idiv__(*args, **kwargs): + """__idiv__(Point2D pt) -> Point2D""" + return _core.Point2D___idiv__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Point2D pt) -> bool + +Test for equality""" + return _core.Point2D___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Point2D pt) -> bool + +Test for inequality""" + return _core.Point2D___ne__(*args, **kwargs) + x = property(_core.Point2D_x_get, _core.Point2D_x_set) y = property(_core.Point2D_y_get, _core.Point2D_y_set) - def Set(*args, **kwargs): return _core.Point2D_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Point2D_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxPoint2D'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def Set(*args, **kwargs): + """Set(double x=0, double y=0)""" + return _core.Point2D_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return x and y properties as a tuple.""" + return _core.Point2D_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Point2D'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): - if index == 0: self.m_x = val - elif index == 1: self.m_yt = val + if index == 0: self.x = val + elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0.0, 0.0) + def __nonzero__(self): return self.Get() != (0.0, 0.0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -911,11 +1316,17 @@ class Point2DPtr(Point2D): _core.Point2D_swigregister(Point2DPtr) def Point2DCopy(*args, **kwargs): + """Point2DCopy(Point2D pt) -> Point2D + +Create a w.Point2D object.""" val = _core.new_Point2DCopy(*args, **kwargs) val.thisown = 1 return val def Point2DFromPoint(*args, **kwargs): + """Point2DFromPoint(Point pt) -> Point2D + +Create a w.Point2D object.""" val = _core.new_Point2DFromPoint(*args, **kwargs) val.thisown = 1 return val @@ -926,29 +1337,79 @@ FromStart = _core.FromStart FromCurrent = _core.FromCurrent FromEnd = _core.FromEnd class InputStream(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PyObject p) -> InputStream""" newobj = _core.new_InputStream(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def close(*args, **kwargs): return _core.InputStream_close(*args, **kwargs) - def flush(*args, **kwargs): return _core.InputStream_flush(*args, **kwargs) - def eof(*args, **kwargs): return _core.InputStream_eof(*args, **kwargs) - def read(*args, **kwargs): return _core.InputStream_read(*args, **kwargs) - def readline(*args, **kwargs): return _core.InputStream_readline(*args, **kwargs) - def readlines(*args, **kwargs): return _core.InputStream_readlines(*args, **kwargs) - def seek(*args, **kwargs): return _core.InputStream_seek(*args, **kwargs) - def tell(*args, **kwargs): return _core.InputStream_tell(*args, **kwargs) - def Peek(*args, **kwargs): return _core.InputStream_Peek(*args, **kwargs) - def GetC(*args, **kwargs): return _core.InputStream_GetC(*args, **kwargs) - def LastRead(*args, **kwargs): return _core.InputStream_LastRead(*args, **kwargs) - def CanRead(*args, **kwargs): return _core.InputStream_CanRead(*args, **kwargs) - def Eof(*args, **kwargs): return _core.InputStream_Eof(*args, **kwargs) - def Ungetch(*args, **kwargs): return _core.InputStream_Ungetch(*args, **kwargs) - def SeekI(*args, **kwargs): return _core.InputStream_SeekI(*args, **kwargs) - def TellI(*args, **kwargs): return _core.InputStream_TellI(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def close(*args, **kwargs): + """close()""" + return _core.InputStream_close(*args, **kwargs) + + def flush(*args, **kwargs): + """flush()""" + return _core.InputStream_flush(*args, **kwargs) + + def eof(*args, **kwargs): + """eof() -> bool""" + return _core.InputStream_eof(*args, **kwargs) + + def read(*args, **kwargs): + """read(int size=-1) -> PyObject""" + return _core.InputStream_read(*args, **kwargs) + + def readline(*args, **kwargs): + """readline(int size=-1) -> PyObject""" + return _core.InputStream_readline(*args, **kwargs) + + def readlines(*args, **kwargs): + """readlines(int sizehint=-1) -> PyObject""" + return _core.InputStream_readlines(*args, **kwargs) + + def seek(*args, **kwargs): + """seek(int offset, int whence=0)""" + return _core.InputStream_seek(*args, **kwargs) + + def tell(*args, **kwargs): + """tell() -> int""" + return _core.InputStream_tell(*args, **kwargs) + + def Peek(*args, **kwargs): + """Peek() -> char""" + return _core.InputStream_Peek(*args, **kwargs) + + def GetC(*args, **kwargs): + """GetC() -> char""" + return _core.InputStream_GetC(*args, **kwargs) + + def LastRead(*args, **kwargs): + """LastRead() -> size_t""" + return _core.InputStream_LastRead(*args, **kwargs) + + def CanRead(*args, **kwargs): + """CanRead() -> bool""" + return _core.InputStream_CanRead(*args, **kwargs) + + def Eof(*args, **kwargs): + """Eof() -> bool""" + return _core.InputStream_Eof(*args, **kwargs) + + def Ungetch(*args, **kwargs): + """Ungetch(char c) -> bool""" + return _core.InputStream_Ungetch(*args, **kwargs) + + def SeekI(*args, **kwargs): + """SeekI(long pos, wxSeekMode mode=FromStart) -> long""" + return _core.InputStream_SeekI(*args, **kwargs) + + def TellI(*args, **kwargs): + """TellI() -> long""" + return _core.InputStream_TellI(*args, **kwargs) + class InputStreamPtr(InputStream): def __init__(self, this): @@ -961,10 +1422,14 @@ DefaultPosition = cvar.DefaultPosition DefaultSize = cvar.DefaultSize class OutputStream(object): - def write(*args, **kwargs): return _core.OutputStream_write(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def write(*args, **kwargs): + """write(PyObject obj)""" + return _core.OutputStream_write(*args, **kwargs) + class OutputStreamPtr(OutputStream): def __init__(self, this): @@ -976,22 +1441,42 @@ _core.OutputStream_swigregister(OutputStreamPtr) #--------------------------------------------------------------------------- class FSFile(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxInputStream stream, wxString loc, wxString mimetype, + wxString anchor, wxDateTime modif) -> FSFile""" newobj = _core.new_FSFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_FSFile): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetStream(*args, **kwargs): return _core.FSFile_GetStream(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _core.FSFile_GetMimeType(*args, **kwargs) - def GetLocation(*args, **kwargs): return _core.FSFile_GetLocation(*args, **kwargs) - def GetAnchor(*args, **kwargs): return _core.FSFile_GetAnchor(*args, **kwargs) - def GetModificationTime(*args, **kwargs): return _core.FSFile_GetModificationTime(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetStream(*args, **kwargs): + """GetStream() -> wxInputStream""" + return _core.FSFile_GetStream(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _core.FSFile_GetMimeType(*args, **kwargs) + + def GetLocation(*args, **kwargs): + """GetLocation() -> wxString""" + return _core.FSFile_GetLocation(*args, **kwargs) + + def GetAnchor(*args, **kwargs): + """GetAnchor() -> wxString""" + return _core.FSFile_GetAnchor(*args, **kwargs) + + def GetModificationTime(*args, **kwargs): + """GetModificationTime() -> wxDateTime""" + return _core.FSFile_GetModificationTime(*args, **kwargs) + class FSFilePtr(FSFile): def __init__(self, this): @@ -1001,6 +1486,7 @@ class FSFilePtr(FSFile): _core.FSFile_swigregister(FSFilePtr) class CPPFileSystemHandler(object): + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1013,24 +1499,57 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler): _core.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr) class FileSystemHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileSystemHandler""" newobj = _core.new_FileSystemHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FileSystemHandler) - def _setCallbackInfo(*args, **kwargs): return _core.FileSystemHandler__setCallbackInfo(*args, **kwargs) - def CanOpen(*args, **kwargs): return _core.FileSystemHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.FileSystemHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.FileSystemHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.FileSystemHandler_FindNext(*args, **kwargs) - def GetProtocol(*args, **kwargs): return _core.FileSystemHandler_GetProtocol(*args, **kwargs) - def GetLeftLocation(*args, **kwargs): return _core.FileSystemHandler_GetLeftLocation(*args, **kwargs) - def GetAnchor(*args, **kwargs): return _core.FileSystemHandler_GetAnchor(*args, **kwargs) - def GetRightLocation(*args, **kwargs): return _core.FileSystemHandler_GetRightLocation(*args, **kwargs) - def GetMimeTypeFromExt(*args, **kwargs): return _core.FileSystemHandler_GetMimeTypeFromExt(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.FileSystemHandler__setCallbackInfo(*args, **kwargs) + + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.FileSystemHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.FileSystemHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.FileSystemHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.FileSystemHandler_FindNext(*args, **kwargs) + + def GetProtocol(*args, **kwargs): + """GetProtocol(wxString location) -> wxString""" + return _core.FileSystemHandler_GetProtocol(*args, **kwargs) + + def GetLeftLocation(*args, **kwargs): + """GetLeftLocation(wxString location) -> wxString""" + return _core.FileSystemHandler_GetLeftLocation(*args, **kwargs) + + def GetAnchor(*args, **kwargs): + """GetAnchor(wxString location) -> wxString""" + return _core.FileSystemHandler_GetAnchor(*args, **kwargs) + + def GetRightLocation(*args, **kwargs): + """GetRightLocation(wxString location) -> wxString""" + return _core.FileSystemHandler_GetRightLocation(*args, **kwargs) + + def GetMimeTypeFromExt(*args, **kwargs): + """GetMimeTypeFromExt(wxString location) -> wxString""" + return _core.FileSystemHandler_GetMimeTypeFromExt(*args, **kwargs) + class FileSystemHandlerPtr(FileSystemHandler): def __init__(self, this): @@ -1040,25 +1559,56 @@ class FileSystemHandlerPtr(FileSystemHandler): _core.FileSystemHandler_swigregister(FileSystemHandlerPtr) class FileSystem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileSystem""" newobj = _core.new_FileSystem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_FileSystem): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def ChangePathTo(*args, **kwargs): return _core.FileSystem_ChangePathTo(*args, **kwargs) - def GetPath(*args, **kwargs): return _core.FileSystem_GetPath(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.FileSystem_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.FileSystem_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.FileSystem_FindNext(*args, **kwargs) - AddHandler = staticmethod(_core.FileSystem_AddHandler) - CleanUpHandlers = staticmethod(_core.FileSystem_CleanUpHandlers) - FileNameToURL = staticmethod(_core.FileSystem_FileNameToURL) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def ChangePathTo(*args, **kwargs): + """ChangePathTo(wxString location, bool is_dir=False)""" + return _core.FileSystem_ChangePathTo(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _core.FileSystem_GetPath(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(wxString location) -> FSFile""" + return _core.FileSystem_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.FileSystem_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.FileSystem_FindNext(*args, **kwargs) + + def AddHandler(*args, **kwargs): + """FileSystem.AddHandler(CPPFileSystemHandler handler)""" + return _core.FileSystem_AddHandler(*args, **kwargs) + + AddHandler = staticmethod(AddHandler) + def CleanUpHandlers(*args, **kwargs): + """FileSystem.CleanUpHandlers()""" + return _core.FileSystem_CleanUpHandlers(*args, **kwargs) + + CleanUpHandlers = staticmethod(CleanUpHandlers) + def FileNameToURL(*args, **kwargs): + """FileSystem.FileNameToURL(wxString filename) -> wxString""" + return _core.FileSystem_FileNameToURL(*args, **kwargs) + + FileNameToURL = staticmethod(FileNameToURL) class FileSystemPtr(FileSystem): def __init__(self, this): @@ -1067,24 +1617,40 @@ class FileSystemPtr(FileSystem): self.__class__ = FileSystem _core.FileSystem_swigregister(FileSystemPtr) -FileSystem_AddHandler = _core.FileSystem_AddHandler +def FileSystem_AddHandler(*args, **kwargs): + """FileSystem_AddHandler(CPPFileSystemHandler handler)""" + return _core.FileSystem_AddHandler(*args, **kwargs) -FileSystem_CleanUpHandlers = _core.FileSystem_CleanUpHandlers +def FileSystem_CleanUpHandlers(*args, **kwargs): + """FileSystem_CleanUpHandlers()""" + return _core.FileSystem_CleanUpHandlers(*args, **kwargs) -FileSystem_FileNameToURL = _core.FileSystem_FileNameToURL +def FileSystem_FileNameToURL(*args, **kwargs): + """FileSystem_FileNameToURL(wxString filename) -> wxString""" + return _core.FileSystem_FileNameToURL(*args, **kwargs) -FileSystem_URLToFileName = _core.FileSystem_URLToFileName +def FileSystem_URLToFileName(*args, **kwargs): + """FileSystem_URLToFileName(wxString url) -> wxString""" + return _core.FileSystem_URLToFileName(*args, **kwargs) class InternetFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> InternetFSHandler""" newobj = _core.new_InternetFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def CanOpen(*args, **kwargs): return _core.InternetFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.InternetFSHandler_OpenFile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.InternetFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.InternetFSHandler_OpenFile(*args, **kwargs) + class InternetFSHandlerPtr(InternetFSHandler): def __init__(self, this): @@ -1094,17 +1660,31 @@ class InternetFSHandlerPtr(InternetFSHandler): _core.InternetFSHandler_swigregister(InternetFSHandlerPtr) class ZipFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ZipFSHandler""" newobj = _core.new_ZipFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def CanOpen(*args, **kwargs): return _core.ZipFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.ZipFSHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.ZipFSHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.ZipFSHandler_FindNext(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.ZipFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.ZipFSHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.ZipFSHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.ZipFSHandler_FindNext(*args, **kwargs) + class ZipFSHandlerPtr(ZipFSHandler): def __init__(self, this): @@ -1114,11 +1694,17 @@ class ZipFSHandlerPtr(ZipFSHandler): _core.ZipFSHandler_swigregister(ZipFSHandlerPtr) -__wxMemoryFSHandler_AddFile_wxImage = _core.__wxMemoryFSHandler_AddFile_wxImage +def __wxMemoryFSHandler_AddFile_wxImage(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_wxImage(wxString filename, Image image, long type)""" + return _core.__wxMemoryFSHandler_AddFile_wxImage(*args, **kwargs) -__wxMemoryFSHandler_AddFile_wxBitmap = _core.__wxMemoryFSHandler_AddFile_wxBitmap +def __wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_wxBitmap(wxString filename, wxBitmap bitmap, long type)""" + return _core.__wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs) -__wxMemoryFSHandler_AddFile_Data = _core.__wxMemoryFSHandler_AddFile_Data +def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_Data(wxString filename, PyObject data)""" + return _core.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs) def MemoryFSHandler_AddFile(filename, a, b=''): if isinstance(a, wx.Image): __wxMemoryFSHandler_AddFile_wxImage(filename, a, b) @@ -1129,19 +1715,37 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' class MemoryFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MemoryFSHandler""" newobj = _core.new_MemoryFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - RemoveFile = staticmethod(_core.MemoryFSHandler_RemoveFile) + def RemoveFile(*args, **kwargs): + """MemoryFSHandler.RemoveFile(wxString filename)""" + return _core.MemoryFSHandler_RemoveFile(*args, **kwargs) + + RemoveFile = staticmethod(RemoveFile) AddFile = staticmethod(MemoryFSHandler_AddFile) - def CanOpen(*args, **kwargs): return _core.MemoryFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.MemoryFSHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.MemoryFSHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.MemoryFSHandler_FindNext(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.MemoryFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.MemoryFSHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.MemoryFSHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.MemoryFSHandler_FindNext(*args, **kwargs) + class MemoryFSHandlerPtr(MemoryFSHandler): def __init__(self, this): @@ -1150,23 +1754,53 @@ class MemoryFSHandlerPtr(MemoryFSHandler): self.__class__ = MemoryFSHandler _core.MemoryFSHandler_swigregister(MemoryFSHandlerPtr) -MemoryFSHandler_RemoveFile = _core.MemoryFSHandler_RemoveFile +def MemoryFSHandler_RemoveFile(*args, **kwargs): + """MemoryFSHandler_RemoveFile(wxString filename)""" + return _core.MemoryFSHandler_RemoveFile(*args, **kwargs) #--------------------------------------------------------------------------- class ImageHandler(Object): - def GetName(*args, **kwargs): return _core.ImageHandler_GetName(*args, **kwargs) - def GetExtension(*args, **kwargs): return _core.ImageHandler_GetExtension(*args, **kwargs) - def GetType(*args, **kwargs): return _core.ImageHandler_GetType(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _core.ImageHandler_GetMimeType(*args, **kwargs) - def CanRead(*args, **kwargs): return _core.ImageHandler_CanRead(*args, **kwargs) - def SetName(*args, **kwargs): return _core.ImageHandler_SetName(*args, **kwargs) - def SetExtension(*args, **kwargs): return _core.ImageHandler_SetExtension(*args, **kwargs) - def SetType(*args, **kwargs): return _core.ImageHandler_SetType(*args, **kwargs) - def SetMimeType(*args, **kwargs): return _core.ImageHandler_SetMimeType(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _core.ImageHandler_GetName(*args, **kwargs) + + def GetExtension(*args, **kwargs): + """GetExtension() -> wxString""" + return _core.ImageHandler_GetExtension(*args, **kwargs) + + def GetType(*args, **kwargs): + """GetType() -> long""" + return _core.ImageHandler_GetType(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _core.ImageHandler_GetMimeType(*args, **kwargs) + + def CanRead(*args, **kwargs): + """CanRead(wxString name) -> bool""" + return _core.ImageHandler_CanRead(*args, **kwargs) + + def SetName(*args, **kwargs): + """SetName(wxString name)""" + return _core.ImageHandler_SetName(*args, **kwargs) + + def SetExtension(*args, **kwargs): + """SetExtension(wxString extension)""" + return _core.ImageHandler_SetExtension(*args, **kwargs) + + def SetType(*args, **kwargs): + """SetType(long type)""" + return _core.ImageHandler_SetType(*args, **kwargs) + + def SetMimeType(*args, **kwargs): + """SetMimeType(wxString mimetype)""" + return _core.ImageHandler_SetMimeType(*args, **kwargs) + class ImageHandlerPtr(ImageHandler): def __init__(self, this): @@ -1176,15 +1810,30 @@ class ImageHandlerPtr(ImageHandler): _core.ImageHandler_swigregister(ImageHandlerPtr) class ImageHistogram(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ImageHistogram""" newobj = _core.new_ImageHistogram(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - MakeKey = staticmethod(_core.ImageHistogram_MakeKey) - def FindFirstUnusedColour(*args, **kwargs): return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def MakeKey(*args, **kwargs): + """ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + +Get the key in the histogram for the given RGB values""" + return _core.ImageHistogram_MakeKey(*args, **kwargs) + + MakeKey = staticmethod(MakeKey) + def FindFirstUnusedColour(*args, **kwargs): + """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + +Find first colour that is not used in the image and has higher RGB values than +startR, startG, startB. Returns a tuple consisting of a success flag and rgb +values.""" + return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) + class ImageHistogramPtr(ImageHistogram): def __init__(self, this): @@ -1193,82 +1842,288 @@ class ImageHistogramPtr(ImageHistogram): self.__class__ = ImageHistogram _core.ImageHistogram_swigregister(ImageHistogramPtr) -ImageHistogram_MakeKey = _core.ImageHistogram_MakeKey +def ImageHistogram_MakeKey(*args, **kwargs): + """ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + +Get the key in the histogram for the given RGB values""" + return _core.ImageHistogram_MakeKey(*args, **kwargs) class Image(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" newobj = _core.new_Image(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Image): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Create(*args, **kwargs): return _core.Image_Create(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Image_Destroy(*args, **kwargs) - def Scale(*args, **kwargs): return _core.Image_Scale(*args, **kwargs) - def ShrinkBy(*args, **kwargs): return _core.Image_ShrinkBy(*args, **kwargs) - def Rescale(*args, **kwargs): return _core.Image_Rescale(*args, **kwargs) - def SetRGB(*args, **kwargs): return _core.Image_SetRGB(*args, **kwargs) - def GetRed(*args, **kwargs): return _core.Image_GetRed(*args, **kwargs) - def GetGreen(*args, **kwargs): return _core.Image_GetGreen(*args, **kwargs) - def GetBlue(*args, **kwargs): return _core.Image_GetBlue(*args, **kwargs) - def SetAlpha(*args, **kwargs): return _core.Image_SetAlpha(*args, **kwargs) - def GetAlpha(*args, **kwargs): return _core.Image_GetAlpha(*args, **kwargs) - def HasAlpha(*args, **kwargs): return _core.Image_HasAlpha(*args, **kwargs) - def FindFirstUnusedColour(*args, **kwargs): return _core.Image_FindFirstUnusedColour(*args, **kwargs) - def SetMaskFromImage(*args, **kwargs): return _core.Image_SetMaskFromImage(*args, **kwargs) - CanRead = staticmethod(_core.Image_CanRead) - GetImageCount = staticmethod(_core.Image_GetImageCount) - def LoadFile(*args, **kwargs): return _core.Image_LoadFile(*args, **kwargs) - def LoadMimeFile(*args, **kwargs): return _core.Image_LoadMimeFile(*args, **kwargs) - def SaveFile(*args, **kwargs): return _core.Image_SaveFile(*args, **kwargs) - def SaveMimeFile(*args, **kwargs): return _core.Image_SaveMimeFile(*args, **kwargs) - CanReadStream = staticmethod(_core.Image_CanReadStream) - def LoadStream(*args, **kwargs): return _core.Image_LoadStream(*args, **kwargs) - def LoadMimeStream(*args, **kwargs): return _core.Image_LoadMimeStream(*args, **kwargs) - def Ok(*args, **kwargs): return _core.Image_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Image_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Image_GetHeight(*args, **kwargs) - def GetSubImage(*args, **kwargs): return _core.Image_GetSubImage(*args, **kwargs) - def Copy(*args, **kwargs): return _core.Image_Copy(*args, **kwargs) - def Paste(*args, **kwargs): return _core.Image_Paste(*args, **kwargs) - def GetData(*args, **kwargs): return _core.Image_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _core.Image_SetData(*args, **kwargs) - def GetDataBuffer(*args, **kwargs): return _core.Image_GetDataBuffer(*args, **kwargs) - def SetDataBuffer(*args, **kwargs): return _core.Image_SetDataBuffer(*args, **kwargs) - def GetAlphaData(*args, **kwargs): return _core.Image_GetAlphaData(*args, **kwargs) - def SetAlphaData(*args, **kwargs): return _core.Image_SetAlphaData(*args, **kwargs) - def GetAlphaBuffer(*args, **kwargs): return _core.Image_GetAlphaBuffer(*args, **kwargs) - def SetAlphaBuffer(*args, **kwargs): return _core.Image_SetAlphaBuffer(*args, **kwargs) - def SetMaskColour(*args, **kwargs): return _core.Image_SetMaskColour(*args, **kwargs) - def GetMaskRed(*args, **kwargs): return _core.Image_GetMaskRed(*args, **kwargs) - def GetMaskGreen(*args, **kwargs): return _core.Image_GetMaskGreen(*args, **kwargs) - def GetMaskBlue(*args, **kwargs): return _core.Image_GetMaskBlue(*args, **kwargs) - def SetMask(*args, **kwargs): return _core.Image_SetMask(*args, **kwargs) - def HasMask(*args, **kwargs): return _core.Image_HasMask(*args, **kwargs) - def Rotate(*args, **kwargs): return _core.Image_Rotate(*args, **kwargs) - def Rotate90(*args, **kwargs): return _core.Image_Rotate90(*args, **kwargs) - def Mirror(*args, **kwargs): return _core.Image_Mirror(*args, **kwargs) - def Replace(*args, **kwargs): return _core.Image_Replace(*args, **kwargs) - def ConvertToMono(*args, **kwargs): return _core.Image_ConvertToMono(*args, **kwargs) - def SetOption(*args, **kwargs): return _core.Image_SetOption(*args, **kwargs) - def SetOptionInt(*args, **kwargs): return _core.Image_SetOptionInt(*args, **kwargs) - def GetOption(*args, **kwargs): return _core.Image_GetOption(*args, **kwargs) - def GetOptionInt(*args, **kwargs): return _core.Image_GetOptionInt(*args, **kwargs) - def HasOption(*args, **kwargs): return _core.Image_HasOption(*args, **kwargs) - def CountColours(*args, **kwargs): return _core.Image_CountColours(*args, **kwargs) - def ComputeHistogram(*args, **kwargs): return _core.Image_ComputeHistogram(*args, **kwargs) - AddHandler = staticmethod(_core.Image_AddHandler) - InsertHandler = staticmethod(_core.Image_InsertHandler) - RemoveHandler = staticmethod(_core.Image_RemoveHandler) - GetImageExtWildcard = staticmethod(_core.Image_GetImageExtWildcard) - def ConvertToBitmap(*args, **kwargs): return _core.Image_ConvertToBitmap(*args, **kwargs) - def ConvertToMonoBitmap(*args, **kwargs): return _core.Image_ConvertToMonoBitmap(*args, **kwargs) - def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(int width, int height)""" + return _core.Image_Create(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Image_Destroy(*args, **kwargs) + + def Scale(*args, **kwargs): + """Scale(int width, int height) -> Image""" + return _core.Image_Scale(*args, **kwargs) + + def ShrinkBy(*args, **kwargs): + """ShrinkBy(int xFactor, int yFactor) -> Image""" + return _core.Image_ShrinkBy(*args, **kwargs) + + def Rescale(*args, **kwargs): + """Rescale(int width, int height) -> Image""" + return _core.Image_Rescale(*args, **kwargs) + + def SetRGB(*args, **kwargs): + """SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)""" + return _core.Image_SetRGB(*args, **kwargs) + + def GetRed(*args, **kwargs): + """GetRed(int x, int y) -> unsigned char""" + return _core.Image_GetRed(*args, **kwargs) + + def GetGreen(*args, **kwargs): + """GetGreen(int x, int y) -> unsigned char""" + return _core.Image_GetGreen(*args, **kwargs) + + def GetBlue(*args, **kwargs): + """GetBlue(int x, int y) -> unsigned char""" + return _core.Image_GetBlue(*args, **kwargs) + + def SetAlpha(*args, **kwargs): + """SetAlpha(int x, int y, unsigned char alpha)""" + return _core.Image_SetAlpha(*args, **kwargs) + + def GetAlpha(*args, **kwargs): + """GetAlpha(int x, int y) -> unsigned char""" + return _core.Image_GetAlpha(*args, **kwargs) + + def HasAlpha(*args, **kwargs): + """HasAlpha() -> bool""" + return _core.Image_HasAlpha(*args, **kwargs) + + def FindFirstUnusedColour(*args, **kwargs): + """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + +Find first colour that is not used in the image and has higher RGB values than +startR, startG, startB. Returns a tuple consisting of a success flag and rgb +values.""" + return _core.Image_FindFirstUnusedColour(*args, **kwargs) + + def SetMaskFromImage(*args, **kwargs): + """SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool""" + return _core.Image_SetMaskFromImage(*args, **kwargs) + + def CanRead(*args, **kwargs): + """Image.CanRead(wxString name) -> bool""" + return _core.Image_CanRead(*args, **kwargs) + + CanRead = staticmethod(CanRead) + def GetImageCount(*args, **kwargs): + """Image.GetImageCount(wxString name, long type=BITMAP_TYPE_ANY) -> int""" + return _core.Image_GetImageCount(*args, **kwargs) + + GetImageCount = staticmethod(GetImageCount) + def LoadFile(*args, **kwargs): + """LoadFile(wxString name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" + return _core.Image_LoadFile(*args, **kwargs) + + def LoadMimeFile(*args, **kwargs): + """LoadMimeFile(wxString name, wxString mimetype, int index=-1) -> bool""" + return _core.Image_LoadMimeFile(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString name, int type) -> bool""" + return _core.Image_SaveFile(*args, **kwargs) + + def SaveMimeFile(*args, **kwargs): + """SaveMimeFile(wxString name, wxString mimetype) -> bool""" + return _core.Image_SaveMimeFile(*args, **kwargs) + + def CanReadStream(*args, **kwargs): + """Image.CanReadStream(wxInputStream stream) -> bool""" + return _core.Image_CanReadStream(*args, **kwargs) + + CanReadStream = staticmethod(CanReadStream) + def LoadStream(*args, **kwargs): + """LoadStream(wxInputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" + return _core.Image_LoadStream(*args, **kwargs) + + def LoadMimeStream(*args, **kwargs): + """LoadMimeStream(wxInputStream stream, wxString mimetype, int index=-1) -> bool""" + return _core.Image_LoadMimeStream(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _core.Image_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Image_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Image_GetHeight(*args, **kwargs) + + def GetSubImage(*args, **kwargs): + """GetSubImage(Rect rect) -> Image""" + return _core.Image_GetSubImage(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy() -> Image""" + return _core.Image_Copy(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste(Image image, int x, int y)""" + return _core.Image_Paste(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _core.Image_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject data)""" + return _core.Image_SetData(*args, **kwargs) + + def GetDataBuffer(*args, **kwargs): + """GetDataBuffer() -> PyObject""" + return _core.Image_GetDataBuffer(*args, **kwargs) + + def SetDataBuffer(*args, **kwargs): + """SetDataBuffer(PyObject data)""" + return _core.Image_SetDataBuffer(*args, **kwargs) + + def GetAlphaData(*args, **kwargs): + """GetAlphaData() -> PyObject""" + return _core.Image_GetAlphaData(*args, **kwargs) + + def SetAlphaData(*args, **kwargs): + """SetAlphaData(PyObject data)""" + return _core.Image_SetAlphaData(*args, **kwargs) + + def GetAlphaBuffer(*args, **kwargs): + """GetAlphaBuffer() -> PyObject""" + return _core.Image_GetAlphaBuffer(*args, **kwargs) + + def SetAlphaBuffer(*args, **kwargs): + """SetAlphaBuffer(PyObject data)""" + return _core.Image_SetAlphaBuffer(*args, **kwargs) + + def SetMaskColour(*args, **kwargs): + """SetMaskColour(unsigned char r, unsigned char g, unsigned char b)""" + return _core.Image_SetMaskColour(*args, **kwargs) + + def GetMaskRed(*args, **kwargs): + """GetMaskRed() -> unsigned char""" + return _core.Image_GetMaskRed(*args, **kwargs) + + def GetMaskGreen(*args, **kwargs): + """GetMaskGreen() -> unsigned char""" + return _core.Image_GetMaskGreen(*args, **kwargs) + + def GetMaskBlue(*args, **kwargs): + """GetMaskBlue() -> unsigned char""" + return _core.Image_GetMaskBlue(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(bool mask=True)""" + return _core.Image_SetMask(*args, **kwargs) + + def HasMask(*args, **kwargs): + """HasMask() -> bool""" + return _core.Image_HasMask(*args, **kwargs) + + def Rotate(*args, **kwargs): + """Rotate(double angle, Point centre_of_rotation, bool interpolating=True, + Point offset_after_rotation=None) -> Image""" + return _core.Image_Rotate(*args, **kwargs) + + def Rotate90(*args, **kwargs): + """Rotate90(bool clockwise=True) -> Image""" + return _core.Image_Rotate90(*args, **kwargs) + + def Mirror(*args, **kwargs): + """Mirror(bool horizontally=True) -> Image""" + return _core.Image_Mirror(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(unsigned char r1, unsigned char g1, unsigned char b1, + unsigned char r2, unsigned char g2, unsigned char b2)""" + return _core.Image_Replace(*args, **kwargs) + + def ConvertToMono(*args, **kwargs): + """ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image""" + return _core.Image_ConvertToMono(*args, **kwargs) + + def SetOption(*args, **kwargs): + """SetOption(wxString name, wxString value)""" + return _core.Image_SetOption(*args, **kwargs) + + def SetOptionInt(*args, **kwargs): + """SetOptionInt(wxString name, int value)""" + return _core.Image_SetOptionInt(*args, **kwargs) + + def GetOption(*args, **kwargs): + """GetOption(wxString name) -> wxString""" + return _core.Image_GetOption(*args, **kwargs) + + def GetOptionInt(*args, **kwargs): + """GetOptionInt(wxString name) -> int""" + return _core.Image_GetOptionInt(*args, **kwargs) + + def HasOption(*args, **kwargs): + """HasOption(wxString name) -> bool""" + return _core.Image_HasOption(*args, **kwargs) + + def CountColours(*args, **kwargs): + """CountColours(unsigned long stopafter=(unsigned long) -1) -> unsigned long""" + return _core.Image_CountColours(*args, **kwargs) + + def ComputeHistogram(*args, **kwargs): + """ComputeHistogram(ImageHistogram h) -> unsigned long""" + return _core.Image_ComputeHistogram(*args, **kwargs) + + def AddHandler(*args, **kwargs): + """Image.AddHandler(ImageHandler handler)""" + return _core.Image_AddHandler(*args, **kwargs) + + AddHandler = staticmethod(AddHandler) + def InsertHandler(*args, **kwargs): + """Image.InsertHandler(ImageHandler handler)""" + return _core.Image_InsertHandler(*args, **kwargs) + + InsertHandler = staticmethod(InsertHandler) + def RemoveHandler(*args, **kwargs): + """Image.RemoveHandler(wxString name) -> bool""" + return _core.Image_RemoveHandler(*args, **kwargs) + + RemoveHandler = staticmethod(RemoveHandler) + def GetImageExtWildcard(*args, **kwargs): + """Image.GetImageExtWildcard() -> wxString""" + return _core.Image_GetImageExtWildcard(*args, **kwargs) + + GetImageExtWildcard = staticmethod(GetImageExtWildcard) + def ConvertToBitmap(*args, **kwargs): + """ConvertToBitmap() -> wxBitmap""" + return _core.Image_ConvertToBitmap(*args, **kwargs) + + def ConvertToMonoBitmap(*args, **kwargs): + """ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -> wxBitmap""" + return _core.Image_ConvertToMonoBitmap(*args, **kwargs) + + def __nonzero__(self): return self.Ok() class ImagePtr(Image): def __init__(self, this): @@ -1278,51 +2133,73 @@ class ImagePtr(Image): _core.Image_swigregister(ImagePtr) def ImageFromMime(*args, **kwargs): + """ImageFromMime(wxString name, wxString mimetype, int index=-1) -> Image""" val = _core.new_ImageFromMime(*args, **kwargs) val.thisown = 1 return val def ImageFromStream(*args, **kwargs): + """ImageFromStream(wxInputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" val = _core.new_ImageFromStream(*args, **kwargs) val.thisown = 1 return val def ImageFromStreamMime(*args, **kwargs): + """ImageFromStreamMime(wxInputStream stream, wxString mimetype, int index=-1) -> Image""" val = _core.new_ImageFromStreamMime(*args, **kwargs) val.thisown = 1 return val def EmptyImage(*args, **kwargs): + """EmptyImage(int width=0, int height=0, bool clear=True) -> Image""" val = _core.new_EmptyImage(*args, **kwargs) val.thisown = 1 return val def ImageFromBitmap(*args, **kwargs): + """ImageFromBitmap(wxBitmap bitmap) -> Image""" val = _core.new_ImageFromBitmap(*args, **kwargs) val.thisown = 1 return val def ImageFromData(*args, **kwargs): + """ImageFromData(int width, int height, unsigned char data) -> Image""" val = _core.new_ImageFromData(*args, **kwargs) val.thisown = 1 return val -Image_CanRead = _core.Image_CanRead +def Image_CanRead(*args, **kwargs): + """Image_CanRead(wxString name) -> bool""" + return _core.Image_CanRead(*args, **kwargs) -Image_GetImageCount = _core.Image_GetImageCount +def Image_GetImageCount(*args, **kwargs): + """Image_GetImageCount(wxString name, long type=BITMAP_TYPE_ANY) -> int""" + return _core.Image_GetImageCount(*args, **kwargs) -Image_CanReadStream = _core.Image_CanReadStream +def Image_CanReadStream(*args, **kwargs): + """Image_CanReadStream(wxInputStream stream) -> bool""" + return _core.Image_CanReadStream(*args, **kwargs) -Image_AddHandler = _core.Image_AddHandler +def Image_AddHandler(*args, **kwargs): + """Image_AddHandler(ImageHandler handler)""" + return _core.Image_AddHandler(*args, **kwargs) -Image_InsertHandler = _core.Image_InsertHandler +def Image_InsertHandler(*args, **kwargs): + """Image_InsertHandler(ImageHandler handler)""" + return _core.Image_InsertHandler(*args, **kwargs) -Image_RemoveHandler = _core.Image_RemoveHandler +def Image_RemoveHandler(*args, **kwargs): + """Image_RemoveHandler(wxString name) -> bool""" + return _core.Image_RemoveHandler(*args, **kwargs) -Image_GetImageExtWildcard = _core.Image_GetImageExtWildcard +def Image_GetImageExtWildcard(*args, **kwargs): + """Image_GetImageExtWildcard() -> wxString""" + return _core.Image_GetImageExtWildcard(*args, **kwargs) -InitAllImageHandlers = _core.InitAllImageHandlers +def InitAllImageHandlers(*args, **kwargs): + """InitAllImageHandlers()""" + return _core.InitAllImageHandlers(*args, **kwargs) IMAGE_RESOLUTION_INCHES = _core.IMAGE_RESOLUTION_INCHES IMAGE_RESOLUTION_CM = _core.IMAGE_RESOLUTION_CM BMP_24BPP = _core.BMP_24BPP @@ -1335,13 +2212,15 @@ BMP_4BPP = _core.BMP_4BPP BMP_1BPP = _core.BMP_1BPP BMP_1BPP_BW = _core.BMP_1BPP_BW class BMPHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> BMPHandler""" newobj = _core.new_BMPHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BMPHandlerPtr(BMPHandler): def __init__(self, this): @@ -1357,13 +2236,15 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT class ICOHandler(BMPHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ICOHandler""" newobj = _core.new_ICOHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ICOHandlerPtr(ICOHandler): def __init__(self, this): @@ -1373,13 +2254,15 @@ class ICOHandlerPtr(ICOHandler): _core.ICOHandler_swigregister(ICOHandlerPtr) class CURHandler(ICOHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> CURHandler""" newobj = _core.new_CURHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class CURHandlerPtr(CURHandler): def __init__(self, this): @@ -1389,13 +2272,15 @@ class CURHandlerPtr(CURHandler): _core.CURHandler_swigregister(CURHandlerPtr) class ANIHandler(CURHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ANIHandler""" newobj = _core.new_ANIHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ANIHandlerPtr(ANIHandler): def __init__(self, this): @@ -1405,13 +2290,15 @@ class ANIHandlerPtr(ANIHandler): _core.ANIHandler_swigregister(ANIHandlerPtr) class PNGHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PNGHandler""" newobj = _core.new_PNGHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PNGHandlerPtr(PNGHandler): def __init__(self, this): @@ -1421,13 +2308,15 @@ class PNGHandlerPtr(PNGHandler): _core.PNGHandler_swigregister(PNGHandlerPtr) class GIFHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GIFHandler""" newobj = _core.new_GIFHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class GIFHandlerPtr(GIFHandler): def __init__(self, this): @@ -1437,13 +2326,15 @@ class GIFHandlerPtr(GIFHandler): _core.GIFHandler_swigregister(GIFHandlerPtr) class PCXHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PCXHandler""" newobj = _core.new_PCXHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PCXHandlerPtr(PCXHandler): def __init__(self, this): @@ -1453,13 +2344,15 @@ class PCXHandlerPtr(PCXHandler): _core.PCXHandler_swigregister(PCXHandlerPtr) class JPEGHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> JPEGHandler""" newobj = _core.new_JPEGHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class JPEGHandlerPtr(JPEGHandler): def __init__(self, this): @@ -1469,13 +2362,15 @@ class JPEGHandlerPtr(JPEGHandler): _core.JPEGHandler_swigregister(JPEGHandlerPtr) class PNMHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PNMHandler""" newobj = _core.new_PNMHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PNMHandlerPtr(PNMHandler): def __init__(self, this): @@ -1485,13 +2380,15 @@ class PNMHandlerPtr(PNMHandler): _core.PNMHandler_swigregister(PNMHandlerPtr) class XPMHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> XPMHandler""" newobj = _core.new_XPMHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class XPMHandlerPtr(XPMHandler): def __init__(self, this): @@ -1501,13 +2398,15 @@ class XPMHandlerPtr(XPMHandler): _core.XPMHandler_swigregister(XPMHandlerPtr) class TIFFHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TIFFHandler""" newobj = _core.new_TIFFHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TIFFHandlerPtr(TIFFHandler): def __init__(self, this): @@ -1519,23 +2418,63 @@ _core.TIFFHandler_swigregister(TIFFHandlerPtr) #--------------------------------------------------------------------------- class EvtHandler(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> EvtHandler""" newobj = _core.new_EvtHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetNextHandler(*args, **kwargs): return _core.EvtHandler_GetNextHandler(*args, **kwargs) - def GetPreviousHandler(*args, **kwargs): return _core.EvtHandler_GetPreviousHandler(*args, **kwargs) - def SetNextHandler(*args, **kwargs): return _core.EvtHandler_SetNextHandler(*args, **kwargs) - def SetPreviousHandler(*args, **kwargs): return _core.EvtHandler_SetPreviousHandler(*args, **kwargs) - def GetEvtHandlerEnabled(*args, **kwargs): return _core.EvtHandler_GetEvtHandlerEnabled(*args, **kwargs) - def SetEvtHandlerEnabled(*args, **kwargs): return _core.EvtHandler_SetEvtHandlerEnabled(*args, **kwargs) - def ProcessEvent(*args, **kwargs): return _core.EvtHandler_ProcessEvent(*args, **kwargs) - def AddPendingEvent(*args, **kwargs): return _core.EvtHandler_AddPendingEvent(*args, **kwargs) - def ProcessPendingEvents(*args, **kwargs): return _core.EvtHandler_ProcessPendingEvents(*args, **kwargs) - def Connect(*args, **kwargs): return _core.EvtHandler_Connect(*args, **kwargs) - def Disconnect(*args, **kwargs): return _core.EvtHandler_Disconnect(*args, **kwargs) - def _setOORInfo(*args, **kwargs): return _core.EvtHandler__setOORInfo(*args, **kwargs) + def GetNextHandler(*args, **kwargs): + """GetNextHandler() -> EvtHandler""" + return _core.EvtHandler_GetNextHandler(*args, **kwargs) + + def GetPreviousHandler(*args, **kwargs): + """GetPreviousHandler() -> EvtHandler""" + return _core.EvtHandler_GetPreviousHandler(*args, **kwargs) + + def SetNextHandler(*args, **kwargs): + """SetNextHandler(EvtHandler handler)""" + return _core.EvtHandler_SetNextHandler(*args, **kwargs) + + def SetPreviousHandler(*args, **kwargs): + """SetPreviousHandler(EvtHandler handler)""" + return _core.EvtHandler_SetPreviousHandler(*args, **kwargs) + + def GetEvtHandlerEnabled(*args, **kwargs): + """GetEvtHandlerEnabled() -> bool""" + return _core.EvtHandler_GetEvtHandlerEnabled(*args, **kwargs) + + def SetEvtHandlerEnabled(*args, **kwargs): + """SetEvtHandlerEnabled(bool enabled)""" + return _core.EvtHandler_SetEvtHandlerEnabled(*args, **kwargs) + + def ProcessEvent(*args, **kwargs): + """ProcessEvent(Event event) -> bool""" + return _core.EvtHandler_ProcessEvent(*args, **kwargs) + + def AddPendingEvent(*args, **kwargs): + """AddPendingEvent(Event event)""" + return _core.EvtHandler_AddPendingEvent(*args, **kwargs) + + def ProcessPendingEvents(*args, **kwargs): + """ProcessPendingEvents()""" + return _core.EvtHandler_ProcessPendingEvents(*args, **kwargs) + + def Connect(*args, **kwargs): + """Connect(int id, int lastId, int eventType, PyObject func)""" + return _core.EvtHandler_Connect(*args, **kwargs) + + def Disconnect(*args, **kwargs): + """Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool""" + return _core.EvtHandler_Disconnect(*args, **kwargs) + + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _core.EvtHandler__setOORInfo(*args, **kwargs) + def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY): """ Bind an event to an event handler. @@ -1562,8 +2501,6 @@ class EvtHandler(Object): event.Bind(self, id, id2, handler) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class EvtHandlerPtr(EvtHandler): def __init__(self, this): @@ -1636,7 +2573,9 @@ def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): EVENT_PROPAGATE_NONE = _core.EVENT_PROPAGATE_NONE EVENT_PROPAGATE_MAX = _core.EVENT_PROPAGATE_MAX -NewEventType = _core.NewEventType +def NewEventType(*args, **kwargs): + """NewEventType() -> wxEventType""" + return _core.NewEventType(*args, **kwargs) wxEVT_NULL = _core.wxEVT_NULL wxEVT_FIRST = _core.wxEVT_FIRST wxEVT_USER_FIRST = _core.wxEVT_USER_FIRST @@ -1934,28 +2873,76 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- class Event(Object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_core.delete_Event): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetEventType(*args, **kwargs): return _core.Event_SetEventType(*args, **kwargs) - def GetEventType(*args, **kwargs): return _core.Event_GetEventType(*args, **kwargs) - def GetEventObject(*args, **kwargs): return _core.Event_GetEventObject(*args, **kwargs) - def SetEventObject(*args, **kwargs): return _core.Event_SetEventObject(*args, **kwargs) - def GetTimestamp(*args, **kwargs): return _core.Event_GetTimestamp(*args, **kwargs) - def SetTimestamp(*args, **kwargs): return _core.Event_SetTimestamp(*args, **kwargs) - def GetId(*args, **kwargs): return _core.Event_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _core.Event_SetId(*args, **kwargs) - def IsCommandEvent(*args, **kwargs): return _core.Event_IsCommandEvent(*args, **kwargs) - def Skip(*args, **kwargs): return _core.Event_Skip(*args, **kwargs) - def GetSkipped(*args, **kwargs): return _core.Event_GetSkipped(*args, **kwargs) - def ShouldPropagate(*args, **kwargs): return _core.Event_ShouldPropagate(*args, **kwargs) - def StopPropagation(*args, **kwargs): return _core.Event_StopPropagation(*args, **kwargs) - def ResumePropagation(*args, **kwargs): return _core.Event_ResumePropagation(*args, **kwargs) - def Clone(*args, **kwargs): return _core.Event_Clone(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetEventType(*args, **kwargs): + """SetEventType(wxEventType typ)""" + return _core.Event_SetEventType(*args, **kwargs) + + def GetEventType(*args, **kwargs): + """GetEventType() -> wxEventType""" + return _core.Event_GetEventType(*args, **kwargs) + + def GetEventObject(*args, **kwargs): + """GetEventObject() -> Object""" + return _core.Event_GetEventObject(*args, **kwargs) + + def SetEventObject(*args, **kwargs): + """SetEventObject(Object obj)""" + return _core.Event_SetEventObject(*args, **kwargs) + + def GetTimestamp(*args, **kwargs): + """GetTimestamp() -> long""" + return _core.Event_GetTimestamp(*args, **kwargs) + + def SetTimestamp(*args, **kwargs): + """SetTimestamp(long ts=0)""" + return _core.Event_SetTimestamp(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.Event_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int Id)""" + return _core.Event_SetId(*args, **kwargs) + + def IsCommandEvent(*args, **kwargs): + """IsCommandEvent() -> bool""" + return _core.Event_IsCommandEvent(*args, **kwargs) + + def Skip(*args, **kwargs): + """Skip(bool skip=True)""" + return _core.Event_Skip(*args, **kwargs) + + def GetSkipped(*args, **kwargs): + """GetSkipped() -> bool""" + return _core.Event_GetSkipped(*args, **kwargs) + + def ShouldPropagate(*args, **kwargs): + """ShouldPropagate() -> bool""" + return _core.Event_ShouldPropagate(*args, **kwargs) + + def StopPropagation(*args, **kwargs): + """StopPropagation() -> int""" + return _core.Event_StopPropagation(*args, **kwargs) + + def ResumePropagation(*args, **kwargs): + """ResumePropagation(int propagationLevel)""" + return _core.Event_ResumePropagation(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Event""" + return _core.Event_Clone(*args, **kwargs) + class EventPtr(Event): def __init__(self, this): @@ -1967,17 +2954,21 @@ _core.Event_swigregister(EventPtr) #--------------------------------------------------------------------------- class PropagationDisabler(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Event event) -> PropagationDisabler""" newobj = _core.new_PropagationDisabler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_PropagationDisabler): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PropagationDisablerPtr(PropagationDisabler): def __init__(self, this): @@ -1987,17 +2978,21 @@ class PropagationDisablerPtr(PropagationDisabler): _core.PropagationDisabler_swigregister(PropagationDisablerPtr) class PropagateOnce(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Event event) -> PropagateOnce""" newobj = _core.new_PropagateOnce(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_PropagateOnce): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PropagateOncePtr(PropagateOnce): def __init__(self, this): @@ -2009,23 +3004,55 @@ _core.PropagateOnce_swigregister(PropagateOncePtr) #--------------------------------------------------------------------------- class CommandEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent""" newobj = _core.new_CommandEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSelection(*args, **kwargs): return _core.CommandEvent_GetSelection(*args, **kwargs) - def SetString(*args, **kwargs): return _core.CommandEvent_SetString(*args, **kwargs) - def GetString(*args, **kwargs): return _core.CommandEvent_GetString(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.CommandEvent_IsChecked(*args, **kwargs) - def IsSelection(*args, **kwargs): return _core.CommandEvent_IsSelection(*args, **kwargs) - def SetExtraLong(*args, **kwargs): return _core.CommandEvent_SetExtraLong(*args, **kwargs) - def GetExtraLong(*args, **kwargs): return _core.CommandEvent_GetExtraLong(*args, **kwargs) - def SetInt(*args, **kwargs): return _core.CommandEvent_SetInt(*args, **kwargs) - def GetInt(*args, **kwargs): return _core.CommandEvent_GetInt(*args, **kwargs) - def Clone(*args, **kwargs): return _core.CommandEvent_Clone(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _core.CommandEvent_GetSelection(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(wxString s)""" + return _core.CommandEvent_SetString(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString() -> wxString""" + return _core.CommandEvent_GetString(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _core.CommandEvent_IsChecked(*args, **kwargs) + + def IsSelection(*args, **kwargs): + """IsSelection() -> bool""" + return _core.CommandEvent_IsSelection(*args, **kwargs) + + def SetExtraLong(*args, **kwargs): + """SetExtraLong(long extraLong)""" + return _core.CommandEvent_SetExtraLong(*args, **kwargs) + + def GetExtraLong(*args, **kwargs): + """GetExtraLong() -> long""" + return _core.CommandEvent_GetExtraLong(*args, **kwargs) + + def SetInt(*args, **kwargs): + """SetInt(int i)""" + return _core.CommandEvent_SetInt(*args, **kwargs) + + def GetInt(*args, **kwargs): + """GetInt() -> long""" + return _core.CommandEvent_GetInt(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Event""" + return _core.CommandEvent_Clone(*args, **kwargs) + class CommandEventPtr(CommandEvent): def __init__(self, this): @@ -2037,16 +3064,27 @@ _core.CommandEvent_swigregister(CommandEventPtr) #--------------------------------------------------------------------------- class NotifyEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent""" newobj = _core.new_NotifyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Veto(*args, **kwargs): return _core.NotifyEvent_Veto(*args, **kwargs) - def Allow(*args, **kwargs): return _core.NotifyEvent_Allow(*args, **kwargs) - def IsAllowed(*args, **kwargs): return _core.NotifyEvent_IsAllowed(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Veto(*args, **kwargs): + """Veto()""" + return _core.NotifyEvent_Veto(*args, **kwargs) + + def Allow(*args, **kwargs): + """Allow()""" + return _core.NotifyEvent_Allow(*args, **kwargs) + + def IsAllowed(*args, **kwargs): + """IsAllowed() -> bool""" + return _core.NotifyEvent_IsAllowed(*args, **kwargs) + class NotifyEventPtr(NotifyEvent): def __init__(self, this): @@ -2058,17 +3096,32 @@ _core.NotifyEvent_swigregister(NotifyEventPtr) #--------------------------------------------------------------------------- class ScrollEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, + int orient=0) -> ScrollEvent""" newobj = _core.new_ScrollEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetOrientation(*args, **kwargs): return _core.ScrollEvent_GetOrientation(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.ScrollEvent_GetPosition(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.ScrollEvent_SetOrientation(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ScrollEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.ScrollEvent_GetOrientation(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> int""" + return _core.ScrollEvent_GetPosition(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.ScrollEvent_SetOrientation(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(int pos)""" + return _core.ScrollEvent_SetPosition(*args, **kwargs) + class ScrollEventPtr(ScrollEvent): def __init__(self, this): @@ -2080,17 +3133,31 @@ _core.ScrollEvent_swigregister(ScrollEventPtr) #--------------------------------------------------------------------------- class ScrollWinEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent""" newobj = _core.new_ScrollWinEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetOrientation(*args, **kwargs): return _core.ScrollWinEvent_GetOrientation(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.ScrollWinEvent_GetPosition(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.ScrollWinEvent_SetOrientation(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ScrollWinEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.ScrollWinEvent_GetOrientation(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> int""" + return _core.ScrollWinEvent_GetPosition(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.ScrollWinEvent_SetOrientation(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(int pos)""" + return _core.ScrollWinEvent_SetPosition(*args, **kwargs) + class ScrollWinEventPtr(ScrollWinEvent): def __init__(self, this): @@ -2107,47 +3174,163 @@ MOUSE_BTN_LEFT = _core.MOUSE_BTN_LEFT MOUSE_BTN_MIDDLE = _core.MOUSE_BTN_MIDDLE MOUSE_BTN_RIGHT = _core.MOUSE_BTN_RIGHT class MouseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent""" newobj = _core.new_MouseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def IsButton(*args, **kwargs): return _core.MouseEvent_IsButton(*args, **kwargs) - def ButtonDown(*args, **kwargs): return _core.MouseEvent_ButtonDown(*args, **kwargs) - def ButtonDClick(*args, **kwargs): return _core.MouseEvent_ButtonDClick(*args, **kwargs) - def ButtonUp(*args, **kwargs): return _core.MouseEvent_ButtonUp(*args, **kwargs) - def Button(*args, **kwargs): return _core.MouseEvent_Button(*args, **kwargs) - def ButtonIsDown(*args, **kwargs): return _core.MouseEvent_ButtonIsDown(*args, **kwargs) - def GetButton(*args, **kwargs): return _core.MouseEvent_GetButton(*args, **kwargs) - def ControlDown(*args, **kwargs): return _core.MouseEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _core.MouseEvent_MetaDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _core.MouseEvent_AltDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _core.MouseEvent_ShiftDown(*args, **kwargs) - def LeftDown(*args, **kwargs): return _core.MouseEvent_LeftDown(*args, **kwargs) - def MiddleDown(*args, **kwargs): return _core.MouseEvent_MiddleDown(*args, **kwargs) - def RightDown(*args, **kwargs): return _core.MouseEvent_RightDown(*args, **kwargs) - def LeftUp(*args, **kwargs): return _core.MouseEvent_LeftUp(*args, **kwargs) - def MiddleUp(*args, **kwargs): return _core.MouseEvent_MiddleUp(*args, **kwargs) - def RightUp(*args, **kwargs): return _core.MouseEvent_RightUp(*args, **kwargs) - def LeftDClick(*args, **kwargs): return _core.MouseEvent_LeftDClick(*args, **kwargs) - def MiddleDClick(*args, **kwargs): return _core.MouseEvent_MiddleDClick(*args, **kwargs) - def RightDClick(*args, **kwargs): return _core.MouseEvent_RightDClick(*args, **kwargs) - def LeftIsDown(*args, **kwargs): return _core.MouseEvent_LeftIsDown(*args, **kwargs) - def MiddleIsDown(*args, **kwargs): return _core.MouseEvent_MiddleIsDown(*args, **kwargs) - def RightIsDown(*args, **kwargs): return _core.MouseEvent_RightIsDown(*args, **kwargs) - def Dragging(*args, **kwargs): return _core.MouseEvent_Dragging(*args, **kwargs) - def Moving(*args, **kwargs): return _core.MouseEvent_Moving(*args, **kwargs) - def Entering(*args, **kwargs): return _core.MouseEvent_Entering(*args, **kwargs) - def Leaving(*args, **kwargs): return _core.MouseEvent_Leaving(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.MouseEvent_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.MouseEvent_GetPositionTuple(*args, **kwargs) - def GetLogicalPosition(*args, **kwargs): return _core.MouseEvent_GetLogicalPosition(*args, **kwargs) - def GetX(*args, **kwargs): return _core.MouseEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.MouseEvent_GetY(*args, **kwargs) - def GetWheelRotation(*args, **kwargs): return _core.MouseEvent_GetWheelRotation(*args, **kwargs) - def GetWheelDelta(*args, **kwargs): return _core.MouseEvent_GetWheelDelta(*args, **kwargs) - def GetLinesPerAction(*args, **kwargs): return _core.MouseEvent_GetLinesPerAction(*args, **kwargs) - def IsPageScroll(*args, **kwargs): return _core.MouseEvent_IsPageScroll(*args, **kwargs) + def IsButton(*args, **kwargs): + """IsButton() -> bool""" + return _core.MouseEvent_IsButton(*args, **kwargs) + + def ButtonDown(*args, **kwargs): + """ButtonDown(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonDown(*args, **kwargs) + + def ButtonDClick(*args, **kwargs): + """ButtonDClick(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonDClick(*args, **kwargs) + + def ButtonUp(*args, **kwargs): + """ButtonUp(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonUp(*args, **kwargs) + + def Button(*args, **kwargs): + """Button(int but) -> bool""" + return _core.MouseEvent_Button(*args, **kwargs) + + def ButtonIsDown(*args, **kwargs): + """ButtonIsDown(int but) -> bool""" + return _core.MouseEvent_ButtonIsDown(*args, **kwargs) + + def GetButton(*args, **kwargs): + """GetButton() -> int""" + return _core.MouseEvent_GetButton(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _core.MouseEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _core.MouseEvent_MetaDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _core.MouseEvent_AltDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _core.MouseEvent_ShiftDown(*args, **kwargs) + + def LeftDown(*args, **kwargs): + """LeftDown() -> bool""" + return _core.MouseEvent_LeftDown(*args, **kwargs) + + def MiddleDown(*args, **kwargs): + """MiddleDown() -> bool""" + return _core.MouseEvent_MiddleDown(*args, **kwargs) + + def RightDown(*args, **kwargs): + """RightDown() -> bool""" + return _core.MouseEvent_RightDown(*args, **kwargs) + + def LeftUp(*args, **kwargs): + """LeftUp() -> bool""" + return _core.MouseEvent_LeftUp(*args, **kwargs) + + def MiddleUp(*args, **kwargs): + """MiddleUp() -> bool""" + return _core.MouseEvent_MiddleUp(*args, **kwargs) + + def RightUp(*args, **kwargs): + """RightUp() -> bool""" + return _core.MouseEvent_RightUp(*args, **kwargs) + + def LeftDClick(*args, **kwargs): + """LeftDClick() -> bool""" + return _core.MouseEvent_LeftDClick(*args, **kwargs) + + def MiddleDClick(*args, **kwargs): + """MiddleDClick() -> bool""" + return _core.MouseEvent_MiddleDClick(*args, **kwargs) + + def RightDClick(*args, **kwargs): + """RightDClick() -> bool""" + return _core.MouseEvent_RightDClick(*args, **kwargs) + + def LeftIsDown(*args, **kwargs): + """LeftIsDown() -> bool""" + return _core.MouseEvent_LeftIsDown(*args, **kwargs) + + def MiddleIsDown(*args, **kwargs): + """MiddleIsDown() -> bool""" + return _core.MouseEvent_MiddleIsDown(*args, **kwargs) + + def RightIsDown(*args, **kwargs): + """RightIsDown() -> bool""" + return _core.MouseEvent_RightIsDown(*args, **kwargs) + + def Dragging(*args, **kwargs): + """Dragging() -> bool""" + return _core.MouseEvent_Dragging(*args, **kwargs) + + def Moving(*args, **kwargs): + """Moving() -> bool""" + return _core.MouseEvent_Moving(*args, **kwargs) + + def Entering(*args, **kwargs): + """Entering() -> bool""" + return _core.MouseEvent_Entering(*args, **kwargs) + + def Leaving(*args, **kwargs): + """Leaving() -> bool""" + return _core.MouseEvent_Leaving(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Returns the position of the mouse in window coordinates when the event happened.""" + return _core.MouseEvent_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Returns the position of the mouse in window coordinates when the event happened.""" + return _core.MouseEvent_GetPositionTuple(*args, **kwargs) + + def GetLogicalPosition(*args, **kwargs): + """GetLogicalPosition(wxDC dc) -> Point""" + return _core.MouseEvent_GetLogicalPosition(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.MouseEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.MouseEvent_GetY(*args, **kwargs) + + def GetWheelRotation(*args, **kwargs): + """GetWheelRotation() -> int""" + return _core.MouseEvent_GetWheelRotation(*args, **kwargs) + + def GetWheelDelta(*args, **kwargs): + """GetWheelDelta() -> int""" + return _core.MouseEvent_GetWheelDelta(*args, **kwargs) + + def GetLinesPerAction(*args, **kwargs): + """GetLinesPerAction() -> int""" + return _core.MouseEvent_GetLinesPerAction(*args, **kwargs) + + def IsPageScroll(*args, **kwargs): + """IsPageScroll() -> bool""" + return _core.MouseEvent_IsPageScroll(*args, **kwargs) + m_x = property(_core.MouseEvent_m_x_get, _core.MouseEvent_m_x_set) m_y = property(_core.MouseEvent_m_y_get, _core.MouseEvent_m_y_set) m_leftDown = property(_core.MouseEvent_m_leftDown_get, _core.MouseEvent_m_leftDown_set) @@ -2160,8 +3343,6 @@ class MouseEvent(Event): m_wheelRotation = property(_core.MouseEvent_m_wheelRotation_get, _core.MouseEvent_m_wheelRotation_set) m_wheelDelta = property(_core.MouseEvent_m_wheelDelta_get, _core.MouseEvent_m_wheelDelta_set) m_linesPerAction = property(_core.MouseEvent_m_linesPerAction_get, _core.MouseEvent_m_linesPerAction_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MouseEventPtr(MouseEvent): def __init__(self, this): @@ -2173,18 +3354,35 @@ _core.MouseEvent_swigregister(MouseEventPtr) #--------------------------------------------------------------------------- class SetCursorEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0) -> SetCursorEvent""" newobj = _core.new_SetCursorEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetX(*args, **kwargs): return _core.SetCursorEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.SetCursorEvent_GetY(*args, **kwargs) - def SetCursor(*args, **kwargs): return _core.SetCursorEvent_SetCursor(*args, **kwargs) - def GetCursor(*args, **kwargs): return _core.SetCursorEvent_GetCursor(*args, **kwargs) - def HasCursor(*args, **kwargs): return _core.SetCursorEvent_HasCursor(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.SetCursorEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.SetCursorEvent_GetY(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor)""" + return _core.SetCursorEvent_SetCursor(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _core.SetCursorEvent_GetCursor(*args, **kwargs) + + def HasCursor(*args, **kwargs): + """HasCursor() -> bool""" + return _core.SetCursorEvent_HasCursor(*args, **kwargs) + class SetCursorEventPtr(SetCursorEvent): def __init__(self, this): @@ -2196,25 +3394,72 @@ _core.SetCursorEvent_swigregister(SetCursorEventPtr) #--------------------------------------------------------------------------- class KeyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent""" newobj = _core.new_KeyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def ControlDown(*args, **kwargs): return _core.KeyEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _core.KeyEvent_MetaDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _core.KeyEvent_AltDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _core.KeyEvent_ShiftDown(*args, **kwargs) - def HasModifiers(*args, **kwargs): return _core.KeyEvent_HasModifiers(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _core.KeyEvent_GetKeyCode(*args, **kwargs) + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _core.KeyEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _core.KeyEvent_MetaDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _core.KeyEvent_AltDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _core.KeyEvent_ShiftDown(*args, **kwargs) + + def HasModifiers(*args, **kwargs): + """HasModifiers() -> bool""" + return _core.KeyEvent_HasModifiers(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _core.KeyEvent_GetKeyCode(*args, **kwargs) + KeyCode = GetKeyCode - def GetUniChar(*args, **kwargs): return _core.KeyEvent_GetUniChar(*args, **kwargs) - def GetRawKeyCode(*args, **kwargs): return _core.KeyEvent_GetRawKeyCode(*args, **kwargs) - def GetRawKeyFlags(*args, **kwargs): return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.KeyEvent_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.KeyEvent_GetPositionTuple(*args, **kwargs) - def GetX(*args, **kwargs): return _core.KeyEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.KeyEvent_GetY(*args, **kwargs) + def GetUniChar(*args, **kwargs): + """GetUniChar() -> int""" + return _core.KeyEvent_GetUniChar(*args, **kwargs) + + def GetRawKeyCode(*args, **kwargs): + """GetRawKeyCode() -> unsigned int""" + return _core.KeyEvent_GetRawKeyCode(*args, **kwargs) + + def GetRawKeyFlags(*args, **kwargs): + """GetRawKeyFlags() -> unsigned int""" + return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Find the position of the event.""" + return _core.KeyEvent_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Find the position of the event.""" + return _core.KeyEvent_GetPositionTuple(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.KeyEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.KeyEvent_GetY(*args, **kwargs) + m_x = property(_core.KeyEvent_m_x_get, _core.KeyEvent_m_x_set) m_y = property(_core.KeyEvent_m_y_get, _core.KeyEvent_m_y_set) m_keyCode = property(_core.KeyEvent_m_keyCode_get, _core.KeyEvent_m_keyCode_set) @@ -2225,8 +3470,6 @@ class KeyEvent(Event): m_scanCode = property(_core.KeyEvent_m_scanCode_get, _core.KeyEvent_m_scanCode_set) m_rawCode = property(_core.KeyEvent_m_rawCode_get, _core.KeyEvent_m_rawCode_set) m_rawFlags = property(_core.KeyEvent_m_rawFlags_get, _core.KeyEvent_m_rawFlags_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class KeyEventPtr(KeyEvent): def __init__(self, this): @@ -2238,19 +3481,33 @@ _core.KeyEvent_swigregister(KeyEventPtr) #--------------------------------------------------------------------------- class SizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Size sz=DefaultSize, int winid=0) -> SizeEvent""" newobj = _core.new_SizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSize(*args, **kwargs): return _core.SizeEvent_GetSize(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.SizeEvent_GetRect(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.SizeEvent_SetRect(*args, **kwargs) - def SetSize(*args, **kwargs): return _core.SizeEvent_SetSize(*args, **kwargs) + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.SizeEvent_GetSize(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.SizeEvent_GetRect(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _core.SizeEvent_SetRect(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _core.SizeEvent_SetSize(*args, **kwargs) + m_size = property(_core.SizeEvent_m_size_get, _core.SizeEvent_m_size_set) m_rect = property(_core.SizeEvent_m_rect_get, _core.SizeEvent_m_rect_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SizeEventPtr(SizeEvent): def __init__(self, this): @@ -2262,19 +3519,33 @@ _core.SizeEvent_swigregister(SizeEventPtr) #--------------------------------------------------------------------------- class MoveEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent""" newobj = _core.new_MoveEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _core.MoveEvent_GetPosition(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.MoveEvent_GetRect(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.MoveEvent_SetRect(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.MoveEvent_SetPosition(*args, **kwargs) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.MoveEvent_GetPosition(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.MoveEvent_GetRect(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _core.MoveEvent_SetRect(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _core.MoveEvent_SetPosition(*args, **kwargs) + m_pos = property(_core.MoveEvent_m_pos_get, _core.MoveEvent_m_pos_set) m_rect = property(_core.MoveEvent_m_rect_get, _core.MoveEvent_m_rect_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MoveEventPtr(MoveEvent): def __init__(self, this): @@ -2286,13 +3557,15 @@ _core.MoveEvent_swigregister(MoveEventPtr) #--------------------------------------------------------------------------- class PaintEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0) -> PaintEvent""" newobj = _core.new_PaintEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PaintEventPtr(PaintEvent): def __init__(self, this): @@ -2302,13 +3575,15 @@ class PaintEventPtr(PaintEvent): _core.PaintEvent_swigregister(PaintEventPtr) class NcPaintEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0) -> NcPaintEvent""" newobj = _core.new_NcPaintEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class NcPaintEventPtr(NcPaintEvent): def __init__(self, this): @@ -2320,14 +3595,19 @@ _core.NcPaintEvent_swigregister(NcPaintEventPtr) #--------------------------------------------------------------------------- class EraseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0, wxDC dc=(wxDC *) NULL) -> EraseEvent""" newobj = _core.new_EraseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDC(*args, **kwargs): return _core.EraseEvent_GetDC(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _core.EraseEvent_GetDC(*args, **kwargs) + class EraseEventPtr(EraseEvent): def __init__(self, this): @@ -2339,15 +3619,23 @@ _core.EraseEvent_swigregister(EraseEventPtr) #--------------------------------------------------------------------------- class FocusEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent""" newobj = _core.new_FocusEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.FocusEvent_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.FocusEvent_SetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.FocusEvent_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window win)""" + return _core.FocusEvent_SetWindow(*args, **kwargs) + class FocusEventPtr(FocusEvent): def __init__(self, this): @@ -2359,14 +3647,19 @@ _core.FocusEvent_swigregister(FocusEventPtr) #--------------------------------------------------------------------------- class ChildFocusEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> ChildFocusEvent""" newobj = _core.new_ChildFocusEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.ChildFocusEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.ChildFocusEvent_GetWindow(*args, **kwargs) + class ChildFocusEventPtr(ChildFocusEvent): def __init__(self, this): @@ -2378,14 +3671,19 @@ _core.ChildFocusEvent_swigregister(ChildFocusEventPtr) #--------------------------------------------------------------------------- class ActivateEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent""" newobj = _core.new_ActivateEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetActive(*args, **kwargs): return _core.ActivateEvent_GetActive(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetActive(*args, **kwargs): + """GetActive() -> bool""" + return _core.ActivateEvent_GetActive(*args, **kwargs) + class ActivateEventPtr(ActivateEvent): def __init__(self, this): @@ -2397,13 +3695,15 @@ _core.ActivateEvent_swigregister(ActivateEventPtr) #--------------------------------------------------------------------------- class InitDialogEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0) -> InitDialogEvent""" newobj = _core.new_InitDialogEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class InitDialogEventPtr(InitDialogEvent): def __init__(self, this): @@ -2415,16 +3715,27 @@ _core.InitDialogEvent_swigregister(InitDialogEventPtr) #--------------------------------------------------------------------------- class MenuEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent""" newobj = _core.new_MenuEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMenuId(*args, **kwargs): return _core.MenuEvent_GetMenuId(*args, **kwargs) - def IsPopup(*args, **kwargs): return _core.MenuEvent_IsPopup(*args, **kwargs) - def GetMenu(*args, **kwargs): return _core.MenuEvent_GetMenu(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMenuId(*args, **kwargs): + """GetMenuId() -> int""" + return _core.MenuEvent_GetMenuId(*args, **kwargs) + + def IsPopup(*args, **kwargs): + """IsPopup() -> bool""" + return _core.MenuEvent_IsPopup(*args, **kwargs) + + def GetMenu(*args, **kwargs): + """GetMenu() -> Menu""" + return _core.MenuEvent_GetMenu(*args, **kwargs) + class MenuEventPtr(MenuEvent): def __init__(self, this): @@ -2436,19 +3747,39 @@ _core.MenuEvent_swigregister(MenuEventPtr) #--------------------------------------------------------------------------- class CloseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent""" newobj = _core.new_CloseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetLoggingOff(*args, **kwargs): return _core.CloseEvent_SetLoggingOff(*args, **kwargs) - def GetLoggingOff(*args, **kwargs): return _core.CloseEvent_GetLoggingOff(*args, **kwargs) - def Veto(*args, **kwargs): return _core.CloseEvent_Veto(*args, **kwargs) - def SetCanVeto(*args, **kwargs): return _core.CloseEvent_SetCanVeto(*args, **kwargs) - def CanVeto(*args, **kwargs): return _core.CloseEvent_CanVeto(*args, **kwargs) - def GetVeto(*args, **kwargs): return _core.CloseEvent_GetVeto(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetLoggingOff(*args, **kwargs): + """SetLoggingOff(bool logOff)""" + return _core.CloseEvent_SetLoggingOff(*args, **kwargs) + + def GetLoggingOff(*args, **kwargs): + """GetLoggingOff() -> bool""" + return _core.CloseEvent_GetLoggingOff(*args, **kwargs) + + def Veto(*args, **kwargs): + """Veto(bool veto=True)""" + return _core.CloseEvent_Veto(*args, **kwargs) + + def SetCanVeto(*args, **kwargs): + """SetCanVeto(bool canVeto)""" + return _core.CloseEvent_SetCanVeto(*args, **kwargs) + + def CanVeto(*args, **kwargs): + """CanVeto() -> bool""" + return _core.CloseEvent_CanVeto(*args, **kwargs) + + def GetVeto(*args, **kwargs): + """GetVeto() -> bool""" + return _core.CloseEvent_GetVeto(*args, **kwargs) + class CloseEventPtr(CloseEvent): def __init__(self, this): @@ -2460,15 +3791,23 @@ _core.CloseEvent_swigregister(CloseEventPtr) #--------------------------------------------------------------------------- class ShowEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, bool show=False) -> ShowEvent""" newobj = _core.new_ShowEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetShow(*args, **kwargs): return _core.ShowEvent_SetShow(*args, **kwargs) - def GetShow(*args, **kwargs): return _core.ShowEvent_GetShow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetShow(*args, **kwargs): + """SetShow(bool show)""" + return _core.ShowEvent_SetShow(*args, **kwargs) + + def GetShow(*args, **kwargs): + """GetShow() -> bool""" + return _core.ShowEvent_GetShow(*args, **kwargs) + class ShowEventPtr(ShowEvent): def __init__(self, this): @@ -2480,14 +3819,19 @@ _core.ShowEvent_swigregister(ShowEventPtr) #--------------------------------------------------------------------------- class IconizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, bool iconized=True) -> IconizeEvent""" newobj = _core.new_IconizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Iconized(*args, **kwargs): return _core.IconizeEvent_Iconized(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Iconized(*args, **kwargs): + """Iconized() -> bool""" + return _core.IconizeEvent_Iconized(*args, **kwargs) + class IconizeEventPtr(IconizeEvent): def __init__(self, this): @@ -2499,13 +3843,15 @@ _core.IconizeEvent_swigregister(IconizeEventPtr) #--------------------------------------------------------------------------- class MaximizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> MaximizeEvent""" newobj = _core.new_MaximizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MaximizeEventPtr(MaximizeEvent): def __init__(self, this): @@ -2517,12 +3863,22 @@ _core.MaximizeEvent_swigregister(MaximizeEventPtr) #--------------------------------------------------------------------------- class DropFilesEvent(Event): - def GetPosition(*args, **kwargs): return _core.DropFilesEvent_GetPosition(*args, **kwargs) - def GetNumberOfFiles(*args, **kwargs): return _core.DropFilesEvent_GetNumberOfFiles(*args, **kwargs) - def GetFiles(*args, **kwargs): return _core.DropFilesEvent_GetFiles(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.DropFilesEvent_GetPosition(*args, **kwargs) + + def GetNumberOfFiles(*args, **kwargs): + """GetNumberOfFiles() -> int""" + return _core.DropFilesEvent_GetNumberOfFiles(*args, **kwargs) + + def GetFiles(*args, **kwargs): + """GetFiles() -> PyObject""" + return _core.DropFilesEvent_GetFiles(*args, **kwargs) + class DropFilesEventPtr(DropFilesEvent): def __init__(self, this): @@ -2536,28 +3892,81 @@ _core.DropFilesEvent_swigregister(DropFilesEventPtr) UPDATE_UI_PROCESS_ALL = _core.UPDATE_UI_PROCESS_ALL UPDATE_UI_PROCESS_SPECIFIED = _core.UPDATE_UI_PROCESS_SPECIFIED class UpdateUIEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int commandId=0) -> UpdateUIEvent""" newobj = _core.new_UpdateUIEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetChecked(*args, **kwargs): return _core.UpdateUIEvent_GetChecked(*args, **kwargs) - def GetEnabled(*args, **kwargs): return _core.UpdateUIEvent_GetEnabled(*args, **kwargs) - def GetText(*args, **kwargs): return _core.UpdateUIEvent_GetText(*args, **kwargs) - def GetSetText(*args, **kwargs): return _core.UpdateUIEvent_GetSetText(*args, **kwargs) - def GetSetChecked(*args, **kwargs): return _core.UpdateUIEvent_GetSetChecked(*args, **kwargs) - def GetSetEnabled(*args, **kwargs): return _core.UpdateUIEvent_GetSetEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.UpdateUIEvent_Check(*args, **kwargs) - def Enable(*args, **kwargs): return _core.UpdateUIEvent_Enable(*args, **kwargs) - def SetText(*args, **kwargs): return _core.UpdateUIEvent_SetText(*args, **kwargs) - SetUpdateInterval = staticmethod(_core.UpdateUIEvent_SetUpdateInterval) - GetUpdateInterval = staticmethod(_core.UpdateUIEvent_GetUpdateInterval) - CanUpdate = staticmethod(_core.UpdateUIEvent_CanUpdate) - ResetUpdateTime = staticmethod(_core.UpdateUIEvent_ResetUpdateTime) - SetMode = staticmethod(_core.UpdateUIEvent_SetMode) - GetMode = staticmethod(_core.UpdateUIEvent_GetMode) - def __repr__(self): - return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetChecked(*args, **kwargs): + """GetChecked() -> bool""" + return _core.UpdateUIEvent_GetChecked(*args, **kwargs) + + def GetEnabled(*args, **kwargs): + """GetEnabled() -> bool""" + return _core.UpdateUIEvent_GetEnabled(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _core.UpdateUIEvent_GetText(*args, **kwargs) + + def GetSetText(*args, **kwargs): + """GetSetText() -> bool""" + return _core.UpdateUIEvent_GetSetText(*args, **kwargs) + + def GetSetChecked(*args, **kwargs): + """GetSetChecked() -> bool""" + return _core.UpdateUIEvent_GetSetChecked(*args, **kwargs) + + def GetSetEnabled(*args, **kwargs): + """GetSetEnabled() -> bool""" + return _core.UpdateUIEvent_GetSetEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(bool check)""" + return _core.UpdateUIEvent_Check(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable)""" + return _core.UpdateUIEvent_Enable(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _core.UpdateUIEvent_SetText(*args, **kwargs) + + def SetUpdateInterval(*args, **kwargs): + """UpdateUIEvent.SetUpdateInterval(long updateInterval)""" + return _core.UpdateUIEvent_SetUpdateInterval(*args, **kwargs) + + SetUpdateInterval = staticmethod(SetUpdateInterval) + def GetUpdateInterval(*args, **kwargs): + """UpdateUIEvent.GetUpdateInterval() -> long""" + return _core.UpdateUIEvent_GetUpdateInterval(*args, **kwargs) + + GetUpdateInterval = staticmethod(GetUpdateInterval) + def CanUpdate(*args, **kwargs): + """UpdateUIEvent.CanUpdate(Window win) -> bool""" + return _core.UpdateUIEvent_CanUpdate(*args, **kwargs) + + CanUpdate = staticmethod(CanUpdate) + def ResetUpdateTime(*args, **kwargs): + """UpdateUIEvent.ResetUpdateTime()""" + return _core.UpdateUIEvent_ResetUpdateTime(*args, **kwargs) + + ResetUpdateTime = staticmethod(ResetUpdateTime) + def SetMode(*args, **kwargs): + """UpdateUIEvent.SetMode(wxUpdateUIMode mode)""" + return _core.UpdateUIEvent_SetMode(*args, **kwargs) + + SetMode = staticmethod(SetMode) + def GetMode(*args, **kwargs): + """UpdateUIEvent.GetMode() -> wxUpdateUIMode""" + return _core.UpdateUIEvent_GetMode(*args, **kwargs) + + GetMode = staticmethod(GetMode) class UpdateUIEventPtr(UpdateUIEvent): def __init__(self, this): @@ -2566,28 +3975,42 @@ class UpdateUIEventPtr(UpdateUIEvent): self.__class__ = UpdateUIEvent _core.UpdateUIEvent_swigregister(UpdateUIEventPtr) -UpdateUIEvent_SetUpdateInterval = _core.UpdateUIEvent_SetUpdateInterval +def UpdateUIEvent_SetUpdateInterval(*args, **kwargs): + """UpdateUIEvent_SetUpdateInterval(long updateInterval)""" + return _core.UpdateUIEvent_SetUpdateInterval(*args, **kwargs) -UpdateUIEvent_GetUpdateInterval = _core.UpdateUIEvent_GetUpdateInterval +def UpdateUIEvent_GetUpdateInterval(*args, **kwargs): + """UpdateUIEvent_GetUpdateInterval() -> long""" + return _core.UpdateUIEvent_GetUpdateInterval(*args, **kwargs) -UpdateUIEvent_CanUpdate = _core.UpdateUIEvent_CanUpdate +def UpdateUIEvent_CanUpdate(*args, **kwargs): + """UpdateUIEvent_CanUpdate(Window win) -> bool""" + return _core.UpdateUIEvent_CanUpdate(*args, **kwargs) -UpdateUIEvent_ResetUpdateTime = _core.UpdateUIEvent_ResetUpdateTime +def UpdateUIEvent_ResetUpdateTime(*args, **kwargs): + """UpdateUIEvent_ResetUpdateTime()""" + return _core.UpdateUIEvent_ResetUpdateTime(*args, **kwargs) -UpdateUIEvent_SetMode = _core.UpdateUIEvent_SetMode +def UpdateUIEvent_SetMode(*args, **kwargs): + """UpdateUIEvent_SetMode(wxUpdateUIMode mode)""" + return _core.UpdateUIEvent_SetMode(*args, **kwargs) -UpdateUIEvent_GetMode = _core.UpdateUIEvent_GetMode +def UpdateUIEvent_GetMode(*args, **kwargs): + """UpdateUIEvent_GetMode() -> wxUpdateUIMode""" + return _core.UpdateUIEvent_GetMode(*args, **kwargs) #--------------------------------------------------------------------------- class SysColourChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SysColourChangedEvent""" newobj = _core.new_SysColourChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SysColourChangedEventPtr(SysColourChangedEvent): def __init__(self, this): @@ -2599,14 +4022,19 @@ _core.SysColourChangedEvent_swigregister(SysColourChangedEventPtr) #--------------------------------------------------------------------------- class MouseCaptureChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent""" newobj = _core.new_MouseCaptureChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetCapturedWindow(*args, **kwargs): return _core.MouseCaptureChangedEvent_GetCapturedWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetCapturedWindow(*args, **kwargs): + """GetCapturedWindow() -> Window""" + return _core.MouseCaptureChangedEvent_GetCapturedWindow(*args, **kwargs) + class MouseCaptureChangedEventPtr(MouseCaptureChangedEvent): def __init__(self, this): @@ -2618,13 +4046,15 @@ _core.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr) #--------------------------------------------------------------------------- class DisplayChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> DisplayChangedEvent""" newobj = _core.new_DisplayChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class DisplayChangedEventPtr(DisplayChangedEvent): def __init__(self, this): @@ -2636,15 +4066,23 @@ _core.DisplayChangedEvent_swigregister(DisplayChangedEventPtr) #--------------------------------------------------------------------------- class PaletteChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> PaletteChangedEvent""" newobj = _core.new_PaletteChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetChangedWindow(*args, **kwargs): return _core.PaletteChangedEvent_SetChangedWindow(*args, **kwargs) - def GetChangedWindow(*args, **kwargs): return _core.PaletteChangedEvent_GetChangedWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetChangedWindow(*args, **kwargs): + """SetChangedWindow(Window win)""" + return _core.PaletteChangedEvent_SetChangedWindow(*args, **kwargs) + + def GetChangedWindow(*args, **kwargs): + """GetChangedWindow() -> Window""" + return _core.PaletteChangedEvent_GetChangedWindow(*args, **kwargs) + class PaletteChangedEventPtr(PaletteChangedEvent): def __init__(self, this): @@ -2656,15 +4094,23 @@ _core.PaletteChangedEvent_swigregister(PaletteChangedEventPtr) #--------------------------------------------------------------------------- class QueryNewPaletteEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0) -> QueryNewPaletteEvent""" newobj = _core.new_QueryNewPaletteEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetPaletteRealized(*args, **kwargs): return _core.QueryNewPaletteEvent_SetPaletteRealized(*args, **kwargs) - def GetPaletteRealized(*args, **kwargs): return _core.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetPaletteRealized(*args, **kwargs): + """SetPaletteRealized(bool realized)""" + return _core.QueryNewPaletteEvent_SetPaletteRealized(*args, **kwargs) + + def GetPaletteRealized(*args, **kwargs): + """GetPaletteRealized() -> bool""" + return _core.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs) + class QueryNewPaletteEventPtr(QueryNewPaletteEvent): def __init__(self, this): @@ -2676,19 +4122,39 @@ _core.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr) #--------------------------------------------------------------------------- class NavigationKeyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> NavigationKeyEvent""" newobj = _core.new_NavigationKeyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDirection(*args, **kwargs): return _core.NavigationKeyEvent_GetDirection(*args, **kwargs) - def SetDirection(*args, **kwargs): return _core.NavigationKeyEvent_SetDirection(*args, **kwargs) - def IsWindowChange(*args, **kwargs): return _core.NavigationKeyEvent_IsWindowChange(*args, **kwargs) - def SetWindowChange(*args, **kwargs): return _core.NavigationKeyEvent_SetWindowChange(*args, **kwargs) - def GetCurrentFocus(*args, **kwargs): return _core.NavigationKeyEvent_GetCurrentFocus(*args, **kwargs) - def SetCurrentFocus(*args, **kwargs): return _core.NavigationKeyEvent_SetCurrentFocus(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDirection(*args, **kwargs): + """GetDirection() -> bool""" + return _core.NavigationKeyEvent_GetDirection(*args, **kwargs) + + def SetDirection(*args, **kwargs): + """SetDirection(bool bForward)""" + return _core.NavigationKeyEvent_SetDirection(*args, **kwargs) + + def IsWindowChange(*args, **kwargs): + """IsWindowChange() -> bool""" + return _core.NavigationKeyEvent_IsWindowChange(*args, **kwargs) + + def SetWindowChange(*args, **kwargs): + """SetWindowChange(bool bIs)""" + return _core.NavigationKeyEvent_SetWindowChange(*args, **kwargs) + + def GetCurrentFocus(*args, **kwargs): + """GetCurrentFocus() -> Window""" + return _core.NavigationKeyEvent_GetCurrentFocus(*args, **kwargs) + + def SetCurrentFocus(*args, **kwargs): + """SetCurrentFocus(Window win)""" + return _core.NavigationKeyEvent_SetCurrentFocus(*args, **kwargs) + class NavigationKeyEventPtr(NavigationKeyEvent): def __init__(self, this): @@ -2700,14 +4166,19 @@ _core.NavigationKeyEvent_swigregister(NavigationKeyEventPtr) #--------------------------------------------------------------------------- class WindowCreateEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> WindowCreateEvent""" newobj = _core.new_WindowCreateEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.WindowCreateEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.WindowCreateEvent_GetWindow(*args, **kwargs) + class WindowCreateEventPtr(WindowCreateEvent): def __init__(self, this): @@ -2717,14 +4188,19 @@ class WindowCreateEventPtr(WindowCreateEvent): _core.WindowCreateEvent_swigregister(WindowCreateEventPtr) class WindowDestroyEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> WindowDestroyEvent""" newobj = _core.new_WindowDestroyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.WindowDestroyEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.WindowDestroyEvent_GetWindow(*args, **kwargs) + class WindowDestroyEventPtr(WindowDestroyEvent): def __init__(self, this): @@ -2736,15 +4212,23 @@ _core.WindowDestroyEvent_swigregister(WindowDestroyEventPtr) #--------------------------------------------------------------------------- class ContextMenuEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent""" newobj = _core.new_ContextMenuEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _core.ContextMenuEvent_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ContextMenuEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.ContextMenuEvent_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _core.ContextMenuEvent_SetPosition(*args, **kwargs) + class ContextMenuEventPtr(ContextMenuEvent): def __init__(self, this): @@ -2758,18 +4242,38 @@ _core.ContextMenuEvent_swigregister(ContextMenuEventPtr) IDLE_PROCESS_ALL = _core.IDLE_PROCESS_ALL IDLE_PROCESS_SPECIFIED = _core.IDLE_PROCESS_SPECIFIED class IdleEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> IdleEvent""" newobj = _core.new_IdleEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def RequestMore(*args, **kwargs): return _core.IdleEvent_RequestMore(*args, **kwargs) - def MoreRequested(*args, **kwargs): return _core.IdleEvent_MoreRequested(*args, **kwargs) - SetMode = staticmethod(_core.IdleEvent_SetMode) - GetMode = staticmethod(_core.IdleEvent_GetMode) - CanSend = staticmethod(_core.IdleEvent_CanSend) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def RequestMore(*args, **kwargs): + """RequestMore(bool needMore=True)""" + return _core.IdleEvent_RequestMore(*args, **kwargs) + + def MoreRequested(*args, **kwargs): + """MoreRequested() -> bool""" + return _core.IdleEvent_MoreRequested(*args, **kwargs) + + def SetMode(*args, **kwargs): + """IdleEvent.SetMode(wxIdleMode mode)""" + return _core.IdleEvent_SetMode(*args, **kwargs) + + SetMode = staticmethod(SetMode) + def GetMode(*args, **kwargs): + """IdleEvent.GetMode() -> wxIdleMode""" + return _core.IdleEvent_GetMode(*args, **kwargs) + + GetMode = staticmethod(GetMode) + def CanSend(*args, **kwargs): + """IdleEvent.CanSend(Window win) -> bool""" + return _core.IdleEvent_CanSend(*args, **kwargs) + + CanSend = staticmethod(CanSend) class IdleEventPtr(IdleEvent): def __init__(self, this): @@ -2778,29 +4282,46 @@ class IdleEventPtr(IdleEvent): self.__class__ = IdleEvent _core.IdleEvent_swigregister(IdleEventPtr) -IdleEvent_SetMode = _core.IdleEvent_SetMode +def IdleEvent_SetMode(*args, **kwargs): + """IdleEvent_SetMode(wxIdleMode mode)""" + return _core.IdleEvent_SetMode(*args, **kwargs) -IdleEvent_GetMode = _core.IdleEvent_GetMode +def IdleEvent_GetMode(*args, **kwargs): + """IdleEvent_GetMode() -> wxIdleMode""" + return _core.IdleEvent_GetMode(*args, **kwargs) -IdleEvent_CanSend = _core.IdleEvent_CanSend +def IdleEvent_CanSend(*args, **kwargs): + """IdleEvent_CanSend(Window win) -> bool""" + return _core.IdleEvent_CanSend(*args, **kwargs) #--------------------------------------------------------------------------- class PyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent""" newobj = _core.new_PyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self.SetSelf(self) + def __del__(self, destroy=_core.delete_PyEvent): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelf(*args, **kwargs): return _core.PyEvent_SetSelf(*args, **kwargs) - def GetSelf(*args, **kwargs): return _core.PyEvent_GetSelf(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelf(*args, **kwargs): + """SetSelf(PyObject self)""" + return _core.PyEvent_SetSelf(*args, **kwargs) + + def GetSelf(*args, **kwargs): + """GetSelf() -> PyObject""" + return _core.PyEvent_GetSelf(*args, **kwargs) + class PyEventPtr(PyEvent): def __init__(self, this): @@ -2810,20 +4331,31 @@ class PyEventPtr(PyEvent): _core.PyEvent_swigregister(PyEventPtr) class PyCommandEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent""" newobj = _core.new_PyCommandEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self.SetSelf(self) + def __del__(self, destroy=_core.delete_PyCommandEvent): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelf(*args, **kwargs): return _core.PyCommandEvent_SetSelf(*args, **kwargs) - def GetSelf(*args, **kwargs): return _core.PyCommandEvent_GetSelf(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelf(*args, **kwargs): + """SetSelf(PyObject self)""" + return _core.PyCommandEvent_SetSelf(*args, **kwargs) + + def GetSelf(*args, **kwargs): + """GetSelf() -> PyObject""" + return _core.PyCommandEvent_GetSelf(*args, **kwargs) + class PyCommandEventPtr(PyCommandEvent): def __init__(self, this): @@ -2841,61 +4373,205 @@ PYAPP_ASSERT_LOG = _core.PYAPP_ASSERT_LOG PRINT_WINDOWS = _core.PRINT_WINDOWS PRINT_POSTSCRIPT = _core.PRINT_POSTSCRIPT class PyApp(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyApp""" newobj = _core.new_PyApp(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyApp) self._setOORInfo(self) + def __del__(self, destroy=_core.delete_PyApp): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _core.PyApp__setCallbackInfo(*args, **kwargs) - def GetAppName(*args, **kwargs): return _core.PyApp_GetAppName(*args, **kwargs) - def SetAppName(*args, **kwargs): return _core.PyApp_SetAppName(*args, **kwargs) - def GetClassName(*args, **kwargs): return _core.PyApp_GetClassName(*args, **kwargs) - def SetClassName(*args, **kwargs): return _core.PyApp_SetClassName(*args, **kwargs) - def GetVendorName(*args, **kwargs): return _core.PyApp_GetVendorName(*args, **kwargs) - def SetVendorName(*args, **kwargs): return _core.PyApp_SetVendorName(*args, **kwargs) - def GetTraits(*args, **kwargs): return _core.PyApp_GetTraits(*args, **kwargs) - def ProcessPendingEvents(*args, **kwargs): return _core.PyApp_ProcessPendingEvents(*args, **kwargs) - def Yield(*args, **kwargs): return _core.PyApp_Yield(*args, **kwargs) - def WakeUpIdle(*args, **kwargs): return _core.PyApp_WakeUpIdle(*args, **kwargs) - def MainLoop(*args, **kwargs): return _core.PyApp_MainLoop(*args, **kwargs) - def Exit(*args, **kwargs): return _core.PyApp_Exit(*args, **kwargs) - def ExitMainLoop(*args, **kwargs): return _core.PyApp_ExitMainLoop(*args, **kwargs) - def Pending(*args, **kwargs): return _core.PyApp_Pending(*args, **kwargs) - def Dispatch(*args, **kwargs): return _core.PyApp_Dispatch(*args, **kwargs) - def ProcessIdle(*args, **kwargs): return _core.PyApp_ProcessIdle(*args, **kwargs) - def SendIdleEvents(*args, **kwargs): return _core.PyApp_SendIdleEvents(*args, **kwargs) - def OnIdle(*args, **kwargs): return _core.PyApp_OnIdle(*args, **kwargs) - def IsActive(*args, **kwargs): return _core.PyApp_IsActive(*args, **kwargs) - def SetTopWindow(*args, **kwargs): return _core.PyApp_SetTopWindow(*args, **kwargs) - def GetTopWindow(*args, **kwargs): return _core.PyApp_GetTopWindow(*args, **kwargs) - def SetExitOnFrameDelete(*args, **kwargs): return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) - def GetExitOnFrameDelete(*args, **kwargs): return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) - def SetUseBestVisual(*args, **kwargs): return _core.PyApp_SetUseBestVisual(*args, **kwargs) - def GetUseBestVisual(*args, **kwargs): return _core.PyApp_GetUseBestVisual(*args, **kwargs) - def SetPrintMode(*args, **kwargs): return _core.PyApp_SetPrintMode(*args, **kwargs) - def GetPrintMode(*args, **kwargs): return _core.PyApp_GetPrintMode(*args, **kwargs) - def GetAssertMode(*args, **kwargs): return _core.PyApp_GetAssertMode(*args, **kwargs) - def SetAssertMode(*args, **kwargs): return _core.PyApp_SetAssertMode(*args, **kwargs) - GetMacSupportPCMenuShortcuts = staticmethod(_core.PyApp_GetMacSupportPCMenuShortcuts) - GetMacAboutMenuItemId = staticmethod(_core.PyApp_GetMacAboutMenuItemId) - GetMacPreferencesMenuItemId = staticmethod(_core.PyApp_GetMacPreferencesMenuItemId) - GetMacExitMenuItemId = staticmethod(_core.PyApp_GetMacExitMenuItemId) - GetMacHelpMenuTitleName = staticmethod(_core.PyApp_GetMacHelpMenuTitleName) - SetMacSupportPCMenuShortcuts = staticmethod(_core.PyApp_SetMacSupportPCMenuShortcuts) - SetMacAboutMenuItemId = staticmethod(_core.PyApp_SetMacAboutMenuItemId) - SetMacPreferencesMenuItemId = staticmethod(_core.PyApp_SetMacPreferencesMenuItemId) - SetMacExitMenuItemId = staticmethod(_core.PyApp_SetMacExitMenuItemId) - SetMacHelpMenuTitleName = staticmethod(_core.PyApp_SetMacHelpMenuTitleName) - def _BootstrapApp(*args, **kwargs): return _core.PyApp__BootstrapApp(*args, **kwargs) - GetComCtl32Version = staticmethod(_core.PyApp_GetComCtl32Version) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.PyApp__setCallbackInfo(*args, **kwargs) + + def GetAppName(*args, **kwargs): + """GetAppName() -> wxString""" + return _core.PyApp_GetAppName(*args, **kwargs) + + def SetAppName(*args, **kwargs): + """SetAppName(wxString name)""" + return _core.PyApp_SetAppName(*args, **kwargs) + + def GetClassName(*args, **kwargs): + """GetClassName() -> wxString + +Returns the class name of the C++ object using wxRTTI.""" + return _core.PyApp_GetClassName(*args, **kwargs) + + def SetClassName(*args, **kwargs): + """SetClassName(wxString name)""" + return _core.PyApp_SetClassName(*args, **kwargs) + + def GetVendorName(*args, **kwargs): + """GetVendorName() -> wxString""" + return _core.PyApp_GetVendorName(*args, **kwargs) + + def SetVendorName(*args, **kwargs): + """SetVendorName(wxString name)""" + return _core.PyApp_SetVendorName(*args, **kwargs) + + def GetTraits(*args, **kwargs): + """GetTraits() -> wxAppTraits""" + return _core.PyApp_GetTraits(*args, **kwargs) + + def ProcessPendingEvents(*args, **kwargs): + """ProcessPendingEvents()""" + return _core.PyApp_ProcessPendingEvents(*args, **kwargs) + + def Yield(*args, **kwargs): + """Yield(bool onlyIfNeeded=False) -> bool""" + return _core.PyApp_Yield(*args, **kwargs) + + def WakeUpIdle(*args, **kwargs): + """WakeUpIdle()""" + return _core.PyApp_WakeUpIdle(*args, **kwargs) + + def MainLoop(*args, **kwargs): + """MainLoop() -> int""" + return _core.PyApp_MainLoop(*args, **kwargs) + + def Exit(*args, **kwargs): + """Exit()""" + return _core.PyApp_Exit(*args, **kwargs) + + def ExitMainLoop(*args, **kwargs): + """ExitMainLoop()""" + return _core.PyApp_ExitMainLoop(*args, **kwargs) + + def Pending(*args, **kwargs): + """Pending() -> bool""" + return _core.PyApp_Pending(*args, **kwargs) + + def Dispatch(*args, **kwargs): + """Dispatch() -> bool""" + return _core.PyApp_Dispatch(*args, **kwargs) + + def ProcessIdle(*args, **kwargs): + """ProcessIdle() -> bool""" + return _core.PyApp_ProcessIdle(*args, **kwargs) + + def SendIdleEvents(*args, **kwargs): + """SendIdleEvents(Window win, IdleEvent event) -> bool""" + return _core.PyApp_SendIdleEvents(*args, **kwargs) + + def OnIdle(*args, **kwargs): + """OnIdle(IdleEvent event)""" + return _core.PyApp_OnIdle(*args, **kwargs) + + def IsActive(*args, **kwargs): + """IsActive() -> bool""" + return _core.PyApp_IsActive(*args, **kwargs) + + def SetTopWindow(*args, **kwargs): + """SetTopWindow(Window win)""" + return _core.PyApp_SetTopWindow(*args, **kwargs) + + def GetTopWindow(*args, **kwargs): + """GetTopWindow() -> Window""" + return _core.PyApp_GetTopWindow(*args, **kwargs) + + def SetExitOnFrameDelete(*args, **kwargs): + """SetExitOnFrameDelete(bool flag)""" + return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) + + def GetExitOnFrameDelete(*args, **kwargs): + """GetExitOnFrameDelete() -> bool""" + return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) + + def SetUseBestVisual(*args, **kwargs): + """SetUseBestVisual(bool flag)""" + return _core.PyApp_SetUseBestVisual(*args, **kwargs) + + def GetUseBestVisual(*args, **kwargs): + """GetUseBestVisual() -> bool""" + return _core.PyApp_GetUseBestVisual(*args, **kwargs) + + def SetPrintMode(*args, **kwargs): + """SetPrintMode(int mode)""" + return _core.PyApp_SetPrintMode(*args, **kwargs) + + def GetPrintMode(*args, **kwargs): + """GetPrintMode() -> int""" + return _core.PyApp_GetPrintMode(*args, **kwargs) + + def GetAssertMode(*args, **kwargs): + """GetAssertMode() -> int""" + return _core.PyApp_GetAssertMode(*args, **kwargs) + + def SetAssertMode(*args, **kwargs): + """SetAssertMode(int mode)""" + return _core.PyApp_SetAssertMode(*args, **kwargs) + + def GetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp.GetMacSupportPCMenuShortcuts() -> bool""" + return _core.PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs) + + GetMacSupportPCMenuShortcuts = staticmethod(GetMacSupportPCMenuShortcuts) + def GetMacAboutMenuItemId(*args, **kwargs): + """PyApp.GetMacAboutMenuItemId() -> long""" + return _core.PyApp_GetMacAboutMenuItemId(*args, **kwargs) + + GetMacAboutMenuItemId = staticmethod(GetMacAboutMenuItemId) + def GetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp.GetMacPreferencesMenuItemId() -> long""" + return _core.PyApp_GetMacPreferencesMenuItemId(*args, **kwargs) + + GetMacPreferencesMenuItemId = staticmethod(GetMacPreferencesMenuItemId) + def GetMacExitMenuItemId(*args, **kwargs): + """PyApp.GetMacExitMenuItemId() -> long""" + return _core.PyApp_GetMacExitMenuItemId(*args, **kwargs) + + GetMacExitMenuItemId = staticmethod(GetMacExitMenuItemId) + def GetMacHelpMenuTitleName(*args, **kwargs): + """PyApp.GetMacHelpMenuTitleName() -> wxString""" + return _core.PyApp_GetMacHelpMenuTitleName(*args, **kwargs) + + GetMacHelpMenuTitleName = staticmethod(GetMacHelpMenuTitleName) + def SetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp.SetMacSupportPCMenuShortcuts(bool val)""" + return _core.PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs) + + SetMacSupportPCMenuShortcuts = staticmethod(SetMacSupportPCMenuShortcuts) + def SetMacAboutMenuItemId(*args, **kwargs): + """PyApp.SetMacAboutMenuItemId(long val)""" + return _core.PyApp_SetMacAboutMenuItemId(*args, **kwargs) + + SetMacAboutMenuItemId = staticmethod(SetMacAboutMenuItemId) + def SetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp.SetMacPreferencesMenuItemId(long val)""" + return _core.PyApp_SetMacPreferencesMenuItemId(*args, **kwargs) + + SetMacPreferencesMenuItemId = staticmethod(SetMacPreferencesMenuItemId) + def SetMacExitMenuItemId(*args, **kwargs): + """PyApp.SetMacExitMenuItemId(long val)""" + return _core.PyApp_SetMacExitMenuItemId(*args, **kwargs) + + SetMacExitMenuItemId = staticmethod(SetMacExitMenuItemId) + def SetMacHelpMenuTitleName(*args, **kwargs): + """PyApp.SetMacHelpMenuTitleName(wxString val)""" + return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) + + SetMacHelpMenuTitleName = staticmethod(SetMacHelpMenuTitleName) + def _BootstrapApp(*args, **kwargs): + """_BootstrapApp()""" + return _core.PyApp__BootstrapApp(*args, **kwargs) + + def GetComCtl32Version(*args, **kwargs): + """PyApp.GetComCtl32Version() -> int""" + return _core.PyApp_GetComCtl32Version(*args, **kwargs) + + GetComCtl32Version = staticmethod(GetComCtl32Version) class PyAppPtr(PyApp): def __init__(self, this): @@ -2904,46 +4580,84 @@ class PyAppPtr(PyApp): self.__class__ = PyApp _core.PyApp_swigregister(PyAppPtr) -PyApp_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts +def PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp_GetMacSupportPCMenuShortcuts() -> bool""" + return _core.PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs) -PyApp_GetMacAboutMenuItemId = _core.PyApp_GetMacAboutMenuItemId +def PyApp_GetMacAboutMenuItemId(*args, **kwargs): + """PyApp_GetMacAboutMenuItemId() -> long""" + return _core.PyApp_GetMacAboutMenuItemId(*args, **kwargs) -PyApp_GetMacPreferencesMenuItemId = _core.PyApp_GetMacPreferencesMenuItemId +def PyApp_GetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp_GetMacPreferencesMenuItemId() -> long""" + return _core.PyApp_GetMacPreferencesMenuItemId(*args, **kwargs) -PyApp_GetMacExitMenuItemId = _core.PyApp_GetMacExitMenuItemId +def PyApp_GetMacExitMenuItemId(*args, **kwargs): + """PyApp_GetMacExitMenuItemId() -> long""" + return _core.PyApp_GetMacExitMenuItemId(*args, **kwargs) -PyApp_GetMacHelpMenuTitleName = _core.PyApp_GetMacHelpMenuTitleName +def PyApp_GetMacHelpMenuTitleName(*args, **kwargs): + """PyApp_GetMacHelpMenuTitleName() -> wxString""" + return _core.PyApp_GetMacHelpMenuTitleName(*args, **kwargs) -PyApp_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts +def PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp_SetMacSupportPCMenuShortcuts(bool val)""" + return _core.PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs) -PyApp_SetMacAboutMenuItemId = _core.PyApp_SetMacAboutMenuItemId +def PyApp_SetMacAboutMenuItemId(*args, **kwargs): + """PyApp_SetMacAboutMenuItemId(long val)""" + return _core.PyApp_SetMacAboutMenuItemId(*args, **kwargs) -PyApp_SetMacPreferencesMenuItemId = _core.PyApp_SetMacPreferencesMenuItemId +def PyApp_SetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp_SetMacPreferencesMenuItemId(long val)""" + return _core.PyApp_SetMacPreferencesMenuItemId(*args, **kwargs) -PyApp_SetMacExitMenuItemId = _core.PyApp_SetMacExitMenuItemId +def PyApp_SetMacExitMenuItemId(*args, **kwargs): + """PyApp_SetMacExitMenuItemId(long val)""" + return _core.PyApp_SetMacExitMenuItemId(*args, **kwargs) -PyApp_SetMacHelpMenuTitleName = _core.PyApp_SetMacHelpMenuTitleName +def PyApp_SetMacHelpMenuTitleName(*args, **kwargs): + """PyApp_SetMacHelpMenuTitleName(wxString val)""" + return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) -PyApp_GetComCtl32Version = _core.PyApp_GetComCtl32Version +def PyApp_GetComCtl32Version(*args, **kwargs): + """PyApp_GetComCtl32Version() -> int""" + return _core.PyApp_GetComCtl32Version(*args, **kwargs) #--------------------------------------------------------------------------- -Exit = _core.Exit +def Exit(*args, **kwargs): + """Exit()""" + return _core.Exit(*args, **kwargs) -Yield = _core.Yield +def Yield(*args, **kwargs): + """Yield() -> bool""" + return _core.Yield(*args, **kwargs) -YieldIfNeeded = _core.YieldIfNeeded +def YieldIfNeeded(*args, **kwargs): + """YieldIfNeeded() -> bool""" + return _core.YieldIfNeeded(*args, **kwargs) -SafeYield = _core.SafeYield +def SafeYield(*args, **kwargs): + """SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool""" + return _core.SafeYield(*args, **kwargs) -WakeUpIdle = _core.WakeUpIdle +def WakeUpIdle(*args, **kwargs): + """WakeUpIdle()""" + return _core.WakeUpIdle(*args, **kwargs) -PostEvent = _core.PostEvent +def PostEvent(*args, **kwargs): + """PostEvent(EvtHandler dest, Event event)""" + return _core.PostEvent(*args, **kwargs) -App_CleanUp = _core.App_CleanUp +def App_CleanUp(*args, **kwargs): + """App_CleanUp()""" + return _core.App_CleanUp(*args, **kwargs) -GetApp = _core.GetApp +def GetApp(*args, **kwargs): + """GetApp() -> PyApp""" + return _core.GetApp(*args, **kwargs) #---------------------------------------------------------------------- class PyOnDemandOutputWindow: @@ -3130,372 +4844,1200 @@ _sys.__wxPythonCleanup = __wxPyCleanup() #--------------------------------------------------------------------------- class Window(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> Window""" newobj = _core.new_Window(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _core.Window_Create(*args, **kwargs) - def Close(*args, **kwargs): return _core.Window_Close(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Window_Destroy(*args, **kwargs) - def DestroyChildren(*args, **kwargs): return _core.Window_DestroyChildren(*args, **kwargs) - def IsBeingDeleted(*args, **kwargs): return _core.Window_IsBeingDeleted(*args, **kwargs) - def SetTitle(*args, **kwargs): return _core.Window_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _core.Window_GetTitle(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Window_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Window_GetLabel(*args, **kwargs) - def SetName(*args, **kwargs): return _core.Window_SetName(*args, **kwargs) - def GetName(*args, **kwargs): return _core.Window_GetName(*args, **kwargs) - def SetId(*args, **kwargs): return _core.Window_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _core.Window_GetId(*args, **kwargs) - NewControlId = staticmethod(_core.Window_NewControlId) - NextControlId = staticmethod(_core.Window_NextControlId) - PrevControlId = staticmethod(_core.Window_PrevControlId) - def SetSize(*args, **kwargs): return _core.Window_SetSize(*args, **kwargs) - def SetDimensions(*args, **kwargs): return _core.Window_SetDimensions(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.Window_SetRect(*args, **kwargs) - def SetSizeWH(*args, **kwargs): return _core.Window_SetSizeWH(*args, **kwargs) - def Move(*args, **kwargs): return _core.Window_Move(*args, **kwargs) - SetPosition = Move - def MoveXY(*args, **kwargs): return _core.Window_MoveXY(*args, **kwargs) - def Raise(*args, **kwargs): return _core.Window_Raise(*args, **kwargs) - def Lower(*args, **kwargs): return _core.Window_Lower(*args, **kwargs) - def SetClientSize(*args, **kwargs): return _core.Window_SetClientSize(*args, **kwargs) - def SetClientSizeWH(*args, **kwargs): return _core.Window_SetClientSizeWH(*args, **kwargs) - def SetClientRect(*args, **kwargs): return _core.Window_SetClientRect(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Window_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.Window_GetPositionTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Window_GetSize(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _core.Window_GetSizeTuple(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.Window_GetRect(*args, **kwargs) - def GetClientSize(*args, **kwargs): return _core.Window_GetClientSize(*args, **kwargs) - def GetClientSizeTuple(*args, **kwargs): return _core.Window_GetClientSizeTuple(*args, **kwargs) - def GetClientAreaOrigin(*args, **kwargs): return _core.Window_GetClientAreaOrigin(*args, **kwargs) - def GetClientRect(*args, **kwargs): return _core.Window_GetClientRect(*args, **kwargs) - def GetBestSize(*args, **kwargs): return _core.Window_GetBestSize(*args, **kwargs) - def GetBestSizeTuple(*args, **kwargs): return _core.Window_GetBestSizeTuple(*args, **kwargs) - def GetAdjustedBestSize(*args, **kwargs): return _core.Window_GetAdjustedBestSize(*args, **kwargs) - def Center(*args, **kwargs): return _core.Window_Center(*args, **kwargs) - Centre = Center - def CenterOnScreen(*args, **kwargs): return _core.Window_CenterOnScreen(*args, **kwargs) - CentreOnScreen = CenterOnScreen - def CenterOnParent(*args, **kwargs): return _core.Window_CenterOnParent(*args, **kwargs) - CentreOnParent = CenterOnParent - def Fit(*args, **kwargs): return _core.Window_Fit(*args, **kwargs) - def FitInside(*args, **kwargs): return _core.Window_FitInside(*args, **kwargs) - def SetSizeHints(*args, **kwargs): return _core.Window_SetSizeHints(*args, **kwargs) - def SetVirtualSizeHints(*args, **kwargs): return _core.Window_SetVirtualSizeHints(*args, **kwargs) - def GetMinWidth(*args, **kwargs): return _core.Window_GetMinWidth(*args, **kwargs) - def GetMinHeight(*args, **kwargs): return _core.Window_GetMinHeight(*args, **kwargs) - def GetMaxWidth(*args, **kwargs): return _core.Window_GetMaxWidth(*args, **kwargs) - def GetMaxHeight(*args, **kwargs): return _core.Window_GetMaxHeight(*args, **kwargs) - def GetMaxSize(*args, **kwargs): return _core.Window_GetMaxSize(*args, **kwargs) - def SetVirtualSize(*args, **kwargs): return _core.Window_SetVirtualSize(*args, **kwargs) - def SetVirtualSizeWH(*args, **kwargs): return _core.Window_SetVirtualSizeWH(*args, **kwargs) - def GetVirtualSize(*args, **kwargs): return _core.Window_GetVirtualSize(*args, **kwargs) - def GetVirtualSizeTuple(*args, **kwargs): return _core.Window_GetVirtualSizeTuple(*args, **kwargs) - def GetBestVirtualSize(*args, **kwargs): return _core.Window_GetBestVirtualSize(*args, **kwargs) - def Show(*args, **kwargs): return _core.Window_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _core.Window_Hide(*args, **kwargs) - def Enable(*args, **kwargs): return _core.Window_Enable(*args, **kwargs) - def Disable(*args, **kwargs): return _core.Window_Disable(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.Window_IsShown(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.Window_IsEnabled(*args, **kwargs) - def SetWindowStyleFlag(*args, **kwargs): return _core.Window_SetWindowStyleFlag(*args, **kwargs) - def GetWindowStyleFlag(*args, **kwargs): return _core.Window_GetWindowStyleFlag(*args, **kwargs) - def SetWindowStyle(*args, **kwargs): return _core.Window_SetWindowStyle(*args, **kwargs) - def GetWindowStyle(*args, **kwargs): return _core.Window_GetWindowStyle(*args, **kwargs) - def HasFlag(*args, **kwargs): return _core.Window_HasFlag(*args, **kwargs) - def IsRetained(*args, **kwargs): return _core.Window_IsRetained(*args, **kwargs) - def SetExtraStyle(*args, **kwargs): return _core.Window_SetExtraStyle(*args, **kwargs) - def GetExtraStyle(*args, **kwargs): return _core.Window_GetExtraStyle(*args, **kwargs) - def MakeModal(*args, **kwargs): return _core.Window_MakeModal(*args, **kwargs) - def SetThemeEnabled(*args, **kwargs): return _core.Window_SetThemeEnabled(*args, **kwargs) - def GetThemeEnabled(*args, **kwargs): return _core.Window_GetThemeEnabled(*args, **kwargs) - def ShouldInheritColours(*args, **kwargs): return _core.Window_ShouldInheritColours(*args, **kwargs) - def SetFocus(*args, **kwargs): return _core.Window_SetFocus(*args, **kwargs) - def SetFocusFromKbd(*args, **kwargs): return _core.Window_SetFocusFromKbd(*args, **kwargs) - FindFocus = staticmethod(_core.Window_FindFocus) - def AcceptsFocus(*args, **kwargs): return _core.Window_AcceptsFocus(*args, **kwargs) - def AcceptsFocusFromKeyboard(*args, **kwargs): return _core.Window_AcceptsFocusFromKeyboard(*args, **kwargs) - def GetDefaultItem(*args, **kwargs): return _core.Window_GetDefaultItem(*args, **kwargs) - def SetDefaultItem(*args, **kwargs): return _core.Window_SetDefaultItem(*args, **kwargs) - def SetTmpDefaultItem(*args, **kwargs): return _core.Window_SetTmpDefaultItem(*args, **kwargs) - def GetChildren(*args, **kwargs): return _core.Window_GetChildren(*args, **kwargs) - def GetParent(*args, **kwargs): return _core.Window_GetParent(*args, **kwargs) - def GetGrandParent(*args, **kwargs): return _core.Window_GetGrandParent(*args, **kwargs) - def IsTopLevel(*args, **kwargs): return _core.Window_IsTopLevel(*args, **kwargs) - def Reparent(*args, **kwargs): return _core.Window_Reparent(*args, **kwargs) - def AddChild(*args, **kwargs): return _core.Window_AddChild(*args, **kwargs) - def RemoveChild(*args, **kwargs): return _core.Window_RemoveChild(*args, **kwargs) - def FindWindowById(*args, **kwargs): return _core.Window_FindWindowById(*args, **kwargs) - def FindWindowByName(*args, **kwargs): return _core.Window_FindWindowByName(*args, **kwargs) - def GetEventHandler(*args, **kwargs): return _core.Window_GetEventHandler(*args, **kwargs) - def SetEventHandler(*args, **kwargs): return _core.Window_SetEventHandler(*args, **kwargs) - def PushEventHandler(*args, **kwargs): return _core.Window_PushEventHandler(*args, **kwargs) - def PopEventHandler(*args, **kwargs): return _core.Window_PopEventHandler(*args, **kwargs) - def RemoveEventHandler(*args, **kwargs): return _core.Window_RemoveEventHandler(*args, **kwargs) - def SetValidator(*args, **kwargs): return _core.Window_SetValidator(*args, **kwargs) - def GetValidator(*args, **kwargs): return _core.Window_GetValidator(*args, **kwargs) - def SetAcceleratorTable(*args, **kwargs): return _core.Window_SetAcceleratorTable(*args, **kwargs) - def GetAcceleratorTable(*args, **kwargs): return _core.Window_GetAcceleratorTable(*args, **kwargs) - def RegisterHotKey(*args, **kwargs): return _core.Window_RegisterHotKey(*args, **kwargs) - def UnregisterHotKey(*args, **kwargs): return _core.Window_UnregisterHotKey(*args, **kwargs) - def ConvertDialogPointToPixels(*args, **kwargs): return _core.Window_ConvertDialogPointToPixels(*args, **kwargs) - def ConvertDialogSizeToPixels(*args, **kwargs): return _core.Window_ConvertDialogSizeToPixels(*args, **kwargs) - def DLG_PNT(*args, **kwargs): return _core.Window_DLG_PNT(*args, **kwargs) - def DLG_SZE(*args, **kwargs): return _core.Window_DLG_SZE(*args, **kwargs) - def ConvertPixelPointToDialog(*args, **kwargs): return _core.Window_ConvertPixelPointToDialog(*args, **kwargs) - def ConvertPixelSizeToDialog(*args, **kwargs): return _core.Window_ConvertPixelSizeToDialog(*args, **kwargs) - def WarpPointer(*args, **kwargs): return _core.Window_WarpPointer(*args, **kwargs) - def CaptureMouse(*args, **kwargs): return _core.Window_CaptureMouse(*args, **kwargs) - def ReleaseMouse(*args, **kwargs): return _core.Window_ReleaseMouse(*args, **kwargs) - GetCapture = staticmethod(_core.Window_GetCapture) - def HasCapture(*args, **kwargs): return _core.Window_HasCapture(*args, **kwargs) - def Refresh(*args, **kwargs): return _core.Window_Refresh(*args, **kwargs) - def RefreshRect(*args, **kwargs): return _core.Window_RefreshRect(*args, **kwargs) - def Update(*args, **kwargs): return _core.Window_Update(*args, **kwargs) - def ClearBackground(*args, **kwargs): return _core.Window_ClearBackground(*args, **kwargs) - def Freeze(*args, **kwargs): return _core.Window_Freeze(*args, **kwargs) - def Thaw(*args, **kwargs): return _core.Window_Thaw(*args, **kwargs) - def PrepareDC(*args, **kwargs): return _core.Window_PrepareDC(*args, **kwargs) - def GetUpdateRegion(*args, **kwargs): return _core.Window_GetUpdateRegion(*args, **kwargs) - def GetUpdateClientRect(*args, **kwargs): return _core.Window_GetUpdateClientRect(*args, **kwargs) - def IsExposed(*args, **kwargs): return _core.Window_IsExposed(*args, **kwargs) - def IsExposedPoint(*args, **kwargs): return _core.Window_IsExposedPoint(*args, **kwargs) - def isExposedRect(*args, **kwargs): return _core.Window_isExposedRect(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _core.Window_SetBackgroundColour(*args, **kwargs) - def SetForegroundColour(*args, **kwargs): return _core.Window_SetForegroundColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _core.Window_GetBackgroundColour(*args, **kwargs) - def GetForegroundColour(*args, **kwargs): return _core.Window_GetForegroundColour(*args, **kwargs) - def SetCursor(*args, **kwargs): return _core.Window_SetCursor(*args, **kwargs) - def GetCursor(*args, **kwargs): return _core.Window_GetCursor(*args, **kwargs) - def SetFont(*args, **kwargs): return _core.Window_SetFont(*args, **kwargs) - def GetFont(*args, **kwargs): return _core.Window_GetFont(*args, **kwargs) - def SetCaret(*args, **kwargs): return _core.Window_SetCaret(*args, **kwargs) - def GetCaret(*args, **kwargs): return _core.Window_GetCaret(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _core.Window_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _core.Window_GetCharWidth(*args, **kwargs) - def GetTextExtent(*args, **kwargs): return _core.Window_GetTextExtent(*args, **kwargs) - def GetFullTextExtent(*args, **kwargs): return _core.Window_GetFullTextExtent(*args, **kwargs) - def ClientToScreenXY(*args, **kwargs): return _core.Window_ClientToScreenXY(*args, **kwargs) - def ScreenToClientXY(*args, **kwargs): return _core.Window_ScreenToClientXY(*args, **kwargs) - def ClientToScreen(*args, **kwargs): return _core.Window_ClientToScreen(*args, **kwargs) - def ScreenToClient(*args, **kwargs): return _core.Window_ScreenToClient(*args, **kwargs) - def HitTestXY(*args, **kwargs): return _core.Window_HitTestXY(*args, **kwargs) - def HitTest(*args, **kwargs): return _core.Window_HitTest(*args, **kwargs) - def GetBorderFlags(*args, **kwargs): return _core.Window_GetBorderFlags(*args, **kwargs) - def GetBorder(*args, **kwargs): return _core.Window_GetBorder(*args, **kwargs) - def UpdateWindowUI(*args, **kwargs): return _core.Window_UpdateWindowUI(*args, **kwargs) - def PopupMenuXY(*args, **kwargs): return _core.Window_PopupMenuXY(*args, **kwargs) - def PopupMenu(*args, **kwargs): return _core.Window_PopupMenu(*args, **kwargs) - def GetHandle(*args, **kwargs): return _core.Window_GetHandle(*args, **kwargs) - def HasScrollbar(*args, **kwargs): return _core.Window_HasScrollbar(*args, **kwargs) - def SetScrollbar(*args, **kwargs): return _core.Window_SetScrollbar(*args, **kwargs) - def SetScrollPos(*args, **kwargs): return _core.Window_SetScrollPos(*args, **kwargs) - def GetScrollPos(*args, **kwargs): return _core.Window_GetScrollPos(*args, **kwargs) - def GetScrollThumb(*args, **kwargs): return _core.Window_GetScrollThumb(*args, **kwargs) - def GetScrollRange(*args, **kwargs): return _core.Window_GetScrollRange(*args, **kwargs) - def ScrollWindow(*args, **kwargs): return _core.Window_ScrollWindow(*args, **kwargs) - def ScrollLines(*args, **kwargs): return _core.Window_ScrollLines(*args, **kwargs) - def ScrollPages(*args, **kwargs): return _core.Window_ScrollPages(*args, **kwargs) - def LineUp(*args, **kwargs): return _core.Window_LineUp(*args, **kwargs) - def LineDown(*args, **kwargs): return _core.Window_LineDown(*args, **kwargs) - def PageUp(*args, **kwargs): return _core.Window_PageUp(*args, **kwargs) - def PageDown(*args, **kwargs): return _core.Window_PageDown(*args, **kwargs) - def SetHelpText(*args, **kwargs): return _core.Window_SetHelpText(*args, **kwargs) - def SetHelpTextForId(*args, **kwargs): return _core.Window_SetHelpTextForId(*args, **kwargs) - def GetHelpText(*args, **kwargs): return _core.Window_GetHelpText(*args, **kwargs) - def SetToolTipString(*args, **kwargs): return _core.Window_SetToolTipString(*args, **kwargs) - def SetToolTip(*args, **kwargs): return _core.Window_SetToolTip(*args, **kwargs) - def GetToolTip(*args, **kwargs): return _core.Window_GetToolTip(*args, **kwargs) - def SetDropTarget(*args, **kwargs): - val = _core.Window_SetDropTarget(*args, **kwargs) - args[1].thisown = 0 - return val - def GetDropTarget(*args, **kwargs): return _core.Window_GetDropTarget(*args, **kwargs) - def SetConstraints(*args, **kwargs): return _core.Window_SetConstraints(*args, **kwargs) - def GetConstraints(*args, **kwargs): return _core.Window_GetConstraints(*args, **kwargs) - def SetAutoLayout(*args, **kwargs): return _core.Window_SetAutoLayout(*args, **kwargs) - def GetAutoLayout(*args, **kwargs): return _core.Window_GetAutoLayout(*args, **kwargs) - def Layout(*args, **kwargs): return _core.Window_Layout(*args, **kwargs) - def SetSizer(*args, **kwargs): return _core.Window_SetSizer(*args, **kwargs) - def SetSizerAndFit(*args, **kwargs): return _core.Window_SetSizerAndFit(*args, **kwargs) - def GetSizer(*args, **kwargs): return _core.Window_GetSizer(*args, **kwargs) - def SetContainingSizer(*args, **kwargs): return _core.Window_SetContainingSizer(*args, **kwargs) - def GetContainingSizer(*args, **kwargs): return _core.Window_GetContainingSizer(*args, **kwargs) - def PostCreate(self, pre): - """Phase 3 of the 2-phase create - Call this method after precreating the window with the 2-phase create method.""" - self.this = pre.this - self.thisown = pre.thisown - pre.thisown = 0 - if hasattr(self, '_setOORInfo'): - self._setOORInfo(self) - if hasattr(self, '_setCallbackInfo'): - self._setCallbackInfo(self, self.__class__) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> bool""" + return _core.Window_Create(*args, **kwargs) -class WindowPtr(Window): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Window -_core.Window_swigregister(WindowPtr) + def Close(*args, **kwargs): + """Close(bool force=False) -> bool""" + return _core.Window_Close(*args, **kwargs) -def PreWindow(*args, **kwargs): - val = _core.new_PreWindow(*args, **kwargs) - val.thisown = 1 - return val + def Destroy(*args, **kwargs): + """Destroy() -> bool -Window_NewControlId = _core.Window_NewControlId +Deletes the C++ object this Python object is a proxy for.""" + return _core.Window_Destroy(*args, **kwargs) -Window_NextControlId = _core.Window_NextControlId + def DestroyChildren(*args, **kwargs): + """DestroyChildren() -> bool""" + return _core.Window_DestroyChildren(*args, **kwargs) -Window_PrevControlId = _core.Window_PrevControlId + def IsBeingDeleted(*args, **kwargs): + """IsBeingDeleted() -> bool""" + return _core.Window_IsBeingDeleted(*args, **kwargs) -Window_FindFocus = _core.Window_FindFocus + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _core.Window_SetTitle(*args, **kwargs) -Window_GetCapture = _core.Window_GetCapture + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _core.Window_GetTitle(*args, **kwargs) -def DLG_PNT(win, point_or_x, y=None): - if y is None: - return win.ConvertDialogPointToPixels(point_or_x) - else: - return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _core.Window_SetLabel(*args, **kwargs) -def DLG_SZE(win, size_width, height=None): - if height is None: - return win.ConvertDialogSizeToPixels(size_width) - else: - return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.Window_GetLabel(*args, **kwargs) + def SetName(*args, **kwargs): + """SetName(wxString name)""" + return _core.Window_SetName(*args, **kwargs) -FindWindowById = _core.FindWindowById + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _core.Window_GetName(*args, **kwargs) -FindWindowByName = _core.FindWindowByName + def SetId(*args, **kwargs): + """SetId(int winid)""" + return _core.Window_SetId(*args, **kwargs) -FindWindowByLabel = _core.FindWindowByLabel + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.Window_GetId(*args, **kwargs) -Window_FromHWND = _core.Window_FromHWND -#--------------------------------------------------------------------------- + def NewControlId(*args, **kwargs): + """Window.NewControlId() -> int""" + return _core.Window_NewControlId(*args, **kwargs) -class Validator(EvtHandler): - def __init__(self, *args, **kwargs): - newobj = _core.new_Validator(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - self._setOORInfo(self) - def Clone(*args, **kwargs): return _core.Validator_Clone(*args, **kwargs) - def Validate(*args, **kwargs): return _core.Validator_Validate(*args, **kwargs) - def TransferToWindow(*args, **kwargs): return _core.Validator_TransferToWindow(*args, **kwargs) - def TransferFromWindow(*args, **kwargs): return _core.Validator_TransferFromWindow(*args, **kwargs) - def GetWindow(*args, **kwargs): return _core.Validator_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.Validator_SetWindow(*args, **kwargs) - IsSilent = staticmethod(_core.Validator_IsSilent) - SetBellOnError = staticmethod(_core.Validator_SetBellOnError) - def __repr__(self): - return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + NewControlId = staticmethod(NewControlId) + def NextControlId(*args, **kwargs): + """Window.NextControlId(int winid) -> int""" + return _core.Window_NextControlId(*args, **kwargs) -class ValidatorPtr(Validator): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Validator -_core.Validator_swigregister(ValidatorPtr) + NextControlId = staticmethod(NextControlId) + def PrevControlId(*args, **kwargs): + """Window.PrevControlId(int winid) -> int""" + return _core.Window_PrevControlId(*args, **kwargs) -Validator_IsSilent = _core.Validator_IsSilent + PrevControlId = staticmethod(PrevControlId) + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _core.Window_SetSize(*args, **kwargs) -Validator_SetBellOnError = _core.Validator_SetBellOnError + def SetDimensions(*args, **kwargs): + """SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _core.Window_SetDimensions(*args, **kwargs) -class PyValidator(Validator): - def __init__(self, *args, **kwargs): - newobj = _core.new_PyValidator(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - - self._setCallbackInfo(self, PyValidator, 1) - self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _core.PyValidator__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetRect(*args, **kwargs): + """SetRect(Rect rect, int sizeFlags=SIZE_AUTO)""" + return _core.Window_SetRect(*args, **kwargs) -class PyValidatorPtr(PyValidator): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = PyValidator -_core.PyValidator_swigregister(PyValidatorPtr) + def SetSizeWH(*args, **kwargs): + """SetSizeWH(int width, int height)""" + return _core.Window_SetSizeWH(*args, **kwargs) -#--------------------------------------------------------------------------- + def Move(*args, **kwargs): + """Move(Point pt, int flags=SIZE_USE_EXISTING)""" + return _core.Window_Move(*args, **kwargs) -class Menu(EvtHandler): - def __init__(self, *args, **kwargs): - newobj = _core.new_Menu(*args, **kwargs) + SetPosition = Move + def MoveXY(*args, **kwargs): + """MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)""" + return _core.Window_MoveXY(*args, **kwargs) + + def Raise(*args, **kwargs): + """Raise()""" + return _core.Window_Raise(*args, **kwargs) + + def Lower(*args, **kwargs): + """Lower()""" + return _core.Window_Lower(*args, **kwargs) + + def SetClientSize(*args, **kwargs): + """SetClientSize(Size size)""" + return _core.Window_SetClientSize(*args, **kwargs) + + def SetClientSizeWH(*args, **kwargs): + """SetClientSizeWH(int width, int height)""" + return _core.Window_SetClientSizeWH(*args, **kwargs) + + def SetClientRect(*args, **kwargs): + """SetClientRect(Rect rect)""" + return _core.Window_SetClientRect(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Get the window's position.""" + return _core.Window_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Get the window's position.""" + return _core.Window_GetPositionTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size + +Get the window size.""" + return _core.Window_GetSize(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple() -> (width, height) + +Get the window size.""" + return _core.Window_GetSizeTuple(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.Window_GetRect(*args, **kwargs) + + def GetClientSize(*args, **kwargs): + """GetClientSize() -> Size + +Get the window's client size.""" + return _core.Window_GetClientSize(*args, **kwargs) + + def GetClientSizeTuple(*args, **kwargs): + """GetClientSizeTuple() -> (width, height) + +Get the window's client size.""" + return _core.Window_GetClientSizeTuple(*args, **kwargs) + + def GetClientAreaOrigin(*args, **kwargs): + """GetClientAreaOrigin() -> Point""" + return _core.Window_GetClientAreaOrigin(*args, **kwargs) + + def GetClientRect(*args, **kwargs): + """GetClientRect() -> Rect""" + return _core.Window_GetClientRect(*args, **kwargs) + + def GetBestSize(*args, **kwargs): + """GetBestSize() -> Size + +Get the size best suited for the window (in fact, minimal acceptable size +using which it will still look "nice")""" + return _core.Window_GetBestSize(*args, **kwargs) + + def GetBestSizeTuple(*args, **kwargs): + """GetBestSizeTuple() -> (width, height) + +Get the size best suited for the window (in fact, minimal acceptable size +using which it will still look "nice")""" + return _core.Window_GetBestSizeTuple(*args, **kwargs) + + def GetAdjustedBestSize(*args, **kwargs): + """GetAdjustedBestSize() -> Size""" + return _core.Window_GetAdjustedBestSize(*args, **kwargs) + + def Center(*args, **kwargs): + """Center(int direction=BOTH)""" + return _core.Window_Center(*args, **kwargs) + + Centre = Center + def CenterOnScreen(*args, **kwargs): + """CenterOnScreen(int dir=BOTH)""" + return _core.Window_CenterOnScreen(*args, **kwargs) + + CentreOnScreen = CenterOnScreen + def CenterOnParent(*args, **kwargs): + """CenterOnParent(int dir=BOTH)""" + return _core.Window_CenterOnParent(*args, **kwargs) + + CentreOnParent = CenterOnParent + def Fit(*args, **kwargs): + """Fit()""" + return _core.Window_Fit(*args, **kwargs) + + def FitInside(*args, **kwargs): + """FitInside()""" + return _core.Window_FitInside(*args, **kwargs) + + def SetSizeHints(*args, **kwargs): + """SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, + int incH=-1)""" + return _core.Window_SetSizeHints(*args, **kwargs) + + def SetVirtualSizeHints(*args, **kwargs): + """SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)""" + return _core.Window_SetVirtualSizeHints(*args, **kwargs) + + def GetMinWidth(*args, **kwargs): + """GetMinWidth() -> int""" + return _core.Window_GetMinWidth(*args, **kwargs) + + def GetMinHeight(*args, **kwargs): + """GetMinHeight() -> int""" + return _core.Window_GetMinHeight(*args, **kwargs) + + def GetMaxWidth(*args, **kwargs): + """GetMaxWidth() -> int""" + return _core.Window_GetMaxWidth(*args, **kwargs) + + def GetMaxHeight(*args, **kwargs): + """GetMaxHeight() -> int""" + return _core.Window_GetMaxHeight(*args, **kwargs) + + def GetMaxSize(*args, **kwargs): + """GetMaxSize() -> Size""" + return _core.Window_GetMaxSize(*args, **kwargs) + + def SetVirtualSize(*args, **kwargs): + """SetVirtualSize(Size size) + +Set the the virtual size of a window. For most windows this is just the +client area of the window, but for some like scrolled windows it is more or +less independent of the screen window size.""" + return _core.Window_SetVirtualSize(*args, **kwargs) + + def SetVirtualSizeWH(*args, **kwargs): + """SetVirtualSizeWH(int w, int h) + +Set the the virtual size of a window. For most windows this is just the +client area of the window, but for some like scrolled windows it is more or +less independent of the screen window size.""" + return _core.Window_SetVirtualSizeWH(*args, **kwargs) + + def GetVirtualSize(*args, **kwargs): + """GetVirtualSize() -> Size + +Get the the virtual size of the window. For most windows this is just +the client area of the window, but for some like scrolled windows it is +more or less independent of the screen window size.""" + return _core.Window_GetVirtualSize(*args, **kwargs) + + def GetVirtualSizeTuple(*args, **kwargs): + """GetVirtualSizeTuple() -> (width, height) + +Get the the virtual size of the window. For most windows this is just +the client area of the window, but for some like scrolled windows it is +more or less independent of the screen window size.""" + return _core.Window_GetVirtualSizeTuple(*args, **kwargs) + + def GetBestVirtualSize(*args, **kwargs): + """GetBestVirtualSize() -> Size""" + return _core.Window_GetBestVirtualSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show=True) -> bool""" + return _core.Window_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide() -> bool""" + return _core.Window_Hide(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True) -> bool""" + return _core.Window_Enable(*args, **kwargs) + + def Disable(*args, **kwargs): + """Disable() -> bool""" + return _core.Window_Disable(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown() -> bool""" + return _core.Window_IsShown(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _core.Window_IsEnabled(*args, **kwargs) + + def SetWindowStyleFlag(*args, **kwargs): + """SetWindowStyleFlag(long style)""" + return _core.Window_SetWindowStyleFlag(*args, **kwargs) + + def GetWindowStyleFlag(*args, **kwargs): + """GetWindowStyleFlag() -> long""" + return _core.Window_GetWindowStyleFlag(*args, **kwargs) + + def SetWindowStyle(*args, **kwargs): + """SetWindowStyle(long style)""" + return _core.Window_SetWindowStyle(*args, **kwargs) + + def GetWindowStyle(*args, **kwargs): + """GetWindowStyle() -> long""" + return _core.Window_GetWindowStyle(*args, **kwargs) + + def HasFlag(*args, **kwargs): + """HasFlag(int flag) -> bool""" + return _core.Window_HasFlag(*args, **kwargs) + + def IsRetained(*args, **kwargs): + """IsRetained() -> bool""" + return _core.Window_IsRetained(*args, **kwargs) + + def SetExtraStyle(*args, **kwargs): + """SetExtraStyle(long exStyle)""" + return _core.Window_SetExtraStyle(*args, **kwargs) + + def GetExtraStyle(*args, **kwargs): + """GetExtraStyle() -> long""" + return _core.Window_GetExtraStyle(*args, **kwargs) + + def MakeModal(*args, **kwargs): + """MakeModal(bool modal=True)""" + return _core.Window_MakeModal(*args, **kwargs) + + def SetThemeEnabled(*args, **kwargs): + """SetThemeEnabled(bool enableTheme)""" + return _core.Window_SetThemeEnabled(*args, **kwargs) + + def GetThemeEnabled(*args, **kwargs): + """GetThemeEnabled() -> bool""" + return _core.Window_GetThemeEnabled(*args, **kwargs) + + def ShouldInheritColours(*args, **kwargs): + """ShouldInheritColours() -> bool""" + return _core.Window_ShouldInheritColours(*args, **kwargs) + + def SetFocus(*args, **kwargs): + """SetFocus()""" + return _core.Window_SetFocus(*args, **kwargs) + + def SetFocusFromKbd(*args, **kwargs): + """SetFocusFromKbd()""" + return _core.Window_SetFocusFromKbd(*args, **kwargs) + + def FindFocus(*args, **kwargs): + """Window.FindFocus() -> Window""" + return _core.Window_FindFocus(*args, **kwargs) + + FindFocus = staticmethod(FindFocus) + def AcceptsFocus(*args, **kwargs): + """AcceptsFocus() -> bool""" + return _core.Window_AcceptsFocus(*args, **kwargs) + + def AcceptsFocusFromKeyboard(*args, **kwargs): + """AcceptsFocusFromKeyboard() -> bool""" + return _core.Window_AcceptsFocusFromKeyboard(*args, **kwargs) + + def GetDefaultItem(*args, **kwargs): + """GetDefaultItem() -> Window""" + return _core.Window_GetDefaultItem(*args, **kwargs) + + def SetDefaultItem(*args, **kwargs): + """SetDefaultItem(Window child) -> Window""" + return _core.Window_SetDefaultItem(*args, **kwargs) + + def SetTmpDefaultItem(*args, **kwargs): + """SetTmpDefaultItem(Window win)""" + return _core.Window_SetTmpDefaultItem(*args, **kwargs) + + def GetChildren(*args, **kwargs): + """GetChildren() -> PyObject""" + return _core.Window_GetChildren(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> Window""" + return _core.Window_GetParent(*args, **kwargs) + + def GetGrandParent(*args, **kwargs): + """GetGrandParent() -> Window""" + return _core.Window_GetGrandParent(*args, **kwargs) + + def IsTopLevel(*args, **kwargs): + """IsTopLevel() -> bool""" + return _core.Window_IsTopLevel(*args, **kwargs) + + def Reparent(*args, **kwargs): + """Reparent(Window newParent) -> bool""" + return _core.Window_Reparent(*args, **kwargs) + + def AddChild(*args, **kwargs): + """AddChild(Window child)""" + return _core.Window_AddChild(*args, **kwargs) + + def RemoveChild(*args, **kwargs): + """RemoveChild(Window child)""" + return _core.Window_RemoveChild(*args, **kwargs) + + def FindWindowById(*args, **kwargs): + """FindWindowById(long winid) -> Window""" + return _core.Window_FindWindowById(*args, **kwargs) + + def FindWindowByName(*args, **kwargs): + """FindWindowByName(wxString name) -> Window""" + return _core.Window_FindWindowByName(*args, **kwargs) + + def GetEventHandler(*args, **kwargs): + """GetEventHandler() -> EvtHandler""" + return _core.Window_GetEventHandler(*args, **kwargs) + + def SetEventHandler(*args, **kwargs): + """SetEventHandler(EvtHandler handler)""" + return _core.Window_SetEventHandler(*args, **kwargs) + + def PushEventHandler(*args, **kwargs): + """PushEventHandler(EvtHandler handler)""" + return _core.Window_PushEventHandler(*args, **kwargs) + + def PopEventHandler(*args, **kwargs): + """PopEventHandler(bool deleteHandler=False) -> EvtHandler""" + return _core.Window_PopEventHandler(*args, **kwargs) + + def RemoveEventHandler(*args, **kwargs): + """RemoveEventHandler(EvtHandler handler) -> bool""" + return _core.Window_RemoveEventHandler(*args, **kwargs) + + def SetValidator(*args, **kwargs): + """SetValidator(Validator validator)""" + return _core.Window_SetValidator(*args, **kwargs) + + def GetValidator(*args, **kwargs): + """GetValidator() -> Validator""" + return _core.Window_GetValidator(*args, **kwargs) + + def SetAcceleratorTable(*args, **kwargs): + """SetAcceleratorTable(wxAcceleratorTable accel)""" + return _core.Window_SetAcceleratorTable(*args, **kwargs) + + def GetAcceleratorTable(*args, **kwargs): + """GetAcceleratorTable() -> wxAcceleratorTable""" + return _core.Window_GetAcceleratorTable(*args, **kwargs) + + def RegisterHotKey(*args, **kwargs): + """RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool""" + return _core.Window_RegisterHotKey(*args, **kwargs) + + def UnregisterHotKey(*args, **kwargs): + """UnregisterHotKey(int hotkeyId) -> bool""" + return _core.Window_UnregisterHotKey(*args, **kwargs) + + def ConvertDialogPointToPixels(*args, **kwargs): + """ConvertDialogPointToPixels(Point pt) -> Point""" + return _core.Window_ConvertDialogPointToPixels(*args, **kwargs) + + def ConvertDialogSizeToPixels(*args, **kwargs): + """ConvertDialogSizeToPixels(Size sz) -> Size""" + return _core.Window_ConvertDialogSizeToPixels(*args, **kwargs) + + def DLG_PNT(*args, **kwargs): + """DLG_PNT(Point pt) -> Point""" + return _core.Window_DLG_PNT(*args, **kwargs) + + def DLG_SZE(*args, **kwargs): + """DLG_SZE(Size sz) -> Size""" + return _core.Window_DLG_SZE(*args, **kwargs) + + def ConvertPixelPointToDialog(*args, **kwargs): + """ConvertPixelPointToDialog(Point pt) -> Point""" + return _core.Window_ConvertPixelPointToDialog(*args, **kwargs) + + def ConvertPixelSizeToDialog(*args, **kwargs): + """ConvertPixelSizeToDialog(Size sz) -> Size""" + return _core.Window_ConvertPixelSizeToDialog(*args, **kwargs) + + def WarpPointer(*args, **kwargs): + """WarpPointer(int x, int y)""" + return _core.Window_WarpPointer(*args, **kwargs) + + def CaptureMouse(*args, **kwargs): + """CaptureMouse()""" + return _core.Window_CaptureMouse(*args, **kwargs) + + def ReleaseMouse(*args, **kwargs): + """ReleaseMouse()""" + return _core.Window_ReleaseMouse(*args, **kwargs) + + def GetCapture(*args, **kwargs): + """Window.GetCapture() -> Window""" + return _core.Window_GetCapture(*args, **kwargs) + + GetCapture = staticmethod(GetCapture) + def HasCapture(*args, **kwargs): + """HasCapture() -> bool""" + return _core.Window_HasCapture(*args, **kwargs) + + def Refresh(*args, **kwargs): + """Refresh(bool eraseBackground=True, Rect rect=None)""" + return _core.Window_Refresh(*args, **kwargs) + + def RefreshRect(*args, **kwargs): + """RefreshRect(Rect rect)""" + return _core.Window_RefreshRect(*args, **kwargs) + + def Update(*args, **kwargs): + """Update()""" + return _core.Window_Update(*args, **kwargs) + + def ClearBackground(*args, **kwargs): + """ClearBackground()""" + return _core.Window_ClearBackground(*args, **kwargs) + + def Freeze(*args, **kwargs): + """Freeze()""" + return _core.Window_Freeze(*args, **kwargs) + + def Thaw(*args, **kwargs): + """Thaw()""" + return _core.Window_Thaw(*args, **kwargs) + + def PrepareDC(*args, **kwargs): + """PrepareDC(wxDC dc)""" + return _core.Window_PrepareDC(*args, **kwargs) + + def GetUpdateRegion(*args, **kwargs): + """GetUpdateRegion() -> wxRegion""" + return _core.Window_GetUpdateRegion(*args, **kwargs) + + def GetUpdateClientRect(*args, **kwargs): + """GetUpdateClientRect() -> Rect""" + return _core.Window_GetUpdateClientRect(*args, **kwargs) + + def IsExposed(*args, **kwargs): + """IsExposed(int x, int y, int w=1, int h=1) -> bool""" + return _core.Window_IsExposed(*args, **kwargs) + + def IsExposedPoint(*args, **kwargs): + """IsExposedPoint(Point pt) -> bool""" + return _core.Window_IsExposedPoint(*args, **kwargs) + + def isExposedRect(*args, **kwargs): + """isExposedRect(Rect rect) -> bool""" + return _core.Window_isExposedRect(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colour) -> bool""" + return _core.Window_SetBackgroundColour(*args, **kwargs) + + def SetForegroundColour(*args, **kwargs): + """SetForegroundColour(wxColour colour) -> bool""" + return _core.Window_SetForegroundColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _core.Window_GetBackgroundColour(*args, **kwargs) + + def GetForegroundColour(*args, **kwargs): + """GetForegroundColour() -> wxColour""" + return _core.Window_GetForegroundColour(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor) -> bool""" + return _core.Window_SetCursor(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _core.Window_GetCursor(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font) -> bool""" + return _core.Window_SetFont(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _core.Window_GetFont(*args, **kwargs) + + def SetCaret(*args, **kwargs): + """SetCaret(wxCaret caret)""" + return _core.Window_SetCaret(*args, **kwargs) + + def GetCaret(*args, **kwargs): + """GetCaret() -> wxCaret""" + return _core.Window_GetCaret(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _core.Window_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _core.Window_GetCharWidth(*args, **kwargs) + + def GetTextExtent(*args, **kwargs): + """GetTextExtent(wxString string) -> (width, height) + +Get the width and height of the text using the current font.""" + return _core.Window_GetTextExtent(*args, **kwargs) + + def GetFullTextExtent(*args, **kwargs): + """GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) + +Get the width, height, decent and leading of the text using the current or specified font.""" + return _core.Window_GetFullTextExtent(*args, **kwargs) + + def ClientToScreenXY(*args, **kwargs): + """ClientToScreenXY(int x, int y)""" + return _core.Window_ClientToScreenXY(*args, **kwargs) + + def ScreenToClientXY(*args, **kwargs): + """ScreenToClientXY(int x, int y)""" + return _core.Window_ScreenToClientXY(*args, **kwargs) + + def ClientToScreen(*args, **kwargs): + """ClientToScreen(Point pt) -> Point""" + return _core.Window_ClientToScreen(*args, **kwargs) + + def ScreenToClient(*args, **kwargs): + """ScreenToClient(Point pt) -> Point""" + return _core.Window_ScreenToClient(*args, **kwargs) + + def HitTestXY(*args, **kwargs): + """HitTestXY(int x, int y) -> wxHitTest""" + return _core.Window_HitTestXY(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> wxHitTest""" + return _core.Window_HitTest(*args, **kwargs) + + def GetBorderFlags(*args, **kwargs): + """GetBorderFlags(long flags) -> wxBorder""" + return _core.Window_GetBorderFlags(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> wxBorder""" + return _core.Window_GetBorder(*args, **kwargs) + + def UpdateWindowUI(*args, **kwargs): + """UpdateWindowUI(long flags=UPDATE_UI_NONE)""" + return _core.Window_UpdateWindowUI(*args, **kwargs) + + def PopupMenuXY(*args, **kwargs): + """PopupMenuXY(Menu menu, int x, int y) -> bool""" + return _core.Window_PopupMenuXY(*args, **kwargs) + + def PopupMenu(*args, **kwargs): + """PopupMenu(Menu menu, Point pos) -> bool""" + return _core.Window_PopupMenu(*args, **kwargs) + + def GetHandle(*args, **kwargs): + """GetHandle() -> long""" + return _core.Window_GetHandle(*args, **kwargs) + + def HasScrollbar(*args, **kwargs): + """HasScrollbar(int orient) -> bool""" + return _core.Window_HasScrollbar(*args, **kwargs) + + def SetScrollbar(*args, **kwargs): + """SetScrollbar(int orient, int pos, int thumbvisible, int range, bool refresh=True)""" + return _core.Window_SetScrollbar(*args, **kwargs) + + def SetScrollPos(*args, **kwargs): + """SetScrollPos(int orient, int pos, bool refresh=True)""" + return _core.Window_SetScrollPos(*args, **kwargs) + + def GetScrollPos(*args, **kwargs): + """GetScrollPos(int orient) -> int""" + return _core.Window_GetScrollPos(*args, **kwargs) + + def GetScrollThumb(*args, **kwargs): + """GetScrollThumb(int orient) -> int""" + return _core.Window_GetScrollThumb(*args, **kwargs) + + def GetScrollRange(*args, **kwargs): + """GetScrollRange(int orient) -> int""" + return _core.Window_GetScrollRange(*args, **kwargs) + + def ScrollWindow(*args, **kwargs): + """ScrollWindow(int dx, int dy, Rect rect=None)""" + return _core.Window_ScrollWindow(*args, **kwargs) + + def ScrollLines(*args, **kwargs): + """ScrollLines(int lines) -> bool""" + return _core.Window_ScrollLines(*args, **kwargs) + + def ScrollPages(*args, **kwargs): + """ScrollPages(int pages) -> bool""" + return _core.Window_ScrollPages(*args, **kwargs) + + def LineUp(*args, **kwargs): + """LineUp() -> bool""" + return _core.Window_LineUp(*args, **kwargs) + + def LineDown(*args, **kwargs): + """LineDown() -> bool""" + return _core.Window_LineDown(*args, **kwargs) + + def PageUp(*args, **kwargs): + """PageUp() -> bool""" + return _core.Window_PageUp(*args, **kwargs) + + def PageDown(*args, **kwargs): + """PageDown() -> bool""" + return _core.Window_PageDown(*args, **kwargs) + + def SetHelpText(*args, **kwargs): + """SetHelpText(wxString text)""" + return _core.Window_SetHelpText(*args, **kwargs) + + def SetHelpTextForId(*args, **kwargs): + """SetHelpTextForId(wxString text)""" + return _core.Window_SetHelpTextForId(*args, **kwargs) + + def GetHelpText(*args, **kwargs): + """GetHelpText() -> wxString""" + return _core.Window_GetHelpText(*args, **kwargs) + + def SetToolTipString(*args, **kwargs): + """SetToolTipString(wxString tip)""" + return _core.Window_SetToolTipString(*args, **kwargs) + + def SetToolTip(*args, **kwargs): + """SetToolTip(wxToolTip tip)""" + return _core.Window_SetToolTip(*args, **kwargs) + + def GetToolTip(*args, **kwargs): + """GetToolTip() -> wxToolTip""" + return _core.Window_GetToolTip(*args, **kwargs) + + def SetDropTarget(*args, **kwargs): + """SetDropTarget(wxDropTarget dropTarget)""" + val = _core.Window_SetDropTarget(*args, **kwargs) + args[1].thisown = 0 + return val + + def GetDropTarget(*args, **kwargs): + """GetDropTarget() -> wxDropTarget""" + return _core.Window_GetDropTarget(*args, **kwargs) + + def SetConstraints(*args, **kwargs): + """SetConstraints(LayoutConstraints constraints)""" + return _core.Window_SetConstraints(*args, **kwargs) + + def GetConstraints(*args, **kwargs): + """GetConstraints() -> LayoutConstraints""" + return _core.Window_GetConstraints(*args, **kwargs) + + def SetAutoLayout(*args, **kwargs): + """SetAutoLayout(bool autoLayout)""" + return _core.Window_SetAutoLayout(*args, **kwargs) + + def GetAutoLayout(*args, **kwargs): + """GetAutoLayout() -> bool""" + return _core.Window_GetAutoLayout(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout() -> bool""" + return _core.Window_Layout(*args, **kwargs) + + def SetSizer(*args, **kwargs): + """SetSizer(Sizer sizer, bool deleteOld=True)""" + return _core.Window_SetSizer(*args, **kwargs) + + def SetSizerAndFit(*args, **kwargs): + """SetSizerAndFit(Sizer sizer, bool deleteOld=True)""" + return _core.Window_SetSizerAndFit(*args, **kwargs) + + def GetSizer(*args, **kwargs): + """GetSizer() -> Sizer""" + return _core.Window_GetSizer(*args, **kwargs) + + def SetContainingSizer(*args, **kwargs): + """SetContainingSizer(Sizer sizer)""" + return _core.Window_SetContainingSizer(*args, **kwargs) + + def GetContainingSizer(*args, **kwargs): + """GetContainingSizer() -> Sizer""" + return _core.Window_GetContainingSizer(*args, **kwargs) + + def PostCreate(self, pre): + """Phase 3 of the 2-phase create + Call this method after precreating the window with the 2-phase create method.""" + self.this = pre.this + self.thisown = pre.thisown + pre.thisown = 0 + if hasattr(self, '_setOORInfo'): + self._setOORInfo(self) + if hasattr(self, '_setCallbackInfo'): + self._setCallbackInfo(self, self.__class__) + + +class WindowPtr(Window): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Window +_core.Window_swigregister(WindowPtr) +PanelNameStr = cvar.PanelNameStr + +def PreWindow(*args, **kwargs): + """PreWindow() -> Window""" + val = _core.new_PreWindow(*args, **kwargs) + val.thisown = 1 + return val + +def Window_NewControlId(*args, **kwargs): + """Window_NewControlId() -> int""" + return _core.Window_NewControlId(*args, **kwargs) + +def Window_NextControlId(*args, **kwargs): + """Window_NextControlId(int winid) -> int""" + return _core.Window_NextControlId(*args, **kwargs) + +def Window_PrevControlId(*args, **kwargs): + """Window_PrevControlId(int winid) -> int""" + return _core.Window_PrevControlId(*args, **kwargs) + +def Window_FindFocus(*args, **kwargs): + """Window_FindFocus() -> Window""" + return _core.Window_FindFocus(*args, **kwargs) + +def Window_GetCapture(*args, **kwargs): + """Window_GetCapture() -> Window""" + return _core.Window_GetCapture(*args, **kwargs) + +def DLG_PNT(win, point_or_x, y=None): + if y is None: + return win.ConvertDialogPointToPixels(point_or_x) + else: + return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) + +def DLG_SZE(win, size_width, height=None): + if height is None: + return win.ConvertDialogSizeToPixels(size_width) + else: + return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) + + +def FindWindowById(*args, **kwargs): + """FindWindowById(long id, Window parent=None) -> Window""" + return _core.FindWindowById(*args, **kwargs) + +def FindWindowByName(*args, **kwargs): + """FindWindowByName(wxString name, Window parent=None) -> Window""" + return _core.FindWindowByName(*args, **kwargs) + +def FindWindowByLabel(*args, **kwargs): + """FindWindowByLabel(wxString label, Window parent=None) -> Window""" + return _core.FindWindowByLabel(*args, **kwargs) + +def Window_FromHWND(*args, **kwargs): + """Window_FromHWND(unsigned long hWnd) -> Window""" + return _core.Window_FromHWND(*args, **kwargs) +#--------------------------------------------------------------------------- + +class Validator(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__() -> Validator""" + newobj = _core.new_Validator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Append(*args, **kwargs): return _core.Menu_Append(*args, **kwargs) - def AppendSeparator(*args, **kwargs): return _core.Menu_AppendSeparator(*args, **kwargs) - def AppendCheckItem(*args, **kwargs): return _core.Menu_AppendCheckItem(*args, **kwargs) - def AppendRadioItem(*args, **kwargs): return _core.Menu_AppendRadioItem(*args, **kwargs) - def AppendMenu(*args, **kwargs): return _core.Menu_AppendMenu(*args, **kwargs) - def AppendItem(*args, **kwargs): return _core.Menu_AppendItem(*args, **kwargs) - def Break(*args, **kwargs): return _core.Menu_Break(*args, **kwargs) - def InsertItem(*args, **kwargs): return _core.Menu_InsertItem(*args, **kwargs) - def Insert(*args, **kwargs): return _core.Menu_Insert(*args, **kwargs) - def InsertSeparator(*args, **kwargs): return _core.Menu_InsertSeparator(*args, **kwargs) - def InsertCheckItem(*args, **kwargs): return _core.Menu_InsertCheckItem(*args, **kwargs) - def InsertRadioItem(*args, **kwargs): return _core.Menu_InsertRadioItem(*args, **kwargs) - def InsertMenu(*args, **kwargs): return _core.Menu_InsertMenu(*args, **kwargs) - def PrependItem(*args, **kwargs): return _core.Menu_PrependItem(*args, **kwargs) - def Prepend(*args, **kwargs): return _core.Menu_Prepend(*args, **kwargs) - def PrependSeparator(*args, **kwargs): return _core.Menu_PrependSeparator(*args, **kwargs) - def PrependCheckItem(*args, **kwargs): return _core.Menu_PrependCheckItem(*args, **kwargs) - def PrependRadioItem(*args, **kwargs): return _core.Menu_PrependRadioItem(*args, **kwargs) - def PrependMenu(*args, **kwargs): return _core.Menu_PrependMenu(*args, **kwargs) - def Remove(*args, **kwargs): return _core.Menu_Remove(*args, **kwargs) - def RemoveItem(*args, **kwargs): return _core.Menu_RemoveItem(*args, **kwargs) - def Delete(*args, **kwargs): return _core.Menu_Delete(*args, **kwargs) - def DeleteItem(*args, **kwargs): return _core.Menu_DeleteItem(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Menu_Destroy(*args, **kwargs) - def DestroyId(*args, **kwargs): return _core.Menu_DestroyId(*args, **kwargs) - def DestroyItem(*args, **kwargs): return _core.Menu_DestroyItem(*args, **kwargs) - def GetMenuItemCount(*args, **kwargs): return _core.Menu_GetMenuItemCount(*args, **kwargs) - def GetMenuItems(*args, **kwargs): return _core.Menu_GetMenuItems(*args, **kwargs) - def FindItem(*args, **kwargs): return _core.Menu_FindItem(*args, **kwargs) - def FindItemById(*args, **kwargs): return _core.Menu_FindItemById(*args, **kwargs) - def FindItemByPosition(*args, **kwargs): return _core.Menu_FindItemByPosition(*args, **kwargs) - def Enable(*args, **kwargs): return _core.Menu_Enable(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.Menu_IsEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.Menu_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.Menu_IsChecked(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Menu_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Menu_GetLabel(*args, **kwargs) - def SetHelpString(*args, **kwargs): return _core.Menu_SetHelpString(*args, **kwargs) - def GetHelpString(*args, **kwargs): return _core.Menu_GetHelpString(*args, **kwargs) - def SetTitle(*args, **kwargs): return _core.Menu_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _core.Menu_GetTitle(*args, **kwargs) - def SetEventHandler(*args, **kwargs): return _core.Menu_SetEventHandler(*args, **kwargs) - def GetEventHandler(*args, **kwargs): return _core.Menu_GetEventHandler(*args, **kwargs) - def SetInvokingWindow(*args, **kwargs): return _core.Menu_SetInvokingWindow(*args, **kwargs) - def GetInvokingWindow(*args, **kwargs): return _core.Menu_GetInvokingWindow(*args, **kwargs) - def GetStyle(*args, **kwargs): return _core.Menu_GetStyle(*args, **kwargs) - def UpdateUI(*args, **kwargs): return _core.Menu_UpdateUI(*args, **kwargs) - def GetMenuBar(*args, **kwargs): return _core.Menu_GetMenuBar(*args, **kwargs) - def Attach(*args, **kwargs): return _core.Menu_Attach(*args, **kwargs) - def Detach(*args, **kwargs): return _core.Menu_Detach(*args, **kwargs) - def IsAttached(*args, **kwargs): return _core.Menu_IsAttached(*args, **kwargs) - def SetParent(*args, **kwargs): return _core.Menu_SetParent(*args, **kwargs) - def GetParent(*args, **kwargs): return _core.Menu_GetParent(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Validator""" + return _core.Validator_Clone(*args, **kwargs) + + def Validate(*args, **kwargs): + """Validate(Window parent) -> bool""" + return _core.Validator_Validate(*args, **kwargs) + + def TransferToWindow(*args, **kwargs): + """TransferToWindow() -> bool""" + return _core.Validator_TransferToWindow(*args, **kwargs) + + def TransferFromWindow(*args, **kwargs): + """TransferFromWindow() -> bool""" + return _core.Validator_TransferFromWindow(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.Validator_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window window)""" + return _core.Validator_SetWindow(*args, **kwargs) + + def IsSilent(*args, **kwargs): + """Validator.IsSilent() -> bool""" + return _core.Validator_IsSilent(*args, **kwargs) + + IsSilent = staticmethod(IsSilent) + def SetBellOnError(*args, **kwargs): + """Validator.SetBellOnError(int doIt=True)""" + return _core.Validator_SetBellOnError(*args, **kwargs) + + SetBellOnError = staticmethod(SetBellOnError) + +class ValidatorPtr(Validator): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Validator +_core.Validator_swigregister(ValidatorPtr) + +def Validator_IsSilent(*args, **kwargs): + """Validator_IsSilent() -> bool""" + return _core.Validator_IsSilent(*args, **kwargs) + +def Validator_SetBellOnError(*args, **kwargs): + """Validator_SetBellOnError(int doIt=True)""" + return _core.Validator_SetBellOnError(*args, **kwargs) + +class PyValidator(Validator): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__() -> PyValidator""" + newobj = _core.new_PyValidator(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + + self._setCallbackInfo(self, PyValidator, 1) + self._setOORInfo(self) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, int incref=True)""" + return _core.PyValidator__setCallbackInfo(*args, **kwargs) + + +class PyValidatorPtr(PyValidator): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyValidator +_core.PyValidator_swigregister(PyValidatorPtr) + +#--------------------------------------------------------------------------- + +class Menu(EvtHandler): + """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyEmptyString, long style=0) -> Menu""" + newobj = _core.new_Menu(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + + def Append(*args, **kwargs): + """Append(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Append(*args, **kwargs) + + def AppendSeparator(*args, **kwargs): + """AppendSeparator()""" + return _core.Menu_AppendSeparator(*args, **kwargs) + + def AppendCheckItem(*args, **kwargs): + """AppendCheckItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendCheckItem(*args, **kwargs) + + def AppendRadioItem(*args, **kwargs): + """AppendRadioItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendRadioItem(*args, **kwargs) + + def AppendMenu(*args, **kwargs): + """AppendMenu(int itemid, wxString text, Menu submenu, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendMenu(*args, **kwargs) + + def AppendItem(*args, **kwargs): + """AppendItem(MenuItem item)""" + return _core.Menu_AppendItem(*args, **kwargs) + + def Break(*args, **kwargs): + """Break()""" + return _core.Menu_Break(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(size_t pos, MenuItem item) -> bool""" + return _core.Menu_InsertItem(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Insert(*args, **kwargs) + + def InsertSeparator(*args, **kwargs): + """InsertSeparator(size_t pos)""" + return _core.Menu_InsertSeparator(*args, **kwargs) + + def InsertCheckItem(*args, **kwargs): + """InsertCheckItem(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_InsertCheckItem(*args, **kwargs) + + def InsertRadioItem(*args, **kwargs): + """InsertRadioItem(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_InsertRadioItem(*args, **kwargs) + + def InsertMenu(*args, **kwargs): + """InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, + wxString help=wxPyEmptyString)""" + return _core.Menu_InsertMenu(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(MenuItem item)""" + return _core.Menu_PrependItem(*args, **kwargs) + + def Prepend(*args, **kwargs): + """Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Prepend(*args, **kwargs) + + def PrependSeparator(*args, **kwargs): + """PrependSeparator()""" + return _core.Menu_PrependSeparator(*args, **kwargs) + + def PrependCheckItem(*args, **kwargs): + """PrependCheckItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependCheckItem(*args, **kwargs) + + def PrependRadioItem(*args, **kwargs): + """PrependRadioItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependRadioItem(*args, **kwargs) + + def PrependMenu(*args, **kwargs): + """PrependMenu(int itemid, wxString text, Menu submenu, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependMenu(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(int itemid) -> MenuItem""" + return _core.Menu_Remove(*args, **kwargs) + + def RemoveItem(*args, **kwargs): + """RemoveItem(MenuItem item) -> MenuItem""" + return _core.Menu_RemoveItem(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(int itemid) -> bool""" + return _core.Menu_Delete(*args, **kwargs) + + def DeleteItem(*args, **kwargs): + """DeleteItem(MenuItem item) -> bool""" + return _core.Menu_DeleteItem(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_Destroy(*args, **kwargs) + + def DestroyId(*args, **kwargs): + """DestroyId(int itemid) -> bool + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_DestroyId(*args, **kwargs) + + def DestroyItem(*args, **kwargs): + """DestroyItem(MenuItem item) -> bool + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_DestroyItem(*args, **kwargs) + + def GetMenuItemCount(*args, **kwargs): + """GetMenuItemCount() -> size_t""" + return _core.Menu_GetMenuItemCount(*args, **kwargs) + + def GetMenuItems(*args, **kwargs): + """GetMenuItems() -> PyObject""" + return _core.Menu_GetMenuItems(*args, **kwargs) + + def FindItem(*args, **kwargs): + """FindItem(wxString item) -> int""" + return _core.Menu_FindItem(*args, **kwargs) + + def FindItemById(*args, **kwargs): + """FindItemById(int itemid) -> MenuItem""" + return _core.Menu_FindItemById(*args, **kwargs) + + def FindItemByPosition(*args, **kwargs): + """FindItemByPosition(size_t position) -> MenuItem""" + return _core.Menu_FindItemByPosition(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(int itemid, bool enable)""" + return _core.Menu_Enable(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled(int itemid) -> bool""" + return _core.Menu_IsEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(int itemid, bool check)""" + return _core.Menu_Check(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked(int itemid) -> bool""" + return _core.Menu_IsChecked(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(int itemid, wxString label)""" + return _core.Menu_SetLabel(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel(int itemid) -> wxString""" + return _core.Menu_GetLabel(*args, **kwargs) + + def SetHelpString(*args, **kwargs): + """SetHelpString(int itemid, wxString helpString)""" + return _core.Menu_SetHelpString(*args, **kwargs) + + def GetHelpString(*args, **kwargs): + """GetHelpString(int itemid) -> wxString""" + return _core.Menu_GetHelpString(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _core.Menu_SetTitle(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _core.Menu_GetTitle(*args, **kwargs) + + def SetEventHandler(*args, **kwargs): + """SetEventHandler(EvtHandler handler)""" + return _core.Menu_SetEventHandler(*args, **kwargs) + + def GetEventHandler(*args, **kwargs): + """GetEventHandler() -> EvtHandler""" + return _core.Menu_GetEventHandler(*args, **kwargs) + + def SetInvokingWindow(*args, **kwargs): + """SetInvokingWindow(Window win)""" + return _core.Menu_SetInvokingWindow(*args, **kwargs) + + def GetInvokingWindow(*args, **kwargs): + """GetInvokingWindow() -> Window""" + return _core.Menu_GetInvokingWindow(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _core.Menu_GetStyle(*args, **kwargs) + + def UpdateUI(*args, **kwargs): + """UpdateUI(EvtHandler source=None)""" + return _core.Menu_UpdateUI(*args, **kwargs) + + def GetMenuBar(*args, **kwargs): + """GetMenuBar() -> MenuBar""" + return _core.Menu_GetMenuBar(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(wxMenuBarBase menubar)""" + return _core.Menu_Attach(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _core.Menu_Detach(*args, **kwargs) + + def IsAttached(*args, **kwargs): + """IsAttached() -> bool""" + return _core.Menu_IsAttached(*args, **kwargs) + + def SetParent(*args, **kwargs): + """SetParent(Menu parent)""" + return _core.Menu_SetParent(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> Menu""" + return _core.Menu_GetParent(*args, **kwargs) + class MenuPtr(Menu): def __init__(self, this): @@ -3508,39 +6050,117 @@ DefaultValidator = cvar.DefaultValidator #--------------------------------------------------------------------------- class MenuBar(Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(long style=0) -> MenuBar""" newobj = _core.new_MenuBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Append(*args, **kwargs): return _core.MenuBar_Append(*args, **kwargs) - def Insert(*args, **kwargs): return _core.MenuBar_Insert(*args, **kwargs) - def GetMenuCount(*args, **kwargs): return _core.MenuBar_GetMenuCount(*args, **kwargs) - def GetMenu(*args, **kwargs): return _core.MenuBar_GetMenu(*args, **kwargs) - def Replace(*args, **kwargs): return _core.MenuBar_Replace(*args, **kwargs) - def Remove(*args, **kwargs): return _core.MenuBar_Remove(*args, **kwargs) - def EnableTop(*args, **kwargs): return _core.MenuBar_EnableTop(*args, **kwargs) - def IsEnabledTop(*args, **kwargs): return _core.MenuBar_IsEnabledTop(*args, **kwargs) - def SetLabelTop(*args, **kwargs): return _core.MenuBar_SetLabelTop(*args, **kwargs) - def GetLabelTop(*args, **kwargs): return _core.MenuBar_GetLabelTop(*args, **kwargs) - def FindMenuItem(*args, **kwargs): return _core.MenuBar_FindMenuItem(*args, **kwargs) - def FindItemById(*args, **kwargs): return _core.MenuBar_FindItemById(*args, **kwargs) - def FindMenu(*args, **kwargs): return _core.MenuBar_FindMenu(*args, **kwargs) - def Enable(*args, **kwargs): return _core.MenuBar_Enable(*args, **kwargs) - def Check(*args, **kwargs): return _core.MenuBar_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.MenuBar_IsChecked(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.MenuBar_IsEnabled(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.MenuBar_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.MenuBar_GetLabel(*args, **kwargs) - def SetHelpString(*args, **kwargs): return _core.MenuBar_SetHelpString(*args, **kwargs) - def GetHelpString(*args, **kwargs): return _core.MenuBar_GetHelpString(*args, **kwargs) - def GetFrame(*args, **kwargs): return _core.MenuBar_GetFrame(*args, **kwargs) - def IsAttached(*args, **kwargs): return _core.MenuBar_IsAttached(*args, **kwargs) - def Attach(*args, **kwargs): return _core.MenuBar_Attach(*args, **kwargs) - def Detach(*args, **kwargs): return _core.MenuBar_Detach(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Append(*args, **kwargs): + """Append(Menu menu, wxString title) -> bool""" + return _core.MenuBar_Append(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(size_t pos, Menu menu, wxString title) -> bool""" + return _core.MenuBar_Insert(*args, **kwargs) + + def GetMenuCount(*args, **kwargs): + """GetMenuCount() -> size_t""" + return _core.MenuBar_GetMenuCount(*args, **kwargs) + + def GetMenu(*args, **kwargs): + """GetMenu(size_t pos) -> Menu""" + return _core.MenuBar_GetMenu(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(size_t pos, Menu menu, wxString title) -> Menu""" + return _core.MenuBar_Replace(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(size_t pos) -> Menu""" + return _core.MenuBar_Remove(*args, **kwargs) + + def EnableTop(*args, **kwargs): + """EnableTop(size_t pos, bool enable)""" + return _core.MenuBar_EnableTop(*args, **kwargs) + + def IsEnabledTop(*args, **kwargs): + """IsEnabledTop(size_t pos) -> bool""" + return _core.MenuBar_IsEnabledTop(*args, **kwargs) + + def SetLabelTop(*args, **kwargs): + """SetLabelTop(size_t pos, wxString label)""" + return _core.MenuBar_SetLabelTop(*args, **kwargs) + + def GetLabelTop(*args, **kwargs): + """GetLabelTop(size_t pos) -> wxString""" + return _core.MenuBar_GetLabelTop(*args, **kwargs) + + def FindMenuItem(*args, **kwargs): + """FindMenuItem(wxString menu, wxString item) -> int""" + return _core.MenuBar_FindMenuItem(*args, **kwargs) + + def FindItemById(*args, **kwargs): + """FindItemById(int itemid) -> MenuItem""" + return _core.MenuBar_FindItemById(*args, **kwargs) + + def FindMenu(*args, **kwargs): + """FindMenu(wxString title) -> int""" + return _core.MenuBar_FindMenu(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(int itemid, bool enable)""" + return _core.MenuBar_Enable(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(int itemid, bool check)""" + return _core.MenuBar_Check(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked(int itemid) -> bool""" + return _core.MenuBar_IsChecked(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled(int itemid) -> bool""" + return _core.MenuBar_IsEnabled(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(int itemid, wxString label)""" + return _core.MenuBar_SetLabel(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel(int itemid) -> wxString""" + return _core.MenuBar_GetLabel(*args, **kwargs) + + def SetHelpString(*args, **kwargs): + """SetHelpString(int itemid, wxString helpString)""" + return _core.MenuBar_SetHelpString(*args, **kwargs) + + def GetHelpString(*args, **kwargs): + """GetHelpString(int itemid) -> wxString""" + return _core.MenuBar_GetHelpString(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> wxFrame""" + return _core.MenuBar_GetFrame(*args, **kwargs) + + def IsAttached(*args, **kwargs): + """IsAttached() -> bool""" + return _core.MenuBar_IsAttached(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(wxFrame frame)""" + return _core.MenuBar_Attach(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _core.MenuBar_Detach(*args, **kwargs) + class MenuBarPtr(MenuBar): def __init__(self, this): @@ -3552,40 +6172,127 @@ _core.MenuBar_swigregister(MenuBarPtr) #--------------------------------------------------------------------------- class MenuItem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, + wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem""" newobj = _core.new_MenuItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMenu(*args, **kwargs): return _core.MenuItem_GetMenu(*args, **kwargs) - def SetMenu(*args, **kwargs): return _core.MenuItem_SetMenu(*args, **kwargs) - def SetId(*args, **kwargs): return _core.MenuItem_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _core.MenuItem_GetId(*args, **kwargs) - def IsSeparator(*args, **kwargs): return _core.MenuItem_IsSeparator(*args, **kwargs) - def SetText(*args, **kwargs): return _core.MenuItem_SetText(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.MenuItem_GetLabel(*args, **kwargs) - def GetText(*args, **kwargs): return _core.MenuItem_GetText(*args, **kwargs) - GetLabelFromText = staticmethod(_core.MenuItem_GetLabelFromText) - def GetKind(*args, **kwargs): return _core.MenuItem_GetKind(*args, **kwargs) - def SetCheckable(*args, **kwargs): return _core.MenuItem_SetCheckable(*args, **kwargs) - def IsCheckable(*args, **kwargs): return _core.MenuItem_IsCheckable(*args, **kwargs) - def IsSubMenu(*args, **kwargs): return _core.MenuItem_IsSubMenu(*args, **kwargs) - def SetSubMenu(*args, **kwargs): return _core.MenuItem_SetSubMenu(*args, **kwargs) - def GetSubMenu(*args, **kwargs): return _core.MenuItem_GetSubMenu(*args, **kwargs) - def Enable(*args, **kwargs): return _core.MenuItem_Enable(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.MenuItem_IsEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.MenuItem_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.MenuItem_IsChecked(*args, **kwargs) - def Toggle(*args, **kwargs): return _core.MenuItem_Toggle(*args, **kwargs) - def SetHelp(*args, **kwargs): return _core.MenuItem_SetHelp(*args, **kwargs) - def GetHelp(*args, **kwargs): return _core.MenuItem_GetHelp(*args, **kwargs) - def GetAccel(*args, **kwargs): return _core.MenuItem_GetAccel(*args, **kwargs) - def SetAccel(*args, **kwargs): return _core.MenuItem_SetAccel(*args, **kwargs) - GetDefaultMarginWidth = staticmethod(_core.MenuItem_GetDefaultMarginWidth) - def SetBitmap(*args, **kwargs): return _core.MenuItem_SetBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _core.MenuItem_GetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMenu(*args, **kwargs): + """GetMenu() -> Menu""" + return _core.MenuItem_GetMenu(*args, **kwargs) + + def SetMenu(*args, **kwargs): + """SetMenu(Menu menu)""" + return _core.MenuItem_SetMenu(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int itemid)""" + return _core.MenuItem_SetId(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.MenuItem_GetId(*args, **kwargs) + + def IsSeparator(*args, **kwargs): + """IsSeparator() -> bool""" + return _core.MenuItem_IsSeparator(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString str)""" + return _core.MenuItem_SetText(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.MenuItem_GetLabel(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _core.MenuItem_GetText(*args, **kwargs) + + def GetLabelFromText(*args, **kwargs): + """MenuItem.GetLabelFromText(wxString text) -> wxString""" + return _core.MenuItem_GetLabelFromText(*args, **kwargs) + + GetLabelFromText = staticmethod(GetLabelFromText) + def GetKind(*args, **kwargs): + """GetKind() -> wxItemKind""" + return _core.MenuItem_GetKind(*args, **kwargs) + + def SetCheckable(*args, **kwargs): + """SetCheckable(bool checkable)""" + return _core.MenuItem_SetCheckable(*args, **kwargs) + + def IsCheckable(*args, **kwargs): + """IsCheckable() -> bool""" + return _core.MenuItem_IsCheckable(*args, **kwargs) + + def IsSubMenu(*args, **kwargs): + """IsSubMenu() -> bool""" + return _core.MenuItem_IsSubMenu(*args, **kwargs) + + def SetSubMenu(*args, **kwargs): + """SetSubMenu(Menu menu)""" + return _core.MenuItem_SetSubMenu(*args, **kwargs) + + def GetSubMenu(*args, **kwargs): + """GetSubMenu() -> Menu""" + return _core.MenuItem_GetSubMenu(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True)""" + return _core.MenuItem_Enable(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _core.MenuItem_IsEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(bool check=True)""" + return _core.MenuItem_Check(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _core.MenuItem_IsChecked(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle()""" + return _core.MenuItem_Toggle(*args, **kwargs) + + def SetHelp(*args, **kwargs): + """SetHelp(wxString str)""" + return _core.MenuItem_SetHelp(*args, **kwargs) + + def GetHelp(*args, **kwargs): + """GetHelp() -> wxString""" + return _core.MenuItem_GetHelp(*args, **kwargs) + + def GetAccel(*args, **kwargs): + """GetAccel() -> wxAcceleratorEntry""" + return _core.MenuItem_GetAccel(*args, **kwargs) + + def SetAccel(*args, **kwargs): + """SetAccel(wxAcceleratorEntry accel)""" + return _core.MenuItem_SetAccel(*args, **kwargs) + + def GetDefaultMarginWidth(*args, **kwargs): + """MenuItem.GetDefaultMarginWidth() -> int""" + return _core.MenuItem_GetDefaultMarginWidth(*args, **kwargs) + + GetDefaultMarginWidth = staticmethod(GetDefaultMarginWidth) + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _core.MenuItem_SetBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _core.MenuItem_GetBitmap(*args, **kwargs) + class MenuItemPtr(MenuItem): def __init__(self, this): @@ -3594,25 +6301,48 @@ class MenuItemPtr(MenuItem): self.__class__ = MenuItem _core.MenuItem_swigregister(MenuItemPtr) -MenuItem_GetLabelFromText = _core.MenuItem_GetLabelFromText +def MenuItem_GetLabelFromText(*args, **kwargs): + """MenuItem_GetLabelFromText(wxString text) -> wxString""" + return _core.MenuItem_GetLabelFromText(*args, **kwargs) -MenuItem_GetDefaultMarginWidth = _core.MenuItem_GetDefaultMarginWidth +def MenuItem_GetDefaultMarginWidth(*args, **kwargs): + """MenuItem_GetDefaultMarginWidth() -> int""" + return _core.MenuItem_GetDefaultMarginWidth(*args, **kwargs) #--------------------------------------------------------------------------- class Control(Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> Control""" newobj = _core.new_Control(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _core.Control_Create(*args, **kwargs) - def Command(*args, **kwargs): return _core.Control_Command(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Control_GetLabel(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Control_SetLabel(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> bool""" + return _core.Control_Create(*args, **kwargs) + + def Command(*args, **kwargs): + """Command(CommandEvent event)""" + return _core.Control_Command(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.Control_GetLabel(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _core.Control_SetLabel(*args, **kwargs) + class ControlPtr(Control): def __init__(self, this): @@ -3622,6 +6352,7 @@ class ControlPtr(Control): _core.Control_swigregister(ControlPtr) def PreControl(*args, **kwargs): + """PreControl() -> Control""" val = _core.new_PreControl(*args, **kwargs) val.thisown = 1 return val @@ -3629,25 +6360,74 @@ def PreControl(*args, **kwargs): #--------------------------------------------------------------------------- class ItemContainer(object): - def Append(*args, **kwargs): return _core.ItemContainer_Append(*args, **kwargs) - def AppendItems(*args, **kwargs): return _core.ItemContainer_AppendItems(*args, **kwargs) - def Insert(*args, **kwargs): return _core.ItemContainer_Insert(*args, **kwargs) - def Clear(*args, **kwargs): return _core.ItemContainer_Clear(*args, **kwargs) - def Delete(*args, **kwargs): return _core.ItemContainer_Delete(*args, **kwargs) - def GetCount(*args, **kwargs): return _core.ItemContainer_GetCount(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _core.ItemContainer_IsEmpty(*args, **kwargs) - def GetString(*args, **kwargs): return _core.ItemContainer_GetString(*args, **kwargs) - def GetStrings(*args, **kwargs): return _core.ItemContainer_GetStrings(*args, **kwargs) - def SetString(*args, **kwargs): return _core.ItemContainer_SetString(*args, **kwargs) - def FindString(*args, **kwargs): return _core.ItemContainer_FindString(*args, **kwargs) - def Select(*args, **kwargs): return _core.ItemContainer_Select(*args, **kwargs) - def GetSelection(*args, **kwargs): return _core.ItemContainer_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _core.ItemContainer_GetStringSelection(*args, **kwargs) - def GetClientData(*args, **kwargs): return _core.ItemContainer_GetClientData(*args, **kwargs) - def SetClientData(*args, **kwargs): return _core.ItemContainer_SetClientData(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Append(*args, **kwargs): + """Append(wxString item, PyObject clientData=None) -> int""" + return _core.ItemContainer_Append(*args, **kwargs) + + def AppendItems(*args, **kwargs): + """AppendItems(wxArrayString strings)""" + return _core.ItemContainer_AppendItems(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(wxString item, int pos, PyObject clientData=None) -> int""" + return _core.ItemContainer_Insert(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _core.ItemContainer_Clear(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(int n)""" + return _core.ItemContainer_Delete(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _core.ItemContainer_GetCount(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _core.ItemContainer_IsEmpty(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(int n) -> wxString""" + return _core.ItemContainer_GetString(*args, **kwargs) + + def GetStrings(*args, **kwargs): + """GetStrings() -> wxArrayString""" + return _core.ItemContainer_GetStrings(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString s)""" + return _core.ItemContainer_SetString(*args, **kwargs) + + def FindString(*args, **kwargs): + """FindString(wxString s) -> int""" + return _core.ItemContainer_FindString(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(int n)""" + return _core.ItemContainer_Select(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _core.ItemContainer_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _core.ItemContainer_GetStringSelection(*args, **kwargs) + + def GetClientData(*args, **kwargs): + """GetClientData(int n) -> PyObject""" + return _core.ItemContainer_GetClientData(*args, **kwargs) + + def SetClientData(*args, **kwargs): + """SetClientData(int n, PyObject clientData)""" + return _core.ItemContainer_SetClientData(*args, **kwargs) + class ItemContainerPtr(ItemContainer): def __init__(self, this): @@ -3659,6 +6439,7 @@ _core.ItemContainer_swigregister(ItemContainerPtr) #--------------------------------------------------------------------------- class ControlWithItems(Control,ItemContainer): + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3673,43 +6454,135 @@ _core.ControlWithItems_swigregister(ControlWithItemsPtr) #--------------------------------------------------------------------------- class SizerItem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SizerItem""" newobj = _core.new_SizerItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def DeleteWindows(*args, **kwargs): return _core.SizerItem_DeleteWindows(*args, **kwargs) - def DetachSizer(*args, **kwargs): return _core.SizerItem_DetachSizer(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.SizerItem_GetSize(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.SizerItem_CalcMin(*args, **kwargs) - def SetDimension(*args, **kwargs): return _core.SizerItem_SetDimension(*args, **kwargs) - def GetMinSize(*args, **kwargs): return _core.SizerItem_GetMinSize(*args, **kwargs) - def SetInitSize(*args, **kwargs): return _core.SizerItem_SetInitSize(*args, **kwargs) - def SetRatioWH(*args, **kwargs): return _core.SizerItem_SetRatioWH(*args, **kwargs) - def SetRatioSize(*args, **kwargs): return _core.SizerItem_SetRatioSize(*args, **kwargs) - def SetRatio(*args, **kwargs): return _core.SizerItem_SetRatio(*args, **kwargs) - def GetRatio(*args, **kwargs): return _core.SizerItem_GetRatio(*args, **kwargs) - def IsWindow(*args, **kwargs): return _core.SizerItem_IsWindow(*args, **kwargs) - def IsSizer(*args, **kwargs): return _core.SizerItem_IsSizer(*args, **kwargs) - def IsSpacer(*args, **kwargs): return _core.SizerItem_IsSpacer(*args, **kwargs) - def SetProportion(*args, **kwargs): return _core.SizerItem_SetProportion(*args, **kwargs) - def GetProportion(*args, **kwargs): return _core.SizerItem_GetProportion(*args, **kwargs) - def SetFlag(*args, **kwargs): return _core.SizerItem_SetFlag(*args, **kwargs) - def GetFlag(*args, **kwargs): return _core.SizerItem_GetFlag(*args, **kwargs) - def SetBorder(*args, **kwargs): return _core.SizerItem_SetBorder(*args, **kwargs) - def GetBorder(*args, **kwargs): return _core.SizerItem_GetBorder(*args, **kwargs) - def GetWindow(*args, **kwargs): return _core.SizerItem_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.SizerItem_SetWindow(*args, **kwargs) - def GetSizer(*args, **kwargs): return _core.SizerItem_GetSizer(*args, **kwargs) - def SetSizer(*args, **kwargs): return _core.SizerItem_SetSizer(*args, **kwargs) - def GetSpacer(*args, **kwargs): return _core.SizerItem_GetSpacer(*args, **kwargs) - def SetSpacer(*args, **kwargs): return _core.SizerItem_SetSpacer(*args, **kwargs) - def Show(*args, **kwargs): return _core.SizerItem_Show(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.SizerItem_IsShown(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.SizerItem_GetPosition(*args, **kwargs) - def GetUserData(*args, **kwargs): return _core.SizerItem_GetUserData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def DeleteWindows(*args, **kwargs): + """DeleteWindows()""" + return _core.SizerItem_DeleteWindows(*args, **kwargs) + + def DetachSizer(*args, **kwargs): + """DetachSizer()""" + return _core.SizerItem_DetachSizer(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.SizerItem_GetSize(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.SizerItem_CalcMin(*args, **kwargs) + + def SetDimension(*args, **kwargs): + """SetDimension(Point pos, Size size)""" + return _core.SizerItem_SetDimension(*args, **kwargs) + + def GetMinSize(*args, **kwargs): + """GetMinSize() -> Size""" + return _core.SizerItem_GetMinSize(*args, **kwargs) + + def SetInitSize(*args, **kwargs): + """SetInitSize(int x, int y)""" + return _core.SizerItem_SetInitSize(*args, **kwargs) + + def SetRatioWH(*args, **kwargs): + """SetRatioWH(int width, int height)""" + return _core.SizerItem_SetRatioWH(*args, **kwargs) + + def SetRatioSize(*args, **kwargs): + """SetRatioSize(Size size)""" + return _core.SizerItem_SetRatioSize(*args, **kwargs) + + def SetRatio(*args, **kwargs): + """SetRatio(float ratio)""" + return _core.SizerItem_SetRatio(*args, **kwargs) + + def GetRatio(*args, **kwargs): + """GetRatio() -> float""" + return _core.SizerItem_GetRatio(*args, **kwargs) + + def IsWindow(*args, **kwargs): + """IsWindow() -> bool""" + return _core.SizerItem_IsWindow(*args, **kwargs) + + def IsSizer(*args, **kwargs): + """IsSizer() -> bool""" + return _core.SizerItem_IsSizer(*args, **kwargs) + + def IsSpacer(*args, **kwargs): + """IsSpacer() -> bool""" + return _core.SizerItem_IsSpacer(*args, **kwargs) + + def SetProportion(*args, **kwargs): + """SetProportion(int proportion)""" + return _core.SizerItem_SetProportion(*args, **kwargs) + + def GetProportion(*args, **kwargs): + """GetProportion() -> int""" + return _core.SizerItem_GetProportion(*args, **kwargs) + + def SetFlag(*args, **kwargs): + """SetFlag(int flag)""" + return _core.SizerItem_SetFlag(*args, **kwargs) + + def GetFlag(*args, **kwargs): + """GetFlag() -> int""" + return _core.SizerItem_GetFlag(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(int border)""" + return _core.SizerItem_SetBorder(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> int""" + return _core.SizerItem_GetBorder(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.SizerItem_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window window)""" + return _core.SizerItem_SetWindow(*args, **kwargs) + + def GetSizer(*args, **kwargs): + """GetSizer() -> Sizer""" + return _core.SizerItem_GetSizer(*args, **kwargs) + + def SetSizer(*args, **kwargs): + """SetSizer(Sizer sizer)""" + return _core.SizerItem_SetSizer(*args, **kwargs) + + def GetSpacer(*args, **kwargs): + """GetSpacer() -> Size""" + return _core.SizerItem_GetSpacer(*args, **kwargs) + + def SetSpacer(*args, **kwargs): + """SetSpacer(Size size)""" + return _core.SizerItem_SetSpacer(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show)""" + return _core.SizerItem_Show(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown() -> bool""" + return _core.SizerItem_IsShown(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.SizerItem_GetPosition(*args, **kwargs) + + def GetUserData(*args, **kwargs): + """GetUserData() -> PyObject""" + return _core.SizerItem_GetUserData(*args, **kwargs) + class SizerItemPtr(SizerItem): def __init__(self, this): @@ -3719,33 +6592,73 @@ class SizerItemPtr(SizerItem): _core.SizerItem_swigregister(SizerItemPtr) def SizerItemSpacer(*args, **kwargs): + """SizerItemSpacer(int width, int height, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemSpacer(*args, **kwargs) val.thisown = 1 return val def SizerItemWindow(*args, **kwargs): + """SizerItemWindow(Window window, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemWindow(*args, **kwargs) val.thisown = 1 return val def SizerItemSizer(*args, **kwargs): + """SizerItemSizer(Sizer sizer, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemSizer(*args, **kwargs) val.thisown = 1 return val class Sizer(Object): - def _setOORInfo(*args, **kwargs): return _core.Sizer__setOORInfo(*args, **kwargs) - def Add(*args, **kwargs): return _core.Sizer_Add(*args, **kwargs) - def Insert(*args, **kwargs): return _core.Sizer_Insert(*args, **kwargs) - def Prepend(*args, **kwargs): return _core.Sizer_Prepend(*args, **kwargs) - def Remove(*args, **kwargs): return _core.Sizer_Remove(*args, **kwargs) - def _SetItemMinSize(*args, **kwargs): return _core.Sizer__SetItemMinSize(*args, **kwargs) - def AddItem(*args, **kwargs): return _core.Sizer_AddItem(*args, **kwargs) - def InsertItem(*args, **kwargs): return _core.Sizer_InsertItem(*args, **kwargs) - def PrependItem(*args, **kwargs): return _core.Sizer_PrependItem(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _core.Sizer__setOORInfo(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None)""" + return _core.Sizer_Add(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(int before, PyObject item, int proportion=0, int flag=0, + int border=0, PyObject userData=None)""" + return _core.Sizer_Insert(*args, **kwargs) + + def Prepend(*args, **kwargs): + """Prepend(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None)""" + return _core.Sizer_Prepend(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(PyObject item) -> bool""" + return _core.Sizer_Remove(*args, **kwargs) + + def _SetItemMinSize(*args, **kwargs): + """_SetItemMinSize(PyObject item, Size size)""" + return _core.Sizer__SetItemMinSize(*args, **kwargs) + + def AddItem(*args, **kwargs): + """AddItem(SizerItem item)""" + return _core.Sizer_AddItem(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(size_t index, SizerItem item)""" + return _core.Sizer_InsertItem(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(SizerItem item)""" + return _core.Sizer_PrependItem(*args, **kwargs) + def AddMany(self, widgets): for childinfo in widgets: - if type(childinfo) != type(()): + if type(childinfo) != type(()) or (len(childinfo) == 2 and type(childinfo[0]) == type(1)): childinfo = (childinfo, ) self.Add(*childinfo) @@ -3762,11 +6675,26 @@ class Sizer(Object): else: return self._SetItemMinSize(item, args[0]) - def SetDimension(*args, **kwargs): return _core.Sizer_SetDimension(*args, **kwargs) - def SetMinSize(*args, **kwargs): return _core.Sizer_SetMinSize(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Sizer_GetSize(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Sizer_GetPosition(*args, **kwargs) - def GetMinSize(*args, **kwargs): return _core.Sizer_GetMinSize(*args, **kwargs) + def SetDimension(*args, **kwargs): + """SetDimension(int x, int y, int width, int height)""" + return _core.Sizer_SetDimension(*args, **kwargs) + + def SetMinSize(*args, **kwargs): + """SetMinSize(Size size)""" + return _core.Sizer_SetMinSize(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.Sizer_GetSize(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.Sizer_GetPosition(*args, **kwargs) + + def GetMinSize(*args, **kwargs): + """GetMinSize() -> Size""" + return _core.Sizer_GetMinSize(*args, **kwargs) + def GetSizeTuple(self): return self.GetSize().asTuple() def GetPositionTuple(self): @@ -3774,23 +6702,62 @@ class Sizer(Object): def GetMinSizeTuple(self): return self.GetMinSize().asTuple() - def RecalcSizes(*args, **kwargs): return _core.Sizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.Sizer_CalcMin(*args, **kwargs) - def Layout(*args, **kwargs): return _core.Sizer_Layout(*args, **kwargs) - def Fit(*args, **kwargs): return _core.Sizer_Fit(*args, **kwargs) - def FitInside(*args, **kwargs): return _core.Sizer_FitInside(*args, **kwargs) - def SetSizeHints(*args, **kwargs): return _core.Sizer_SetSizeHints(*args, **kwargs) - def SetVirtualSizeHints(*args, **kwargs): return _core.Sizer_SetVirtualSizeHints(*args, **kwargs) - def Clear(*args, **kwargs): return _core.Sizer_Clear(*args, **kwargs) - def DeleteWindows(*args, **kwargs): return _core.Sizer_DeleteWindows(*args, **kwargs) - def GetChildren(*args, **kwargs): return _core.Sizer_GetChildren(*args, **kwargs) - def Show(*args, **kwargs): return _core.Sizer_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _core.Sizer_Hide(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.Sizer_IsShown(*args, **kwargs) - def ShowItems(*args, **kwargs): return _core.Sizer_ShowItems(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.Sizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.Sizer_CalcMin(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout()""" + return _core.Sizer_Layout(*args, **kwargs) + + def Fit(*args, **kwargs): + """Fit(Window window) -> Size""" + return _core.Sizer_Fit(*args, **kwargs) + + def FitInside(*args, **kwargs): + """FitInside(Window window)""" + return _core.Sizer_FitInside(*args, **kwargs) + + def SetSizeHints(*args, **kwargs): + """SetSizeHints(Window window)""" + return _core.Sizer_SetSizeHints(*args, **kwargs) + + def SetVirtualSizeHints(*args, **kwargs): + """SetVirtualSizeHints(Window window)""" + return _core.Sizer_SetVirtualSizeHints(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear(bool delete_windows=False)""" + return _core.Sizer_Clear(*args, **kwargs) + + def DeleteWindows(*args, **kwargs): + """DeleteWindows()""" + return _core.Sizer_DeleteWindows(*args, **kwargs) + + def GetChildren(*args, **kwargs): + """GetChildren() -> PyObject""" + return _core.Sizer_GetChildren(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(PyObject item, bool show=True)""" + return _core.Sizer_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide(PyObject item)""" + return _core.Sizer_Hide(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown(PyObject item) -> bool""" + return _core.Sizer_IsShown(*args, **kwargs) + + def ShowItems(*args, **kwargs): + """ShowItems(bool show)""" + return _core.Sizer_ShowItems(*args, **kwargs) + class SizerPtr(Sizer): def __init__(self, this): @@ -3800,15 +6767,21 @@ class SizerPtr(Sizer): _core.Sizer_swigregister(SizerPtr) class PySizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PySizer""" newobj = _core.new_PySizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PySizer);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _core.PySizer__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.PySizer__setCallbackInfo(*args, **kwargs) + class PySizerPtr(PySizer): def __init__(self, this): @@ -3820,18 +6793,33 @@ _core.PySizer_swigregister(PySizerPtr) #--------------------------------------------------------------------------- class BoxSizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int orient=HORIZONTAL) -> BoxSizer""" newobj = _core.new_BoxSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetOrientation(*args, **kwargs): return _core.BoxSizer_GetOrientation(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.BoxSizer_SetOrientation(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.BoxSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.BoxSizer_CalcMin(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.BoxSizer_GetOrientation(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.BoxSizer_SetOrientation(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.BoxSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.BoxSizer_CalcMin(*args, **kwargs) + class BoxSizerPtr(BoxSizer): def __init__(self, this): @@ -3843,17 +6831,29 @@ _core.BoxSizer_swigregister(BoxSizerPtr) #--------------------------------------------------------------------------- class StaticBoxSizer(BoxSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer""" newobj = _core.new_StaticBoxSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetStaticBox(*args, **kwargs): return _core.StaticBoxSizer_GetStaticBox(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.StaticBoxSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.StaticBoxSizer_CalcMin(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetStaticBox(*args, **kwargs): + """GetStaticBox() -> wxStaticBox""" + return _core.StaticBoxSizer_GetStaticBox(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.StaticBoxSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.StaticBoxSizer_CalcMin(*args, **kwargs) + class StaticBoxSizerPtr(StaticBoxSizer): def __init__(self, this): @@ -3865,24 +6865,57 @@ _core.StaticBoxSizer_swigregister(StaticBoxSizerPtr) #--------------------------------------------------------------------------- class GridSizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer""" newobj = _core.new_GridSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _core.GridSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.GridSizer_CalcMin(*args, **kwargs) - def SetCols(*args, **kwargs): return _core.GridSizer_SetCols(*args, **kwargs) - def SetRows(*args, **kwargs): return _core.GridSizer_SetRows(*args, **kwargs) - def SetVGap(*args, **kwargs): return _core.GridSizer_SetVGap(*args, **kwargs) - def SetHGap(*args, **kwargs): return _core.GridSizer_SetHGap(*args, **kwargs) - def GetCols(*args, **kwargs): return _core.GridSizer_GetCols(*args, **kwargs) - def GetRows(*args, **kwargs): return _core.GridSizer_GetRows(*args, **kwargs) - def GetVGap(*args, **kwargs): return _core.GridSizer_GetVGap(*args, **kwargs) - def GetHGap(*args, **kwargs): return _core.GridSizer_GetHGap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.GridSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.GridSizer_CalcMin(*args, **kwargs) + + def SetCols(*args, **kwargs): + """SetCols(int cols)""" + return _core.GridSizer_SetCols(*args, **kwargs) + + def SetRows(*args, **kwargs): + """SetRows(int rows)""" + return _core.GridSizer_SetRows(*args, **kwargs) + + def SetVGap(*args, **kwargs): + """SetVGap(int gap)""" + return _core.GridSizer_SetVGap(*args, **kwargs) + + def SetHGap(*args, **kwargs): + """SetHGap(int gap)""" + return _core.GridSizer_SetHGap(*args, **kwargs) + + def GetCols(*args, **kwargs): + """GetCols() -> int""" + return _core.GridSizer_GetCols(*args, **kwargs) + + def GetRows(*args, **kwargs): + """GetRows() -> int""" + return _core.GridSizer_GetRows(*args, **kwargs) + + def GetVGap(*args, **kwargs): + """GetVGap() -> int""" + return _core.GridSizer_GetVGap(*args, **kwargs) + + def GetHGap(*args, **kwargs): + """GetHGap() -> int""" + return _core.GridSizer_GetHGap(*args, **kwargs) + class GridSizerPtr(GridSizer): def __init__(self, this): @@ -3897,24 +6930,65 @@ FLEX_GROWMODE_NONE = _core.FLEX_GROWMODE_NONE FLEX_GROWMODE_SPECIFIED = _core.FLEX_GROWMODE_SPECIFIED FLEX_GROWMODE_ALL = _core.FLEX_GROWMODE_ALL class FlexGridSizer(GridSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer""" newobj = _core.new_FlexGridSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _core.FlexGridSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.FlexGridSizer_CalcMin(*args, **kwargs) - def AddGrowableRow(*args, **kwargs): return _core.FlexGridSizer_AddGrowableRow(*args, **kwargs) - def RemoveGrowableRow(*args, **kwargs): return _core.FlexGridSizer_RemoveGrowableRow(*args, **kwargs) - def AddGrowableCol(*args, **kwargs): return _core.FlexGridSizer_AddGrowableCol(*args, **kwargs) - def RemoveGrowableCol(*args, **kwargs): return _core.FlexGridSizer_RemoveGrowableCol(*args, **kwargs) - def SetFlexibleDirection(*args, **kwargs): return _core.FlexGridSizer_SetFlexibleDirection(*args, **kwargs) - def GetFlexibleDirection(*args, **kwargs): return _core.FlexGridSizer_GetFlexibleDirection(*args, **kwargs) - def SetNonFlexibleGrowMode(*args, **kwargs): return _core.FlexGridSizer_SetNonFlexibleGrowMode(*args, **kwargs) - def GetNonFlexibleGrowMode(*args, **kwargs): return _core.FlexGridSizer_GetNonFlexibleGrowMode(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.FlexGridSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.FlexGridSizer_CalcMin(*args, **kwargs) + + def AddGrowableRow(*args, **kwargs): + """AddGrowableRow(size_t idx, int proportion=0)""" + return _core.FlexGridSizer_AddGrowableRow(*args, **kwargs) + + def RemoveGrowableRow(*args, **kwargs): + """RemoveGrowableRow(size_t idx)""" + return _core.FlexGridSizer_RemoveGrowableRow(*args, **kwargs) + + def AddGrowableCol(*args, **kwargs): + """AddGrowableCol(size_t idx, int proportion=0)""" + return _core.FlexGridSizer_AddGrowableCol(*args, **kwargs) + + def RemoveGrowableCol(*args, **kwargs): + """RemoveGrowableCol(size_t idx)""" + return _core.FlexGridSizer_RemoveGrowableCol(*args, **kwargs) + + def SetFlexibleDirection(*args, **kwargs): + """SetFlexibleDirection(int direction)""" + return _core.FlexGridSizer_SetFlexibleDirection(*args, **kwargs) + + def GetFlexibleDirection(*args, **kwargs): + """GetFlexibleDirection() -> int""" + return _core.FlexGridSizer_GetFlexibleDirection(*args, **kwargs) + + def SetNonFlexibleGrowMode(*args, **kwargs): + """SetNonFlexibleGrowMode(wxFlexSizerGrowMode mode)""" + return _core.FlexGridSizer_SetNonFlexibleGrowMode(*args, **kwargs) + + def GetNonFlexibleGrowMode(*args, **kwargs): + """GetNonFlexibleGrowMode() -> wxFlexSizerGrowMode""" + return _core.FlexGridSizer_GetNonFlexibleGrowMode(*args, **kwargs) + + def GetRowHeights(*args, **kwargs): + """GetRowHeights() -> wxArrayInt""" + return _core.FlexGridSizer_GetRowHeights(*args, **kwargs) + + def GetColWidths(*args, **kwargs): + """GetColWidths() -> wxArrayInt""" + return _core.FlexGridSizer_GetColWidths(*args, **kwargs) + class FlexGridSizerPtr(FlexGridSizer): def __init__(self, this): @@ -3926,29 +7000,59 @@ _core.FlexGridSizer_swigregister(FlexGridSizerPtr) #--------------------------------------------------------------------------- class GBPosition(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int row=0, int col=0) -> GBPosition""" newobj = _core.new_GBPosition(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _core.GBPosition_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _core.GBPosition_GetCol(*args, **kwargs) - def SetRow(*args, **kwargs): return _core.GBPosition_SetRow(*args, **kwargs) - def SetCol(*args, **kwargs): return _core.GBPosition_SetCol(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.GBPosition___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.GBPosition___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.GBPosition_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxGBPosition'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _core.GBPosition_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _core.GBPosition_GetCol(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int row)""" + return _core.GBPosition_SetRow(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int col)""" + return _core.GBPosition_SetCol(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GBPosition p) -> bool""" + return _core.GBPosition___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GBPosition p) -> bool""" + return _core.GBPosition___ne__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int row=0, int col=0)""" + return _core.GBPosition_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _core.GBPosition_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.GBPosition'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.SetRow(val) elif index == 1: self.SetCol(val) else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) row = property(GetRow, SetRow) @@ -3963,29 +7067,59 @@ class GBPositionPtr(GBPosition): _core.GBPosition_swigregister(GBPositionPtr) class GBSpan(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rowspan=1, int colspan=1) -> GBSpan""" newobj = _core.new_GBSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRowspan(*args, **kwargs): return _core.GBSpan_GetRowspan(*args, **kwargs) - def GetColspan(*args, **kwargs): return _core.GBSpan_GetColspan(*args, **kwargs) - def SetRowspan(*args, **kwargs): return _core.GBSpan_SetRowspan(*args, **kwargs) - def SetColspan(*args, **kwargs): return _core.GBSpan_SetColspan(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.GBSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.GBSpan___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.GBSpan_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxGBSpan'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def GetRowspan(*args, **kwargs): + """GetRowspan() -> int""" + return _core.GBSpan_GetRowspan(*args, **kwargs) + + def GetColspan(*args, **kwargs): + """GetColspan() -> int""" + return _core.GBSpan_GetColspan(*args, **kwargs) + + def SetRowspan(*args, **kwargs): + """SetRowspan(int rowspan)""" + return _core.GBSpan_SetRowspan(*args, **kwargs) + + def SetColspan(*args, **kwargs): + """SetColspan(int colspan)""" + return _core.GBSpan_SetColspan(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GBSpan o) -> bool""" + return _core.GBSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GBSpan o) -> bool""" + return _core.GBSpan___ne__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int rowspan=1, int colspan=1)""" + return _core.GBSpan_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _core.GBSpan_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.GBSpan'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.SetRowspan(val) elif index == 1: self.SetColspan(val) else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) rowspan = property(GetRowspan, SetRowspan) @@ -4000,23 +7134,50 @@ class GBSpanPtr(GBSpan): _core.GBSpan_swigregister(GBSpanPtr) class GBSizerItem(SizerItem): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GBSizerItem""" newobj = _core.new_GBSizerItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPos(*args, **kwargs): return _core.GBSizerItem_GetPos(*args, **kwargs) - def GetPosTuple(self): return self.GetPos().asTuple() - def GetSpan(*args, **kwargs): return _core.GBSizerItem_GetSpan(*args, **kwargs) - def GetSpanTuple(self): return self.GetSpan().asTuple() - def SetPos(*args, **kwargs): return _core.GBSizerItem_SetPos(*args, **kwargs) - def SetSpan(*args, **kwargs): return _core.GBSizerItem_SetSpan(*args, **kwargs) - def Intersects(*args): return _core.GBSizerItem_Intersects(*args) - def GetEndPos(*args, **kwargs): return _core.GBSizerItem_GetEndPos(*args, **kwargs) - def GetGBSizer(*args, **kwargs): return _core.GBSizerItem_GetGBSizer(*args, **kwargs) - def SetGBSizer(*args, **kwargs): return _core.GBSizerItem_SetGBSizer(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPos(*args, **kwargs): + """GetPos() -> GBPosition""" + return _core.GBSizerItem_GetPos(*args, **kwargs) + + def GetPosTuple(self): return self.GetPos().Get() + def GetSpan(*args, **kwargs): + """GetSpan() -> GBSpan""" + return _core.GBSizerItem_GetSpan(*args, **kwargs) + + def GetSpanTuple(self): return self.GetSpan().Get() + def SetPos(*args, **kwargs): + """SetPos(GBPosition pos) -> bool""" + return _core.GBSizerItem_SetPos(*args, **kwargs) + + def SetSpan(*args, **kwargs): + """SetSpan(GBSpan span) -> bool""" + return _core.GBSizerItem_SetSpan(*args, **kwargs) + + def Intersects(*args): + """Intersects(GBSizerItem other) -> bool +Intersects(GBPosition pos, GBSpan span) -> bool""" + return _core.GBSizerItem_Intersects(*args) + + def GetEndPos(*args, **kwargs): + """GetEndPos(int row, int col)""" + return _core.GBSizerItem_GetEndPos(*args, **kwargs) + + def GetGBSizer(*args, **kwargs): + """GetGBSizer() -> GridBagSizer""" + return _core.GBSizerItem_GetGBSizer(*args, **kwargs) + + def SetGBSizer(*args, **kwargs): + """SetGBSizer(GridBagSizer sizer)""" + return _core.GBSizerItem_SetGBSizer(*args, **kwargs) + class GBSizerItemPtr(GBSizerItem): def __init__(self, this): @@ -4027,42 +7188,107 @@ _core.GBSizerItem_swigregister(GBSizerItemPtr) DefaultSpan = cvar.DefaultSpan def GBSizerItemWindow(*args, **kwargs): + """GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemWindow(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSizer(*args, **kwargs): + """GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemSizer(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSpacer(*args, **kwargs): + """GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, + int flag, int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemSpacer(*args, **kwargs) val.thisown = 1 return val class GridBagSizer(FlexGridSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int vgap=0, int hgap=0) -> GridBagSizer""" newobj = _core.new_GridBagSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Add(*args, **kwargs): return _core.GridBagSizer_Add(*args, **kwargs) - def AddItem(*args, **kwargs): return _core.GridBagSizer_AddItem(*args, **kwargs) - def GetEmptyCellSize(*args, **kwargs): return _core.GridBagSizer_GetEmptyCellSize(*args, **kwargs) - def SetEmptyCellSize(*args, **kwargs): return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) - def GetItemPosition(*args): return _core.GridBagSizer_GetItemPosition(*args) - def SetItemPosition(*args): return _core.GridBagSizer_SetItemPosition(*args) - def GetItemSpan(*args): return _core.GridBagSizer_GetItemSpan(*args) - def SetItemSpan(*args): return _core.GridBagSizer_SetItemSpan(*args) - def FindItem(*args): return _core.GridBagSizer_FindItem(*args) - def FindItemAtPosition(*args, **kwargs): return _core.GridBagSizer_FindItemAtPosition(*args, **kwargs) - def FindItemWithData(*args, **kwargs): return _core.GridBagSizer_FindItemWithData(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.GridBagSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.GridBagSizer_CalcMin(*args, **kwargs) - def CheckForIntersection(*args): return _core.GridBagSizer_CheckForIntersection(*args) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Add(*args, **kwargs): + """Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, + int flag=0, int border=0, PyObject userData=None) -> bool""" + return _core.GridBagSizer_Add(*args, **kwargs) + + def AddItem(*args, **kwargs): + """AddItem(GBSizerItem item) -> bool""" + return _core.GridBagSizer_AddItem(*args, **kwargs) + + def GetEmptyCellSize(*args, **kwargs): + """GetEmptyCellSize() -> Size""" + return _core.GridBagSizer_GetEmptyCellSize(*args, **kwargs) + + def SetEmptyCellSize(*args, **kwargs): + """SetEmptyCellSize(Size sz)""" + return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) + + def GetItemPosition(*args): + """GetItemPosition(Window window) -> GBPosition +GetItemPosition(Sizer sizer) -> GBPosition +GetItemPosition(size_t index) -> GBPosition""" + return _core.GridBagSizer_GetItemPosition(*args) + + def SetItemPosition(*args): + """SetItemPosition(Window window, GBPosition pos) -> bool +SetItemPosition(Sizer sizer, GBPosition pos) -> bool +SetItemPosition(size_t index, GBPosition pos) -> bool""" + return _core.GridBagSizer_SetItemPosition(*args) + + def GetItemSpan(*args): + """GetItemSpan(Window window) -> GBSpan +GetItemSpan(Sizer sizer) -> GBSpan +GetItemSpan(size_t index) -> GBSpan""" + return _core.GridBagSizer_GetItemSpan(*args) + + def SetItemSpan(*args): + """SetItemSpan(Window window, GBSpan span) -> bool +SetItemSpan(Sizer sizer, GBSpan span) -> bool +SetItemSpan(size_t index, GBSpan span) -> bool""" + return _core.GridBagSizer_SetItemSpan(*args) + + def FindItem(*args): + """FindItem(Window window) -> GBSizerItem +FindItem(Sizer sizer) -> GBSizerItem""" + return _core.GridBagSizer_FindItem(*args) + + def FindItemAtPosition(*args, **kwargs): + """FindItemAtPosition(GBPosition pos) -> GBSizerItem""" + return _core.GridBagSizer_FindItemAtPosition(*args, **kwargs) + + def FindItemAtPoint(*args, **kwargs): + """FindItemAtPoint(Point pt) -> GBSizerItem""" + return _core.GridBagSizer_FindItemAtPoint(*args, **kwargs) + + def FindItemWithData(*args, **kwargs): + """FindItemWithData(Object userData) -> GBSizerItem""" + return _core.GridBagSizer_FindItemWithData(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.GridBagSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.GridBagSizer_CalcMin(*args, **kwargs) + + def CheckForIntersection(*args): + """CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool +CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool""" + return _core.GridBagSizer_CheckForIntersection(*args) + class GridBagSizerPtr(GridBagSizer): def __init__(self, this): @@ -4093,35 +7319,115 @@ RightOf = _core.RightOf SameAs = _core.SameAs Absolute = _core.Absolute class IndividualLayoutConstraint(Object): - def Set(*args, **kwargs): return _core.IndividualLayoutConstraint_Set(*args, **kwargs) - def LeftOf(*args, **kwargs): return _core.IndividualLayoutConstraint_LeftOf(*args, **kwargs) - def RightOf(*args, **kwargs): return _core.IndividualLayoutConstraint_RightOf(*args, **kwargs) - def Above(*args, **kwargs): return _core.IndividualLayoutConstraint_Above(*args, **kwargs) - def Below(*args, **kwargs): return _core.IndividualLayoutConstraint_Below(*args, **kwargs) - def SameAs(*args, **kwargs): return _core.IndividualLayoutConstraint_SameAs(*args, **kwargs) - def PercentOf(*args, **kwargs): return _core.IndividualLayoutConstraint_PercentOf(*args, **kwargs) - def Absolute(*args, **kwargs): return _core.IndividualLayoutConstraint_Absolute(*args, **kwargs) - def Unconstrained(*args, **kwargs): return _core.IndividualLayoutConstraint_Unconstrained(*args, **kwargs) - def AsIs(*args, **kwargs): return _core.IndividualLayoutConstraint_AsIs(*args, **kwargs) - def GetOtherWindow(*args, **kwargs): return _core.IndividualLayoutConstraint_GetOtherWindow(*args, **kwargs) - def GetMyEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetMyEdge(*args, **kwargs) - def SetEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_SetEdge(*args, **kwargs) - def SetValue(*args, **kwargs): return _core.IndividualLayoutConstraint_SetValue(*args, **kwargs) - def GetMargin(*args, **kwargs): return _core.IndividualLayoutConstraint_GetMargin(*args, **kwargs) - def SetMargin(*args, **kwargs): return _core.IndividualLayoutConstraint_SetMargin(*args, **kwargs) - def GetValue(*args, **kwargs): return _core.IndividualLayoutConstraint_GetValue(*args, **kwargs) - def GetPercent(*args, **kwargs): return _core.IndividualLayoutConstraint_GetPercent(*args, **kwargs) - def GetOtherEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetOtherEdge(*args, **kwargs) - def GetDone(*args, **kwargs): return _core.IndividualLayoutConstraint_GetDone(*args, **kwargs) - def SetDone(*args, **kwargs): return _core.IndividualLayoutConstraint_SetDone(*args, **kwargs) - def GetRelationship(*args, **kwargs): return _core.IndividualLayoutConstraint_GetRelationship(*args, **kwargs) - def SetRelationship(*args, **kwargs): return _core.IndividualLayoutConstraint_SetRelationship(*args, **kwargs) - def ResetIfWin(*args, **kwargs): return _core.IndividualLayoutConstraint_ResetIfWin(*args, **kwargs) - def SatisfyConstraint(*args, **kwargs): return _core.IndividualLayoutConstraint_SatisfyConstraint(*args, **kwargs) - def GetEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetEdge(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, + int marg=wxLAYOUT_DEFAULT_MARGIN)""" + return _core.IndividualLayoutConstraint_Set(*args, **kwargs) + + def LeftOf(*args, **kwargs): + """LeftOf(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_LeftOf(*args, **kwargs) + + def RightOf(*args, **kwargs): + """RightOf(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_RightOf(*args, **kwargs) + + def Above(*args, **kwargs): + """Above(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_Above(*args, **kwargs) + + def Below(*args, **kwargs): + """Below(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_Below(*args, **kwargs) + + def SameAs(*args, **kwargs): + """SameAs(Window otherW, wxEdge edge, int marg=0)""" + return _core.IndividualLayoutConstraint_SameAs(*args, **kwargs) + + def PercentOf(*args, **kwargs): + """PercentOf(Window otherW, wxEdge wh, int per)""" + return _core.IndividualLayoutConstraint_PercentOf(*args, **kwargs) + + def Absolute(*args, **kwargs): + """Absolute(int val)""" + return _core.IndividualLayoutConstraint_Absolute(*args, **kwargs) + + def Unconstrained(*args, **kwargs): + """Unconstrained()""" + return _core.IndividualLayoutConstraint_Unconstrained(*args, **kwargs) + + def AsIs(*args, **kwargs): + """AsIs()""" + return _core.IndividualLayoutConstraint_AsIs(*args, **kwargs) + + def GetOtherWindow(*args, **kwargs): + """GetOtherWindow() -> Window""" + return _core.IndividualLayoutConstraint_GetOtherWindow(*args, **kwargs) + + def GetMyEdge(*args, **kwargs): + """GetMyEdge() -> wxEdge""" + return _core.IndividualLayoutConstraint_GetMyEdge(*args, **kwargs) + + def SetEdge(*args, **kwargs): + """SetEdge(wxEdge which)""" + return _core.IndividualLayoutConstraint_SetEdge(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int v)""" + return _core.IndividualLayoutConstraint_SetValue(*args, **kwargs) + + def GetMargin(*args, **kwargs): + """GetMargin() -> int""" + return _core.IndividualLayoutConstraint_GetMargin(*args, **kwargs) + + def SetMargin(*args, **kwargs): + """SetMargin(int m)""" + return _core.IndividualLayoutConstraint_SetMargin(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _core.IndividualLayoutConstraint_GetValue(*args, **kwargs) + + def GetPercent(*args, **kwargs): + """GetPercent() -> int""" + return _core.IndividualLayoutConstraint_GetPercent(*args, **kwargs) + + def GetOtherEdge(*args, **kwargs): + """GetOtherEdge() -> int""" + return _core.IndividualLayoutConstraint_GetOtherEdge(*args, **kwargs) + + def GetDone(*args, **kwargs): + """GetDone() -> bool""" + return _core.IndividualLayoutConstraint_GetDone(*args, **kwargs) + + def SetDone(*args, **kwargs): + """SetDone(bool d)""" + return _core.IndividualLayoutConstraint_SetDone(*args, **kwargs) + + def GetRelationship(*args, **kwargs): + """GetRelationship() -> wxRelationship""" + return _core.IndividualLayoutConstraint_GetRelationship(*args, **kwargs) + + def SetRelationship(*args, **kwargs): + """SetRelationship(wxRelationship r)""" + return _core.IndividualLayoutConstraint_SetRelationship(*args, **kwargs) + + def ResetIfWin(*args, **kwargs): + """ResetIfWin(Window otherW) -> bool""" + return _core.IndividualLayoutConstraint_ResetIfWin(*args, **kwargs) + + def SatisfyConstraint(*args, **kwargs): + """SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool""" + return _core.IndividualLayoutConstraint_SatisfyConstraint(*args, **kwargs) + + def GetEdge(*args, **kwargs): + """GetEdge(wxEdge which, Window thisWin, Window other) -> int""" + return _core.IndividualLayoutConstraint_GetEdge(*args, **kwargs) + class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): def __init__(self, this): @@ -4131,6 +7437,9 @@ class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): _core.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr) class LayoutConstraints(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) left = property(_core.LayoutConstraints_left_get) top = property(_core.LayoutConstraints_top_get) right = property(_core.LayoutConstraints_right_get) @@ -4140,14 +7449,19 @@ class LayoutConstraints(Object): centreX = property(_core.LayoutConstraints_centreX_get) centreY = property(_core.LayoutConstraints_centreY_get) def __init__(self, *args, **kwargs): + """__init__() -> LayoutConstraints""" newobj = _core.new_LayoutConstraints(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SatisfyConstraints(*args, **kwargs): return _core.LayoutConstraints_SatisfyConstraints(*args, **kwargs) - def AreSatisfied(*args, **kwargs): return _core.LayoutConstraints_AreSatisfied(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SatisfyConstraints(*args, **kwargs): + """SatisfyConstraints(Window win, int OUTPUT) -> bool""" + return _core.LayoutConstraints_SatisfyConstraints(*args, **kwargs) + + def AreSatisfied(*args, **kwargs): + """AreSatisfied() -> bool""" + return _core.LayoutConstraints_AreSatisfied(*args, **kwargs) + class LayoutConstraintsPtr(LayoutConstraints): def __init__(self, this): diff --git a/wxPython/src/mac/core_wrap.cpp b/wxPython/src/mac/core_wrap.cpp index d5c2cc172e..5799c049c5 100644 --- a/wxPython/src/mac/core_wrap.cpp +++ b/wxPython/src/mac/core_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -425,12 +419,12 @@ PyObject* wxPyConstructObject(void* ptr, // Extract a pointer to the wrapped C++ object from a Python proxy object. // Ensures that the proxy object is of the specified (or derived) type. If // not able to perform the conversion then a Python exception is set and the -// error should be handled properly in the caller. Returns true on success. +// error should be handled properly in the caller. Returns True on success. bool wxPyConvertSwigPtr(PyObject* obj, void **ptr, const wxChar* className) { swig_type_info* swigType = wxPyFindSwigType(className); - wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr")); + wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr")); return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1; } @@ -550,7 +544,7 @@ static wxPyCoreAPI API = { DECLARE_DEF_STRING(EmptyString); - DECLARE_DEF_STRING(PanelNameStr); +// DECLARE_DEF_STRING(PanelNameStr); #if ! wxUSE_HOTKEY @@ -576,7 +570,7 @@ void wxObject_Destroy(wxObject *self){ #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW #endif -PyObject *wxSize_asTuple(wxSize *self){ +PyObject *wxSize_Get(wxSize *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -588,7 +582,7 @@ void wxRealPoint_Set(wxRealPoint *self,double x,double y){ self->x = x; self->y = y; } -PyObject *wxRealPoint_asTuple(wxRealPoint *self){ +PyObject *wxRealPoint_Get(wxRealPoint *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x)); @@ -600,7 +594,7 @@ void wxPoint_Set(wxPoint *self,long x,long y){ self->x = x; self->y = y; } -PyObject *wxPoint_asTuple(wxPoint *self){ +PyObject *wxPoint_Get(wxPoint *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -614,7 +608,7 @@ void wxRect_Set(wxRect *self,int x,int y,int width,int height){ self->width = width; self->height = height; } -PyObject *wxRect_asTuple(wxRect *self){ +PyObject *wxRect_Get(wxRect *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(4); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -637,7 +631,7 @@ PyObject *wxRect_asTuple(wxRect *self){ if (dest != wxRect(0,0,0,0)) { wxPyBeginBlockThreads(); wxRect* newRect = new wxRect(dest); - obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true); + obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True); wxPyEndBlockThreads(); return obj; } @@ -676,7 +670,7 @@ void wxPoint2D_Set(wxPoint2D *self,double x,double y){ self->m_x = x; self->m_y = y; } -PyObject *wxPoint2D_asTuple(wxPoint2D *self){ +PyObject *wxPoint2D_Get(wxPoint2D *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x)); @@ -795,7 +789,7 @@ wxImage *new_wxImage(int width,int height,unsigned char *data){ return NULL; } memcpy(copy, data, width*height*3); - return new wxImage(width, height, copy, FALSE); + return new wxImage(width, height, copy, False); } PyObject *wxImage_GetData(wxImage *self){ unsigned char* data = self->GetData(); @@ -985,6 +979,7 @@ int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return + static const wxString wxPyPanelNameStr(wxPanelNameStr); PyObject *wxWindow_GetChildren(wxWindow *self){ wxWindowList& list = self->GetChildren(); return wxPy_ConvertList(&list); @@ -993,14 +988,14 @@ bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keyco - return FALSE; + return False; } bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){ - return FALSE; + return False; } long wxWindow_GetHandle(wxWindow *self){ @@ -1095,8 +1090,8 @@ PyObject *wxSizerItem_GetUserData(wxSizerItem *self){ struct wxPySizerItemInfo { wxPySizerItemInfo() - : window(NULL), sizer(NULL), gotSize(false), - size(wxDefaultSize), gotPos(false), pos(-1) + : window(NULL), sizer(NULL), gotSize(False), + size(wxDefaultSize), gotPos(False), pos(-1) {} wxWindow* window; @@ -1127,13 +1122,13 @@ static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, // try wxSize or (w,h) if ( checkSize && wxSize_helper(item, &sizePtr)) { info.size = *sizePtr; - info.gotSize = true; + info.gotSize = True; } // or a single int if (checkIdx && PyInt_Check(item)) { info.pos = PyInt_AsLong(item); - info.gotPos = true; + info.gotPos = True; } } } @@ -1161,7 +1156,7 @@ void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1179,7 +1174,7 @@ void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int f wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1197,7 +1192,7 @@ void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int bo wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1213,7 +1208,7 @@ void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int bo } bool wxSizer_Remove(wxSizer *self,PyObject *item){ wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True); wxPyEndBlockThreads(); if ( info.window ) return self->Remove(info.window); @@ -1222,11 +1217,11 @@ bool wxSizer_Remove(wxSizer *self,PyObject *item){ else if ( info.gotPos ) return self->Remove(info.pos); else - return FALSE; + return False; } -void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize size){ +void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){ wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True); wxPyEndBlockThreads(); if ( info.window ) self->SetItemMinSize(info.window, size); @@ -1240,27 +1235,27 @@ PyObject *wxSizer_GetChildren(wxSizer *self){ return wxPy_ConvertList(&list); } void wxSizer_Show(wxSizer *self,PyObject *item,bool show){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) self->Show(info.window, show); else if ( info.sizer ) self->Show(info.sizer, show); } void wxSizer_Hide(wxSizer *self,PyObject *item){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) self->Hide(info.window); else if ( info.sizer ) self->Hide(info.sizer); } bool wxSizer_IsShown(wxSizer *self,PyObject *item){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) return self->IsShown(info.window); else if ( info.sizer ) return self->IsShown(info.sizer); else - return false; + return False; } // See pyclasses.h @@ -1282,7 +1277,11 @@ bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj) } -PyObject *wxGBPosition_asTuple(wxGBPosition *self){ +void wxGBPosition_Set(wxGBPosition *self,int row,int col){ + self->SetRow(row); + self->SetCol(col); + } +PyObject *wxGBPosition_Get(wxGBPosition *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); @@ -1290,7 +1289,11 @@ PyObject *wxGBPosition_asTuple(wxGBPosition *self){ wxPyEndBlockThreads(); return tup; } -PyObject *wxGBSpan_asTuple(wxGBSpan *self){ +void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){ + self->SetRowspan(rowspan); + self->SetColspan(colspan); + } +PyObject *wxGBSpan_Get(wxGBSpan *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan())); @@ -1302,7 +1305,7 @@ bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const & wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1315,7 +1318,7 @@ bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const & else if (info.gotSize) return self->Add(info.size.GetWidth(), info.size.GetHeight(), pos, span, flag, border, data); - return false; + return False; } @@ -1532,7 +1535,7 @@ static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSize const *)arg1)->operator ==((wxSize const &)*arg2); + result = (bool)(arg1)->operator ==((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1564,7 +1567,7 @@ static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSize const *)arg1)->operator !=((wxSize const &)*arg2); + result = (bool)(arg1)->operator !=((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1717,7 +1720,7 @@ static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "xx",(char *) "yy", NULL + (char *) "self",(char *) "w",(char *) "h", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; @@ -1836,57 +1839,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject * } -static PyObject *_wrap_Size_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxSize *arg1 = (wxSize *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxSize const *)arg1)->GetX(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Size_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxSize *arg1 = (wxSize *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetY",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxSize const *)arg1)->GetY(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Size_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; @@ -1895,11 +1848,11 @@ static PyObject *_wrap_Size_asTuple(PyObject *self, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxSize_asTuple(arg1); + result = (PyObject *)wxSize_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2046,11 +1999,11 @@ static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject } -static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - wxRealPoint result; + bool result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2058,7 +2011,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObjec (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2066,27 +2019,23 @@ static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxRealPoint const *)arg1)->operator +((wxRealPoint const &)*arg2); + result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); - } + resultobj = PyInt_FromLong((long)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - wxRealPoint result; + bool result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2094,7 +2043,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObjec (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2102,27 +2051,23 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxRealPoint const *)arg1)->operator -((wxRealPoint const &)*arg2); + result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); - } + resultobj = PyInt_FromLong((long)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - bool result; + wxRealPoint result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2130,7 +2075,7 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2138,23 +2083,27 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxRealPoint const *)arg1)->operator ==((wxRealPoint const &)*arg2); + result = (arg1)->operator +((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + { + wxRealPoint * resultptr; + resultptr = new wxRealPoint((wxRealPoint &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - bool result; + wxRealPoint result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2162,7 +2111,7 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2170,12 +2119,16 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxRealPoint const *)arg1)->operator !=((wxRealPoint const &)*arg2); + result = (arg1)->operator -((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + { + wxRealPoint * resultptr; + resultptr = new wxRealPoint((wxRealPoint &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); + } return resultobj; fail: return NULL; @@ -2208,7 +2161,7 @@ static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *k } -static PyObject *_wrap_RealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; @@ -2217,11 +2170,11 @@ static PyObject *_wrap_RealPoint_asTuple(PyObject *self, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxRealPoint_asTuple(arg1); + result = (PyObject *)wxRealPoint_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2377,7 +2330,7 @@ static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kw PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail; @@ -2388,7 +2341,7 @@ static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kw } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPoint const *)arg1)->operator ==((wxPoint const &)*arg2); + result = (bool)(arg1)->operator ==((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2409,7 +2362,7 @@ static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kw PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail; @@ -2420,7 +2373,7 @@ static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kw } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPoint const *)arg1)->operator !=((wxPoint const &)*arg2); + result = (bool)(arg1)->operator !=((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2441,7 +2394,7 @@ static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *k PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail; @@ -2452,7 +2405,7 @@ static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *k } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPoint const *)arg1)->operator +((wxPoint const &)*arg2); + result = (arg1)->operator +((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2477,7 +2430,7 @@ static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *k PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail; @@ -2488,7 +2441,7 @@ static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *k } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPoint const *)arg1)->operator -((wxPoint const &)*arg2); + result = (arg1)->operator -((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2513,7 +2466,7 @@ static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject * PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail; @@ -2548,7 +2501,7 @@ static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject * PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail; @@ -2600,7 +2553,7 @@ static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_Point_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; @@ -2609,11 +2562,11 @@ static PyObject *_wrap_Point_asTuple(PyObject *self, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxPoint_asTuple(arg1); + result = (PyObject *)wxPoint_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3277,8 +3230,8 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxRect *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3307,8 +3260,8 @@ static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxRect *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3337,8 +3290,8 @@ static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "dx",(char *) "dy", NULL @@ -3840,7 +3793,7 @@ static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_Rect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; @@ -3849,11 +3802,11 @@ static PyObject *_wrap_Rect_asTuple(PyObject *self, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxRect_asTuple(arg1); + result = (PyObject *)wxRect_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4519,86 +4472,6 @@ static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject * } -static PyObject *_wrap_Point2D_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double arg2 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "m_x", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_x_set",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1) (arg1)->m_x = arg2; - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_x_get",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (double) ((arg1)->m_x); - - resultobj = PyFloat_FromDouble(result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double arg2 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "m_y", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_y_set",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1) (arg1)->m_y = arg2; - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_y_get",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (double) ((arg1)->m_y); - - resultobj = PyFloat_FromDouble(result); - return resultobj; - fail: - return NULL; -} - - static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint2D *arg1 = (wxPoint2D *) 0 ; @@ -4705,7 +4578,7 @@ static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwa } -static PyObject *_wrap_Point2D_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; @@ -4714,11 +4587,11 @@ static PyObject *_wrap_Point2D_asTuple(PyObject *self, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxPoint2D_asTuple(arg1); + result = (PyObject *)wxPoint2D_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5246,9 +5119,9 @@ static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwar wxFSFile *result; wxPyInputStream *temp1 ; bool created1 ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; wxDateTime *argp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -5263,31 +5136,31 @@ static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwar { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; arg5 = *argp5; @@ -5387,7 +5260,7 @@ static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -5579,7 +5452,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5591,7 +5464,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5621,7 +5494,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5638,7 +5511,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5670,7 +5543,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *arg wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5682,7 +5555,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5748,7 +5621,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *a wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5760,7 +5633,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5795,7 +5668,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObjec wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5807,7 +5680,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5842,7 +5715,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *arg wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5854,7 +5727,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5889,7 +5762,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObje wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5901,7 +5774,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5936,7 +5809,7 @@ static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyOb wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5948,7 +5821,7 @@ static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6037,8 +5910,8 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, P PyObject *resultobj; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; - bool temp2 = false ; + bool arg3 = (bool) False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6051,7 +5924,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6115,7 +5988,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObj wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6127,7 +6000,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6159,7 +6032,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6171,7 +6044,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6281,7 +6154,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -6291,7 +6164,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6332,7 +6205,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "url", NULL @@ -6342,7 +6215,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6399,7 +6272,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6411,7 +6284,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6441,7 +6314,7 @@ static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6458,7 +6331,7 @@ static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6518,7 +6391,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyOb wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6530,7 +6403,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6560,7 +6433,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyO wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6577,7 +6450,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6609,7 +6482,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6621,7 +6494,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6694,7 +6567,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObj wxString *arg1 = 0 ; wxImage *arg2 = 0 ; long arg3 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6705,7 +6578,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -6738,7 +6611,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyOb wxString *arg1 = 0 ; wxBitmap *arg2 = 0 ; long arg3 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6749,7 +6622,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -6781,7 +6654,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject PyObject *resultobj; wxString *arg1 = 0 ; PyObject *arg2 = (PyObject *) 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6792,7 +6665,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } arg2 = obj1; { @@ -6842,7 +6715,7 @@ static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -6852,7 +6725,7 @@ static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6881,7 +6754,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, P wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6893,7 +6766,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6923,7 +6796,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6940,7 +6813,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6972,7 +6845,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6984,7 +6857,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7175,7 +7048,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyOb wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7187,7 +7060,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7215,7 +7088,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7227,7 +7100,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7255,7 +7128,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7267,7 +7140,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7320,7 +7193,7 @@ static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7332,7 +7205,7 @@ static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7496,7 +7369,7 @@ static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwarg long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; wxImage *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type",(char *) "index", NULL @@ -7506,7 +7379,7 @@ static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwarg { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7560,8 +7433,8 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObjec wxString *arg2 = 0 ; int arg3 = (int) -1 ; wxImage *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7572,12 +7445,12 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7626,15 +7499,15 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObj { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { @@ -7667,7 +7540,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, P wxImage *result; wxPyInputStream *temp1 ; bool created1 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7678,21 +7551,21 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, P { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7728,7 +7601,7 @@ static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; int arg1 = (int) 0 ; int arg2 = (int) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; wxImage *result; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -8263,7 +8136,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -8273,7 +8146,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8302,7 +8175,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObj wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type", NULL @@ -8312,7 +8185,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8343,7 +8216,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject * long arg3 = (long) wxBITMAP_TYPE_ANY ; int arg4 = (int) -1 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8355,7 +8228,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8386,8 +8259,8 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObje wxString *arg3 = 0 ; int arg4 = (int) -1 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8400,12 +8273,12 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8443,7 +8316,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject * wxString *arg2 = 0 ; int arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8455,7 +8328,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8485,8 +8358,8 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8499,12 +8372,12 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8551,15 +8424,15 @@ static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObj { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { @@ -8604,15 +8477,15 @@ static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject { if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) { arg2 = temp2->m_wxis; - created2 = false; + created2 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg2 = wxPyCBInputStream_create(obj1, false); + arg2 = wxPyCBInputStream_create(obj1, False); if (arg2 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created2 = true; + created2 = True; } } { @@ -8646,7 +8519,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyOb bool result; wxPyInputStream *temp2 ; bool created2 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8659,21 +8532,21 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyOb { if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) { arg2 = temp2->m_wxis; - created2 = false; + created2 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg2 = wxPyCBInputStream_create(obj1, false); + arg2 = wxPyCBInputStream_create(obj1, False); if (arg2 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created2 = true; + created2 = True; } } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9199,7 +9072,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9256,7 +9129,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kw wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; wxPoint *arg5 = (wxPoint *) NULL ; SwigValueWrapper< wxImage > result; wxPoint temp3 ; @@ -9302,7 +9175,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; SwigValueWrapper< wxImage > result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9337,7 +9210,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; SwigValueWrapper< wxImage > result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9463,8 +9336,8 @@ static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9477,12 +9350,12 @@ static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9519,7 +9392,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObje wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9531,7 +9404,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9560,7 +9433,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9572,7 +9445,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9607,7 +9480,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObje wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9619,7 +9492,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9648,7 +9521,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9660,7 +9533,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9798,7 +9671,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -9808,7 +9681,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11031,7 +10904,7 @@ static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEvent *arg1 = (wxEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11361,7 +11234,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, Py PyObject *resultobj; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11373,7 +11246,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12789,7 +12662,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *a static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12799,7 +12672,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxMouseEvent const *)arg1)->GetX(); + result = (int)((wxMouseEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12814,7 +12687,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12824,7 +12697,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxMouseEvent const *)arg1)->GetY(); + result = (int)((wxMouseEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12939,7 +12812,7 @@ static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, P static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_x", NULL @@ -12959,7 +12832,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12967,7 +12840,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_x); + result = (int) ((arg1)->m_x); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -12979,7 +12852,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_y", NULL @@ -12999,7 +12872,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13007,7 +12880,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_y); + result = (int) ((arg1)->m_y); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -13446,8 +13319,8 @@ static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxCoord arg1 = (wxCoord) 0 ; - wxCoord arg2 = (wxCoord) 0 ; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; wxSetCursorEvent *result; char *kwnames[] = { (char *) "x",(char *) "y", NULL @@ -13471,7 +13344,7 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13481,7 +13354,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetX(); + result = (int)((wxSetCursorEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13496,7 +13369,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13506,7 +13379,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetY(); + result = (int)((wxSetCursorEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13809,7 +13682,7 @@ static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13819,7 +13692,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyCode(); + result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13834,7 +13707,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13844,7 +13717,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyFlags(); + result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13926,7 +13799,7 @@ static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13936,7 +13809,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *k if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxKeyEvent const *)arg1)->GetX(); + result = (int)((wxKeyEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13951,7 +13824,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13961,7 +13834,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *k if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxKeyEvent const *)arg1)->GetY(); + result = (int)((wxKeyEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13976,7 +13849,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_x", NULL @@ -13996,7 +13869,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14004,7 +13877,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_x); + result = (int) ((arg1)->m_x); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14016,7 +13889,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_y", NULL @@ -14036,7 +13909,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14044,7 +13917,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_y); + result = (int) ((arg1)->m_y); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14311,7 +14184,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, P static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 arg2 ; + unsigned int arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14320,7 +14193,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = (wxUint32) PyInt_AsLong(obj1); + arg2 = (unsigned int) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; if (arg1) (arg1)->m_rawCode = arg2; @@ -14334,7 +14207,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14342,7 +14215,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxUint32) ((arg1)->m_rawCode); + result = (unsigned int) ((arg1)->m_rawCode); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14354,7 +14227,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 arg2 ; + unsigned int arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14363,7 +14236,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = (wxUint32) PyInt_AsLong(obj1); + arg2 = (unsigned int) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; if (arg1) (arg1)->m_rawFlags = arg2; @@ -14377,7 +14250,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, P static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14385,7 +14258,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxUint32) ((arg1)->m_rawFlags); + result = (unsigned int) ((arg1)->m_rawFlags); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -15152,7 +15025,7 @@ static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; int arg3 = (int) 0 ; wxActivateEvent *result; PyObject * obj1 = 0 ; @@ -15434,7 +15307,7 @@ static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15549,7 +15422,7 @@ static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; int arg1 = (int) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxShowEvent *result; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15638,7 +15511,7 @@ static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; int arg1 = (int) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxIconizeEvent *result; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15814,7 +15687,7 @@ static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxUpdateUIEvent *result; char *kwnames[] = { (char *) "commandId", NULL @@ -16051,7 +15924,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16063,7 +15936,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16259,7 +16132,7 @@ static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *a } static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; PyObject * obj1 = 0 ; @@ -16350,7 +16223,7 @@ static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *arg } static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxPaletteChangedEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -16434,7 +16307,7 @@ static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *arg } static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; char *kwnames[] = { (char *) "winid", NULL @@ -16829,7 +16702,7 @@ static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - wxWindowID arg2 = (wxWindowID) 0 ; + int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxContextMenuEvent *result; @@ -16951,7 +16824,7 @@ static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17406,7 +17279,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17418,7 +17291,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17477,7 +17350,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17489,7 +17362,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17545,7 +17418,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17557,7 +17430,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17633,7 +17506,7 @@ static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; - bool arg2 = (bool) false ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18392,7 +18265,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL @@ -18402,7 +18275,7 @@ static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *a { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18547,7 +18420,7 @@ static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) NULL ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18673,10 +18546,30 @@ static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) } +static int _wrap_PanelNameStr_set(PyObject *_val) { + PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_PanelNameStr_get() { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len()); +#endif + } + return pyobj; +} + + static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -18687,7 +18580,7 @@ static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwar wxWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -18714,7 +18607,7 @@ static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwar { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -18769,7 +18662,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -18780,7 +18673,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -18809,7 +18702,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -18837,7 +18730,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18944,7 +18837,7 @@ static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18956,7 +18849,7 @@ static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19015,7 +18908,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -19027,7 +18920,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19086,7 +18979,7 @@ static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -19098,7 +18991,7 @@ static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19156,7 +19049,7 @@ static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "winid", NULL @@ -19181,7 +19074,7 @@ static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -19191,7 +19084,7 @@ static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kw if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindowID)((wxWindow const *)arg1)->GetId(); + result = (int)((wxWindow const *)arg1)->GetId(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19597,7 +19490,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObje if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetPosition(); + result = (arg1)->GetPosition(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19631,7 +19524,7 @@ static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxWindow const *)arg1)->GetPosition(arg2,arg3); + (arg1)->GetPosition(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20434,7 +20327,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -20490,7 +20383,7 @@ static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -20797,7 +20690,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21327,7 +21220,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, P wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21339,7 +21232,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21449,7 +21342,7 @@ static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, P static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxEvtHandler *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22015,7 +21908,7 @@ static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxRect *arg3 = (wxRect *) NULL ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22702,7 +22595,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ; - bool temp2 = false ; + bool temp2 = False ; int temp3 ; int temp4 ; PyObject * obj0 = 0 ; @@ -22718,7 +22611,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22759,7 +22652,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, int *arg5 = (int *) 0 ; int *arg6 = (int *) 0 ; wxFont *arg7 = (wxFont *) NULL ; - bool temp2 = false ; + bool temp2 = False ; int temp3 ; int temp4 ; int temp5 ; @@ -22780,7 +22673,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22994,8 +22887,8 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyO static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23249,7 +23142,7 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObj int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) TRUE ; + bool arg6 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -23281,7 +23174,7 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObj wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -23573,7 +23466,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23585,7 +23478,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23613,7 +23506,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, P PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23625,7 +23518,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23684,7 +23577,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, P PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23696,7 +23589,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23960,7 +23853,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23993,7 +23886,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24145,7 +24038,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24156,7 +24049,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -24190,7 +24083,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObjec wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24201,7 +24094,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -24465,7 +24358,7 @@ static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - int arg1 = (int) TRUE ; + int arg1 = (int) True ; char *kwnames[] = { (char *) "doIt", NULL }; @@ -24519,7 +24412,7 @@ static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *ar wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; - int arg4 = (int) TRUE ; + int arg4 = (int) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24572,7 +24465,7 @@ static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; wxMenu *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title",(char *) "style", NULL @@ -24583,7 +24476,7 @@ static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -24618,8 +24511,8 @@ static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxITEM_NORMAL ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24632,13 +24525,13 @@ static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwa { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24702,8 +24595,8 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyOb wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24716,13 +24609,13 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24762,8 +24655,8 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyOb wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24776,13 +24669,13 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24823,8 +24716,8 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg4 = (wxMenu *) 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp3 = false ; - bool temp5 = false ; + bool temp3 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24838,14 +24731,14 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -24970,8 +24863,8 @@ static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; int arg6 = (int) wxITEM_NORMAL ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -24987,13 +24880,13 @@ static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwa { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25062,8 +24955,8 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyOb wxString *arg4 = 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25079,13 +24972,13 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25126,8 +25019,8 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyOb wxString *arg4 = 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25143,13 +25036,13 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25191,8 +25084,8 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg5 = (wxMenu *) 0 ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; - bool temp4 = false ; - bool temp6 = false ; + bool temp4 = False ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25209,14 +25102,14 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj5) { { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -25284,8 +25177,8 @@ static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kw wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxITEM_NORMAL ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25298,13 +25191,13 @@ static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25368,8 +25261,8 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25382,13 +25275,13 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25428,8 +25321,8 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25442,13 +25335,13 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25489,8 +25382,8 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg4 = (wxMenu *) 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp3 = false ; - bool temp5 = false ; + bool temp3 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25504,14 +25397,14 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25789,7 +25682,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *k wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -25801,7 +25694,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25999,7 +25892,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *k wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -26011,7 +25904,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26072,7 +25965,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObje wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -26084,7 +25977,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26144,7 +26037,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -26156,7 +26049,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26568,7 +26461,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject * wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26582,7 +26475,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26613,7 +26506,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject * wxMenu *arg3 = (wxMenu *) 0 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26630,7 +26523,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject * { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26717,7 +26610,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject wxMenu *arg3 = (wxMenu *) 0 ; wxString *arg4 = 0 ; wxMenu *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26734,7 +26627,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26857,7 +26750,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObj wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26872,7 +26765,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObj { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26937,8 +26830,8 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; wxString *arg3 = 0 ; int result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26951,12 +26844,12 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27021,7 +26914,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -27033,7 +26926,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27172,7 +27065,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -27184,7 +27077,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27245,7 +27138,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyO wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -27257,7 +27150,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27434,8 +27327,8 @@ static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kw int arg5 = (int) wxITEM_NORMAL ; wxMenu *arg6 = (wxMenu *) NULL ; wxMenuItem *result; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -27452,14 +27345,14 @@ static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj5) { @@ -27630,7 +27523,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -27642,7 +27535,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27729,7 +27622,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -27739,7 +27632,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27929,7 +27822,7 @@ static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -27984,7 +27877,7 @@ static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28064,7 +27957,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28076,7 +27969,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28270,7 +28163,7 @@ static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -28283,7 +28176,7 @@ static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwa wxControl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -28317,7 +28210,7 @@ static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwa { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -28372,7 +28265,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -28385,7 +28278,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -28421,7 +28314,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -28511,7 +28404,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28523,7 +28416,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28560,7 +28453,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -28573,7 +28466,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = obj2; @@ -28658,7 +28551,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyOb int arg3 ; PyObject *arg4 = (PyObject *) NULL ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -28671,7 +28564,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { arg4 = obj3; @@ -28861,7 +28754,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, P wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -28873,7 +28766,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28902,7 +28795,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28914,7 +28807,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30172,8 +30065,8 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; - wxSize arg3 ; - wxSize *argp3 ; + wxSize *arg3 = 0 ; + wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -30184,11 +30077,13 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; arg2 = obj1; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + arg3 = &temp3; + if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxSizer__SetItemMinSize(arg1,arg2,arg3); + wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30622,7 +30517,7 @@ static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -30702,7 +30597,7 @@ static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -31705,6 +31600,78 @@ static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyOb } +static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; + wxArrayInt *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights(); + result = (wxArrayInt *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = PyList_New(0); + size_t idx; + for (idx = 0; idx < result->GetCount(); idx += 1) { + PyObject* val = PyInt_FromLong( result->Item(idx) ); + PyList_Append(resultobj, val); + Py_DECREF(val); + } + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; + wxArrayInt *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths(); + result = (wxArrayInt *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = PyList_New(0); + size_t idx; + for (idx = 0; idx < result->GetCount(); idx += 1) { + PyObject* val = PyInt_FromLong( result->Item(idx) ); + PyList_Append(resultobj, val); + Py_DECREF(val); + } + } + return resultobj; + fail: + return NULL; +} + + static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -31900,7 +31867,33 @@ static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObjec } -static PyObject *_wrap_GBPosition_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGBPosition *arg1 = (wxGBPosition *) 0 ; + int arg2 = (int) 0 ; + int arg3 = (int) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "row",(char *) "col", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxGBPosition_Set(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; @@ -31909,11 +31902,11 @@ static PyObject *_wrap_GBPosition_asTuple(PyObject *self, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxGBPosition_asTuple(arg1); + result = (PyObject *)wxGBPosition_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32120,7 +32113,33 @@ static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *k } -static PyObject *_wrap_GBSpan_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGBSpan *arg1 = (wxGBSpan *) 0 ; + int arg2 = (int) 1 ; + int arg3 = (int) 1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "rowspan",(char *) "colspan", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxGBSpan_Set(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; @@ -32129,11 +32148,11 @@ static PyObject *_wrap_GBSpan_asTuple(PyObject *self, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxGBSpan_asTuple(arg1); + result = (PyObject *)wxGBSpan_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33727,6 +33746,38 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject } +static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; + wxPoint *arg2 = 0 ; + wxGBSizerItem *result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; @@ -34953,9 +35004,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_GetX", (PyCFunction) _wrap_Size_GetX, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_GetY", (PyCFunction) _wrap_Size_GetY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_asTuple", (PyCFunction) _wrap_Size_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS }, { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS }, @@ -34963,12 +35012,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS }, { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint_asTuple", (PyCFunction) _wrap_RealPoint_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS }, { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS }, @@ -34983,7 +35032,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point_asTuple", (PyCFunction) _wrap_Point_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS }, { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS }, @@ -35030,7 +35079,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Rect_asTuple", (PyCFunction) _wrap_Rect_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS }, { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS }, @@ -35053,16 +35102,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_x_set", (PyCFunction) _wrap_Point2D_m_x_set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_x_get", (PyCFunction) _wrap_Point2D_m_x_get, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_y_set", (PyCFunction) _wrap_Point2D_m_y_set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_y_get", (PyCFunction) _wrap_Point2D_m_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_asTuple", (PyCFunction) _wrap_Point2D_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS }, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS }, { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS }, @@ -36039,6 +36084,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS }, + { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS }, { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS }, @@ -36047,7 +36094,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"GBPosition_asTuple", (PyCFunction) _wrap_GBPosition_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS }, { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS }, @@ -36056,7 +36104,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"GBSpan_asTuple", (PyCFunction) _wrap_GBSpan_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS }, { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS }, @@ -36082,6 +36131,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS }, { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS }, { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, @@ -37784,6 +37834,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); + SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); diff --git a/wxPython/src/mac/gdi.py b/wxPython/src/mac/gdi.py index 2dbe2d56f1..b0e8ffb3f1 100644 --- a/wxPython/src/mac/gdi.py +++ b/wxPython/src/mac/gdi.py @@ -8,20 +8,33 @@ wx = core #--------------------------------------------------------------------------- class GDIObject(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GDIObject""" newobj = _gdi.new_GDIObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_GDIObject): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetVisible(*args, **kwargs): return _gdi.GDIObject_GetVisible(*args, **kwargs) - def SetVisible(*args, **kwargs): return _gdi.GDIObject_SetVisible(*args, **kwargs) - def IsNull(*args, **kwargs): return _gdi.GDIObject_IsNull(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetVisible(*args, **kwargs): + """GetVisible() -> bool""" + return _gdi.GDIObject_GetVisible(*args, **kwargs) + + def SetVisible(*args, **kwargs): + """SetVisible(bool visible)""" + return _gdi.GDIObject_SetVisible(*args, **kwargs) + + def IsNull(*args, **kwargs): + """IsNull() -> bool""" + return _gdi.GDIObject_IsNull(*args, **kwargs) + class GDIObjectPtr(GDIObject): def __init__(self, this): @@ -33,24 +46,57 @@ _gdi.GDIObject_swigregister(GDIObjectPtr) #--------------------------------------------------------------------------- class Colour(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour""" newobj = _gdi.new_Colour(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Colour): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Red(*args, **kwargs): return _gdi.Colour_Red(*args, **kwargs) - def Green(*args, **kwargs): return _gdi.Colour_Green(*args, **kwargs) - def Blue(*args, **kwargs): return _gdi.Colour_Blue(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Colour_Ok(*args, **kwargs) - def Set(*args, **kwargs): return _gdi.Colour_Set(*args, **kwargs) - def SetRBG(*args, **kwargs): return _gdi.Colour_SetRBG(*args, **kwargs) - def __eq__(*args, **kwargs): return _gdi.Colour___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _gdi.Colour___ne__(*args, **kwargs) - def Get(*args, **kwargs): return _gdi.Colour_Get(*args, **kwargs) + + def Red(*args, **kwargs): + """Red() -> unsigned char""" + return _gdi.Colour_Red(*args, **kwargs) + + def Green(*args, **kwargs): + """Green() -> unsigned char""" + return _gdi.Colour_Green(*args, **kwargs) + + def Blue(*args, **kwargs): + """Blue() -> unsigned char""" + return _gdi.Colour_Blue(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Colour_Ok(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(unsigned char red, unsigned char green, unsigned char blue)""" + return _gdi.Colour_Set(*args, **kwargs) + + def SetRBG(*args, **kwargs): + """SetRBG(unsigned long colRGB)""" + return _gdi.Colour_SetRBG(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Colour colour) -> bool""" + return _gdi.Colour___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Colour colour) -> bool""" + return _gdi.Colour___ne__(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _gdi.Colour_Get(*args, **kwargs) + asTuple = Get def __str__(self): return str(self.asTuple()) def __repr__(self): return 'wxColour' + str(self.asTuple()) @@ -68,30 +114,45 @@ class ColourPtr(Colour): _gdi.Colour_swigregister(ColourPtr) def NamedColour(*args, **kwargs): + """NamedColour(wxString colorName) -> Colour""" val = _gdi.new_NamedColour(*args, **kwargs) val.thisown = 1 return val def ColourRGB(*args, **kwargs): + """ColourRGB(unsigned long colRGB) -> Colour""" val = _gdi.new_ColourRGB(*args, **kwargs) val.thisown = 1 return val class Palette(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette""" newobj = _gdi.new_Palette(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Palette): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPixel(*args, **kwargs): return _gdi.Palette_GetPixel(*args, **kwargs) - def GetRGB(*args, **kwargs): return _gdi.Palette_GetRGB(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Palette_Ok(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPixel(*args, **kwargs): + """GetPixel(byte red, byte green, byte blue) -> int""" + return _gdi.Palette_GetPixel(*args, **kwargs) + + def GetRGB(*args, **kwargs): + """GetRGB(int pixel, byte OUTPUT, byte OUTPUT, byte OUTPUT) -> bool""" + return _gdi.Palette_GetRGB(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Palette_Ok(*args, **kwargs) + class PalettePtr(Palette): def __init__(self, this): @@ -103,31 +164,74 @@ _gdi.Palette_swigregister(PalettePtr) #--------------------------------------------------------------------------- class Pen(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int width=1, int style=SOLID) -> Pen""" newobj = _gdi.new_Pen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Pen): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetCap(*args, **kwargs): return _gdi.Pen_GetCap(*args, **kwargs) - def GetColour(*args, **kwargs): return _gdi.Pen_GetColour(*args, **kwargs) - def GetJoin(*args, **kwargs): return _gdi.Pen_GetJoin(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Pen_GetStyle(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Pen_GetWidth(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Pen_Ok(*args, **kwargs) - def SetCap(*args, **kwargs): return _gdi.Pen_SetCap(*args, **kwargs) - def SetColour(*args, **kwargs): return _gdi.Pen_SetColour(*args, **kwargs) - def SetJoin(*args, **kwargs): return _gdi.Pen_SetJoin(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Pen_SetStyle(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Pen_SetWidth(*args, **kwargs) - def SetDashes(*args, **kwargs): return _gdi.Pen_SetDashes(*args, **kwargs) - def GetDashes(*args, **kwargs): return _gdi.Pen_GetDashes(*args, **kwargs) + + def GetCap(*args, **kwargs): + """GetCap() -> int""" + return _gdi.Pen_GetCap(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> Colour""" + return _gdi.Pen_GetColour(*args, **kwargs) + + def GetJoin(*args, **kwargs): + """GetJoin() -> int""" + return _gdi.Pen_GetJoin(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Pen_GetStyle(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Pen_GetWidth(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Pen_Ok(*args, **kwargs) + + def SetCap(*args, **kwargs): + """SetCap(int cap_style)""" + return _gdi.Pen_SetCap(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(Colour colour)""" + return _gdi.Pen_SetColour(*args, **kwargs) + + def SetJoin(*args, **kwargs): + """SetJoin(int join_style)""" + return _gdi.Pen_SetJoin(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Pen_SetStyle(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _gdi.Pen_SetWidth(*args, **kwargs) + + def SetDashes(*args, **kwargs): + """SetDashes(int dashes, wxDash dashes_array)""" + return _gdi.Pen_SetDashes(*args, **kwargs) + + def GetDashes(*args, **kwargs): + """GetDashes() -> PyObject""" + return _gdi.Pen_GetDashes(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PenPtr(Pen): def __init__(self, this): @@ -137,18 +241,25 @@ class PenPtr(Pen): _gdi.Pen_swigregister(PenPtr) class PyPen(Pen): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int width=1, int style=SOLID) -> PyPen""" newobj = _gdi.new_PyPen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_PyPen): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetDashes(*args, **kwargs): return _gdi.PyPen_SetDashes(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetDashes(*args, **kwargs): + """SetDashes(int dashes, wxDash dashes_array)""" + return _gdi.PyPen_SetDashes(*args, **kwargs) + class PyPenPtr(PyPen): def __init__(self, this): @@ -161,27 +272,58 @@ Pen = PyPen #--------------------------------------------------------------------------- class Brush(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int style=SOLID) -> Brush""" newobj = _gdi.new_Brush(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Brush): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetColour(*args, **kwargs): return _gdi.Brush_SetColour(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Brush_SetStyle(*args, **kwargs) - def SetStipple(*args, **kwargs): return _gdi.Brush_SetStipple(*args, **kwargs) - def GetColour(*args, **kwargs): return _gdi.Brush_GetColour(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Brush_GetStyle(*args, **kwargs) - def GetStipple(*args, **kwargs): return _gdi.Brush_GetStipple(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Brush_Ok(*args, **kwargs) - def GetMacTheme(*args, **kwargs): return _gdi.Brush_GetMacTheme(*args, **kwargs) - def SetMacTheme(*args, **kwargs): return _gdi.Brush_SetMacTheme(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(Colour col)""" + return _gdi.Brush_SetColour(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Brush_SetStyle(*args, **kwargs) + + def SetStipple(*args, **kwargs): + """SetStipple(Bitmap stipple)""" + return _gdi.Brush_SetStipple(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> Colour""" + return _gdi.Brush_GetColour(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Brush_GetStyle(*args, **kwargs) + + def GetStipple(*args, **kwargs): + """GetStipple() -> Bitmap""" + return _gdi.Brush_GetStipple(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Brush_Ok(*args, **kwargs) + + def GetMacTheme(*args, **kwargs): + """GetMacTheme() -> short""" + return _gdi.Brush_GetMacTheme(*args, **kwargs) + + def SetMacTheme(*args, **kwargs): + """SetMacTheme(short macThemeBrush)""" + return _gdi.Brush_SetMacTheme(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BrushPtr(Brush): def __init__(self, this): @@ -191,33 +333,82 @@ class BrushPtr(Brush): _gdi.Brush_swigregister(BrushPtr) class Bitmap(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap""" newobj = _gdi.new_Bitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Bitmap): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.Bitmap_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Bitmap_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.Bitmap_GetHeight(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.Bitmap_GetDepth(*args, **kwargs) - def ConvertToImage(*args, **kwargs): return _gdi.Bitmap_ConvertToImage(*args, **kwargs) - def GetMask(*args, **kwargs): return _gdi.Bitmap_GetMask(*args, **kwargs) - def SetMask(*args, **kwargs): return _gdi.Bitmap_SetMask(*args, **kwargs) - def SetMaskColour(*args, **kwargs): return _gdi.Bitmap_SetMaskColour(*args, **kwargs) - def GetSubBitmap(*args, **kwargs): return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) - def SaveFile(*args, **kwargs): return _gdi.Bitmap_SaveFile(*args, **kwargs) - def LoadFile(*args, **kwargs): return _gdi.Bitmap_LoadFile(*args, **kwargs) - def CopyFromIcon(*args, **kwargs): return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) - def SetHeight(*args, **kwargs): return _gdi.Bitmap_SetHeight(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Bitmap_SetWidth(*args, **kwargs) - def SetDepth(*args, **kwargs): return _gdi.Bitmap_SetDepth(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Bitmap_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Bitmap_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.Bitmap_GetHeight(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.Bitmap_GetDepth(*args, **kwargs) + + def ConvertToImage(*args, **kwargs): + """ConvertToImage() -> Image""" + return _gdi.Bitmap_ConvertToImage(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> Mask""" + return _gdi.Bitmap_GetMask(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(Mask mask)""" + return _gdi.Bitmap_SetMask(*args, **kwargs) + + def SetMaskColour(*args, **kwargs): + """SetMaskColour(Colour colour)""" + return _gdi.Bitmap_SetMaskColour(*args, **kwargs) + + def GetSubBitmap(*args, **kwargs): + """GetSubBitmap(Rect rect) -> Bitmap""" + return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool""" + return _gdi.Bitmap_SaveFile(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString name, wxBitmapType type) -> bool""" + return _gdi.Bitmap_LoadFile(*args, **kwargs) + + def CopyFromIcon(*args, **kwargs): + """CopyFromIcon(Icon icon) -> bool""" + return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int height)""" + return _gdi.Bitmap_SetHeight(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _gdi.Bitmap_SetWidth(*args, **kwargs) + + def SetDepth(*args, **kwargs): + """SetDepth(int depth)""" + return _gdi.Bitmap_SetDepth(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BitmapPtr(Bitmap): def __init__(self, this): @@ -227,38 +418,45 @@ class BitmapPtr(Bitmap): _gdi.Bitmap_swigregister(BitmapPtr) def EmptyBitmap(*args, **kwargs): + """EmptyBitmap(int width, int height, int depth=-1) -> Bitmap""" val = _gdi.new_EmptyBitmap(*args, **kwargs) val.thisown = 1 return val def BitmapFromIcon(*args, **kwargs): + """BitmapFromIcon(Icon icon) -> Bitmap""" val = _gdi.new_BitmapFromIcon(*args, **kwargs) val.thisown = 1 return val def BitmapFromImage(*args, **kwargs): + """BitmapFromImage(Image image, int depth=-1) -> Bitmap""" val = _gdi.new_BitmapFromImage(*args, **kwargs) val.thisown = 1 return val def BitmapFromXPMData(*args, **kwargs): + """BitmapFromXPMData(PyObject listOfStrings) -> Bitmap""" val = _gdi.new_BitmapFromXPMData(*args, **kwargs) val.thisown = 1 return val def BitmapFromBits(*args, **kwargs): + """BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap""" val = _gdi.new_BitmapFromBits(*args, **kwargs) val.thisown = 1 return val class Mask(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Bitmap bitmap) -> Mask""" newobj = _gdi.new_Mask(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MaskPtr(Mask): def __init__(self, this): @@ -268,31 +466,60 @@ class MaskPtr(Mask): _gdi.Mask_swigregister(MaskPtr) def MaskColour(*args, **kwargs): + """MaskColour(Bitmap bitmap, Colour colour) -> Mask""" val = _gdi.new_MaskColour(*args, **kwargs) val.thisown = 1 return val class Icon(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, long flags, int desiredWidth=-1, int desiredHeight=-1) -> Icon""" newobj = _gdi.new_Icon(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Icon): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.Icon_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Icon_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.Icon_GetHeight(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.Icon_GetDepth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Icon_SetWidth(*args, **kwargs) - def SetHeight(*args, **kwargs): return _gdi.Icon_SetHeight(*args, **kwargs) - def SetDepth(*args, **kwargs): return _gdi.Icon_SetDepth(*args, **kwargs) - def CopyFromBitmap(*args, **kwargs): return _gdi.Icon_CopyFromBitmap(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Icon_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Icon_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.Icon_GetHeight(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.Icon_GetDepth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _gdi.Icon_SetWidth(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _gdi.Icon_SetHeight(*args, **kwargs) + + def SetDepth(*args, **kwargs): + """SetDepth(int d)""" + return _gdi.Icon_SetDepth(*args, **kwargs) + + def CopyFromBitmap(*args, **kwargs): + """CopyFromBitmap(Bitmap bmp)""" + return _gdi.Icon_CopyFromBitmap(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class IconPtr(Icon): def __init__(self, this): @@ -302,43 +529,66 @@ class IconPtr(Icon): _gdi.Icon_swigregister(IconPtr) def EmptyIcon(*args, **kwargs): + """EmptyIcon() -> Icon""" val = _gdi.new_EmptyIcon(*args, **kwargs) val.thisown = 1 return val def IconFromLocation(*args, **kwargs): + """IconFromLocation(IconLocation loc) -> Icon""" val = _gdi.new_IconFromLocation(*args, **kwargs) val.thisown = 1 return val def IconFromBitmap(*args, **kwargs): + """IconFromBitmap(Bitmap bmp) -> Icon""" val = _gdi.new_IconFromBitmap(*args, **kwargs) val.thisown = 1 return val def IconFromXPMData(*args, **kwargs): + """IconFromXPMData(PyObject listOfStrings) -> Icon""" val = _gdi.new_IconFromXPMData(*args, **kwargs) val.thisown = 1 return val class IconLocation(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=&wxPyEmptyString, int num=0) -> IconLocation""" newobj = _gdi.new_IconLocation(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_IconLocation): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _gdi.IconLocation_IsOk(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _gdi.IconLocation_IsOk(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def SetFileName(*args, **kwargs): return _gdi.IconLocation_SetFileName(*args, **kwargs) - def GetFileName(*args, **kwargs): return _gdi.IconLocation_GetFileName(*args, **kwargs) - def SetIndex(*args, **kwargs): return _gdi.IconLocation_SetIndex(*args, **kwargs) - def GetIndex(*args, **kwargs): return _gdi.IconLocation_GetIndex(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFileName(*args, **kwargs): + """SetFileName(wxString filename)""" + return _gdi.IconLocation_SetFileName(*args, **kwargs) + + def GetFileName(*args, **kwargs): + """GetFileName() -> wxString""" + return _gdi.IconLocation_GetFileName(*args, **kwargs) + + def SetIndex(*args, **kwargs): + """SetIndex(int num)""" + return _gdi.IconLocation_SetIndex(*args, **kwargs) + + def GetIndex(*args, **kwargs): + """GetIndex() -> int""" + return _gdi.IconLocation_GetIndex(*args, **kwargs) + class IconLocationPtr(IconLocation): def __init__(self, this): @@ -348,20 +598,33 @@ class IconLocationPtr(IconLocation): _gdi.IconLocation_swigregister(IconLocationPtr) class IconBundle(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> IconBundle""" newobj = _gdi.new_IconBundle(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_IconBundle): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def AddIcon(*args, **kwargs): return _gdi.IconBundle_AddIcon(*args, **kwargs) - def AddIconFromFile(*args, **kwargs): return _gdi.IconBundle_AddIconFromFile(*args, **kwargs) - def GetIcon(*args, **kwargs): return _gdi.IconBundle_GetIcon(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def AddIcon(*args, **kwargs): + """AddIcon(Icon icon)""" + return _gdi.IconBundle_AddIcon(*args, **kwargs) + + def AddIconFromFile(*args, **kwargs): + """AddIconFromFile(wxString file, long type)""" + return _gdi.IconBundle_AddIconFromFile(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon(Size size) -> Icon""" + return _gdi.IconBundle_GetIcon(*args, **kwargs) + class IconBundlePtr(IconBundle): def __init__(self, this): @@ -371,29 +634,38 @@ class IconBundlePtr(IconBundle): _gdi.IconBundle_swigregister(IconBundlePtr) def IconBundleFromFile(*args, **kwargs): + """IconBundleFromFile(wxString file, long type) -> IconBundle""" val = _gdi.new_IconBundleFromFile(*args, **kwargs) val.thisown = 1 return val def IconBundleFromIcon(*args, **kwargs): + """IconBundleFromIcon(Icon icon) -> IconBundle""" val = _gdi.new_IconBundleFromIcon(*args, **kwargs) val.thisown = 1 return val class Cursor(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString cursorName, long flags, int hotSpotX=0, int hotSpotY=0) -> Cursor""" newobj = _gdi.new_Cursor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Cursor): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.Cursor_Ok(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Cursor_Ok(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class CursorPtr(Cursor): def __init__(self, this): @@ -403,16 +675,20 @@ class CursorPtr(Cursor): _gdi.Cursor_swigregister(CursorPtr) def StockCursor(*args, **kwargs): + """StockCursor(int id) -> Cursor""" val = _gdi.new_StockCursor(*args, **kwargs) val.thisown = 1 return val def CursorFromImage(*args, **kwargs): + """CursorFromImage(Image image) -> Cursor""" val = _gdi.new_CursorFromImage(*args, **kwargs) val.thisown = 1 return val def CursorFromBits(*args, **kwargs): + """CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, + int hotSpotY=-1, PyObject maskBits=0) -> Cursor""" val = _gdi.new_CursorFromBits(*args, **kwargs) val.thisown = 1 return val @@ -423,38 +699,105 @@ OutRegion = _gdi.OutRegion PartRegion = _gdi.PartRegion InRegion = _gdi.InRegion class Region(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0, int width=0, int height=0) -> Region""" newobj = _gdi.new_Region(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Region): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Clear(*args, **kwargs): return _gdi.Region_Clear(*args, **kwargs) - def Contains(*args, **kwargs): return _gdi.Region_Contains(*args, **kwargs) - def ContainsPoint(*args, **kwargs): return _gdi.Region_ContainsPoint(*args, **kwargs) - def ContainsRect(*args, **kwargs): return _gdi.Region_ContainsRect(*args, **kwargs) - def ContainsRectDim(*args, **kwargs): return _gdi.Region_ContainsRectDim(*args, **kwargs) - def GetBox(*args, **kwargs): return _gdi.Region_GetBox(*args, **kwargs) - def Intersect(*args, **kwargs): return _gdi.Region_Intersect(*args, **kwargs) - def IntersectRect(*args, **kwargs): return _gdi.Region_IntersectRect(*args, **kwargs) - def IntersectRegion(*args, **kwargs): return _gdi.Region_IntersectRegion(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _gdi.Region_IsEmpty(*args, **kwargs) - def Union(*args, **kwargs): return _gdi.Region_Union(*args, **kwargs) - def UnionRect(*args, **kwargs): return _gdi.Region_UnionRect(*args, **kwargs) - def UnionRegion(*args, **kwargs): return _gdi.Region_UnionRegion(*args, **kwargs) - def Subtract(*args, **kwargs): return _gdi.Region_Subtract(*args, **kwargs) - def SubtractRect(*args, **kwargs): return _gdi.Region_SubtractRect(*args, **kwargs) - def SubtractRegion(*args, **kwargs): return _gdi.Region_SubtractRegion(*args, **kwargs) - def Xor(*args, **kwargs): return _gdi.Region_Xor(*args, **kwargs) - def XorRect(*args, **kwargs): return _gdi.Region_XorRect(*args, **kwargs) - def XorRegion(*args, **kwargs): return _gdi.Region_XorRegion(*args, **kwargs) - def ConvertToBitmap(*args, **kwargs): return _gdi.Region_ConvertToBitmap(*args, **kwargs) - def UnionBitmap(*args, **kwargs): return _gdi.Region_UnionBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Clear(*args, **kwargs): + """Clear()""" + return _gdi.Region_Clear(*args, **kwargs) + + def Contains(*args, **kwargs): + """Contains(int x, int y) -> wxRegionContain""" + return _gdi.Region_Contains(*args, **kwargs) + + def ContainsPoint(*args, **kwargs): + """ContainsPoint(Point pt) -> wxRegionContain""" + return _gdi.Region_ContainsPoint(*args, **kwargs) + + def ContainsRect(*args, **kwargs): + """ContainsRect(Rect rect) -> wxRegionContain""" + return _gdi.Region_ContainsRect(*args, **kwargs) + + def ContainsRectDim(*args, **kwargs): + """ContainsRectDim(int x, int y, int w, int h) -> wxRegionContain""" + return _gdi.Region_ContainsRectDim(*args, **kwargs) + + def GetBox(*args, **kwargs): + """GetBox() -> Rect""" + return _gdi.Region_GetBox(*args, **kwargs) + + def Intersect(*args, **kwargs): + """Intersect(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Intersect(*args, **kwargs) + + def IntersectRect(*args, **kwargs): + """IntersectRect(Rect rect) -> bool""" + return _gdi.Region_IntersectRect(*args, **kwargs) + + def IntersectRegion(*args, **kwargs): + """IntersectRegion(Region region) -> bool""" + return _gdi.Region_IntersectRegion(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _gdi.Region_IsEmpty(*args, **kwargs) + + def Union(*args, **kwargs): + """Union(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Union(*args, **kwargs) + + def UnionRect(*args, **kwargs): + """UnionRect(Rect rect) -> bool""" + return _gdi.Region_UnionRect(*args, **kwargs) + + def UnionRegion(*args, **kwargs): + """UnionRegion(Region region) -> bool""" + return _gdi.Region_UnionRegion(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Subtract(*args, **kwargs) + + def SubtractRect(*args, **kwargs): + """SubtractRect(Rect rect) -> bool""" + return _gdi.Region_SubtractRect(*args, **kwargs) + + def SubtractRegion(*args, **kwargs): + """SubtractRegion(Region region) -> bool""" + return _gdi.Region_SubtractRegion(*args, **kwargs) + + def Xor(*args, **kwargs): + """Xor(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Xor(*args, **kwargs) + + def XorRect(*args, **kwargs): + """XorRect(Rect rect) -> bool""" + return _gdi.Region_XorRect(*args, **kwargs) + + def XorRegion(*args, **kwargs): + """XorRegion(Region region) -> bool""" + return _gdi.Region_XorRegion(*args, **kwargs) + + def ConvertToBitmap(*args, **kwargs): + """ConvertToBitmap() -> Bitmap""" + return _gdi.Region_ConvertToBitmap(*args, **kwargs) + + def UnionBitmap(*args, **kwargs): + """UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool""" + return _gdi.Region_UnionBitmap(*args, **kwargs) + class RegionPtr(Region): def __init__(self, this): @@ -464,38 +807,77 @@ class RegionPtr(Region): _gdi.Region_swigregister(RegionPtr) def RegionFromBitmap(*args, **kwargs): + """RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region""" val = _gdi.new_RegionFromBitmap(*args, **kwargs) val.thisown = 1 return val def RegionFromPoints(*args, **kwargs): + """RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region""" val = _gdi.new_RegionFromPoints(*args, **kwargs) val.thisown = 1 return val class RegionIterator(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Region region) -> RegionIterator""" newobj = _gdi.new_RegionIterator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_RegionIterator): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetX(*args, **kwargs): return _gdi.RegionIterator_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _gdi.RegionIterator_GetY(*args, **kwargs) - def GetW(*args, **kwargs): return _gdi.RegionIterator_GetW(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.RegionIterator_GetWidth(*args, **kwargs) - def GetH(*args, **kwargs): return _gdi.RegionIterator_GetH(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.RegionIterator_GetHeight(*args, **kwargs) - def GetRect(*args, **kwargs): return _gdi.RegionIterator_GetRect(*args, **kwargs) - def HaveRects(*args, **kwargs): return _gdi.RegionIterator_HaveRects(*args, **kwargs) - def Reset(*args, **kwargs): return _gdi.RegionIterator_Reset(*args, **kwargs) - def Next(*args, **kwargs): return _gdi.RegionIterator_Next(*args, **kwargs) - def __nonzero__(*args, **kwargs): return _gdi.RegionIterator___nonzero__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _gdi.RegionIterator_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _gdi.RegionIterator_GetY(*args, **kwargs) + + def GetW(*args, **kwargs): + """GetW() -> int""" + return _gdi.RegionIterator_GetW(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.RegionIterator_GetWidth(*args, **kwargs) + + def GetH(*args, **kwargs): + """GetH() -> int""" + return _gdi.RegionIterator_GetH(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.RegionIterator_GetHeight(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _gdi.RegionIterator_GetRect(*args, **kwargs) + + def HaveRects(*args, **kwargs): + """HaveRects() -> bool""" + return _gdi.RegionIterator_HaveRects(*args, **kwargs) + + def Reset(*args, **kwargs): + """Reset()""" + return _gdi.RegionIterator_Reset(*args, **kwargs) + + def Next(*args, **kwargs): + """Next()""" + return _gdi.RegionIterator_Next(*args, **kwargs) + + def __nonzero__(*args, **kwargs): + """__nonzero__() -> bool""" + return _gdi.RegionIterator___nonzero__(*args, **kwargs) + class RegionIteratorPtr(RegionIterator): def __init__(self, this): @@ -590,38 +972,105 @@ FONTENCODING_SHIFT_JIS = _gdi.FONTENCODING_SHIFT_JIS #--------------------------------------------------------------------------- class NativeFontInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> NativeFontInfo""" newobj = _gdi.new_NativeFontInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_NativeFontInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init(*args, **kwargs): return _gdi.NativeFontInfo_Init(*args, **kwargs) - def InitFromFont(*args, **kwargs): return _gdi.NativeFontInfo_InitFromFont(*args, **kwargs) - def GetPointSize(*args, **kwargs): return _gdi.NativeFontInfo_GetPointSize(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.NativeFontInfo_GetStyle(*args, **kwargs) - def GetWeight(*args, **kwargs): return _gdi.NativeFontInfo_GetWeight(*args, **kwargs) - def GetUnderlined(*args, **kwargs): return _gdi.NativeFontInfo_GetUnderlined(*args, **kwargs) - def GetFaceName(*args, **kwargs): return _gdi.NativeFontInfo_GetFaceName(*args, **kwargs) - def GetFamily(*args, **kwargs): return _gdi.NativeFontInfo_GetFamily(*args, **kwargs) - def GetEncoding(*args, **kwargs): return _gdi.NativeFontInfo_GetEncoding(*args, **kwargs) - def SetPointSize(*args, **kwargs): return _gdi.NativeFontInfo_SetPointSize(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.NativeFontInfo_SetStyle(*args, **kwargs) - def SetWeight(*args, **kwargs): return _gdi.NativeFontInfo_SetWeight(*args, **kwargs) - def SetUnderlined(*args, **kwargs): return _gdi.NativeFontInfo_SetUnderlined(*args, **kwargs) - def SetFaceName(*args, **kwargs): return _gdi.NativeFontInfo_SetFaceName(*args, **kwargs) - def SetFamily(*args, **kwargs): return _gdi.NativeFontInfo_SetFamily(*args, **kwargs) - def SetEncoding(*args, **kwargs): return _gdi.NativeFontInfo_SetEncoding(*args, **kwargs) - def FromString(*args, **kwargs): return _gdi.NativeFontInfo_FromString(*args, **kwargs) - def ToString(*args, **kwargs): return _gdi.NativeFontInfo_ToString(*args, **kwargs) - def __str__(*args, **kwargs): return _gdi.NativeFontInfo___str__(*args, **kwargs) - def FromUserString(*args, **kwargs): return _gdi.NativeFontInfo_FromUserString(*args, **kwargs) - def ToUserString(*args, **kwargs): return _gdi.NativeFontInfo_ToUserString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Init(*args, **kwargs): + """Init()""" + return _gdi.NativeFontInfo_Init(*args, **kwargs) + + def InitFromFont(*args, **kwargs): + """InitFromFont(Font font)""" + return _gdi.NativeFontInfo_InitFromFont(*args, **kwargs) + + def GetPointSize(*args, **kwargs): + """GetPointSize() -> int""" + return _gdi.NativeFontInfo_GetPointSize(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> wxFontStyle""" + return _gdi.NativeFontInfo_GetStyle(*args, **kwargs) + + def GetWeight(*args, **kwargs): + """GetWeight() -> wxFontWeight""" + return _gdi.NativeFontInfo_GetWeight(*args, **kwargs) + + def GetUnderlined(*args, **kwargs): + """GetUnderlined() -> bool""" + return _gdi.NativeFontInfo_GetUnderlined(*args, **kwargs) + + def GetFaceName(*args, **kwargs): + """GetFaceName() -> wxString""" + return _gdi.NativeFontInfo_GetFaceName(*args, **kwargs) + + def GetFamily(*args, **kwargs): + """GetFamily() -> wxFontFamily""" + return _gdi.NativeFontInfo_GetFamily(*args, **kwargs) + + def GetEncoding(*args, **kwargs): + """GetEncoding() -> wxFontEncoding""" + return _gdi.NativeFontInfo_GetEncoding(*args, **kwargs) + + def SetPointSize(*args, **kwargs): + """SetPointSize(int pointsize)""" + return _gdi.NativeFontInfo_SetPointSize(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(wxFontStyle style)""" + return _gdi.NativeFontInfo_SetStyle(*args, **kwargs) + + def SetWeight(*args, **kwargs): + """SetWeight(wxFontWeight weight)""" + return _gdi.NativeFontInfo_SetWeight(*args, **kwargs) + + def SetUnderlined(*args, **kwargs): + """SetUnderlined(bool underlined)""" + return _gdi.NativeFontInfo_SetUnderlined(*args, **kwargs) + + def SetFaceName(*args, **kwargs): + """SetFaceName(wxString facename)""" + return _gdi.NativeFontInfo_SetFaceName(*args, **kwargs) + + def SetFamily(*args, **kwargs): + """SetFamily(wxFontFamily family)""" + return _gdi.NativeFontInfo_SetFamily(*args, **kwargs) + + def SetEncoding(*args, **kwargs): + """SetEncoding(wxFontEncoding encoding)""" + return _gdi.NativeFontInfo_SetEncoding(*args, **kwargs) + + def FromString(*args, **kwargs): + """FromString(wxString s) -> bool""" + return _gdi.NativeFontInfo_FromString(*args, **kwargs) + + def ToString(*args, **kwargs): + """ToString() -> wxString""" + return _gdi.NativeFontInfo_ToString(*args, **kwargs) + + def __str__(*args, **kwargs): + """__str__() -> wxString""" + return _gdi.NativeFontInfo___str__(*args, **kwargs) + + def FromUserString(*args, **kwargs): + """FromUserString(wxString s) -> bool""" + return _gdi.NativeFontInfo_FromUserString(*args, **kwargs) + + def ToUserString(*args, **kwargs): + """ToUserString() -> wxString""" + return _gdi.NativeFontInfo_ToUserString(*args, **kwargs) + class NativeFontInfoPtr(NativeFontInfo): def __init__(self, this): @@ -631,21 +1080,31 @@ class NativeFontInfoPtr(NativeFontInfo): _gdi.NativeFontInfo_swigregister(NativeFontInfoPtr) class NativeEncodingInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) facename = property(_gdi.NativeEncodingInfo_facename_get, _gdi.NativeEncodingInfo_facename_set) encoding = property(_gdi.NativeEncodingInfo_encoding_get, _gdi.NativeEncodingInfo_encoding_set) def __init__(self, *args, **kwargs): + """__init__() -> NativeEncodingInfo""" newobj = _gdi.new_NativeEncodingInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_NativeEncodingInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def FromString(*args, **kwargs): return _gdi.NativeEncodingInfo_FromString(*args, **kwargs) - def ToString(*args, **kwargs): return _gdi.NativeEncodingInfo_ToString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def FromString(*args, **kwargs): + """FromString(wxString s) -> bool""" + return _gdi.NativeEncodingInfo_FromString(*args, **kwargs) + + def ToString(*args, **kwargs): + """ToString() -> wxString""" + return _gdi.NativeEncodingInfo_ToString(*args, **kwargs) + class NativeEncodingInfoPtr(NativeEncodingInfo): def __init__(self, this): @@ -655,37 +1114,95 @@ class NativeEncodingInfoPtr(NativeEncodingInfo): _gdi.NativeEncodingInfo_swigregister(NativeEncodingInfoPtr) -GetNativeFontEncoding = _gdi.GetNativeFontEncoding +def GetNativeFontEncoding(*args, **kwargs): + """GetNativeFontEncoding(wxFontEncoding encoding) -> NativeEncodingInfo""" + return _gdi.GetNativeFontEncoding(*args, **kwargs) -TestFontEncoding = _gdi.TestFontEncoding +def TestFontEncoding(*args, **kwargs): + """TestFontEncoding(NativeEncodingInfo info) -> bool""" + return _gdi.TestFontEncoding(*args, **kwargs) #--------------------------------------------------------------------------- class FontMapper(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FontMapper""" newobj = _gdi.new_FontMapper(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_FontMapper): + """__del__()""" try: if self.thisown: destroy(self) except: pass - Get = staticmethod(_gdi.FontMapper_Get) - Set = staticmethod(_gdi.FontMapper_Set) - def CharsetToEncoding(*args, **kwargs): return _gdi.FontMapper_CharsetToEncoding(*args, **kwargs) - GetSupportedEncodingsCount = staticmethod(_gdi.FontMapper_GetSupportedEncodingsCount) - GetEncoding = staticmethod(_gdi.FontMapper_GetEncoding) - GetEncodingName = staticmethod(_gdi.FontMapper_GetEncodingName) - GetEncodingDescription = staticmethod(_gdi.FontMapper_GetEncodingDescription) - def SetConfig(*args, **kwargs): return _gdi.FontMapper_SetConfig(*args, **kwargs) - def SetConfigPath(*args, **kwargs): return _gdi.FontMapper_SetConfigPath(*args, **kwargs) - GetDefaultConfigPath = staticmethod(_gdi.FontMapper_GetDefaultConfigPath) - def GetAltForEncoding(*args, **kwargs): return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) - def IsEncodingAvailable(*args, **kwargs): return _gdi.FontMapper_IsEncodingAvailable(*args, **kwargs) - def SetDialogParent(*args, **kwargs): return _gdi.FontMapper_SetDialogParent(*args, **kwargs) - def SetDialogTitle(*args, **kwargs): return _gdi.FontMapper_SetDialogTitle(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Get(*args, **kwargs): + """FontMapper.Get() -> FontMapper""" + return _gdi.FontMapper_Get(*args, **kwargs) + + Get = staticmethod(Get) + def Set(*args, **kwargs): + """FontMapper.Set(FontMapper mapper) -> FontMapper""" + return _gdi.FontMapper_Set(*args, **kwargs) + + Set = staticmethod(Set) + def CharsetToEncoding(*args, **kwargs): + """CharsetToEncoding(wxString charset, bool interactive=True) -> wxFontEncoding""" + return _gdi.FontMapper_CharsetToEncoding(*args, **kwargs) + + def GetSupportedEncodingsCount(*args, **kwargs): + """FontMapper.GetSupportedEncodingsCount() -> size_t""" + return _gdi.FontMapper_GetSupportedEncodingsCount(*args, **kwargs) + + GetSupportedEncodingsCount = staticmethod(GetSupportedEncodingsCount) + def GetEncoding(*args, **kwargs): + """FontMapper.GetEncoding(size_t n) -> wxFontEncoding""" + return _gdi.FontMapper_GetEncoding(*args, **kwargs) + + GetEncoding = staticmethod(GetEncoding) + def GetEncodingName(*args, **kwargs): + """FontMapper.GetEncodingName(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingName(*args, **kwargs) + + GetEncodingName = staticmethod(GetEncodingName) + def GetEncodingDescription(*args, **kwargs): + """FontMapper.GetEncodingDescription(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingDescription(*args, **kwargs) + + GetEncodingDescription = staticmethod(GetEncodingDescription) + def SetConfig(*args, **kwargs): + """SetConfig(wxConfigBase config)""" + return _gdi.FontMapper_SetConfig(*args, **kwargs) + + def SetConfigPath(*args, **kwargs): + """SetConfigPath(wxString prefix)""" + return _gdi.FontMapper_SetConfigPath(*args, **kwargs) + + def GetDefaultConfigPath(*args, **kwargs): + """FontMapper.GetDefaultConfigPath() -> wxString""" + return _gdi.FontMapper_GetDefaultConfigPath(*args, **kwargs) + + GetDefaultConfigPath = staticmethod(GetDefaultConfigPath) + def GetAltForEncoding(*args, **kwargs): + """GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, + bool interactive=True) -> PyObject""" + return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) + + def IsEncodingAvailable(*args, **kwargs): + """IsEncodingAvailable(wxFontEncoding encoding, wxString facename=wxPyEmptyString) -> bool""" + return _gdi.FontMapper_IsEncodingAvailable(*args, **kwargs) + + def SetDialogParent(*args, **kwargs): + """SetDialogParent(Window parent)""" + return _gdi.FontMapper_SetDialogParent(*args, **kwargs) + + def SetDialogTitle(*args, **kwargs): + """SetDialogTitle(wxString title)""" + return _gdi.FontMapper_SetDialogTitle(*args, **kwargs) + class FontMapperPtr(FontMapper): def __init__(self, this): @@ -694,66 +1211,181 @@ class FontMapperPtr(FontMapper): self.__class__ = FontMapper _gdi.FontMapper_swigregister(FontMapperPtr) -FontMapper_Get = _gdi.FontMapper_Get +def FontMapper_Get(*args, **kwargs): + """FontMapper_Get() -> FontMapper""" + return _gdi.FontMapper_Get(*args, **kwargs) -FontMapper_Set = _gdi.FontMapper_Set +def FontMapper_Set(*args, **kwargs): + """FontMapper_Set(FontMapper mapper) -> FontMapper""" + return _gdi.FontMapper_Set(*args, **kwargs) -FontMapper_GetSupportedEncodingsCount = _gdi.FontMapper_GetSupportedEncodingsCount +def FontMapper_GetSupportedEncodingsCount(*args, **kwargs): + """FontMapper_GetSupportedEncodingsCount() -> size_t""" + return _gdi.FontMapper_GetSupportedEncodingsCount(*args, **kwargs) -FontMapper_GetEncoding = _gdi.FontMapper_GetEncoding +def FontMapper_GetEncoding(*args, **kwargs): + """FontMapper_GetEncoding(size_t n) -> wxFontEncoding""" + return _gdi.FontMapper_GetEncoding(*args, **kwargs) -FontMapper_GetEncodingName = _gdi.FontMapper_GetEncodingName +def FontMapper_GetEncodingName(*args, **kwargs): + """FontMapper_GetEncodingName(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingName(*args, **kwargs) -FontMapper_GetEncodingDescription = _gdi.FontMapper_GetEncodingDescription +def FontMapper_GetEncodingDescription(*args, **kwargs): + """FontMapper_GetEncodingDescription(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingDescription(*args, **kwargs) -FontMapper_GetDefaultConfigPath = _gdi.FontMapper_GetDefaultConfigPath +def FontMapper_GetDefaultConfigPath(*args, **kwargs): + """FontMapper_GetDefaultConfigPath() -> wxString""" + return _gdi.FontMapper_GetDefaultConfigPath(*args, **kwargs) #--------------------------------------------------------------------------- class Font(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int pointSize, int family, int style, int weight, bool underline=False, + wxString face=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" newobj = _gdi.new_Font(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Font): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.Font_Ok(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Font_Ok(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __eq__(*args, **kwargs): return _gdi.Font___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _gdi.Font___ne__(*args, **kwargs) - def GetPointSize(*args, **kwargs): return _gdi.Font_GetPointSize(*args, **kwargs) - def GetFamily(*args, **kwargs): return _gdi.Font_GetFamily(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Font_GetStyle(*args, **kwargs) - def GetWeight(*args, **kwargs): return _gdi.Font_GetWeight(*args, **kwargs) - def GetUnderlined(*args, **kwargs): return _gdi.Font_GetUnderlined(*args, **kwargs) - def GetFaceName(*args, **kwargs): return _gdi.Font_GetFaceName(*args, **kwargs) - def GetEncoding(*args, **kwargs): return _gdi.Font_GetEncoding(*args, **kwargs) - def GetNativeFontInfo(*args, **kwargs): return _gdi.Font_GetNativeFontInfo(*args, **kwargs) - def IsFixedWidth(*args, **kwargs): return _gdi.Font_IsFixedWidth(*args, **kwargs) - def GetNativeFontInfoDesc(*args, **kwargs): return _gdi.Font_GetNativeFontInfoDesc(*args, **kwargs) - def GetNativeFontInfoUserDesc(*args, **kwargs): return _gdi.Font_GetNativeFontInfoUserDesc(*args, **kwargs) - def SetPointSize(*args, **kwargs): return _gdi.Font_SetPointSize(*args, **kwargs) - def SetFamily(*args, **kwargs): return _gdi.Font_SetFamily(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Font_SetStyle(*args, **kwargs) - def SetWeight(*args, **kwargs): return _gdi.Font_SetWeight(*args, **kwargs) - def SetFaceName(*args, **kwargs): return _gdi.Font_SetFaceName(*args, **kwargs) - def SetUnderlined(*args, **kwargs): return _gdi.Font_SetUnderlined(*args, **kwargs) - def SetEncoding(*args, **kwargs): return _gdi.Font_SetEncoding(*args, **kwargs) - def SetNativeFontInfo(*args, **kwargs): return _gdi.Font_SetNativeFontInfo(*args, **kwargs) - def SetNativeFontInfoFromString(*args, **kwargs): return _gdi.Font_SetNativeFontInfoFromString(*args, **kwargs) - def SetNativeFontInfoUserDesc(*args, **kwargs): return _gdi.Font_SetNativeFontInfoUserDesc(*args, **kwargs) - def GetFamilyString(*args, **kwargs): return _gdi.Font_GetFamilyString(*args, **kwargs) - def GetStyleString(*args, **kwargs): return _gdi.Font_GetStyleString(*args, **kwargs) - def GetWeightString(*args, **kwargs): return _gdi.Font_GetWeightString(*args, **kwargs) - def SetNoAntiAliasing(*args, **kwargs): return _gdi.Font_SetNoAntiAliasing(*args, **kwargs) - def GetNoAntiAliasing(*args, **kwargs): return _gdi.Font_GetNoAntiAliasing(*args, **kwargs) - GetDefaultEncoding = staticmethod(_gdi.Font_GetDefaultEncoding) - SetDefaultEncoding = staticmethod(_gdi.Font_SetDefaultEncoding) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __eq__(*args, **kwargs): + """__eq__(Font font) -> bool""" + return _gdi.Font___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Font font) -> bool""" + return _gdi.Font___ne__(*args, **kwargs) + + def GetPointSize(*args, **kwargs): + """GetPointSize() -> int""" + return _gdi.Font_GetPointSize(*args, **kwargs) + + def GetFamily(*args, **kwargs): + """GetFamily() -> int""" + return _gdi.Font_GetFamily(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Font_GetStyle(*args, **kwargs) + + def GetWeight(*args, **kwargs): + """GetWeight() -> int""" + return _gdi.Font_GetWeight(*args, **kwargs) + + def GetUnderlined(*args, **kwargs): + """GetUnderlined() -> bool""" + return _gdi.Font_GetUnderlined(*args, **kwargs) + + def GetFaceName(*args, **kwargs): + """GetFaceName() -> wxString""" + return _gdi.Font_GetFaceName(*args, **kwargs) + + def GetEncoding(*args, **kwargs): + """GetEncoding() -> wxFontEncoding""" + return _gdi.Font_GetEncoding(*args, **kwargs) + + def GetNativeFontInfo(*args, **kwargs): + """GetNativeFontInfo() -> NativeFontInfo""" + return _gdi.Font_GetNativeFontInfo(*args, **kwargs) + + def IsFixedWidth(*args, **kwargs): + """IsFixedWidth() -> bool""" + return _gdi.Font_IsFixedWidth(*args, **kwargs) + + def GetNativeFontInfoDesc(*args, **kwargs): + """GetNativeFontInfoDesc() -> wxString""" + return _gdi.Font_GetNativeFontInfoDesc(*args, **kwargs) + + def GetNativeFontInfoUserDesc(*args, **kwargs): + """GetNativeFontInfoUserDesc() -> wxString""" + return _gdi.Font_GetNativeFontInfoUserDesc(*args, **kwargs) + + def SetPointSize(*args, **kwargs): + """SetPointSize(int pointSize)""" + return _gdi.Font_SetPointSize(*args, **kwargs) + + def SetFamily(*args, **kwargs): + """SetFamily(int family)""" + return _gdi.Font_SetFamily(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Font_SetStyle(*args, **kwargs) + + def SetWeight(*args, **kwargs): + """SetWeight(int weight)""" + return _gdi.Font_SetWeight(*args, **kwargs) + + def SetFaceName(*args, **kwargs): + """SetFaceName(wxString faceName)""" + return _gdi.Font_SetFaceName(*args, **kwargs) + + def SetUnderlined(*args, **kwargs): + """SetUnderlined(bool underlined)""" + return _gdi.Font_SetUnderlined(*args, **kwargs) + + def SetEncoding(*args, **kwargs): + """SetEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetEncoding(*args, **kwargs) + + def SetNativeFontInfo(*args, **kwargs): + """SetNativeFontInfo(NativeFontInfo info)""" + return _gdi.Font_SetNativeFontInfo(*args, **kwargs) + + def SetNativeFontInfoFromString(*args, **kwargs): + """SetNativeFontInfoFromString(wxString info)""" + return _gdi.Font_SetNativeFontInfoFromString(*args, **kwargs) + + def SetNativeFontInfoUserDesc(*args, **kwargs): + """SetNativeFontInfoUserDesc(wxString info)""" + return _gdi.Font_SetNativeFontInfoUserDesc(*args, **kwargs) + + def GetFamilyString(*args, **kwargs): + """GetFamilyString() -> wxString""" + return _gdi.Font_GetFamilyString(*args, **kwargs) + + def GetStyleString(*args, **kwargs): + """GetStyleString() -> wxString""" + return _gdi.Font_GetStyleString(*args, **kwargs) + + def GetWeightString(*args, **kwargs): + """GetWeightString() -> wxString""" + return _gdi.Font_GetWeightString(*args, **kwargs) + + def SetNoAntiAliasing(*args, **kwargs): + """SetNoAntiAliasing(bool no=True)""" + return _gdi.Font_SetNoAntiAliasing(*args, **kwargs) + + def GetNoAntiAliasing(*args, **kwargs): + """GetNoAntiAliasing() -> bool""" + return _gdi.Font_GetNoAntiAliasing(*args, **kwargs) + + def GetDefaultEncoding(*args, **kwargs): + """Font.GetDefaultEncoding() -> wxFontEncoding""" + return _gdi.Font_GetDefaultEncoding(*args, **kwargs) + + GetDefaultEncoding = staticmethod(GetDefaultEncoding) + def SetDefaultEncoding(*args, **kwargs): + """Font.SetDefaultEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetDefaultEncoding(*args, **kwargs) + + SetDefaultEncoding = staticmethod(SetDefaultEncoding) class FontPtr(Font): def __init__(self, this): @@ -763,44 +1395,72 @@ class FontPtr(Font): _gdi.Font_swigregister(FontPtr) def FontFromNativeInfo(*args, **kwargs): + """FontFromNativeInfo(NativeFontInfo info) -> Font""" val = _gdi.new_FontFromNativeInfo(*args, **kwargs) val.thisown = 1 return val def FontFromNativeInfoString(*args, **kwargs): + """FontFromNativeInfoString(wxString info) -> Font""" val = _gdi.new_FontFromNativeInfoString(*args, **kwargs) val.thisown = 1 return val def Font2(*args, **kwargs): + """Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, + wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" val = _gdi.new_Font2(*args, **kwargs) val.thisown = 1 return val -Font_GetDefaultEncoding = _gdi.Font_GetDefaultEncoding +def Font_GetDefaultEncoding(*args, **kwargs): + """Font_GetDefaultEncoding() -> wxFontEncoding""" + return _gdi.Font_GetDefaultEncoding(*args, **kwargs) -Font_SetDefaultEncoding = _gdi.Font_SetDefaultEncoding +def Font_SetDefaultEncoding(*args, **kwargs): + """Font_SetDefaultEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetDefaultEncoding(*args, **kwargs) #--------------------------------------------------------------------------- class FontEnumerator(object): - def __init__(self, *args, **kwargs): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__() -> FontEnumerator""" newobj = _gdi.new_FontEnumerator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FontEnumerator, 0) + def __del__(self, destroy=_gdi.delete_FontEnumerator): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _gdi.FontEnumerator__setCallbackInfo(*args, **kwargs) - def EnumerateFacenames(*args, **kwargs): return _gdi.FontEnumerator_EnumerateFacenames(*args, **kwargs) - def EnumerateEncodings(*args, **kwargs): return _gdi.FontEnumerator_EnumerateEncodings(*args, **kwargs) - def GetEncodings(*args, **kwargs): return _gdi.FontEnumerator_GetEncodings(*args, **kwargs) - def GetFacenames(*args, **kwargs): return _gdi.FontEnumerator_GetFacenames(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, bool incref)""" + return _gdi.FontEnumerator__setCallbackInfo(*args, **kwargs) + + def EnumerateFacenames(*args, **kwargs): + """EnumerateFacenames(wxFontEncoding encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool""" + return _gdi.FontEnumerator_EnumerateFacenames(*args, **kwargs) + + def EnumerateEncodings(*args, **kwargs): + """EnumerateEncodings(wxString facename=wxPyEmptyString) -> bool""" + return _gdi.FontEnumerator_EnumerateEncodings(*args, **kwargs) + + def GetEncodings(*args, **kwargs): + """GetEncodings() -> PyObject""" + return _gdi.FontEnumerator_GetEncodings(*args, **kwargs) + + def GetFacenames(*args, **kwargs): + """GetFacenames() -> PyObject""" + return _gdi.FontEnumerator_GetFacenames(*args, **kwargs) + class FontEnumeratorPtr(FontEnumerator): def __init__(self, this): @@ -1043,12 +1703,13 @@ LANGUAGE_ZHUANG = _gdi.LANGUAGE_ZHUANG LANGUAGE_ZULU = _gdi.LANGUAGE_ZULU LANGUAGE_USER_DEFINED = _gdi.LANGUAGE_USER_DEFINED class LanguageInfo(object): - Language = property(_gdi.LanguageInfo_Language_get, _gdi.LanguageInfo_Language_set) - CanonicalName = property(_gdi.LanguageInfo_CanonicalName_get, _gdi.LanguageInfo_CanonicalName_set) - Description = property(_gdi.LanguageInfo_Description_get, _gdi.LanguageInfo_Description_set) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + Language = property(_gdi.LanguageInfo_Language_get, _gdi.LanguageInfo_Language_set) + CanonicalName = property(_gdi.LanguageInfo_CanonicalName_get, _gdi.LanguageInfo_CanonicalName_set) + Description = property(_gdi.LanguageInfo_Description_get, _gdi.LanguageInfo_Description_set) class LanguageInfoPtr(LanguageInfo): def __init__(self, this): @@ -1066,17 +1727,31 @@ LOCALE_DECIMAL_POINT = _gdi.LOCALE_DECIMAL_POINT LOCALE_LOAD_DEFAULT = _gdi.LOCALE_LOAD_DEFAULT LOCALE_CONV_ENCODING = _gdi.LOCALE_CONV_ENCODING class Locale(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale""" newobj = _gdi.new_Locale(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Locale): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init1(*args, **kwargs): return _gdi.Locale_Init1(*args, **kwargs) - def Init2(*args, **kwargs): return _gdi.Locale_Init2(*args, **kwargs) + + def Init1(*args, **kwargs): + """Init1(wxString szName, wxString szShort=wxPyEmptyString, + wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, + bool bConvertEncoding=False) -> bool""" + return _gdi.Locale_Init1(*args, **kwargs) + + def Init2(*args, **kwargs): + """Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool""" + return _gdi.Locale_Init2(*args, **kwargs) + def Init(self, *_args, **_kwargs): if type(_args[0]) in [type(''), type(u'')]: val = self.Init1(*_args, **_kwargs) @@ -1084,26 +1759,83 @@ class Locale(object): val = self.Init2(*_args, **_kwargs) return val - GetSystemLanguage = staticmethod(_gdi.Locale_GetSystemLanguage) - GetSystemEncoding = staticmethod(_gdi.Locale_GetSystemEncoding) - GetSystemEncodingName = staticmethod(_gdi.Locale_GetSystemEncodingName) - def IsOk(*args, **kwargs): return _gdi.Locale_IsOk(*args, **kwargs) + def GetSystemLanguage(*args, **kwargs): + """Locale.GetSystemLanguage() -> int""" + return _gdi.Locale_GetSystemLanguage(*args, **kwargs) + + GetSystemLanguage = staticmethod(GetSystemLanguage) + def GetSystemEncoding(*args, **kwargs): + """Locale.GetSystemEncoding() -> wxFontEncoding""" + return _gdi.Locale_GetSystemEncoding(*args, **kwargs) + + GetSystemEncoding = staticmethod(GetSystemEncoding) + def GetSystemEncodingName(*args, **kwargs): + """Locale.GetSystemEncodingName() -> wxString""" + return _gdi.Locale_GetSystemEncodingName(*args, **kwargs) + + GetSystemEncodingName = staticmethod(GetSystemEncodingName) + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _gdi.Locale_IsOk(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def GetLocale(*args, **kwargs): return _gdi.Locale_GetLocale(*args, **kwargs) - def GetLanguage(*args, **kwargs): return _gdi.Locale_GetLanguage(*args, **kwargs) - def GetSysName(*args, **kwargs): return _gdi.Locale_GetSysName(*args, **kwargs) - def GetCanonicalName(*args, **kwargs): return _gdi.Locale_GetCanonicalName(*args, **kwargs) - AddCatalogLookupPathPrefix = staticmethod(_gdi.Locale_AddCatalogLookupPathPrefix) - def AddCatalog(*args, **kwargs): return _gdi.Locale_AddCatalog(*args, **kwargs) - def IsLoaded(*args, **kwargs): return _gdi.Locale_IsLoaded(*args, **kwargs) - GetLanguageInfo = staticmethod(_gdi.Locale_GetLanguageInfo) - GetLanguageName = staticmethod(_gdi.Locale_GetLanguageName) - FindLanguageInfo = staticmethod(_gdi.Locale_FindLanguageInfo) - AddLanguage = staticmethod(_gdi.Locale_AddLanguage) - def GetString(*args, **kwargs): return _gdi.Locale_GetString(*args, **kwargs) - def GetName(*args, **kwargs): return _gdi.Locale_GetName(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLocale(*args, **kwargs): + """GetLocale() -> wxString""" + return _gdi.Locale_GetLocale(*args, **kwargs) + + def GetLanguage(*args, **kwargs): + """GetLanguage() -> int""" + return _gdi.Locale_GetLanguage(*args, **kwargs) + + def GetSysName(*args, **kwargs): + """GetSysName() -> wxString""" + return _gdi.Locale_GetSysName(*args, **kwargs) + + def GetCanonicalName(*args, **kwargs): + """GetCanonicalName() -> wxString""" + return _gdi.Locale_GetCanonicalName(*args, **kwargs) + + def AddCatalogLookupPathPrefix(*args, **kwargs): + """Locale.AddCatalogLookupPathPrefix(wxString prefix)""" + return _gdi.Locale_AddCatalogLookupPathPrefix(*args, **kwargs) + + AddCatalogLookupPathPrefix = staticmethod(AddCatalogLookupPathPrefix) + def AddCatalog(*args, **kwargs): + """AddCatalog(wxString szDomain) -> bool""" + return _gdi.Locale_AddCatalog(*args, **kwargs) + + def IsLoaded(*args, **kwargs): + """IsLoaded(wxString szDomain) -> bool""" + return _gdi.Locale_IsLoaded(*args, **kwargs) + + def GetLanguageInfo(*args, **kwargs): + """Locale.GetLanguageInfo(int lang) -> LanguageInfo""" + return _gdi.Locale_GetLanguageInfo(*args, **kwargs) + + GetLanguageInfo = staticmethod(GetLanguageInfo) + def GetLanguageName(*args, **kwargs): + """Locale.GetLanguageName(int lang) -> wxString""" + return _gdi.Locale_GetLanguageName(*args, **kwargs) + + GetLanguageName = staticmethod(GetLanguageName) + def FindLanguageInfo(*args, **kwargs): + """Locale.FindLanguageInfo(wxString locale) -> LanguageInfo""" + return _gdi.Locale_FindLanguageInfo(*args, **kwargs) + + FindLanguageInfo = staticmethod(FindLanguageInfo) + def AddLanguage(*args, **kwargs): + """Locale.AddLanguage(LanguageInfo info)""" + return _gdi.Locale_AddLanguage(*args, **kwargs) + + AddLanguage = staticmethod(AddLanguage) + def GetString(*args, **kwargs): + """GetString(wxString szOrigString, wxString szDomain=wxPyEmptyString) -> wxString""" + return _gdi.Locale_GetString(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _gdi.Locale_GetName(*args, **kwargs) + class LocalePtr(Locale): def __init__(self, this): @@ -1112,24 +1844,42 @@ class LocalePtr(Locale): self.__class__ = Locale _gdi.Locale_swigregister(LocalePtr) -Locale_GetSystemLanguage = _gdi.Locale_GetSystemLanguage +def Locale_GetSystemLanguage(*args, **kwargs): + """Locale_GetSystemLanguage() -> int""" + return _gdi.Locale_GetSystemLanguage(*args, **kwargs) -Locale_GetSystemEncoding = _gdi.Locale_GetSystemEncoding +def Locale_GetSystemEncoding(*args, **kwargs): + """Locale_GetSystemEncoding() -> wxFontEncoding""" + return _gdi.Locale_GetSystemEncoding(*args, **kwargs) -Locale_GetSystemEncodingName = _gdi.Locale_GetSystemEncodingName +def Locale_GetSystemEncodingName(*args, **kwargs): + """Locale_GetSystemEncodingName() -> wxString""" + return _gdi.Locale_GetSystemEncodingName(*args, **kwargs) -Locale_AddCatalogLookupPathPrefix = _gdi.Locale_AddCatalogLookupPathPrefix +def Locale_AddCatalogLookupPathPrefix(*args, **kwargs): + """Locale_AddCatalogLookupPathPrefix(wxString prefix)""" + return _gdi.Locale_AddCatalogLookupPathPrefix(*args, **kwargs) -Locale_GetLanguageInfo = _gdi.Locale_GetLanguageInfo +def Locale_GetLanguageInfo(*args, **kwargs): + """Locale_GetLanguageInfo(int lang) -> LanguageInfo""" + return _gdi.Locale_GetLanguageInfo(*args, **kwargs) -Locale_GetLanguageName = _gdi.Locale_GetLanguageName +def Locale_GetLanguageName(*args, **kwargs): + """Locale_GetLanguageName(int lang) -> wxString""" + return _gdi.Locale_GetLanguageName(*args, **kwargs) -Locale_FindLanguageInfo = _gdi.Locale_FindLanguageInfo +def Locale_FindLanguageInfo(*args, **kwargs): + """Locale_FindLanguageInfo(wxString locale) -> LanguageInfo""" + return _gdi.Locale_FindLanguageInfo(*args, **kwargs) -Locale_AddLanguage = _gdi.Locale_AddLanguage +def Locale_AddLanguage(*args, **kwargs): + """Locale_AddLanguage(LanguageInfo info)""" + return _gdi.Locale_AddLanguage(*args, **kwargs) -GetLocale = _gdi.GetLocale +def GetLocale(*args, **kwargs): + """GetLocale() -> Locale""" + return _gdi.GetLocale(*args, **kwargs) #--------------------------------------------------------------------------- CONVERT_STRICT = _gdi.CONVERT_STRICT @@ -1140,23 +1890,46 @@ PLATFORM_WINDOWS = _gdi.PLATFORM_WINDOWS PLATFORM_OS2 = _gdi.PLATFORM_OS2 PLATFORM_MAC = _gdi.PLATFORM_MAC class EncodingConverter(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> EncodingConverter""" newobj = _gdi.new_EncodingConverter(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_EncodingConverter): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init(*args, **kwargs): return _gdi.EncodingConverter_Init(*args, **kwargs) - def Convert(*args, **kwargs): return _gdi.EncodingConverter_Convert(*args, **kwargs) - GetPlatformEquivalents = staticmethod(_gdi.EncodingConverter_GetPlatformEquivalents) - GetAllEquivalents = staticmethod(_gdi.EncodingConverter_GetAllEquivalents) - CanConvert = staticmethod(_gdi.EncodingConverter_CanConvert) + + def Init(*args, **kwargs): + """Init(wxFontEncoding input_enc, wxFontEncoding output_enc, + int method=CONVERT_STRICT) -> bool""" + return _gdi.EncodingConverter_Init(*args, **kwargs) + + def Convert(*args, **kwargs): + """Convert(wxString input) -> wxString""" + return _gdi.EncodingConverter_Convert(*args, **kwargs) + + def GetPlatformEquivalents(*args, **kwargs): + """EncodingConverter.GetPlatformEquivalents(wxFontEncoding enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetPlatformEquivalents(*args, **kwargs) + + GetPlatformEquivalents = staticmethod(GetPlatformEquivalents) + def GetAllEquivalents(*args, **kwargs): + """EncodingConverter.GetAllEquivalents(wxFontEncoding enc) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetAllEquivalents(*args, **kwargs) + + GetAllEquivalents = staticmethod(GetAllEquivalents) + def CanConvert(*args, **kwargs): + """EncodingConverter.CanConvert(wxFontEncoding encIn, wxFontEncoding encOut) -> bool""" + return _gdi.EncodingConverter_CanConvert(*args, **kwargs) + + CanConvert = staticmethod(CanConvert) def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class EncodingConverterPtr(EncodingConverter): def __init__(self, this): @@ -1165,13 +1938,22 @@ class EncodingConverterPtr(EncodingConverter): self.__class__ = EncodingConverter _gdi.EncodingConverter_swigregister(EncodingConverterPtr) -GetTranslation = _gdi.GetTranslation +def GetTranslation(*args): + """GetTranslation(wxString sz) -> wxString +GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString""" + return _gdi.GetTranslation(*args) -EncodingConverter_GetPlatformEquivalents = _gdi.EncodingConverter_GetPlatformEquivalents +def EncodingConverter_GetPlatformEquivalents(*args, **kwargs): + """EncodingConverter_GetPlatformEquivalents(wxFontEncoding enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetPlatformEquivalents(*args, **kwargs) -EncodingConverter_GetAllEquivalents = _gdi.EncodingConverter_GetAllEquivalents +def EncodingConverter_GetAllEquivalents(*args, **kwargs): + """EncodingConverter_GetAllEquivalents(wxFontEncoding enc) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetAllEquivalents(*args, **kwargs) -EncodingConverter_CanConvert = _gdi.EncodingConverter_CanConvert +def EncodingConverter_CanConvert(*args, **kwargs): + """EncodingConverter_CanConvert(wxFontEncoding encIn, wxFontEncoding encOut) -> bool""" + return _gdi.EncodingConverter_CanConvert(*args, **kwargs) #---------------------------------------------------------------------------- # wxGTK sets the locale when initialized. Doing this at the Python @@ -1196,133 +1978,514 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- class DC(core.Object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_gdi.delete_DC): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def BeginDrawing(*args, **kwargs): return _gdi.DC_BeginDrawing(*args, **kwargs) - def EndDrawing(*args, **kwargs): return _gdi.DC_EndDrawing(*args, **kwargs) - def FloodFillXY(*args, **kwargs): return _gdi.DC_FloodFillXY(*args, **kwargs) - def FloodFill(*args, **kwargs): return _gdi.DC_FloodFill(*args, **kwargs) - def GetPixelXY(*args, **kwargs): return _gdi.DC_GetPixelXY(*args, **kwargs) - def GetPixel(*args, **kwargs): return _gdi.DC_GetPixel(*args, **kwargs) - def DrawLineXY(*args, **kwargs): return _gdi.DC_DrawLineXY(*args, **kwargs) - def DrawLine(*args, **kwargs): return _gdi.DC_DrawLine(*args, **kwargs) - def CrossHairXY(*args, **kwargs): return _gdi.DC_CrossHairXY(*args, **kwargs) - def CrossHair(*args, **kwargs): return _gdi.DC_CrossHair(*args, **kwargs) - def DrawArcXY(*args, **kwargs): return _gdi.DC_DrawArcXY(*args, **kwargs) - def DrawArc(*args, **kwargs): return _gdi.DC_DrawArc(*args, **kwargs) - def DrawCheckMarkXY(*args, **kwargs): return _gdi.DC_DrawCheckMarkXY(*args, **kwargs) - def DrawCheckMark(*args, **kwargs): return _gdi.DC_DrawCheckMark(*args, **kwargs) - def DrawEllipticArcXY(*args, **kwargs): return _gdi.DC_DrawEllipticArcXY(*args, **kwargs) - def DrawEllipticArc(*args, **kwargs): return _gdi.DC_DrawEllipticArc(*args, **kwargs) - def DrawPointXY(*args, **kwargs): return _gdi.DC_DrawPointXY(*args, **kwargs) - def DrawPoint(*args, **kwargs): return _gdi.DC_DrawPoint(*args, **kwargs) - def DrawRectangleXY(*args, **kwargs): return _gdi.DC_DrawRectangleXY(*args, **kwargs) - def DrawRectangle(*args, **kwargs): return _gdi.DC_DrawRectangle(*args, **kwargs) - def DrawRectangleRect(*args, **kwargs): return _gdi.DC_DrawRectangleRect(*args, **kwargs) - def DrawRoundedRectangleXY(*args, **kwargs): return _gdi.DC_DrawRoundedRectangleXY(*args, **kwargs) - def DrawRoundedRectangle(*args, **kwargs): return _gdi.DC_DrawRoundedRectangle(*args, **kwargs) - def DrawRoundedRectangleRect(*args, **kwargs): return _gdi.DC_DrawRoundedRectangleRect(*args, **kwargs) - def DrawCircleXY(*args, **kwargs): return _gdi.DC_DrawCircleXY(*args, **kwargs) - def DrawCircle(*args, **kwargs): return _gdi.DC_DrawCircle(*args, **kwargs) - def DrawEllipseXY(*args, **kwargs): return _gdi.DC_DrawEllipseXY(*args, **kwargs) - def DrawEllipse(*args, **kwargs): return _gdi.DC_DrawEllipse(*args, **kwargs) - def DrawEllipseRect(*args, **kwargs): return _gdi.DC_DrawEllipseRect(*args, **kwargs) - def DrawIconXY(*args, **kwargs): return _gdi.DC_DrawIconXY(*args, **kwargs) - def DrawIcon(*args, **kwargs): return _gdi.DC_DrawIcon(*args, **kwargs) - def DrawBitmapXY(*args, **kwargs): return _gdi.DC_DrawBitmapXY(*args, **kwargs) - def DrawBitmap(*args, **kwargs): return _gdi.DC_DrawBitmap(*args, **kwargs) - def DrawTextXY(*args, **kwargs): return _gdi.DC_DrawTextXY(*args, **kwargs) - def DrawText(*args, **kwargs): return _gdi.DC_DrawText(*args, **kwargs) - def DrawRotatedTextXY(*args, **kwargs): return _gdi.DC_DrawRotatedTextXY(*args, **kwargs) - def DrawRotatedText(*args, **kwargs): return _gdi.DC_DrawRotatedText(*args, **kwargs) - def BlitXY(*args, **kwargs): return _gdi.DC_BlitXY(*args, **kwargs) - def Blit(*args, **kwargs): return _gdi.DC_Blit(*args, **kwargs) - def DrawLines(*args, **kwargs): return _gdi.DC_DrawLines(*args, **kwargs) - def DrawPolygon(*args, **kwargs): return _gdi.DC_DrawPolygon(*args, **kwargs) - def DrawLabel(*args, **kwargs): return _gdi.DC_DrawLabel(*args, **kwargs) - def DrawImageLabel(*args, **kwargs): return _gdi.DC_DrawImageLabel(*args, **kwargs) - def DrawSpline(*args, **kwargs): return _gdi.DC_DrawSpline(*args, **kwargs) - def Clear(*args, **kwargs): return _gdi.DC_Clear(*args, **kwargs) - def StartDoc(*args, **kwargs): return _gdi.DC_StartDoc(*args, **kwargs) - def EndDoc(*args, **kwargs): return _gdi.DC_EndDoc(*args, **kwargs) - def StartPage(*args, **kwargs): return _gdi.DC_StartPage(*args, **kwargs) - def EndPage(*args, **kwargs): return _gdi.DC_EndPage(*args, **kwargs) - def SetFont(*args, **kwargs): return _gdi.DC_SetFont(*args, **kwargs) - def SetPen(*args, **kwargs): return _gdi.DC_SetPen(*args, **kwargs) - def SetBrush(*args, **kwargs): return _gdi.DC_SetBrush(*args, **kwargs) - def SetBackground(*args, **kwargs): return _gdi.DC_SetBackground(*args, **kwargs) - def SetBackgroundMode(*args, **kwargs): return _gdi.DC_SetBackgroundMode(*args, **kwargs) - def SetPalette(*args, **kwargs): return _gdi.DC_SetPalette(*args, **kwargs) - def SetClippingRegion(*args, **kwargs): return _gdi.DC_SetClippingRegion(*args, **kwargs) - def SetClippingRect(*args, **kwargs): return _gdi.DC_SetClippingRect(*args, **kwargs) - def SetClippingRegionAsRegion(*args, **kwargs): return _gdi.DC_SetClippingRegionAsRegion(*args, **kwargs) - def DestroyClippingRegion(*args, **kwargs): return _gdi.DC_DestroyClippingRegion(*args, **kwargs) - def GetClippingBox(*args, **kwargs): return _gdi.DC_GetClippingBox(*args, **kwargs) - def GetClippingRect(*args, **kwargs): return _gdi.DC_GetClippingRect(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _gdi.DC_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _gdi.DC_GetCharWidth(*args, **kwargs) - def GetTextExtent(*args, **kwargs): return _gdi.DC_GetTextExtent(*args, **kwargs) - def GetFullTextExtent(*args, **kwargs): return _gdi.DC_GetFullTextExtent(*args, **kwargs) - def GetMultiLineTextExtent(*args, **kwargs): return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _gdi.DC_GetSizeTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _gdi.DC_GetSize(*args, **kwargs) - def GetSizeMMWH(*args, **kwargs): return _gdi.DC_GetSizeMMWH(*args, **kwargs) - def GetSizeMM(*args, **kwargs): return _gdi.DC_GetSizeMM(*args, **kwargs) - def DeviceToLogicalX(*args, **kwargs): return _gdi.DC_DeviceToLogicalX(*args, **kwargs) - def DeviceToLogicalY(*args, **kwargs): return _gdi.DC_DeviceToLogicalY(*args, **kwargs) - def DeviceToLogicalXRel(*args, **kwargs): return _gdi.DC_DeviceToLogicalXRel(*args, **kwargs) - def DeviceToLogicalYRel(*args, **kwargs): return _gdi.DC_DeviceToLogicalYRel(*args, **kwargs) - def LogicalToDeviceX(*args, **kwargs): return _gdi.DC_LogicalToDeviceX(*args, **kwargs) - def LogicalToDeviceY(*args, **kwargs): return _gdi.DC_LogicalToDeviceY(*args, **kwargs) - def LogicalToDeviceXRel(*args, **kwargs): return _gdi.DC_LogicalToDeviceXRel(*args, **kwargs) - def LogicalToDeviceYRel(*args, **kwargs): return _gdi.DC_LogicalToDeviceYRel(*args, **kwargs) - def CanDrawBitmap(*args, **kwargs): return _gdi.DC_CanDrawBitmap(*args, **kwargs) - def CanGetTextExtent(*args, **kwargs): return _gdi.DC_CanGetTextExtent(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.DC_GetDepth(*args, **kwargs) - def GetPPI(*args, **kwargs): return _gdi.DC_GetPPI(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.DC_Ok(*args, **kwargs) - def GetBackgroundMode(*args, **kwargs): return _gdi.DC_GetBackgroundMode(*args, **kwargs) - def GetBackground(*args, **kwargs): return _gdi.DC_GetBackground(*args, **kwargs) - def GetBrush(*args, **kwargs): return _gdi.DC_GetBrush(*args, **kwargs) - def GetFont(*args, **kwargs): return _gdi.DC_GetFont(*args, **kwargs) - def GetPen(*args, **kwargs): return _gdi.DC_GetPen(*args, **kwargs) - def GetTextBackground(*args, **kwargs): return _gdi.DC_GetTextBackground(*args, **kwargs) - def GetTextForeground(*args, **kwargs): return _gdi.DC_GetTextForeground(*args, **kwargs) - def SetTextForeground(*args, **kwargs): return _gdi.DC_SetTextForeground(*args, **kwargs) - def SetTextBackground(*args, **kwargs): return _gdi.DC_SetTextBackground(*args, **kwargs) - def GetMapMode(*args, **kwargs): return _gdi.DC_GetMapMode(*args, **kwargs) - def SetMapMode(*args, **kwargs): return _gdi.DC_SetMapMode(*args, **kwargs) - def GetUserScale(*args, **kwargs): return _gdi.DC_GetUserScale(*args, **kwargs) - def SetUserScale(*args, **kwargs): return _gdi.DC_SetUserScale(*args, **kwargs) - def GetLogicalScale(*args, **kwargs): return _gdi.DC_GetLogicalScale(*args, **kwargs) - def SetLogicalScale(*args, **kwargs): return _gdi.DC_SetLogicalScale(*args, **kwargs) - def GetLogicalOriginTuple(*args, **kwargs): return _gdi.DC_GetLogicalOriginTuple(*args, **kwargs) - def GetLogicalOrigin(*args, **kwargs): return _gdi.DC_GetLogicalOrigin(*args, **kwargs) - def SetLogicalOrigin(*args, **kwargs): return _gdi.DC_SetLogicalOrigin(*args, **kwargs) - def GetDeviceOriginTuple(*args, **kwargs): return _gdi.DC_GetDeviceOriginTuple(*args, **kwargs) - def GetDeviceOrigin(*args, **kwargs): return _gdi.DC_GetDeviceOrigin(*args, **kwargs) - def SetDeviceOrigin(*args, **kwargs): return _gdi.DC_SetDeviceOrigin(*args, **kwargs) - def SetAxisOrientation(*args, **kwargs): return _gdi.DC_SetAxisOrientation(*args, **kwargs) - def GetLogicalFunction(*args, **kwargs): return _gdi.DC_GetLogicalFunction(*args, **kwargs) - def SetLogicalFunction(*args, **kwargs): return _gdi.DC_SetLogicalFunction(*args, **kwargs) - def SetOptimization(*args, **kwargs): return _gdi.DC_SetOptimization(*args, **kwargs) - def GetOptimization(*args, **kwargs): return _gdi.DC_GetOptimization(*args, **kwargs) - def CalcBoundingBox(*args, **kwargs): return _gdi.DC_CalcBoundingBox(*args, **kwargs) - def ResetBoundingBox(*args, **kwargs): return _gdi.DC_ResetBoundingBox(*args, **kwargs) - def MinX(*args, **kwargs): return _gdi.DC_MinX(*args, **kwargs) - def MaxX(*args, **kwargs): return _gdi.DC_MaxX(*args, **kwargs) - def MinY(*args, **kwargs): return _gdi.DC_MinY(*args, **kwargs) - def MaxY(*args, **kwargs): return _gdi.DC_MaxY(*args, **kwargs) - def GetBoundingBox(*args, **kwargs): return _gdi.DC_GetBoundingBox(*args, **kwargs) + + def BeginDrawing(*args, **kwargs): + """BeginDrawing()""" + return _gdi.DC_BeginDrawing(*args, **kwargs) + + def EndDrawing(*args, **kwargs): + """EndDrawing()""" + return _gdi.DC_EndDrawing(*args, **kwargs) + + def FloodFillXY(*args, **kwargs): + """FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool""" + return _gdi.DC_FloodFillXY(*args, **kwargs) + + def FloodFill(*args, **kwargs): + """FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool""" + return _gdi.DC_FloodFill(*args, **kwargs) + + def GetPixelXY(*args, **kwargs): + """GetPixelXY(int x, int y) -> Colour""" + return _gdi.DC_GetPixelXY(*args, **kwargs) + + def GetPixel(*args, **kwargs): + """GetPixel(Point pt) -> Colour""" + return _gdi.DC_GetPixel(*args, **kwargs) + + def DrawLineXY(*args, **kwargs): + """DrawLineXY(int x1, int y1, int x2, int y2)""" + return _gdi.DC_DrawLineXY(*args, **kwargs) + + def DrawLine(*args, **kwargs): + """DrawLine(Point pt1, Point pt2)""" + return _gdi.DC_DrawLine(*args, **kwargs) + + def CrossHairXY(*args, **kwargs): + """CrossHairXY(int x, int y)""" + return _gdi.DC_CrossHairXY(*args, **kwargs) + + def CrossHair(*args, **kwargs): + """CrossHair(Point pt)""" + return _gdi.DC_CrossHair(*args, **kwargs) + + def DrawArcXY(*args, **kwargs): + """DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)""" + return _gdi.DC_DrawArcXY(*args, **kwargs) + + def DrawArc(*args, **kwargs): + """DrawArc(Point pt1, Point pt2, Point centre)""" + return _gdi.DC_DrawArc(*args, **kwargs) + + def DrawCheckMarkXY(*args, **kwargs): + """DrawCheckMarkXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawCheckMarkXY(*args, **kwargs) + + def DrawCheckMark(*args, **kwargs): + """DrawCheckMark(Rect rect)""" + return _gdi.DC_DrawCheckMark(*args, **kwargs) + + def DrawEllipticArcXY(*args, **kwargs): + """DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)""" + return _gdi.DC_DrawEllipticArcXY(*args, **kwargs) + + def DrawEllipticArc(*args, **kwargs): + """DrawEllipticArc(Point pt, Size sz, double sa, double ea)""" + return _gdi.DC_DrawEllipticArc(*args, **kwargs) + + def DrawPointXY(*args, **kwargs): + """DrawPointXY(int x, int y)""" + return _gdi.DC_DrawPointXY(*args, **kwargs) + + def DrawPoint(*args, **kwargs): + """DrawPoint(Point pt)""" + return _gdi.DC_DrawPoint(*args, **kwargs) + + def DrawRectangleXY(*args, **kwargs): + """DrawRectangleXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawRectangleXY(*args, **kwargs) + + def DrawRectangle(*args, **kwargs): + """DrawRectangle(Point pt, Size sz)""" + return _gdi.DC_DrawRectangle(*args, **kwargs) + + def DrawRectangleRect(*args, **kwargs): + """DrawRectangleRect(Rect rect)""" + return _gdi.DC_DrawRectangleRect(*args, **kwargs) + + def DrawRoundedRectangleXY(*args, **kwargs): + """DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)""" + return _gdi.DC_DrawRoundedRectangleXY(*args, **kwargs) + + def DrawRoundedRectangle(*args, **kwargs): + """DrawRoundedRectangle(Point pt, Size sz, double radius)""" + return _gdi.DC_DrawRoundedRectangle(*args, **kwargs) + + def DrawRoundedRectangleRect(*args, **kwargs): + """DrawRoundedRectangleRect(Rect r, double radius)""" + return _gdi.DC_DrawRoundedRectangleRect(*args, **kwargs) + + def DrawCircleXY(*args, **kwargs): + """DrawCircleXY(int x, int y, int radius)""" + return _gdi.DC_DrawCircleXY(*args, **kwargs) + + def DrawCircle(*args, **kwargs): + """DrawCircle(Point pt, int radius)""" + return _gdi.DC_DrawCircle(*args, **kwargs) + + def DrawEllipseXY(*args, **kwargs): + """DrawEllipseXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawEllipseXY(*args, **kwargs) + + def DrawEllipse(*args, **kwargs): + """DrawEllipse(Point pt, Size sz)""" + return _gdi.DC_DrawEllipse(*args, **kwargs) + + def DrawEllipseRect(*args, **kwargs): + """DrawEllipseRect(Rect rect)""" + return _gdi.DC_DrawEllipseRect(*args, **kwargs) + + def DrawIconXY(*args, **kwargs): + """DrawIconXY(Icon icon, int x, int y)""" + return _gdi.DC_DrawIconXY(*args, **kwargs) + + def DrawIcon(*args, **kwargs): + """DrawIcon(Icon icon, Point pt)""" + return _gdi.DC_DrawIcon(*args, **kwargs) + + def DrawBitmapXY(*args, **kwargs): + """DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)""" + return _gdi.DC_DrawBitmapXY(*args, **kwargs) + + def DrawBitmap(*args, **kwargs): + """DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)""" + return _gdi.DC_DrawBitmap(*args, **kwargs) + + def DrawTextXY(*args, **kwargs): + """DrawTextXY(wxString text, int x, int y)""" + return _gdi.DC_DrawTextXY(*args, **kwargs) + + def DrawText(*args, **kwargs): + """DrawText(wxString text, Point pt)""" + return _gdi.DC_DrawText(*args, **kwargs) + + def DrawRotatedTextXY(*args, **kwargs): + """DrawRotatedTextXY(wxString text, int x, int y, double angle)""" + return _gdi.DC_DrawRotatedTextXY(*args, **kwargs) + + def DrawRotatedText(*args, **kwargs): + """DrawRotatedText(wxString text, Point pt, double angle)""" + return _gdi.DC_DrawRotatedText(*args, **kwargs) + + def BlitXY(*args, **kwargs): + """BlitXY(int xdest, int ydest, int width, int height, DC source, + int xsrc, int ysrc, int rop=COPY, bool useMask=False, + int xsrcMask=-1, int ysrcMask=-1) -> bool""" + return _gdi.DC_BlitXY(*args, **kwargs) + + def Blit(*args, **kwargs): + """Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, + bool useMask=False, Point srcPtMask=DefaultPosition) -> bool""" + return _gdi.DC_Blit(*args, **kwargs) + + def DrawLines(*args, **kwargs): + """DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)""" + return _gdi.DC_DrawLines(*args, **kwargs) + + def DrawPolygon(*args, **kwargs): + """DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, + int fillStyle=ODDEVEN_RULE)""" + return _gdi.DC_DrawPolygon(*args, **kwargs) + + def DrawLabel(*args, **kwargs): + """DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1)""" + return _gdi.DC_DrawLabel(*args, **kwargs) + + def DrawImageLabel(*args, **kwargs): + """DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) -> Rect""" + return _gdi.DC_DrawImageLabel(*args, **kwargs) + + def DrawSpline(*args, **kwargs): + """DrawSpline(int points, Point points_array)""" + return _gdi.DC_DrawSpline(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _gdi.DC_Clear(*args, **kwargs) + + def StartDoc(*args, **kwargs): + """StartDoc(wxString message) -> bool""" + return _gdi.DC_StartDoc(*args, **kwargs) + + def EndDoc(*args, **kwargs): + """EndDoc()""" + return _gdi.DC_EndDoc(*args, **kwargs) + + def StartPage(*args, **kwargs): + """StartPage()""" + return _gdi.DC_StartPage(*args, **kwargs) + + def EndPage(*args, **kwargs): + """EndPage()""" + return _gdi.DC_EndPage(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(Font font)""" + return _gdi.DC_SetFont(*args, **kwargs) + + def SetPen(*args, **kwargs): + """SetPen(Pen pen)""" + return _gdi.DC_SetPen(*args, **kwargs) + + def SetBrush(*args, **kwargs): + """SetBrush(Brush brush)""" + return _gdi.DC_SetBrush(*args, **kwargs) + + def SetBackground(*args, **kwargs): + """SetBackground(Brush brush)""" + return _gdi.DC_SetBackground(*args, **kwargs) + + def SetBackgroundMode(*args, **kwargs): + """SetBackgroundMode(int mode)""" + return _gdi.DC_SetBackgroundMode(*args, **kwargs) + + def SetPalette(*args, **kwargs): + """SetPalette(Palette palette)""" + return _gdi.DC_SetPalette(*args, **kwargs) + + def SetClippingRegion(*args, **kwargs): + """SetClippingRegion(int x, int y, int width, int height)""" + return _gdi.DC_SetClippingRegion(*args, **kwargs) + + def SetClippingRect(*args, **kwargs): + """SetClippingRect(Rect rect)""" + return _gdi.DC_SetClippingRect(*args, **kwargs) + + def SetClippingRegionAsRegion(*args, **kwargs): + """SetClippingRegionAsRegion(Region region)""" + return _gdi.DC_SetClippingRegionAsRegion(*args, **kwargs) + + def DestroyClippingRegion(*args, **kwargs): + """DestroyClippingRegion()""" + return _gdi.DC_DestroyClippingRegion(*args, **kwargs) + + def GetClippingBox(*args, **kwargs): + """GetClippingBox(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetClippingBox(*args, **kwargs) + + def GetClippingRect(*args, **kwargs): + """GetClippingRect() -> Rect""" + return _gdi.DC_GetClippingRect(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _gdi.DC_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _gdi.DC_GetCharWidth(*args, **kwargs) + + def GetTextExtent(*args, **kwargs): + """GetTextExtent(wxString string, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetTextExtent(*args, **kwargs) + + def GetFullTextExtent(*args, **kwargs): + """GetFullTextExtent(wxString string, int OUTPUT, int OUTPUT, int OUTPUT, + int OUTPUT, Font font=None)""" + return _gdi.DC_GetFullTextExtent(*args, **kwargs) + + def GetMultiLineTextExtent(*args, **kwargs): + """GetMultiLineTextExtent(wxString text, int OUTPUT, int OUTPUT, int OUTPUT, + Font font=None)""" + return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetSizeTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _gdi.DC_GetSize(*args, **kwargs) + + def GetSizeMMWH(*args, **kwargs): + """GetSizeMMWH(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetSizeMMWH(*args, **kwargs) + + def GetSizeMM(*args, **kwargs): + """GetSizeMM() -> Size""" + return _gdi.DC_GetSizeMM(*args, **kwargs) + + def DeviceToLogicalX(*args, **kwargs): + """DeviceToLogicalX(int x) -> int""" + return _gdi.DC_DeviceToLogicalX(*args, **kwargs) + + def DeviceToLogicalY(*args, **kwargs): + """DeviceToLogicalY(int y) -> int""" + return _gdi.DC_DeviceToLogicalY(*args, **kwargs) + + def DeviceToLogicalXRel(*args, **kwargs): + """DeviceToLogicalXRel(int x) -> int""" + return _gdi.DC_DeviceToLogicalXRel(*args, **kwargs) + + def DeviceToLogicalYRel(*args, **kwargs): + """DeviceToLogicalYRel(int y) -> int""" + return _gdi.DC_DeviceToLogicalYRel(*args, **kwargs) + + def LogicalToDeviceX(*args, **kwargs): + """LogicalToDeviceX(int x) -> int""" + return _gdi.DC_LogicalToDeviceX(*args, **kwargs) + + def LogicalToDeviceY(*args, **kwargs): + """LogicalToDeviceY(int y) -> int""" + return _gdi.DC_LogicalToDeviceY(*args, **kwargs) + + def LogicalToDeviceXRel(*args, **kwargs): + """LogicalToDeviceXRel(int x) -> int""" + return _gdi.DC_LogicalToDeviceXRel(*args, **kwargs) + + def LogicalToDeviceYRel(*args, **kwargs): + """LogicalToDeviceYRel(int y) -> int""" + return _gdi.DC_LogicalToDeviceYRel(*args, **kwargs) + + def CanDrawBitmap(*args, **kwargs): + """CanDrawBitmap() -> bool""" + return _gdi.DC_CanDrawBitmap(*args, **kwargs) + + def CanGetTextExtent(*args, **kwargs): + """CanGetTextExtent() -> bool""" + return _gdi.DC_CanGetTextExtent(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.DC_GetDepth(*args, **kwargs) + + def GetPPI(*args, **kwargs): + """GetPPI() -> Size""" + return _gdi.DC_GetPPI(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.DC_Ok(*args, **kwargs) + + def GetBackgroundMode(*args, **kwargs): + """GetBackgroundMode() -> int""" + return _gdi.DC_GetBackgroundMode(*args, **kwargs) + + def GetBackground(*args, **kwargs): + """GetBackground() -> Brush""" + return _gdi.DC_GetBackground(*args, **kwargs) + + def GetBrush(*args, **kwargs): + """GetBrush() -> Brush""" + return _gdi.DC_GetBrush(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> Font""" + return _gdi.DC_GetFont(*args, **kwargs) + + def GetPen(*args, **kwargs): + """GetPen() -> Pen""" + return _gdi.DC_GetPen(*args, **kwargs) + + def GetTextBackground(*args, **kwargs): + """GetTextBackground() -> Colour""" + return _gdi.DC_GetTextBackground(*args, **kwargs) + + def GetTextForeground(*args, **kwargs): + """GetTextForeground() -> Colour""" + return _gdi.DC_GetTextForeground(*args, **kwargs) + + def SetTextForeground(*args, **kwargs): + """SetTextForeground(Colour colour)""" + return _gdi.DC_SetTextForeground(*args, **kwargs) + + def SetTextBackground(*args, **kwargs): + """SetTextBackground(Colour colour)""" + return _gdi.DC_SetTextBackground(*args, **kwargs) + + def GetMapMode(*args, **kwargs): + """GetMapMode() -> int""" + return _gdi.DC_GetMapMode(*args, **kwargs) + + def SetMapMode(*args, **kwargs): + """SetMapMode(int mode)""" + return _gdi.DC_SetMapMode(*args, **kwargs) + + def GetUserScale(*args, **kwargs): + """GetUserScale(double OUTPUT, double OUTPUT)""" + return _gdi.DC_GetUserScale(*args, **kwargs) + + def SetUserScale(*args, **kwargs): + """SetUserScale(double x, double y)""" + return _gdi.DC_SetUserScale(*args, **kwargs) + + def GetLogicalScale(*args, **kwargs): + """GetLogicalScale(double OUTPUT, double OUTPUT)""" + return _gdi.DC_GetLogicalScale(*args, **kwargs) + + def SetLogicalScale(*args, **kwargs): + """SetLogicalScale(double x, double y)""" + return _gdi.DC_SetLogicalScale(*args, **kwargs) + + def GetLogicalOriginTuple(*args, **kwargs): + """GetLogicalOriginTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetLogicalOriginTuple(*args, **kwargs) + + def GetLogicalOrigin(*args, **kwargs): + """GetLogicalOrigin() -> Point""" + return _gdi.DC_GetLogicalOrigin(*args, **kwargs) + + def SetLogicalOrigin(*args, **kwargs): + """SetLogicalOrigin(int x, int y)""" + return _gdi.DC_SetLogicalOrigin(*args, **kwargs) + + def GetDeviceOriginTuple(*args, **kwargs): + """GetDeviceOriginTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetDeviceOriginTuple(*args, **kwargs) + + def GetDeviceOrigin(*args, **kwargs): + """GetDeviceOrigin() -> Point""" + return _gdi.DC_GetDeviceOrigin(*args, **kwargs) + + def SetDeviceOrigin(*args, **kwargs): + """SetDeviceOrigin(int x, int y)""" + return _gdi.DC_SetDeviceOrigin(*args, **kwargs) + + def SetAxisOrientation(*args, **kwargs): + """SetAxisOrientation(bool xLeftRight, bool yBottomUp)""" + return _gdi.DC_SetAxisOrientation(*args, **kwargs) + + def GetLogicalFunction(*args, **kwargs): + """GetLogicalFunction() -> int""" + return _gdi.DC_GetLogicalFunction(*args, **kwargs) + + def SetLogicalFunction(*args, **kwargs): + """SetLogicalFunction(int function)""" + return _gdi.DC_SetLogicalFunction(*args, **kwargs) + + def SetOptimization(*args, **kwargs): + """SetOptimization(bool opt)""" + return _gdi.DC_SetOptimization(*args, **kwargs) + + def GetOptimization(*args, **kwargs): + """GetOptimization() -> bool""" + return _gdi.DC_GetOptimization(*args, **kwargs) + + def CalcBoundingBox(*args, **kwargs): + """CalcBoundingBox(int x, int y)""" + return _gdi.DC_CalcBoundingBox(*args, **kwargs) + + def ResetBoundingBox(*args, **kwargs): + """ResetBoundingBox()""" + return _gdi.DC_ResetBoundingBox(*args, **kwargs) + + def MinX(*args, **kwargs): + """MinX() -> int""" + return _gdi.DC_MinX(*args, **kwargs) + + def MaxX(*args, **kwargs): + """MaxX() -> int""" + return _gdi.DC_MaxX(*args, **kwargs) + + def MinY(*args, **kwargs): + """MinY() -> int""" + return _gdi.DC_MinY(*args, **kwargs) + + def MaxY(*args, **kwargs): + """MaxY() -> int""" + return _gdi.DC_MaxY(*args, **kwargs) + + def GetBoundingBox(*args, **kwargs): + """GetBoundingBox(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetBoundingBox(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def _DrawPointList(*args, **kwargs): return _gdi.DC__DrawPointList(*args, **kwargs) - def _DrawLineList(*args, **kwargs): return _gdi.DC__DrawLineList(*args, **kwargs) - def _DrawRectangleList(*args, **kwargs): return _gdi.DC__DrawRectangleList(*args, **kwargs) - def _DrawEllipseList(*args, **kwargs): return _gdi.DC__DrawEllipseList(*args, **kwargs) - def _DrawPolygonList(*args, **kwargs): return _gdi.DC__DrawPolygonList(*args, **kwargs) - def _DrawTextList(*args, **kwargs): return _gdi.DC__DrawTextList(*args, **kwargs) + def _DrawPointList(*args, **kwargs): + """_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawPointList(*args, **kwargs) + + def _DrawLineList(*args, **kwargs): + """_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawLineList(*args, **kwargs) + + def _DrawRectangleList(*args, **kwargs): + """_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawRectangleList(*args, **kwargs) + + def _DrawEllipseList(*args, **kwargs): + """_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawEllipseList(*args, **kwargs) + + def _DrawPolygonList(*args, **kwargs): + """_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawPolygonList(*args, **kwargs) + + def _DrawTextList(*args, **kwargs): + """_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, + PyObject backgroundList) -> PyObject""" + return _gdi.DC__DrawTextList(*args, **kwargs) + def DrawPointList(self, points, pens=None): if pens is None: pens = [] @@ -1415,9 +2578,6 @@ class DC(core.Object): raise ValueError('backgrounds and coords must have same length') return self._DrawTextList(textList, coords, foregrounds, backgrounds) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class DCPtr(DC): def __init__(self, this): @@ -1429,14 +2589,19 @@ _gdi.DC_swigregister(DCPtr) #--------------------------------------------------------------------------- class MemoryDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MemoryDC""" newobj = _gdi.new_MemoryDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SelectObject(*args, **kwargs): return _gdi.MemoryDC_SelectObject(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SelectObject(*args, **kwargs): + """SelectObject(Bitmap bitmap)""" + return _gdi.MemoryDC_SelectObject(*args, **kwargs) + class MemoryDCPtr(MemoryDC): def __init__(self, this): @@ -1446,6 +2611,7 @@ class MemoryDCPtr(MemoryDC): _gdi.MemoryDC_swigregister(MemoryDCPtr) def MemoryDCFromDC(*args, **kwargs): + """MemoryDCFromDC(DC oldDC) -> MemoryDC""" val = _gdi.new_MemoryDCFromDC(*args, **kwargs) val.thisown = 1 return val @@ -1453,15 +2619,21 @@ def MemoryDCFromDC(*args, **kwargs): #--------------------------------------------------------------------------- class BufferedDC(MemoryDC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DC dc, Bitmap buffer) -> BufferedDC""" newobj = _gdi.new_BufferedDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._dc = args[0] # save a ref so the other dc will not be deleted before self - def UnMask(*args, **kwargs): return _gdi.BufferedDC_UnMask(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def UnMask(*args, **kwargs): + """UnMask()""" + return _gdi.BufferedDC_UnMask(*args, **kwargs) + class BufferedDCPtr(BufferedDC): def __init__(self, this): @@ -1471,19 +2643,22 @@ class BufferedDCPtr(BufferedDC): _gdi.BufferedDC_swigregister(BufferedDCPtr) def BufferedDCInternalBuffer(*args, **kwargs): + """BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC""" val = _gdi.new_BufferedDCInternalBuffer(*args, **kwargs) val.thisown = 1 val._dc = args[0] # save a ref so the other dc will not be deleted before self return val class BufferedPaintDC(BufferedDC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC""" newobj = _gdi.new_BufferedPaintDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BufferedPaintDCPtr(BufferedPaintDC): def __init__(self, this): @@ -1495,16 +2670,27 @@ _gdi.BufferedPaintDC_swigregister(BufferedPaintDCPtr) #--------------------------------------------------------------------------- class ScreenDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ScreenDC""" newobj = _gdi.new_ScreenDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def StartDrawingOnTopWin(*args, **kwargs): return _gdi.ScreenDC_StartDrawingOnTopWin(*args, **kwargs) - def StartDrawingOnTop(*args, **kwargs): return _gdi.ScreenDC_StartDrawingOnTop(*args, **kwargs) - def EndDrawingOnTop(*args, **kwargs): return _gdi.ScreenDC_EndDrawingOnTop(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def StartDrawingOnTopWin(*args, **kwargs): + """StartDrawingOnTopWin(Window window) -> bool""" + return _gdi.ScreenDC_StartDrawingOnTopWin(*args, **kwargs) + + def StartDrawingOnTop(*args, **kwargs): + """StartDrawingOnTop(Rect rect=None) -> bool""" + return _gdi.ScreenDC_StartDrawingOnTop(*args, **kwargs) + + def EndDrawingOnTop(*args, **kwargs): + """EndDrawingOnTop() -> bool""" + return _gdi.ScreenDC_EndDrawingOnTop(*args, **kwargs) + class ScreenDCPtr(ScreenDC): def __init__(self, this): @@ -1516,13 +2702,15 @@ _gdi.ScreenDC_swigregister(ScreenDCPtr) #--------------------------------------------------------------------------- class ClientDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> ClientDC""" newobj = _gdi.new_ClientDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ClientDCPtr(ClientDC): def __init__(self, this): @@ -1534,13 +2722,15 @@ _gdi.ClientDC_swigregister(ClientDCPtr) #--------------------------------------------------------------------------- class PaintDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> PaintDC""" newobj = _gdi.new_PaintDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PaintDCPtr(PaintDC): def __init__(self, this): @@ -1552,13 +2742,15 @@ _gdi.PaintDC_swigregister(PaintDCPtr) #--------------------------------------------------------------------------- class WindowDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> WindowDC""" newobj = _gdi.new_WindowDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class WindowDCPtr(WindowDC): def __init__(self, this): @@ -1570,13 +2762,15 @@ _gdi.WindowDC_swigregister(WindowDCPtr) #--------------------------------------------------------------------------- class MirrorDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DC dc, bool mirror) -> MirrorDC""" newobj = _gdi.new_MirrorDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MirrorDCPtr(MirrorDC): def __init__(self, this): @@ -1588,17 +2782,33 @@ _gdi.MirrorDC_swigregister(MirrorDCPtr) #--------------------------------------------------------------------------- class PostScriptDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxPrintData printData) -> PostScriptDC""" newobj = _gdi.new_PostScriptDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPrintData(*args, **kwargs): return _gdi.PostScriptDC_GetPrintData(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _gdi.PostScriptDC_SetPrintData(*args, **kwargs) - SetResolution = staticmethod(_gdi.PostScriptDC_SetResolution) - GetResolution = staticmethod(_gdi.PostScriptDC_GetResolution) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPrintData(*args, **kwargs): + """GetPrintData() -> wxPrintData""" + return _gdi.PostScriptDC_GetPrintData(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(wxPrintData data)""" + return _gdi.PostScriptDC_SetPrintData(*args, **kwargs) + + def SetResolution(*args, **kwargs): + """PostScriptDC.SetResolution(int ppi)""" + return _gdi.PostScriptDC_SetResolution(*args, **kwargs) + + SetResolution = staticmethod(SetResolution) + def GetResolution(*args, **kwargs): + """PostScriptDC.GetResolution() -> int""" + return _gdi.PostScriptDC_GetResolution(*args, **kwargs) + + GetResolution = staticmethod(GetResolution) class PostScriptDCPtr(PostScriptDC): def __init__(self, this): @@ -1607,20 +2817,26 @@ class PostScriptDCPtr(PostScriptDC): self.__class__ = PostScriptDC _gdi.PostScriptDC_swigregister(PostScriptDCPtr) -PostScriptDC_SetResolution = _gdi.PostScriptDC_SetResolution +def PostScriptDC_SetResolution(*args, **kwargs): + """PostScriptDC_SetResolution(int ppi)""" + return _gdi.PostScriptDC_SetResolution(*args, **kwargs) -PostScriptDC_GetResolution = _gdi.PostScriptDC_GetResolution +def PostScriptDC_GetResolution(*args, **kwargs): + """PostScriptDC_GetResolution() -> int""" + return _gdi.PostScriptDC_GetResolution(*args, **kwargs) #--------------------------------------------------------------------------- class MetaFile(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=wxPyEmptyString) -> MetaFile""" newobj = _gdi.new_MetaFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MetaFilePtr(MetaFile): def __init__(self, this): @@ -1630,13 +2846,16 @@ class MetaFilePtr(MetaFile): _gdi.MetaFile_swigregister(MetaFilePtr) class MetaFileDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=wxPyEmptyString, int width=0, int height=0, + wxString description=wxPyEmptyString) -> MetaFileDC""" newobj = _gdi.new_MetaFileDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MetaFileDCPtr(MetaFileDC): def __init__(self, this): @@ -1646,13 +2865,15 @@ class MetaFileDCPtr(MetaFileDC): _gdi.MetaFileDC_swigregister(MetaFileDCPtr) class PrinterDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxPrintData printData) -> PrinterDC""" newobj = _gdi.new_PrinterDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrinterDCPtr(PrinterDC): def __init__(self, this): @@ -1671,26 +2892,58 @@ IMAGE_LIST_NORMAL = _gdi.IMAGE_LIST_NORMAL IMAGE_LIST_SMALL = _gdi.IMAGE_LIST_SMALL IMAGE_LIST_STATE = _gdi.IMAGE_LIST_STATE class ImageList(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int width, int height, int mask=True, int initialCount=1) -> ImageList""" newobj = _gdi.new_ImageList(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_ImageList): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Add(*args, **kwargs): return _gdi.ImageList_Add(*args, **kwargs) - def AddWithColourMask(*args, **kwargs): return _gdi.ImageList_AddWithColourMask(*args, **kwargs) - def AddIcon(*args, **kwargs): return _gdi.ImageList_AddIcon(*args, **kwargs) - def Replace(*args, **kwargs): return _gdi.ImageList_Replace(*args, **kwargs) - def Draw(*args, **kwargs): return _gdi.ImageList_Draw(*args, **kwargs) - def GetImageCount(*args, **kwargs): return _gdi.ImageList_GetImageCount(*args, **kwargs) - def Remove(*args, **kwargs): return _gdi.ImageList_Remove(*args, **kwargs) - def RemoveAll(*args, **kwargs): return _gdi.ImageList_RemoveAll(*args, **kwargs) - def GetSize(*args, **kwargs): return _gdi.ImageList_GetSize(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Add(*args, **kwargs): + """Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int""" + return _gdi.ImageList_Add(*args, **kwargs) + + def AddWithColourMask(*args, **kwargs): + """AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int""" + return _gdi.ImageList_AddWithColourMask(*args, **kwargs) + + def AddIcon(*args, **kwargs): + """AddIcon(Icon icon) -> int""" + return _gdi.ImageList_AddIcon(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(int index, Bitmap bitmap) -> bool""" + return _gdi.ImageList_Replace(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, + bool solidBackground=False) -> bool""" + return _gdi.ImageList_Draw(*args, **kwargs) + + def GetImageCount(*args, **kwargs): + """GetImageCount() -> int""" + return _gdi.ImageList_GetImageCount(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(int index) -> bool""" + return _gdi.ImageList_Remove(*args, **kwargs) + + def RemoveAll(*args, **kwargs): + """RemoveAll() -> bool""" + return _gdi.ImageList_RemoveAll(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize(int index, int OUTPUT, int OUTPUT)""" + return _gdi.ImageList_GetSize(*args, **kwargs) + class ImageListPtr(ImageList): def __init__(self, this): @@ -1702,13 +2955,26 @@ _gdi.ImageList_swigregister(ImageListPtr) #--------------------------------------------------------------------------- class PenList(core.Object): - def AddPen(*args, **kwargs): return _gdi.PenList_AddPen(*args, **kwargs) - def FindOrCreatePen(*args, **kwargs): return _gdi.PenList_FindOrCreatePen(*args, **kwargs) - def RemovePen(*args, **kwargs): return _gdi.PenList_RemovePen(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.PenList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddPen(*args, **kwargs): + """AddPen(Pen pen)""" + return _gdi.PenList_AddPen(*args, **kwargs) + + def FindOrCreatePen(*args, **kwargs): + """FindOrCreatePen(Colour colour, int width, int style) -> Pen""" + return _gdi.PenList_FindOrCreatePen(*args, **kwargs) + + def RemovePen(*args, **kwargs): + """RemovePen(Pen pen)""" + return _gdi.PenList_RemovePen(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.PenList_GetCount(*args, **kwargs) + class PenListPtr(PenList): def __init__(self, this): @@ -1718,13 +2984,26 @@ class PenListPtr(PenList): _gdi.PenList_swigregister(PenListPtr) class BrushList(core.Object): - def AddBrush(*args, **kwargs): return _gdi.BrushList_AddBrush(*args, **kwargs) - def FindOrCreateBrush(*args, **kwargs): return _gdi.BrushList_FindOrCreateBrush(*args, **kwargs) - def RemoveBrush(*args, **kwargs): return _gdi.BrushList_RemoveBrush(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.BrushList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddBrush(*args, **kwargs): + """AddBrush(Brush brush)""" + return _gdi.BrushList_AddBrush(*args, **kwargs) + + def FindOrCreateBrush(*args, **kwargs): + """FindOrCreateBrush(Colour colour, int style) -> Brush""" + return _gdi.BrushList_FindOrCreateBrush(*args, **kwargs) + + def RemoveBrush(*args, **kwargs): + """RemoveBrush(Brush brush)""" + return _gdi.BrushList_RemoveBrush(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.BrushList_GetCount(*args, **kwargs) + class BrushListPtr(BrushList): def __init__(self, this): @@ -1734,22 +3013,38 @@ class BrushListPtr(BrushList): _gdi.BrushList_swigregister(BrushListPtr) class ColourDatabase(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ColourDatabase""" newobj = _gdi.new_ColourDatabase(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_ColourDatabase): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Find(*args, **kwargs): return _gdi.ColourDatabase_Find(*args, **kwargs) - def FindName(*args, **kwargs): return _gdi.ColourDatabase_FindName(*args, **kwargs) + + def Find(*args, **kwargs): + """Find(wxString name) -> Colour""" + return _gdi.ColourDatabase_Find(*args, **kwargs) + + def FindName(*args, **kwargs): + """FindName(Colour colour) -> wxString""" + return _gdi.ColourDatabase_FindName(*args, **kwargs) + FindColour = Find - def AddColour(*args, **kwargs): return _gdi.ColourDatabase_AddColour(*args, **kwargs) - def Append(*args, **kwargs): return _gdi.ColourDatabase_Append(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddColour(*args, **kwargs): + """AddColour(wxString name, Colour colour)""" + return _gdi.ColourDatabase_AddColour(*args, **kwargs) + + def Append(*args, **kwargs): + """Append(wxString name, int red, int green, int blue)""" + return _gdi.ColourDatabase_Append(*args, **kwargs) + class ColourDatabasePtr(ColourDatabase): def __init__(self, this): @@ -1759,13 +3054,28 @@ class ColourDatabasePtr(ColourDatabase): _gdi.ColourDatabase_swigregister(ColourDatabasePtr) class FontList(core.Object): - def AddFont(*args, **kwargs): return _gdi.FontList_AddFont(*args, **kwargs) - def FindOrCreateFont(*args, **kwargs): return _gdi.FontList_FindOrCreateFont(*args, **kwargs) - def RemoveFont(*args, **kwargs): return _gdi.FontList_RemoveFont(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.FontList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddFont(*args, **kwargs): + """AddFont(Font font)""" + return _gdi.FontList_AddFont(*args, **kwargs) + + def FindOrCreateFont(*args, **kwargs): + """FindOrCreateFont(int point_size, int family, int style, int weight, + bool underline=False, wxString facename=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + return _gdi.FontList_FindOrCreateFont(*args, **kwargs) + + def RemoveFont(*args, **kwargs): + """RemoveFont(Font font)""" + return _gdi.FontList_RemoveFont(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.FontList_GetCount(*args, **kwargs) + class FontListPtr(FontList): def __init__(self, this): @@ -1778,36 +3088,76 @@ _gdi.FontList_swigregister(FontListPtr) #--------------------------------------------------------------------------- -class DragImage(core.Object): +class Effects(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - newobj = _gdi.new_DragImage(*args, **kwargs) + """__init__() -> Effects""" + newobj = _gdi.new_Effects(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __del__(self, destroy=_gdi.delete_DragImage): - try: - if self.thisown: destroy(self) - except: pass - def SetBackingBitmap(*args, **kwargs): return _gdi.DragImage_SetBackingBitmap(*args, **kwargs) - def BeginDrag(*args, **kwargs): return _gdi.DragImage_BeginDrag(*args, **kwargs) - def BeginDragBounded(*args, **kwargs): return _gdi.DragImage_BeginDragBounded(*args, **kwargs) - def EndDrag(*args, **kwargs): return _gdi.DragImage_EndDrag(*args, **kwargs) - def Move(*args, **kwargs): return _gdi.DragImage_Move(*args, **kwargs) - def Show(*args, **kwargs): return _gdi.DragImage_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _gdi.DragImage_Hide(*args, **kwargs) - def GetImageRect(*args, **kwargs): return _gdi.DragImage_GetImageRect(*args, **kwargs) - def DoDrawImage(*args, **kwargs): return _gdi.DragImage_DoDrawImage(*args, **kwargs) - def UpdateBackingFromWindow(*args, **kwargs): return _gdi.DragImage_UpdateBackingFromWindow(*args, **kwargs) - def RedrawImage(*args, **kwargs): return _gdi.DragImage_RedrawImage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetHighlightColour(*args, **kwargs): + """GetHighlightColour() -> Colour""" + return _gdi.Effects_GetHighlightColour(*args, **kwargs) + + def GetLightShadow(*args, **kwargs): + """GetLightShadow() -> Colour""" + return _gdi.Effects_GetLightShadow(*args, **kwargs) + + def GetFaceColour(*args, **kwargs): + """GetFaceColour() -> Colour""" + return _gdi.Effects_GetFaceColour(*args, **kwargs) + + def GetMediumShadow(*args, **kwargs): + """GetMediumShadow() -> Colour""" + return _gdi.Effects_GetMediumShadow(*args, **kwargs) + + def GetDarkShadow(*args, **kwargs): + """GetDarkShadow() -> Colour""" + return _gdi.Effects_GetDarkShadow(*args, **kwargs) + + def SetHighlightColour(*args, **kwargs): + """SetHighlightColour(Colour c)""" + return _gdi.Effects_SetHighlightColour(*args, **kwargs) + + def SetLightShadow(*args, **kwargs): + """SetLightShadow(Colour c)""" + return _gdi.Effects_SetLightShadow(*args, **kwargs) + + def SetFaceColour(*args, **kwargs): + """SetFaceColour(Colour c)""" + return _gdi.Effects_SetFaceColour(*args, **kwargs) + + def SetMediumShadow(*args, **kwargs): + """SetMediumShadow(Colour c)""" + return _gdi.Effects_SetMediumShadow(*args, **kwargs) + + def SetDarkShadow(*args, **kwargs): + """SetDarkShadow(Colour c)""" + return _gdi.Effects_SetDarkShadow(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(Colour highlightColour, Colour lightShadow, Colour faceColour, + Colour mediumShadow, Colour darkShadow)""" + return _gdi.Effects_Set(*args, **kwargs) + + def DrawSunkenEdge(*args, **kwargs): + """DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)""" + return _gdi.Effects_DrawSunkenEdge(*args, **kwargs) -class DragImagePtr(DragImage): + def TileBitmap(*args, **kwargs): + """TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool""" + return _gdi.Effects_TileBitmap(*args, **kwargs) + + +class EffectsPtr(Effects): def __init__(self, this): self.this = this if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = DragImage -_gdi.DragImage_swigregister(DragImagePtr) + self.__class__ = Effects +_gdi.Effects_swigregister(EffectsPtr) cvar = _gdi.cvar NORMAL_FONT = cvar.NORMAL_FONT SMALL_FONT = cvar.SMALL_FONT @@ -1856,55 +3206,4 @@ ThePenList = cvar.ThePenList TheBrushList = cvar.TheBrushList TheColourDatabase = cvar.TheColourDatabase -def DragIcon(*args, **kwargs): - val = _gdi.new_DragIcon(*args, **kwargs) - val.thisown = 1 - return val - -def DragString(*args, **kwargs): - val = _gdi.new_DragString(*args, **kwargs) - val.thisown = 1 - return val - -def DragTreeItem(*args, **kwargs): - val = _gdi.new_DragTreeItem(*args, **kwargs) - val.thisown = 1 - return val - -def DragListItem(*args, **kwargs): - val = _gdi.new_DragListItem(*args, **kwargs) - val.thisown = 1 - return val - -#--------------------------------------------------------------------------- - -class Effects(core.Object): - def __init__(self, *args, **kwargs): - newobj = _gdi.new_Effects(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def GetHighlightColour(*args, **kwargs): return _gdi.Effects_GetHighlightColour(*args, **kwargs) - def GetLightShadow(*args, **kwargs): return _gdi.Effects_GetLightShadow(*args, **kwargs) - def GetFaceColour(*args, **kwargs): return _gdi.Effects_GetFaceColour(*args, **kwargs) - def GetMediumShadow(*args, **kwargs): return _gdi.Effects_GetMediumShadow(*args, **kwargs) - def GetDarkShadow(*args, **kwargs): return _gdi.Effects_GetDarkShadow(*args, **kwargs) - def SetHighlightColour(*args, **kwargs): return _gdi.Effects_SetHighlightColour(*args, **kwargs) - def SetLightShadow(*args, **kwargs): return _gdi.Effects_SetLightShadow(*args, **kwargs) - def SetFaceColour(*args, **kwargs): return _gdi.Effects_SetFaceColour(*args, **kwargs) - def SetMediumShadow(*args, **kwargs): return _gdi.Effects_SetMediumShadow(*args, **kwargs) - def SetDarkShadow(*args, **kwargs): return _gdi.Effects_SetDarkShadow(*args, **kwargs) - def Set(*args, **kwargs): return _gdi.Effects_Set(*args, **kwargs) - def DrawSunkenEdge(*args, **kwargs): return _gdi.Effects_DrawSunkenEdge(*args, **kwargs) - def TileBitmap(*args, **kwargs): return _gdi.Effects_TileBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - -class EffectsPtr(Effects): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Effects -_gdi.Effects_swigregister(EffectsPtr) - diff --git a/wxPython/src/mac/gdi_wrap.cpp b/wxPython/src/mac/gdi_wrap.cpp index f33bd634d5..e1737c255e 100644 --- a/wxPython/src/mac/gdi_wrap.cpp +++ b/wxPython/src/mac/gdi_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -222,66 +216,61 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_wxPostScriptDC swig_types[0] -#define SWIGTYPE_p_wxGenericDragImage swig_types[1] -#define SWIGTYPE_p_wxBrush swig_types[2] -#define SWIGTYPE_p_wxColour swig_types[3] -#define SWIGTYPE_p_wxCoord swig_types[4] -#define SWIGTYPE_p_wxDC swig_types[5] -#define SWIGTYPE_p_wxMirrorDC swig_types[6] -#define SWIGTYPE_p_byte swig_types[7] -#define SWIGTYPE_p_wxPyFontEnumerator swig_types[8] -#define SWIGTYPE_p_wxIconLocation swig_types[9] -#define SWIGTYPE_p_wxImage swig_types[10] -#define SWIGTYPE_p_wxMetaFileDC swig_types[11] -#define SWIGTYPE_p_wxMask swig_types[12] -#define SWIGTYPE_p_wxFont swig_types[13] -#define SWIGTYPE_p_wxWindow swig_types[14] -#define SWIGTYPE_p_wxSize swig_types[15] -#define SWIGTYPE_p_double swig_types[16] -#define SWIGTYPE_p_wxMemoryDC swig_types[17] -#define SWIGTYPE_p_wxFontMapper swig_types[18] -#define SWIGTYPE_p_wxListCtrl swig_types[19] -#define SWIGTYPE_p_wxEffects swig_types[20] -#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21] -#define SWIGTYPE_p_wxPalette swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxObject swig_types[24] -#define SWIGTYPE_p_wxRegionIterator swig_types[25] -#define SWIGTYPE_p_wxRect swig_types[26] -#define SWIGTYPE_p_wxString swig_types[27] -#define SWIGTYPE_p_wxPrinterDC swig_types[28] -#define SWIGTYPE_p_wxIconBundle swig_types[29] -#define SWIGTYPE_p_wxPoint swig_types[30] -#define SWIGTYPE_p_wxDash swig_types[31] -#define SWIGTYPE_p_wxScreenDC swig_types[32] -#define SWIGTYPE_p_wxCursor swig_types[33] -#define SWIGTYPE_p_wxClientDC swig_types[34] -#define SWIGTYPE_p_wxTreeCtrl swig_types[35] -#define SWIGTYPE_p_wxBufferedDC swig_types[36] -#define SWIGTYPE_p_wxImageList swig_types[37] -#define SWIGTYPE_p_unsigned_char swig_types[38] -#define SWIGTYPE_p_wxGDIObject swig_types[39] -#define SWIGTYPE_p_wxLocale swig_types[40] -#define SWIGTYPE_p_wxIcon swig_types[41] -#define SWIGTYPE_p_wxRegion swig_types[42] -#define SWIGTYPE_p_wxLanguageInfo swig_types[43] -#define SWIGTYPE_p_wxConfigBase swig_types[44] -#define SWIGTYPE_p_wxWindowDC swig_types[45] -#define SWIGTYPE_p_wxPrintData swig_types[46] -#define SWIGTYPE_p_wxBrushList swig_types[47] -#define SWIGTYPE_p_wxFontList swig_types[48] -#define SWIGTYPE_p_wxPen swig_types[49] -#define SWIGTYPE_p_wxBufferedPaintDC swig_types[50] -#define SWIGTYPE_p_wxPaintDC swig_types[51] -#define SWIGTYPE_p_wxPenList swig_types[52] -#define SWIGTYPE_p_wxTreeItemId swig_types[53] -#define SWIGTYPE_p_wxPyPen swig_types[54] -#define SWIGTYPE_p_int swig_types[55] -#define SWIGTYPE_p_wxMetaFile swig_types[56] -#define SWIGTYPE_p_wxNativeFontInfo swig_types[57] -#define SWIGTYPE_p_wxEncodingConverter swig_types[58] -#define SWIGTYPE_p_wxColourDatabase swig_types[59] -static swig_type_info *swig_types[61]; +#define SWIGTYPE_p_wxBrush swig_types[1] +#define SWIGTYPE_p_wxColour swig_types[2] +#define SWIGTYPE_p_wxDC swig_types[3] +#define SWIGTYPE_p_wxMirrorDC swig_types[4] +#define SWIGTYPE_p_byte swig_types[5] +#define SWIGTYPE_p_wxPyFontEnumerator swig_types[6] +#define SWIGTYPE_p_wxIconLocation swig_types[7] +#define SWIGTYPE_p_wxImage swig_types[8] +#define SWIGTYPE_p_wxMetaFileDC swig_types[9] +#define SWIGTYPE_p_wxMask swig_types[10] +#define SWIGTYPE_p_wxFont swig_types[11] +#define SWIGTYPE_p_wxWindow swig_types[12] +#define SWIGTYPE_p_wxSize swig_types[13] +#define SWIGTYPE_p_double swig_types[14] +#define SWIGTYPE_p_wxMemoryDC swig_types[15] +#define SWIGTYPE_p_wxFontMapper swig_types[16] +#define SWIGTYPE_p_wxEffects swig_types[17] +#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18] +#define SWIGTYPE_p_wxPalette swig_types[19] +#define SWIGTYPE_p_wxBitmap swig_types[20] +#define SWIGTYPE_p_wxObject swig_types[21] +#define SWIGTYPE_p_wxRegionIterator swig_types[22] +#define SWIGTYPE_p_wxRect swig_types[23] +#define SWIGTYPE_p_wxString swig_types[24] +#define SWIGTYPE_p_wxPrinterDC swig_types[25] +#define SWIGTYPE_p_wxIconBundle swig_types[26] +#define SWIGTYPE_p_wxPoint swig_types[27] +#define SWIGTYPE_p_wxDash swig_types[28] +#define SWIGTYPE_p_wxScreenDC swig_types[29] +#define SWIGTYPE_p_wxCursor swig_types[30] +#define SWIGTYPE_p_wxClientDC swig_types[31] +#define SWIGTYPE_p_wxBufferedDC swig_types[32] +#define SWIGTYPE_p_wxImageList swig_types[33] +#define SWIGTYPE_p_unsigned_char swig_types[34] +#define SWIGTYPE_p_wxGDIObject swig_types[35] +#define SWIGTYPE_p_wxLocale swig_types[36] +#define SWIGTYPE_p_wxIcon swig_types[37] +#define SWIGTYPE_p_wxRegion swig_types[38] +#define SWIGTYPE_p_wxLanguageInfo swig_types[39] +#define SWIGTYPE_p_wxConfigBase swig_types[40] +#define SWIGTYPE_p_wxWindowDC swig_types[41] +#define SWIGTYPE_p_wxPrintData swig_types[42] +#define SWIGTYPE_p_wxBrushList swig_types[43] +#define SWIGTYPE_p_wxFontList swig_types[44] +#define SWIGTYPE_p_wxPen swig_types[45] +#define SWIGTYPE_p_wxBufferedPaintDC swig_types[46] +#define SWIGTYPE_p_wxPaintDC swig_types[47] +#define SWIGTYPE_p_wxPenList swig_types[48] +#define SWIGTYPE_p_wxPyPen swig_types[49] +#define SWIGTYPE_p_int swig_types[50] +#define SWIGTYPE_p_wxMetaFile swig_types[51] +#define SWIGTYPE_p_wxNativeFontInfo swig_types[52] +#define SWIGTYPE_p_wxEncodingConverter swig_types[53] +#define SWIGTYPE_p_wxColourDatabase swig_types[54] +static swig_type_info *swig_types[56]; /* -------- TYPES TABLE (END) -------- */ @@ -543,7 +532,7 @@ PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){ #include "wx/wxPython/pydrawxxx.h" -wxColour wxDC_GetPixelXY(wxDC *self,wxCoord x,wxCoord y){ +wxColour wxDC_GetPixelXY(wxDC *self,int x,int y){ wxColour col; self->GetPixel(x, y, &col); return col; @@ -612,9 +601,6 @@ void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red self->AddColour(name, wxColour(red, green, blue)); } -#include - - #include #ifdef __cplusplus @@ -819,7 +805,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxString *arg1 = 0 ; wxColour *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "colorName", NULL @@ -829,7 +815,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2127,7 +2113,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwar wxString *arg1 = 0 ; int arg2 = (int) wxBITMAP_TYPE_ANY ; wxBitmap *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type", NULL @@ -2137,7 +2123,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2575,7 +2561,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject int arg3 ; wxPalette *arg4 = (wxPalette *) (wxPalette *) NULL ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2588,7 +2574,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPalette,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -2621,7 +2607,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject wxString *arg2 = 0 ; int arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2633,7 +2619,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2847,7 +2833,7 @@ static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs int arg3 = (int) -1 ; int arg4 = (int) -1 ; wxIcon *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL @@ -2857,7 +2843,7 @@ static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3301,7 +3287,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, PyObject *resultobj; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3313,7 +3299,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3449,7 +3435,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, Py wxString *arg1 = 0 ; long arg2 ; wxIconBundle *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "file",(char *) "type", NULL @@ -3459,7 +3445,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3570,7 +3556,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxString *arg2 = 0 ; long arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3582,7 +3568,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3819,10 +3805,10 @@ static PyObject * Cursor_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_Region(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxCoord arg1 = (wxCoord) 0 ; - wxCoord arg2 = (wxCoord) 0 ; - wxCoord arg3 = (wxCoord) 0 ; - wxCoord arg4 = (wxCoord) 0 ; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + int arg3 = (int) 0 ; + int arg4 = (int) 0 ; wxRegion *result; char *kwnames[] = { (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -3969,8 +3955,8 @@ static PyObject *_wrap_Region_Clear(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Region_Contains(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4060,10 +4046,10 @@ static PyObject *_wrap_Region_ContainsRect(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Region_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4118,10 +4104,10 @@ static PyObject *_wrap_Region_GetBox(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Region_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4235,10 +4221,10 @@ static PyObject *_wrap_Region_IsEmpty(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Region_Union(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4327,10 +4313,10 @@ static PyObject *_wrap_Region_UnionRegion(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Region_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4419,10 +4405,10 @@ static PyObject *_wrap_Region_SubtractRegion(PyObject *self, PyObject *args, PyO static PyObject *_wrap_Region_Xor(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4641,7 +4627,7 @@ static PyObject *_wrap_delete_RegionIterator(PyObject *self, PyObject *args, PyO static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4651,7 +4637,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetX(); + result = (int)(arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4666,7 +4652,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4676,7 +4662,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetY(); + result = (int)(arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4691,7 +4677,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4701,7 +4687,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetW(); + result = (int)(arg1)->GetW(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4716,7 +4702,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4726,7 +4712,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetWidth(); + result = (int)(arg1)->GetWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4741,7 +4727,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, P static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4751,7 +4737,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetH(); + result = (int)(arg1)->GetH(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4766,7 +4752,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -4776,7 +4762,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetHeight(); + result = (int)(arg1)->GetHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5310,7 +5296,6 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args PyObject *resultobj; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5319,8 +5304,12 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNativeFontInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFaceName(arg2); @@ -5390,7 +5379,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5402,7 +5391,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5493,7 +5482,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *a wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5505,7 +5494,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5571,7 +5560,6 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject PyObject *resultobj; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5580,8 +5568,12 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNativeEncodingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->facename = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -5708,7 +5700,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *a wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5720,7 +5712,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5930,9 +5922,9 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *ar PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) true ; + bool arg3 = (bool) True ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5945,7 +5937,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6110,7 +6102,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6122,7 +6114,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6180,9 +6172,9 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *ar int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -6196,7 +6188,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6232,7 +6224,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject * wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6245,7 +6237,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -6301,7 +6293,7 @@ static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6313,7 +6305,7 @@ static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6350,12 +6342,12 @@ static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs int arg2 ; int arg3 ; int arg4 ; - bool arg5 = (bool) FALSE ; + bool arg5 = (bool) False ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; int arg7 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -6371,7 +6363,7 @@ static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -6452,7 +6444,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *ar PyObject *resultobj; wxString *arg1 = 0 ; wxFont *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "info", NULL @@ -6462,7 +6454,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *ar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6495,7 +6487,7 @@ static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwarg wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL @@ -6506,7 +6498,7 @@ static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwarg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -7015,7 +7007,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7027,7 +7019,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7138,7 +7130,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7150,7 +7142,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7178,7 +7170,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject * PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7190,7 +7182,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7310,7 +7302,7 @@ static PyObject *_wrap_Font_GetWeightString(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7497,7 +7489,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *self, PyObjec PyObject *resultobj; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; int arg2 = (int) wxFONTENCODING_SYSTEM ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -7531,7 +7523,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObjec wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7544,7 +7536,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -7670,7 +7662,6 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject * PyObject *resultobj; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7679,8 +7670,12 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLanguageInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->CanonicalName = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -7720,7 +7715,6 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *ar PyObject *resultobj; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7729,8 +7723,12 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLanguageInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->Description = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -7829,12 +7827,12 @@ static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kw wxString *arg3 = (wxString *) &arg3_defvalue ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool arg5 = (bool) TRUE ; - bool arg6 = (bool) FALSE ; + bool arg5 = (bool) True ; + bool arg6 = (bool) False ; bool result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7850,20 +7848,20 @@ static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kw { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -8157,7 +8155,7 @@ static PyObject *_wrap_Locale_GetCanonicalName(PyObject *self, PyObject *args, P static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "prefix", NULL @@ -8167,7 +8165,7 @@ static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8196,7 +8194,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObjec wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8208,7 +8206,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8237,7 +8235,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8249,7 +8247,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8329,7 +8327,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxLanguageInfo *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "locale", NULL @@ -8339,7 +8337,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8397,8 +8395,8 @@ static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8411,13 +8409,13 @@ static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -8517,14 +8515,14 @@ static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *self, PyObject *args) { PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8560,8 +8558,8 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) { wxString *arg2 = 0 ; size_t arg3 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8570,12 +8568,12 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) { { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = (size_t) PyInt_AsLong(obj2); if (PyErr_Occurred()) SWIG_fail; @@ -8755,7 +8753,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8767,7 +8765,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8964,8 +8962,8 @@ static PyObject *_wrap_DC_EndDrawing(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_FloodFillXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxColour *arg4 = 0 ; int arg5 = (int) wxFLOOD_SURFACE ; bool result; @@ -9039,8 +9037,8 @@ static PyObject *_wrap_DC_FloodFill(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetPixelXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxColour result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9106,10 +9104,10 @@ static PyObject *_wrap_DC_GetPixel(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_DrawLineXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL @@ -9172,8 +9170,8 @@ static PyObject *_wrap_DC_DrawLine(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_CrossHairXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -9229,12 +9227,12 @@ static PyObject *_wrap_DC_CrossHair(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawArcXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; - wxCoord arg6 ; - wxCoord arg7 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; + int arg6 ; + int arg7 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL @@ -9304,10 +9302,10 @@ static PyObject *_wrap_DC_DrawArc(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawCheckMarkXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -9363,10 +9361,10 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_DC_DrawEllipticArcXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; double arg6 ; double arg7 ; PyObject * obj0 = 0 ; @@ -9433,8 +9431,8 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_DrawPointXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -9490,10 +9488,10 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRectangleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -9587,10 +9585,10 @@ static PyObject *_wrap_DC_DrawRectangleRect(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_DC_DrawRoundedRectangleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; double arg6 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9687,9 +9685,9 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *self, PyObject *arg static PyObject *_wrap_DC_DrawCircleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg2 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL @@ -9715,7 +9713,7 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; - wxCoord arg3 ; + int arg3 ; wxPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9746,10 +9744,10 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawEllipseXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -9844,8 +9842,8 @@ static PyObject *_wrap_DC_DrawIconXY(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9913,9 +9911,9 @@ static PyObject *_wrap_DC_DrawBitmapXY(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; - bool arg5 = (bool) FALSE ; + int arg3 ; + int arg4 ; + bool arg5 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -9952,7 +9950,7 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *self, PyObject *args, PyObject *k wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; wxPoint *arg3 = 0 ; - bool arg4 = (bool) FALSE ; + bool arg4 = (bool) False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9994,9 +9992,9 @@ static PyObject *_wrap_DC_DrawTextXY(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; - bool temp2 = false ; + int arg3 ; + int arg4 ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10008,7 +10006,7 @@ static PyObject *_wrap_DC_DrawTextXY(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10037,7 +10035,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwa wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; - bool temp2 = false ; + bool temp2 = False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10051,7 +10049,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwa { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10083,10 +10081,10 @@ static PyObject *_wrap_DC_DrawRotatedTextXY(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; double arg5 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10098,7 +10096,7 @@ static PyObject *_wrap_DC_DrawRotatedTextXY(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10128,7 +10126,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; double arg4 ; - bool temp2 = false ; + bool temp2 = False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10142,7 +10140,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10173,17 +10171,17 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_BlitXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; wxDC *arg6 = (wxDC *) 0 ; - wxCoord arg7 ; - wxCoord arg8 ; + int arg7 ; + int arg8 ; int arg9 = (int) wxCOPY ; - bool arg10 = (bool) FALSE ; - wxCoord arg11 = (wxCoord) -1 ; - wxCoord arg12 = (wxCoord) -1 ; + bool arg10 = (bool) False ; + int arg11 = (int) -1 ; + int arg12 = (int) -1 ; bool result; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; @@ -10221,7 +10219,7 @@ static PyObject *_wrap_DC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) wxDC *arg4 = (wxDC *) 0 ; wxPoint *arg5 = 0 ; int arg6 = (int) wxCOPY ; - bool arg7 = (bool) FALSE ; + bool arg7 = (bool) False ; wxPoint const &arg8_defvalue = wxDefaultPosition ; wxPoint *arg8 = (wxPoint *) &arg8_defvalue ; bool result; @@ -10284,8 +10282,8 @@ static PyObject *_wrap_DC_DrawLines(PyObject *self, PyObject *args, PyObject *kw wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; - wxCoord arg4 = (wxCoord) 0 ; - wxCoord arg5 = (wxCoord) 0 ; + int arg4 = (int) 0 ; + int arg5 = (int) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10323,8 +10321,8 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *self, PyObject *args, PyObject * wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; - wxCoord arg4 = (wxCoord) 0 ; - wxCoord arg5 = (wxCoord) 0 ; + int arg4 = (int) 0 ; + int arg5 = (int) 0 ; int arg6 = (int) wxODDEVEN_RULE ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10365,7 +10363,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kw wxRect *arg3 = 0 ; int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ; int arg5 = (int) -1 ; - bool temp2 = false ; + bool temp2 = False ; wxRect temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10379,7 +10377,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kw { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10416,7 +10414,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObjec int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ; int arg6 = (int) -1 ; wxRect result; - bool temp2 = false ; + bool temp2 = False ; wxRect temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10431,7 +10429,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg3 == NULL) { @@ -10533,7 +10531,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwa wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10545,7 +10543,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwa { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10819,10 +10817,10 @@ static PyObject *_wrap_DC_SetPalette(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -10932,14 +10930,14 @@ static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *self, PyObject *args, static PyObject *_wrap_DC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; + int temp2 ; + int temp3 ; + int temp4 ; + int temp5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11013,7 +11011,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11023,7 +11021,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->GetCharHeight(); + result = (int)((wxDC const *)arg1)->GetCharHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11038,7 +11036,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11048,7 +11046,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->GetCharWidth(); + result = (int)((wxDC const *)arg1)->GetCharWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11064,11 +11062,11 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11082,7 +11080,7 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11118,16 +11116,16 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; - wxCoord *arg6 = (wxCoord *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; + int *arg6 = (int *) 0 ; wxFont *arg7 = (wxFont *) NULL ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; - wxCoord temp6 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; + int temp5 ; + int temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11144,7 +11142,7 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -11191,14 +11189,14 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; wxFont *arg6 = (wxFont *) NULL ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; + int temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11214,7 +11212,7 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg6, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -11390,8 +11388,8 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11401,7 +11399,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalX(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11416,8 +11414,8 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -11427,7 +11425,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalY(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11442,8 +11440,8 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11453,7 +11451,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11468,8 +11466,8 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -11479,7 +11477,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11494,8 +11492,8 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11505,7 +11503,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceX(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11520,8 +11518,8 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -11531,7 +11529,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceY(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11546,8 +11544,8 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11557,7 +11555,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11572,8 +11570,8 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -11583,7 +11581,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12160,10 +12158,10 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int temp3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12227,8 +12225,8 @@ static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -12253,10 +12251,10 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int temp3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12320,8 +12318,8 @@ static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -12481,8 +12479,8 @@ static PyObject *_wrap_DC_GetOptimization(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -12531,7 +12529,7 @@ static PyObject *_wrap_DC_ResetBoundingBox(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12541,7 +12539,7 @@ static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MinX(); + result = (int)((wxDC const *)arg1)->MinX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12556,7 +12554,7 @@ static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12566,7 +12564,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MaxX(); + result = (int)((wxDC const *)arg1)->MaxX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12581,7 +12579,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12591,7 +12589,7 @@ static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MinY(); + result = (int)((wxDC const *)arg1)->MinY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12606,7 +12604,7 @@ static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12616,7 +12614,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MaxY(); + result = (int)((wxDC const *)arg1)->MaxY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13502,7 +13500,7 @@ static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kw wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxMetaFile *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -13513,7 +13511,7 @@ static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -13554,8 +13552,8 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject * wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxMetaFileDC *result; - bool temp1 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -13567,14 +13565,14 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -13653,7 +13651,7 @@ static PyObject *_wrap_new_ImageList(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; int arg1 ; int arg2 ; - int arg3 = (int) TRUE ; + int arg3 = (int) True ; int arg4 = (int) 1 ; wxImageList *result; char *kwnames[] = { @@ -13850,7 +13848,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *self, PyObject *args, PyObject * int arg4 ; int arg5 ; int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ; - bool arg7 = (bool) (bool)FALSE ; + bool arg7 = (bool) (bool)False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -14295,7 +14293,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObj wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14307,7 +14305,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14378,7 +14376,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour *arg3 = 0 ; - bool temp2 = false ; + bool temp2 = False ; wxColour temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -14392,7 +14390,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -14427,7 +14425,7 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyO int arg3 ; int arg4 ; int arg5 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14439,7 +14437,7 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14504,12 +14502,12 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) FALSE ; + bool arg6 = (bool) False ; wxString const &arg7_defvalue = wxPyEmptyString ; wxString *arg7 = (wxString *) &arg7_defvalue ; int arg8 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; @@ -14527,7 +14525,7 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -15255,727 +15253,122 @@ static PyObject *_wrap_TheColourDatabase_get() { } -static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxBitmap *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; + wxEffects *result; char *kwnames[] = { - (char *) "image",(char *) "cursor", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2); + result = (wxEffects *)new wxEffects(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEffects, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxIcon *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "image",(char *) "cursor", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2); + result = ((wxEffects const *)arg1)->GetHighlightColour(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxString *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; - bool temp1 = false ; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "str",(char *) "cursor", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2); + result = ((wxEffects const *)arg1)->GetLightShadow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); { - if (temp1) - delete arg1; + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); } return resultobj; fail: - { - if (temp1) - delete arg1; - } return NULL; } -static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxTreeCtrl *arg1 = 0 ; - wxTreeItemId *arg2 = 0 ; - wxGenericDragImage *result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "treeCtrl",(char *) "id", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxTreeCtrl const &)*arg1,*arg2); + result = ((wxEffects const *)arg1)->GetFaceColour(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxListCtrl *arg1 = 0 ; - long arg2 ; - wxGenericDragImage *result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "listCtrl",(char *) "id", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxListCtrl const &)*arg1,arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,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_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxBitmap *arg2 = (wxBitmap *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "bitmap", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBackingBitmap(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxWindow *arg3 = (wxWindow *) 0 ; - bool arg4 = (bool) FALSE ; - wxRect *arg5 = (wxRect *) NULL ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (obj3) { - arg4 = PyInt_AsLong(obj3) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - } - if (obj4) { - if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxWindow *arg3 = (wxWindow *) 0 ; - wxWindow *arg4 = (wxWindow *) 0 ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->EndDrag(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "pt", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Move((wxPoint const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Show(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Hide(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxRect result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "pos", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxRect * resultptr; - resultptr = new wxRect((wxRect &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool result; - wxPoint temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "dc",(char *) "pos", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxMemoryDC *arg3 = 0 ; - wxRect *arg4 = 0 ; - wxRect *arg5 = 0 ; - bool result; - wxRect temp4 ; - wxRect temp5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - arg4 = &temp4; - if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; - } - { - arg5 = &temp5; - if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool arg4 ; - bool arg5 ; - bool result; - wxPoint temp2 ; - wxPoint temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - arg4 = PyInt_AsLong(obj3) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - arg5 = PyInt_AsLong(obj4) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *result; - char *kwnames[] = { - NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxEffects *)new wxEffects(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEffects, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetHighlightColour(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetLightShadow(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetFaceColour(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL + (char *) "self", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail; @@ -16822,24 +16215,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS }, { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS }, { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS }, - { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS }, { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS }, { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS }, { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS }, @@ -16861,78 +16236,21 @@ static PyMethodDef SwigMethods[] = { /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ +static void *_p_wxControlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxControl *) x)); +} +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); +} +static void *_p_wxMenuBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxMenuBar *) x)); +} static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) { return (void *)((wxMemoryDC *) ((wxBufferedDC *) x)); } static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) { return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x)); } -static void *_p_wxPyPenTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) (wxPen *) ((wxPyPen *) x)); -} -static void *_p_wxIconTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxIcon *) x)); -} -static void *_p_wxPaletteTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxPalette *) x)); -} -static void *_p_wxPenTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxPen *) x)); -} -static void *_p_wxFontTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxFont *) x)); -} -static void *_p_wxCursorTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxCursor *) x)); -} -static void *_p_wxBitmapTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxBitmap *) x)); -} -static void *_p_wxRegionTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxRegion *) x)); -} -static void *_p_wxBrushTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxBrush *) x)); -} -static void *_p_wxBufferedDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x)); -} -static void *_p_wxScreenDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxScreenDC *) x)); -} -static void *_p_wxMirrorDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMirrorDC *) x)); -} -static void *_p_wxMemoryDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMemoryDC *) x)); -} -static void *_p_wxWindowDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxWindowDC *) x)); -} -static void *_p_wxMetaFileDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMetaFileDC *) x)); -} -static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x)); -} -static void *_p_wxClientDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxClientDC *) x)); -} -static void *_p_wxPaintDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPaintDC *) x)); -} -static void *_p_wxPostScriptDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPostScriptDC *) x)); -} -static void *_p_wxPrinterDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPrinterDC *) x)); -} -static void *_p_wxPyPenTo_p_wxPen(void *x) { - return (void *)((wxPen *) ((wxPyPen *) x)); -} -static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) { - return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x)); -} static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxLayoutConstraints *) x)); } @@ -17137,9 +16455,6 @@ static void *_p_wxImageTo_p_wxObject(void *x) { static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } -static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxGenericDragImage *) x)); -} static void *_p_wxPaletteTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x)); } @@ -17251,20 +16566,75 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxControlTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxControl *) x)); +static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) { + return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x)); } -static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); +static void *_p_wxBufferedDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x)); } -static void *_p_wxMenuBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxMenuBar *) x)); +static void *_p_wxScreenDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxScreenDC *) x)); +} +static void *_p_wxMirrorDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMirrorDC *) x)); +} +static void *_p_wxMemoryDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMemoryDC *) x)); +} +static void *_p_wxWindowDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxWindowDC *) x)); +} +static void *_p_wxMetaFileDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMetaFileDC *) x)); +} +static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x)); +} +static void *_p_wxClientDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxClientDC *) x)); +} +static void *_p_wxPaintDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPaintDC *) x)); +} +static void *_p_wxPostScriptDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPostScriptDC *) x)); +} +static void *_p_wxPrinterDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPrinterDC *) x)); +} +static void *_p_wxPyPenTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) (wxPen *) ((wxPyPen *) x)); +} +static void *_p_wxIconTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxIcon *) x)); +} +static void *_p_wxPaletteTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxPalette *) x)); +} +static void *_p_wxPenTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxPen *) x)); +} +static void *_p_wxFontTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxFont *) x)); +} +static void *_p_wxCursorTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxCursor *) x)); +} +static void *_p_wxBitmapTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxBitmap *) x)); +} +static void *_p_wxRegionTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxRegion *) x)); +} +static void *_p_wxBrushTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxBrush *) x)); +} +static void *_p_wxPyPenTo_p_wxPen(void *x) { + return (void *)((wxPen *) ((wxPyPen *) x)); } static swig_type_info _swigt__p_wxPostScriptDC[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}}; -static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}}; static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxCoord[] = {{"_p_wxCoord", 0, "wxCoord *", 0},{"_p_wxCoord"},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC},{"_p_wxDC"},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC},{0}}; static swig_type_info _swigt__p_wxMirrorDC[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}}; static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; @@ -17279,12 +16649,11 @@ static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}}; static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC},{"_p_wxMemoryDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC},{0}}; static swig_type_info _swigt__p_wxFontMapper[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}}; -static swig_type_info _swigt__p_wxListCtrl[] = {{"_p_wxListCtrl", 0, "wxListCtrl *", 0},{"_p_wxListCtrl"},{0}}; static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}}; static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; @@ -17295,7 +16664,6 @@ static swig_type_info _swigt__p_wxDash[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p static swig_type_info _swigt__p_wxScreenDC[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxClientDC[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}}; -static swig_type_info _swigt__p_wxTreeCtrl[] = {{"_p_wxTreeCtrl", 0, "wxTreeCtrl *", 0},{"_p_wxTreeCtrl"},{0}}; static swig_type_info _swigt__p_wxBufferedDC[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC},{0}}; static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}}; static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; @@ -17313,9 +16681,8 @@ static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wx static swig_type_info _swigt__p_wxBufferedPaintDC[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}}; static swig_type_info _swigt__p_wxPaintDC[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}}; static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}}; static swig_type_info _swigt__p_wxPyPen[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_wxCoord"},{"_p_int"},{0}}; +static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxMetaFile[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}}; static swig_type_info _swigt__p_wxNativeFontInfo[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}}; static swig_type_info _swigt__p_wxEncodingConverter[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}}; @@ -17323,10 +16690,8 @@ static swig_type_info _swigt__p_wxColourDatabase[] = {{"_p_wxColourDatabase", 0, static swig_type_info *swig_types_initial[] = { _swigt__p_wxPostScriptDC, -_swigt__p_wxGenericDragImage, _swigt__p_wxBrush, _swigt__p_wxColour, -_swigt__p_wxCoord, _swigt__p_wxDC, _swigt__p_wxMirrorDC, _swigt__p_byte, @@ -17341,7 +16706,6 @@ _swigt__p_wxSize, _swigt__p_double, _swigt__p_wxMemoryDC, _swigt__p_wxFontMapper, -_swigt__p_wxListCtrl, _swigt__p_wxEffects, _swigt__p_wxNativeEncodingInfo, _swigt__p_wxPalette, @@ -17357,7 +16721,6 @@ _swigt__p_wxDash, _swigt__p_wxScreenDC, _swigt__p_wxCursor, _swigt__p_wxClientDC, -_swigt__p_wxTreeCtrl, _swigt__p_wxBufferedDC, _swigt__p_wxImageList, _swigt__p_unsigned_char, @@ -17375,7 +16738,6 @@ _swigt__p_wxPen, _swigt__p_wxBufferedPaintDC, _swigt__p_wxPaintDC, _swigt__p_wxPenList, -_swigt__p_wxTreeItemId, _swigt__p_wxPyPen, _swigt__p_int, _swigt__p_wxMetaFile, @@ -17802,8 +17164,5 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set); - - wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage"); - } diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index c7ac998626..87fe1a39d6 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -16,16 +16,39 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellRenderer_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellRenderer_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellRenderer_DecRef(*args, **kwargs) - def Draw(*args, **kwargs): return _grid.GridCellRenderer_Draw(*args, **kwargs) - def GetBestSize(*args, **kwargs): return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellRenderer_Clone(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(wxString params)""" + return _grid.GridCellRenderer_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellRenderer_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellRenderer_DecRef(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, + int col, bool isSelected)""" + return _grid.GridCellRenderer_Draw(*args, **kwargs) + + def GetBestSize(*args, **kwargs): + """GetBestSize(Grid grid, GridCellAttr attr, wxDC dc, int row, int col) -> Size""" + return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellRenderer""" + return _grid.GridCellRenderer_Clone(*args, **kwargs) + class GridCellRendererPtr(GridCellRenderer): def __init__(self, this): @@ -38,16 +61,25 @@ GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellRenderer""" newobj = _grid.new_PyGridCellRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(wxString params)""" + return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) + class PyGridCellRendererPtr(PyGridCellRenderer): def __init__(self, this): @@ -57,14 +89,17 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellStringRenderer""" newobj = _grid.new_GridCellStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellStringRendererPtr(GridCellStringRenderer): def __init__(self, this): @@ -74,14 +109,17 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellNumberRenderer""" newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellNumberRendererPtr(GridCellNumberRenderer): def __init__(self, this): @@ -91,18 +129,33 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer""" newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) - def GetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) - def SetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) + + def GetPrecision(*args, **kwargs): + """GetPrecision() -> int""" + return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) + + def SetPrecision(*args, **kwargs): + """SetPrecision(int precision)""" + return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) + class GridCellFloatRendererPtr(GridCellFloatRenderer): def __init__(self, this): @@ -112,14 +165,17 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolRenderer""" newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellBoolRendererPtr(GridCellBoolRenderer): def __init__(self, this): @@ -129,14 +185,17 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString outformat=wxPyDateTimeFormatStr, wxString informat=wxPyDateTimeFormatStr) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): def __init__(self, this): @@ -146,14 +205,17 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString choices=wxPyEmptyString) -> GridCellEnumRenderer""" newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellEnumRendererPtr(GridCellEnumRenderer): def __init__(self, this): @@ -163,14 +225,17 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringRenderer""" newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): def __init__(self, this): @@ -180,31 +245,98 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellEditor__setOORInfo(*args, **kwargs) - def IsCreated(*args, **kwargs): return _grid.GridCellEditor_IsCreated(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridCellEditor_GetControl(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridCellEditor_SetControl(*args, **kwargs) - def GetCellAttr(*args, **kwargs): return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) - def SetCellAttr(*args, **kwargs): return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellEditor_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellEditor_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellEditor_DecRef(*args, **kwargs) - def Create(*args, **kwargs): return _grid.GridCellEditor_Create(*args, **kwargs) - def BeginEdit(*args, **kwargs): return _grid.GridCellEditor_BeginEdit(*args, **kwargs) - def EndEdit(*args, **kwargs): return _grid.GridCellEditor_EndEdit(*args, **kwargs) - def Reset(*args, **kwargs): return _grid.GridCellEditor_Reset(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellEditor_Clone(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellEditor_SetSize(*args, **kwargs) - def Show(*args, **kwargs): return _grid.GridCellEditor_Show(*args, **kwargs) - def PaintBackground(*args, **kwargs): return _grid.GridCellEditor_PaintBackground(*args, **kwargs) - def IsAcceptedKey(*args, **kwargs): return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) - def StartingKey(*args, **kwargs): return _grid.GridCellEditor_StartingKey(*args, **kwargs) - def StartingClick(*args, **kwargs): return _grid.GridCellEditor_StartingClick(*args, **kwargs) - def HandleReturn(*args, **kwargs): return _grid.GridCellEditor_HandleReturn(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.GridCellEditor_Destroy(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellEditor__setOORInfo(*args, **kwargs) + + def IsCreated(*args, **kwargs): + """IsCreated() -> bool""" + return _grid.GridCellEditor_IsCreated(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridCellEditor_GetControl(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control control)""" + return _grid.GridCellEditor_SetControl(*args, **kwargs) + + def GetCellAttr(*args, **kwargs): + """GetCellAttr() -> GridCellAttr""" + return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) + + def SetCellAttr(*args, **kwargs): + """SetCellAttr(GridCellAttr attr)""" + return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(wxString params)""" + return _grid.GridCellEditor_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellEditor_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellEditor_DecRef(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, EvtHandler evtHandler)""" + return _grid.GridCellEditor_Create(*args, **kwargs) + + def BeginEdit(*args, **kwargs): + """BeginEdit(int row, int col, Grid grid)""" + return _grid.GridCellEditor_BeginEdit(*args, **kwargs) + + def EndEdit(*args, **kwargs): + """EndEdit(int row, int col, Grid grid) -> bool""" + return _grid.GridCellEditor_EndEdit(*args, **kwargs) + + def Reset(*args, **kwargs): + """Reset()""" + return _grid.GridCellEditor_Reset(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellEditor""" + return _grid.GridCellEditor_Clone(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Rect rect)""" + return _grid.GridCellEditor_SetSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show, GridCellAttr attr=None)""" + return _grid.GridCellEditor_Show(*args, **kwargs) + + def PaintBackground(*args, **kwargs): + """PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.GridCellEditor_PaintBackground(*args, **kwargs) + + def IsAcceptedKey(*args, **kwargs): + """IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) + + def StartingKey(*args, **kwargs): + """StartingKey(KeyEvent event)""" + return _grid.GridCellEditor_StartingKey(*args, **kwargs) + + def StartingClick(*args, **kwargs): + """StartingClick()""" + return _grid.GridCellEditor_StartingClick(*args, **kwargs) + + def HandleReturn(*args, **kwargs): + """HandleReturn(KeyEvent event)""" + return _grid.GridCellEditor_HandleReturn(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _grid.GridCellEditor_Destroy(*args, **kwargs) + class GridCellEditorPtr(GridCellEditor): def __init__(self, this): @@ -214,24 +346,57 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellEditor""" newobj = _grid.new_PyGridCellEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) - def base_SetSize(*args, **kwargs): return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) - def base_Show(*args, **kwargs): return _grid.PyGridCellEditor_base_Show(*args, **kwargs) - def base_PaintBackground(*args, **kwargs): return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) - def base_IsAcceptedKey(*args, **kwargs): return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) - def base_StartingKey(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) - def base_StartingClick(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) - def base_HandleReturn(*args, **kwargs): return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) - def base_Destroy(*args, **kwargs): return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) + + def base_SetSize(*args, **kwargs): + """base_SetSize(Rect rect)""" + return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) + + def base_Show(*args, **kwargs): + """base_Show(bool show, GridCellAttr attr=None)""" + return _grid.PyGridCellEditor_base_Show(*args, **kwargs) + + def base_PaintBackground(*args, **kwargs): + """base_PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) + + def base_IsAcceptedKey(*args, **kwargs): + """base_IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) + + def base_StartingKey(*args, **kwargs): + """base_StartingKey(KeyEvent event)""" + return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) + + def base_StartingClick(*args, **kwargs): + """base_StartingClick()""" + return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) + + def base_HandleReturn(*args, **kwargs): + """base_HandleReturn(KeyEvent event)""" + return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) + + def base_Destroy(*args, **kwargs): + """base_Destroy()""" + return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(wxString params)""" + return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) + class PyGridCellEditorPtr(PyGridCellEditor): def __init__(self, this): @@ -241,15 +406,21 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellTextEditor""" newobj = _grid.new_GridCellTextEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellTextEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellTextEditor_GetValue(*args, **kwargs) + class GridCellTextEditorPtr(GridCellTextEditor): def __init__(self, this): @@ -259,15 +430,21 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int min=-1, int max=-1) -> GridCellNumberEditor""" newobj = _grid.new_GridCellNumberEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) + class GridCellNumberEditorPtr(GridCellNumberEditor): def __init__(self, this): @@ -277,15 +454,21 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellFloatEditor""" newobj = _grid.new_GridCellFloatEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) + class GridCellFloatEditorPtr(GridCellFloatEditor): def __init__(self, this): @@ -295,15 +478,21 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolEditor""" newobj = _grid.new_GridCellBoolEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) + class GridCellBoolEditorPtr(GridCellBoolEditor): def __init__(self, this): @@ -313,15 +502,21 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int LCOUNT=0, wxString choices=None, bool allowOthers=False) -> GridCellChoiceEditor""" newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) + class GridCellChoiceEditorPtr(GridCellChoiceEditor): def __init__(self, this): @@ -331,15 +526,21 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString choices=wxPyEmptyString) -> GridCellEnumEditor""" newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) + class GridCellEnumEditorPtr(GridCellEnumEditor): def __init__(self, this): @@ -349,15 +550,21 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringEditor""" newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) + class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): def __init__(self, this): @@ -367,53 +574,155 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any Default = _grid.GridCellAttr_Default Cell = _grid.GridCellAttr_Cell Row = _grid.GridCellAttr_Row Col = _grid.GridCellAttr_Col Merged = _grid.GridCellAttr_Merged - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def __init__(self, *args, **kwargs): + """__init__(GridCellAttr attrDefault=None) -> GridCellAttr""" newobj = _grid.new_GridCellAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Clone(*args, **kwargs): return _grid.GridCellAttr_Clone(*args, **kwargs) - def MergeWith(*args, **kwargs): return _grid.GridCellAttr_MergeWith(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellAttr_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellAttr_DecRef(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _grid.GridCellAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _grid.GridCellAttr_SetFont(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _grid.GridCellAttr_SetAlignment(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellAttr_SetSize(*args, **kwargs) - def SetOverflow(*args, **kwargs): return _grid.GridCellAttr_SetOverflow(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) - def SetRenderer(*args, **kwargs): return _grid.GridCellAttr_SetRenderer(*args, **kwargs) - def SetEditor(*args, **kwargs): return _grid.GridCellAttr_SetEditor(*args, **kwargs) - def SetKind(*args, **kwargs): return _grid.GridCellAttr_SetKind(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _grid.GridCellAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _grid.GridCellAttr_HasFont(*args, **kwargs) - def HasAlignment(*args, **kwargs): return _grid.GridCellAttr_HasAlignment(*args, **kwargs) - def HasRenderer(*args, **kwargs): return _grid.GridCellAttr_HasRenderer(*args, **kwargs) - def HasEditor(*args, **kwargs): return _grid.GridCellAttr_HasEditor(*args, **kwargs) - def HasReadWriteMode(*args, **kwargs): return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) - def HasOverflowMode(*args, **kwargs): return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _grid.GridCellAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _grid.GridCellAttr_GetFont(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _grid.GridCellAttr_GetAlignment(*args, **kwargs) - def GetSize(*args, **kwargs): return _grid.GridCellAttr_GetSize(*args, **kwargs) - def GetOverflow(*args, **kwargs): return _grid.GridCellAttr_GetOverflow(*args, **kwargs) - def GetRenderer(*args, **kwargs): return _grid.GridCellAttr_GetRenderer(*args, **kwargs) - def GetEditor(*args, **kwargs): return _grid.GridCellAttr_GetEditor(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) - def SetDefAttr(*args, **kwargs): return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Clone(*args, **kwargs): + """Clone() -> GridCellAttr""" + return _grid.GridCellAttr_Clone(*args, **kwargs) + + def MergeWith(*args, **kwargs): + """MergeWith(GridCellAttr mergefrom)""" + return _grid.GridCellAttr_MergeWith(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellAttr_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellAttr_DecRef(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _grid.GridCellAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _grid.GridCellAttr_SetFont(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(int hAlign, int vAlign)""" + return _grid.GridCellAttr_SetAlignment(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(int num_rows, int num_cols)""" + return _grid.GridCellAttr_SetSize(*args, **kwargs) + + def SetOverflow(*args, **kwargs): + """SetOverflow(bool allow=True)""" + return _grid.GridCellAttr_SetOverflow(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(bool isReadOnly=True)""" + return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) + + def SetRenderer(*args, **kwargs): + """SetRenderer(GridCellRenderer renderer)""" + return _grid.GridCellAttr_SetRenderer(*args, **kwargs) + + def SetEditor(*args, **kwargs): + """SetEditor(GridCellEditor editor)""" + return _grid.GridCellAttr_SetEditor(*args, **kwargs) + + def SetKind(*args, **kwargs): + """SetKind(wxGridCellAttr::wxAttrKind kind)""" + return _grid.GridCellAttr_SetKind(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _grid.GridCellAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _grid.GridCellAttr_HasFont(*args, **kwargs) + + def HasAlignment(*args, **kwargs): + """HasAlignment() -> bool""" + return _grid.GridCellAttr_HasAlignment(*args, **kwargs) + + def HasRenderer(*args, **kwargs): + """HasRenderer() -> bool""" + return _grid.GridCellAttr_HasRenderer(*args, **kwargs) + + def HasEditor(*args, **kwargs): + """HasEditor() -> bool""" + return _grid.GridCellAttr_HasEditor(*args, **kwargs) + + def HasReadWriteMode(*args, **kwargs): + """HasReadWriteMode() -> bool""" + return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) + + def HasOverflowMode(*args, **kwargs): + """HasOverflowMode() -> bool""" + return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _grid.GridCellAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _grid.GridCellAttr_GetFont(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment(int OUTPUT, int OUTPUT)""" + return _grid.GridCellAttr_GetAlignment(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize(int OUTPUT, int OUTPUT)""" + return _grid.GridCellAttr_GetSize(*args, **kwargs) + + def GetOverflow(*args, **kwargs): + """GetOverflow() -> bool""" + return _grid.GridCellAttr_GetOverflow(*args, **kwargs) + + def GetRenderer(*args, **kwargs): + """GetRenderer(Grid grid, int row, int col) -> GridCellRenderer""" + return _grid.GridCellAttr_GetRenderer(*args, **kwargs) + + def GetEditor(*args, **kwargs): + """GetEditor(Grid grid, int row, int col) -> GridCellEditor""" + return _grid.GridCellAttr_GetEditor(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly() -> bool""" + return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) + + def SetDefAttr(*args, **kwargs): + """SetDefAttr(GridCellAttr defAttr)""" + return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) + class GridCellAttrPtr(GridCellAttr): def __init__(self, this): @@ -423,21 +732,45 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAttrProvider""" newobj = _grid.new_GridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) - def UpdateAttrRows(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) - def UpdateAttrCols(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) + + def UpdateAttrRows(*args, **kwargs): + """UpdateAttrRows(size_t pos, int numRows)""" + return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) + + def UpdateAttrCols(*args, **kwargs): + """UpdateAttrCols(size_t pos, int numCols)""" + return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) + class GridCellAttrProviderPtr(GridCellAttrProvider): def __init__(self, this): @@ -447,19 +780,37 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellAttrProvider""" newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellAttrProvider) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) + class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): def __init__(self, this): @@ -469,44 +820,150 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - def _setOORInfo(*args, **kwargs): return _grid.GridTableBase__setOORInfo(*args, **kwargs) - def SetAttrProvider(*args, **kwargs): return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) - def GetAttrProvider(*args, **kwargs): return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) - def SetView(*args, **kwargs): return _grid.GridTableBase_SetView(*args, **kwargs) - def GetView(*args, **kwargs): return _grid.GridTableBase_GetView(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.GridTableBase_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.GridTableBase_GetNumberCols(*args, **kwargs) - def IsEmptyCell(*args, **kwargs): return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) - def GetValue(*args, **kwargs): return _grid.GridTableBase_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _grid.GridTableBase_SetValue(*args, **kwargs) - def GetTypeName(*args, **kwargs): return _grid.GridTableBase_GetTypeName(*args, **kwargs) - def CanGetValueAs(*args, **kwargs): return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) - def CanSetValueAs(*args, **kwargs): return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) - def GetValueAsLong(*args, **kwargs): return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) - def GetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) - def GetValueAsBool(*args, **kwargs): return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) - def SetValueAsLong(*args, **kwargs): return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) - def SetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) - def SetValueAsBool(*args, **kwargs): return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) - def Clear(*args, **kwargs): return _grid.GridTableBase_Clear(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.GridTableBase_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.GridTableBase_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.GridTableBase_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.GridTableBase_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.GridTableBase_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.GridTableBase_DeleteCols(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) - def CanHaveAttributes(*args, **kwargs): return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridTableBase_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridTableBase_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridTableBase_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridTableBase_SetColAttr(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridTableBase__setOORInfo(*args, **kwargs) + + def SetAttrProvider(*args, **kwargs): + """SetAttrProvider(GridCellAttrProvider attrProvider)""" + return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) + + def GetAttrProvider(*args, **kwargs): + """GetAttrProvider() -> GridCellAttrProvider""" + return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) + + def SetView(*args, **kwargs): + """SetView(Grid grid)""" + return _grid.GridTableBase_SetView(*args, **kwargs) + + def GetView(*args, **kwargs): + """GetView() -> Grid""" + return _grid.GridTableBase_GetView(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.GridTableBase_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.GridTableBase_GetNumberCols(*args, **kwargs) + + def IsEmptyCell(*args, **kwargs): + """IsEmptyCell(int row, int col) -> bool""" + return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue(int row, int col) -> wxString""" + return _grid.GridTableBase_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int row, int col, wxString value)""" + return _grid.GridTableBase_SetValue(*args, **kwargs) + + def GetTypeName(*args, **kwargs): + """GetTypeName(int row, int col) -> wxString""" + return _grid.GridTableBase_GetTypeName(*args, **kwargs) + + def CanGetValueAs(*args, **kwargs): + """CanGetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) + + def CanSetValueAs(*args, **kwargs): + """CanSetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) + + def GetValueAsLong(*args, **kwargs): + """GetValueAsLong(int row, int col) -> long""" + return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) + + def GetValueAsDouble(*args, **kwargs): + """GetValueAsDouble(int row, int col) -> double""" + return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) + + def GetValueAsBool(*args, **kwargs): + """GetValueAsBool(int row, int col) -> bool""" + return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) + + def SetValueAsLong(*args, **kwargs): + """SetValueAsLong(int row, int col, long value)""" + return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) + + def SetValueAsDouble(*args, **kwargs): + """SetValueAsDouble(int row, int col, double value)""" + return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) + + def SetValueAsBool(*args, **kwargs): + """SetValueAsBool(int row, int col, bool value)""" + return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _grid.GridTableBase_Clear(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(size_t numRows=1) -> bool""" + return _grid.GridTableBase_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(size_t numCols=1) -> bool""" + return _grid.GridTableBase_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_DeleteCols(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> wxString""" + return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> wxString""" + return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, wxString value)""" + return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, wxString value)""" + return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) + + def CanHaveAttributes(*args, **kwargs): + """CanHaveAttributes() -> bool""" + return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.GridTableBase_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridTableBase_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridTableBase_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridTableBase_SetColAttr(*args, **kwargs) + class GridTableBasePtr(GridTableBase): def __init__(self, this): @@ -516,35 +973,103 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridTableBase""" newobj = _grid.new_PyGridTableBase(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.PyGridTableBase_Destroy(*args, **kwargs) - def base_GetTypeName(*args, **kwargs): return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) - def base_CanGetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) - def base_CanSetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) - def base_Clear(*args, **kwargs): return _grid.PyGridTableBase_base_Clear(*args, **kwargs) - def base_InsertRows(*args, **kwargs): return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) - def base_AppendRows(*args, **kwargs): return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) - def base_DeleteRows(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) - def base_InsertCols(*args, **kwargs): return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) - def base_AppendCols(*args, **kwargs): return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) - def base_DeleteCols(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) - def base_GetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) - def base_GetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) - def base_SetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) - def base_SetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) - def base_CanHaveAttributes(*args, **kwargs): return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _grid.PyGridTableBase_Destroy(*args, **kwargs) + + def base_GetTypeName(*args, **kwargs): + """base_GetTypeName(int row, int col) -> wxString""" + return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) + + def base_CanGetValueAs(*args, **kwargs): + """base_CanGetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) + + def base_CanSetValueAs(*args, **kwargs): + """base_CanSetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) + + def base_Clear(*args, **kwargs): + """base_Clear()""" + return _grid.PyGridTableBase_base_Clear(*args, **kwargs) + + def base_InsertRows(*args, **kwargs): + """base_InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) + + def base_AppendRows(*args, **kwargs): + """base_AppendRows(size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) + + def base_DeleteRows(*args, **kwargs): + """base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) + + def base_InsertCols(*args, **kwargs): + """base_InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) + + def base_AppendCols(*args, **kwargs): + """base_AppendCols(size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) + + def base_DeleteCols(*args, **kwargs): + """base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) + + def base_GetRowLabelValue(*args, **kwargs): + """base_GetRowLabelValue(int row) -> wxString""" + return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) + + def base_GetColLabelValue(*args, **kwargs): + """base_GetColLabelValue(int col) -> wxString""" + return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) + + def base_SetRowLabelValue(*args, **kwargs): + """base_SetRowLabelValue(int row, wxString value)""" + return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) + + def base_SetColLabelValue(*args, **kwargs): + """base_SetColLabelValue(int col, wxString value)""" + return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) + + def base_CanHaveAttributes(*args, **kwargs): + """base_CanHaveAttributes() -> bool""" + return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) + class PyGridTableBasePtr(PyGridTableBase): def __init__(self, this): @@ -554,14 +1079,17 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int numRows=0, int numCols=0) -> GridStringTable""" newobj = _grid.new_GridStringTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridStringTablePtr(GridStringTable): def __init__(self, this): @@ -579,25 +1107,53 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage""" newobj = _grid.new_GridTableMessage(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridTableMessage): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTableObject(*args, **kwargs): return _grid.GridTableMessage_SetTableObject(*args, **kwargs) - def GetTableObject(*args, **kwargs): return _grid.GridTableMessage_GetTableObject(*args, **kwargs) - def SetId(*args, **kwargs): return _grid.GridTableMessage_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _grid.GridTableMessage_GetId(*args, **kwargs) - def SetCommandInt(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) - def GetCommandInt(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) - def SetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) - def GetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTableObject(*args, **kwargs): + """SetTableObject(GridTableBase table)""" + return _grid.GridTableMessage_SetTableObject(*args, **kwargs) + + def GetTableObject(*args, **kwargs): + """GetTableObject() -> GridTableBase""" + return _grid.GridTableMessage_GetTableObject(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int id)""" + return _grid.GridTableMessage_SetId(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _grid.GridTableMessage_GetId(*args, **kwargs) + + def SetCommandInt(*args, **kwargs): + """SetCommandInt(int comInt1)""" + return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) + + def GetCommandInt(*args, **kwargs): + """GetCommandInt() -> int""" + return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) + + def SetCommandInt2(*args, **kwargs): + """SetCommandInt2(int comInt2)""" + return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) + + def GetCommandInt2(*args, **kwargs): + """GetCommandInt2() -> int""" + return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) + class GridTableMessagePtr(GridTableMessage): def __init__(self, this): @@ -607,23 +1163,53 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int r=-1, int c=-1) -> GridCellCoords""" newobj = _grid.new_GridCellCoords(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridCellCoords): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetRow(*args, **kwargs): return _grid.GridCellCoords_GetRow(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridCellCoords_SetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridCellCoords_GetCol(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridCellCoords_SetCol(*args, **kwargs) - def Set(*args, **kwargs): return _grid.GridCellCoords_Set(*args, **kwargs) - def __eq__(*args, **kwargs): return _grid.GridCellCoords___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _grid.GridCellCoords___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _grid.GridCellCoords_asTuple(*args, **kwargs) + + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridCellCoords_GetRow(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int n)""" + return _grid.GridCellCoords_SetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridCellCoords_GetCol(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int n)""" + return _grid.GridCellCoords_SetCol(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int row, int col)""" + return _grid.GridCellCoords_Set(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___ne__(*args, **kwargs) + + def asTuple(*args, **kwargs): + """asTuple() -> PyObject""" + return _grid.GridCellCoords_asTuple(*args, **kwargs) + def __str__(self): return str(self.asTuple()) def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple()) def __len__(self): return len(self.asTuple()) @@ -642,205 +1228,776 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + wxString name=PanelNameStr) -> Grid""" newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns - def CreateGrid(*args, **kwargs): return _grid.Grid_CreateGrid(*args, **kwargs) - def SetSelectionMode(*args, **kwargs): return _grid.Grid_SetSelectionMode(*args, **kwargs) - def GetSelectionMode(*args, **kwargs): return _grid.Grid_GetSelectionMode(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.Grid_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.Grid_GetNumberCols(*args, **kwargs) - def ProcessTableMessage(*args, **kwargs): return _grid.Grid_ProcessTableMessage(*args, **kwargs) - def GetTable(*args, **kwargs): return _grid.Grid_GetTable(*args, **kwargs) - def SetTable(*args, **kwargs): return _grid.Grid_SetTable(*args, **kwargs) - def ClearGrid(*args, **kwargs): return _grid.Grid_ClearGrid(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.Grid_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.Grid_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.Grid_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.Grid_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.Grid_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.Grid_DeleteCols(*args, **kwargs) - def DrawCellHighlight(*args, **kwargs): return _grid.Grid_DrawCellHighlight(*args, **kwargs) - def DrawTextRectangle(*args, **kwargs): return _grid.Grid_DrawTextRectangle(*args, **kwargs) - def GetTextBoxSize(*args, **kwargs): return _grid.Grid_GetTextBoxSize(*args, **kwargs) - def BeginBatch(*args, **kwargs): return _grid.Grid_BeginBatch(*args, **kwargs) - def EndBatch(*args, **kwargs): return _grid.Grid_EndBatch(*args, **kwargs) - def GetBatchCount(*args, **kwargs): return _grid.Grid_GetBatchCount(*args, **kwargs) - def ForceRefresh(*args, **kwargs): return _grid.Grid_ForceRefresh(*args, **kwargs) - def Refresh(*args, **kwargs): return _grid.Grid_Refresh(*args, **kwargs) - def IsEditable(*args, **kwargs): return _grid.Grid_IsEditable(*args, **kwargs) - def EnableEditing(*args, **kwargs): return _grid.Grid_EnableEditing(*args, **kwargs) - def EnableCellEditControl(*args, **kwargs): return _grid.Grid_EnableCellEditControl(*args, **kwargs) - def DisableCellEditControl(*args, **kwargs): return _grid.Grid_DisableCellEditControl(*args, **kwargs) - def CanEnableCellControl(*args, **kwargs): return _grid.Grid_CanEnableCellControl(*args, **kwargs) - def IsCellEditControlEnabled(*args, **kwargs): return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) - def IsCellEditControlShown(*args, **kwargs): return _grid.Grid_IsCellEditControlShown(*args, **kwargs) - def IsCurrentCellReadOnly(*args, **kwargs): return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) - def ShowCellEditControl(*args, **kwargs): return _grid.Grid_ShowCellEditControl(*args, **kwargs) - def HideCellEditControl(*args, **kwargs): return _grid.Grid_HideCellEditControl(*args, **kwargs) - def SaveEditControlValue(*args, **kwargs): return _grid.Grid_SaveEditControlValue(*args, **kwargs) - def XYToCell(*args, **kwargs): return _grid.Grid_XYToCell(*args, **kwargs) - def YToRow(*args, **kwargs): return _grid.Grid_YToRow(*args, **kwargs) - def XToCol(*args, **kwargs): return _grid.Grid_XToCol(*args, **kwargs) - def YToEdgeOfRow(*args, **kwargs): return _grid.Grid_YToEdgeOfRow(*args, **kwargs) - def XToEdgeOfCol(*args, **kwargs): return _grid.Grid_XToEdgeOfCol(*args, **kwargs) - def CellToRect(*args, **kwargs): return _grid.Grid_CellToRect(*args, **kwargs) - def GetGridCursorRow(*args, **kwargs): return _grid.Grid_GetGridCursorRow(*args, **kwargs) - def GetGridCursorCol(*args, **kwargs): return _grid.Grid_GetGridCursorCol(*args, **kwargs) - def IsVisible(*args, **kwargs): return _grid.Grid_IsVisible(*args, **kwargs) - def MakeCellVisible(*args, **kwargs): return _grid.Grid_MakeCellVisible(*args, **kwargs) - def SetGridCursor(*args, **kwargs): return _grid.Grid_SetGridCursor(*args, **kwargs) - def MoveCursorUp(*args, **kwargs): return _grid.Grid_MoveCursorUp(*args, **kwargs) - def MoveCursorDown(*args, **kwargs): return _grid.Grid_MoveCursorDown(*args, **kwargs) - def MoveCursorLeft(*args, **kwargs): return _grid.Grid_MoveCursorLeft(*args, **kwargs) - def MoveCursorRight(*args, **kwargs): return _grid.Grid_MoveCursorRight(*args, **kwargs) - def MovePageDown(*args, **kwargs): return _grid.Grid_MovePageDown(*args, **kwargs) - def MovePageUp(*args, **kwargs): return _grid.Grid_MovePageUp(*args, **kwargs) - def MoveCursorUpBlock(*args, **kwargs): return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) - def MoveCursorDownBlock(*args, **kwargs): return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) - def MoveCursorLeftBlock(*args, **kwargs): return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) - def MoveCursorRightBlock(*args, **kwargs): return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) - def GetDefaultRowLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) - def GetRowLabelSize(*args, **kwargs): return _grid.Grid_GetRowLabelSize(*args, **kwargs) - def GetDefaultColLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) - def GetColLabelSize(*args, **kwargs): return _grid.Grid_GetColLabelSize(*args, **kwargs) - def GetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) - def GetLabelTextColour(*args, **kwargs): return _grid.Grid_GetLabelTextColour(*args, **kwargs) - def GetLabelFont(*args, **kwargs): return _grid.Grid_GetLabelFont(*args, **kwargs) - def GetRowLabelAlignment(*args, **kwargs): return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) - def GetColLabelAlignment(*args, **kwargs): return _grid.Grid_GetColLabelAlignment(*args, **kwargs) - def GetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.Grid_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.Grid_GetColLabelValue(*args, **kwargs) - def GetGridLineColour(*args, **kwargs): return _grid.Grid_GetGridLineColour(*args, **kwargs) - def GetCellHighlightColour(*args, **kwargs): return _grid.Grid_GetCellHighlightColour(*args, **kwargs) - def GetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) - def GetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) - def SetRowLabelSize(*args, **kwargs): return _grid.Grid_SetRowLabelSize(*args, **kwargs) - def SetColLabelSize(*args, **kwargs): return _grid.Grid_SetColLabelSize(*args, **kwargs) - def SetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) - def SetLabelTextColour(*args, **kwargs): return _grid.Grid_SetLabelTextColour(*args, **kwargs) - def SetLabelFont(*args, **kwargs): return _grid.Grid_SetLabelFont(*args, **kwargs) - def SetRowLabelAlignment(*args, **kwargs): return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) - def SetColLabelAlignment(*args, **kwargs): return _grid.Grid_SetColLabelAlignment(*args, **kwargs) - def SetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.Grid_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.Grid_SetColLabelValue(*args, **kwargs) - def SetGridLineColour(*args, **kwargs): return _grid.Grid_SetGridLineColour(*args, **kwargs) - def SetCellHighlightColour(*args, **kwargs): return _grid.Grid_SetCellHighlightColour(*args, **kwargs) - def SetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) - def SetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) - def EnableDragRowSize(*args, **kwargs): return _grid.Grid_EnableDragRowSize(*args, **kwargs) - def DisableDragRowSize(*args, **kwargs): return _grid.Grid_DisableDragRowSize(*args, **kwargs) - def CanDragRowSize(*args, **kwargs): return _grid.Grid_CanDragRowSize(*args, **kwargs) - def EnableDragColSize(*args, **kwargs): return _grid.Grid_EnableDragColSize(*args, **kwargs) - def DisableDragColSize(*args, **kwargs): return _grid.Grid_DisableDragColSize(*args, **kwargs) - def CanDragColSize(*args, **kwargs): return _grid.Grid_CanDragColSize(*args, **kwargs) - def EnableDragGridSize(*args, **kwargs): return _grid.Grid_EnableDragGridSize(*args, **kwargs) - def DisableDragGridSize(*args, **kwargs): return _grid.Grid_DisableDragGridSize(*args, **kwargs) - def CanDragGridSize(*args, **kwargs): return _grid.Grid_CanDragGridSize(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.Grid_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.Grid_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.Grid_SetColAttr(*args, **kwargs) - def SetColFormatBool(*args, **kwargs): return _grid.Grid_SetColFormatBool(*args, **kwargs) - def SetColFormatNumber(*args, **kwargs): return _grid.Grid_SetColFormatNumber(*args, **kwargs) - def SetColFormatFloat(*args, **kwargs): return _grid.Grid_SetColFormatFloat(*args, **kwargs) - def SetColFormatCustom(*args, **kwargs): return _grid.Grid_SetColFormatCustom(*args, **kwargs) - def EnableGridLines(*args, **kwargs): return _grid.Grid_EnableGridLines(*args, **kwargs) - def GridLinesEnabled(*args, **kwargs): return _grid.Grid_GridLinesEnabled(*args, **kwargs) - def GetDefaultRowSize(*args, **kwargs): return _grid.Grid_GetDefaultRowSize(*args, **kwargs) - def GetRowSize(*args, **kwargs): return _grid.Grid_GetRowSize(*args, **kwargs) - def GetDefaultColSize(*args, **kwargs): return _grid.Grid_GetDefaultColSize(*args, **kwargs) - def GetColSize(*args, **kwargs): return _grid.Grid_GetColSize(*args, **kwargs) - def GetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) - def GetCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) - def GetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) - def GetCellTextColour(*args, **kwargs): return _grid.Grid_GetCellTextColour(*args, **kwargs) - def GetDefaultCellFont(*args, **kwargs): return _grid.Grid_GetDefaultCellFont(*args, **kwargs) - def GetCellFont(*args, **kwargs): return _grid.Grid_GetCellFont(*args, **kwargs) - def GetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) - def GetCellAlignment(*args, **kwargs): return _grid.Grid_GetCellAlignment(*args, **kwargs) - def GetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) - def GetCellOverflow(*args, **kwargs): return _grid.Grid_GetCellOverflow(*args, **kwargs) - def GetCellSize(*args, **kwargs): return _grid.Grid_GetCellSize(*args, **kwargs) - def SetDefaultRowSize(*args, **kwargs): return _grid.Grid_SetDefaultRowSize(*args, **kwargs) - def SetRowSize(*args, **kwargs): return _grid.Grid_SetRowSize(*args, **kwargs) - def SetDefaultColSize(*args, **kwargs): return _grid.Grid_SetDefaultColSize(*args, **kwargs) - def SetColSize(*args, **kwargs): return _grid.Grid_SetColSize(*args, **kwargs) - def AutoSizeColumn(*args, **kwargs): return _grid.Grid_AutoSizeColumn(*args, **kwargs) - def AutoSizeRow(*args, **kwargs): return _grid.Grid_AutoSizeRow(*args, **kwargs) - def AutoSizeColumns(*args, **kwargs): return _grid.Grid_AutoSizeColumns(*args, **kwargs) - def AutoSizeRows(*args, **kwargs): return _grid.Grid_AutoSizeRows(*args, **kwargs) - def AutoSize(*args, **kwargs): return _grid.Grid_AutoSize(*args, **kwargs) - def AutoSizeRowLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) - def AutoSizeColLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) - def SetColMinimalWidth(*args, **kwargs): return _grid.Grid_SetColMinimalWidth(*args, **kwargs) - def SetRowMinimalHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) - def SetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) - def SetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) - def GetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) - def GetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) - def SetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) - def SetCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) - def SetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) - def SetCellTextColour(*args, **kwargs): return _grid.Grid_SetCellTextColour(*args, **kwargs) - def SetDefaultCellFont(*args, **kwargs): return _grid.Grid_SetDefaultCellFont(*args, **kwargs) - def SetCellFont(*args, **kwargs): return _grid.Grid_SetCellFont(*args, **kwargs) - def SetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) - def SetCellAlignment(*args, **kwargs): return _grid.Grid_SetCellAlignment(*args, **kwargs) - def SetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) - def SetCellOverflow(*args, **kwargs): return _grid.Grid_SetCellOverflow(*args, **kwargs) - def SetCellSize(*args, **kwargs): return _grid.Grid_SetCellSize(*args, **kwargs) - def SetDefaultRenderer(*args, **kwargs): return _grid.Grid_SetDefaultRenderer(*args, **kwargs) - def SetCellRenderer(*args, **kwargs): return _grid.Grid_SetCellRenderer(*args, **kwargs) - def GetDefaultRenderer(*args, **kwargs): return _grid.Grid_GetDefaultRenderer(*args, **kwargs) - def GetCellRenderer(*args, **kwargs): return _grid.Grid_GetCellRenderer(*args, **kwargs) - def SetDefaultEditor(*args, **kwargs): return _grid.Grid_SetDefaultEditor(*args, **kwargs) - def SetCellEditor(*args, **kwargs): return _grid.Grid_SetCellEditor(*args, **kwargs) - def GetDefaultEditor(*args, **kwargs): return _grid.Grid_GetDefaultEditor(*args, **kwargs) - def GetCellEditor(*args, **kwargs): return _grid.Grid_GetCellEditor(*args, **kwargs) - def GetCellValue(*args, **kwargs): return _grid.Grid_GetCellValue(*args, **kwargs) - def SetCellValue(*args, **kwargs): return _grid.Grid_SetCellValue(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.Grid_IsReadOnly(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.Grid_SetReadOnly(*args, **kwargs) - def SelectRow(*args, **kwargs): return _grid.Grid_SelectRow(*args, **kwargs) - def SelectCol(*args, **kwargs): return _grid.Grid_SelectCol(*args, **kwargs) - def SelectBlock(*args, **kwargs): return _grid.Grid_SelectBlock(*args, **kwargs) - def SelectAll(*args, **kwargs): return _grid.Grid_SelectAll(*args, **kwargs) - def IsSelection(*args, **kwargs): return _grid.Grid_IsSelection(*args, **kwargs) - def ClearSelection(*args, **kwargs): return _grid.Grid_ClearSelection(*args, **kwargs) - def IsInSelection(*args, **kwargs): return _grid.Grid_IsInSelection(*args, **kwargs) - def GetSelectedCells(*args, **kwargs): return _grid.Grid_GetSelectedCells(*args, **kwargs) - def GetSelectionBlockTopLeft(*args, **kwargs): return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) - def GetSelectionBlockBottomRight(*args, **kwargs): return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) - def GetSelectedRows(*args, **kwargs): return _grid.Grid_GetSelectedRows(*args, **kwargs) - def GetSelectedCols(*args, **kwargs): return _grid.Grid_GetSelectedCols(*args, **kwargs) - def DeselectRow(*args, **kwargs): return _grid.Grid_DeselectRow(*args, **kwargs) - def DeselectCol(*args, **kwargs): return _grid.Grid_DeselectCol(*args, **kwargs) - def DeselectCell(*args, **kwargs): return _grid.Grid_DeselectCell(*args, **kwargs) - def BlockToDeviceRect(*args, **kwargs): return _grid.Grid_BlockToDeviceRect(*args, **kwargs) - def GetSelectionBackground(*args, **kwargs): return _grid.Grid_GetSelectionBackground(*args, **kwargs) - def GetSelectionForeground(*args, **kwargs): return _grid.Grid_GetSelectionForeground(*args, **kwargs) - def SetSelectionBackground(*args, **kwargs): return _grid.Grid_SetSelectionBackground(*args, **kwargs) - def SetSelectionForeground(*args, **kwargs): return _grid.Grid_SetSelectionForeground(*args, **kwargs) - def RegisterDataType(*args, **kwargs): return _grid.Grid_RegisterDataType(*args, **kwargs) - def GetDefaultEditorForCell(*args, **kwargs): return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) - def GetDefaultRendererForCell(*args, **kwargs): return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) - def GetDefaultEditorForType(*args, **kwargs): return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) - def GetDefaultRendererForType(*args, **kwargs): return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) - def SetMargins(*args, **kwargs): return _grid.Grid_SetMargins(*args, **kwargs) - def GetGridWindow(*args, **kwargs): return _grid.Grid_GetGridWindow(*args, **kwargs) - def GetGridRowLabelWindow(*args, **kwargs): return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) - def GetGridColLabelWindow(*args, **kwargs): return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) - def GetGridCornerLabelWindow(*args, **kwargs): return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CreateGrid(*args, **kwargs): + """CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_CreateGrid(*args, **kwargs) + + def SetSelectionMode(*args, **kwargs): + """SetSelectionMode(WXGRIDSELECTIONMODES selmode)""" + return _grid.Grid_SetSelectionMode(*args, **kwargs) + + def GetSelectionMode(*args, **kwargs): + """GetSelectionMode() -> WXGRIDSELECTIONMODES""" + return _grid.Grid_GetSelectionMode(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.Grid_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.Grid_GetNumberCols(*args, **kwargs) + + def ProcessTableMessage(*args, **kwargs): + """ProcessTableMessage(GridTableMessage ??) -> bool""" + return _grid.Grid_ProcessTableMessage(*args, **kwargs) + + def GetTable(*args, **kwargs): + """GetTable() -> GridTableBase""" + return _grid.Grid_GetTable(*args, **kwargs) + + def SetTable(*args, **kwargs): + """SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_SetTable(*args, **kwargs) + + def ClearGrid(*args, **kwargs): + """ClearGrid()""" + return _grid.Grid_ClearGrid(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteCols(*args, **kwargs) + + def DrawCellHighlight(*args, **kwargs): + """DrawCellHighlight(wxDC dc, GridCellAttr attr)""" + return _grid.Grid_DrawCellHighlight(*args, **kwargs) + + def DrawTextRectangle(*args, **kwargs): + """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + return _grid.Grid_DrawTextRectangle(*args, **kwargs) + + def GetTextBoxSize(*args, **kwargs): + """GetTextBoxSize(wxDC dc, wxArrayString lines, long OUTPUT, long OUTPUT)""" + return _grid.Grid_GetTextBoxSize(*args, **kwargs) + + def BeginBatch(*args, **kwargs): + """BeginBatch()""" + return _grid.Grid_BeginBatch(*args, **kwargs) + + def EndBatch(*args, **kwargs): + """EndBatch()""" + return _grid.Grid_EndBatch(*args, **kwargs) + + def GetBatchCount(*args, **kwargs): + """GetBatchCount() -> int""" + return _grid.Grid_GetBatchCount(*args, **kwargs) + + def ForceRefresh(*args, **kwargs): + """ForceRefresh()""" + return _grid.Grid_ForceRefresh(*args, **kwargs) + + def Refresh(*args, **kwargs): + """Refresh(bool eraseb=True, Rect rect=None)""" + return _grid.Grid_Refresh(*args, **kwargs) + + def IsEditable(*args, **kwargs): + """IsEditable() -> bool""" + return _grid.Grid_IsEditable(*args, **kwargs) + + def EnableEditing(*args, **kwargs): + """EnableEditing(bool edit)""" + return _grid.Grid_EnableEditing(*args, **kwargs) + + def EnableCellEditControl(*args, **kwargs): + """EnableCellEditControl(bool enable=True)""" + return _grid.Grid_EnableCellEditControl(*args, **kwargs) + + def DisableCellEditControl(*args, **kwargs): + """DisableCellEditControl()""" + return _grid.Grid_DisableCellEditControl(*args, **kwargs) + + def CanEnableCellControl(*args, **kwargs): + """CanEnableCellControl() -> bool""" + return _grid.Grid_CanEnableCellControl(*args, **kwargs) + + def IsCellEditControlEnabled(*args, **kwargs): + """IsCellEditControlEnabled() -> bool""" + return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) + + def IsCellEditControlShown(*args, **kwargs): + """IsCellEditControlShown() -> bool""" + return _grid.Grid_IsCellEditControlShown(*args, **kwargs) + + def IsCurrentCellReadOnly(*args, **kwargs): + """IsCurrentCellReadOnly() -> bool""" + return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) + + def ShowCellEditControl(*args, **kwargs): + """ShowCellEditControl()""" + return _grid.Grid_ShowCellEditControl(*args, **kwargs) + + def HideCellEditControl(*args, **kwargs): + """HideCellEditControl()""" + return _grid.Grid_HideCellEditControl(*args, **kwargs) + + def SaveEditControlValue(*args, **kwargs): + """SaveEditControlValue()""" + return _grid.Grid_SaveEditControlValue(*args, **kwargs) + + def XYToCell(*args, **kwargs): + """XYToCell(int x, int y) -> GridCellCoords""" + return _grid.Grid_XYToCell(*args, **kwargs) + + def YToRow(*args, **kwargs): + """YToRow(int y) -> int""" + return _grid.Grid_YToRow(*args, **kwargs) + + def XToCol(*args, **kwargs): + """XToCol(int x) -> int""" + return _grid.Grid_XToCol(*args, **kwargs) + + def YToEdgeOfRow(*args, **kwargs): + """YToEdgeOfRow(int y) -> int""" + return _grid.Grid_YToEdgeOfRow(*args, **kwargs) + + def XToEdgeOfCol(*args, **kwargs): + """XToEdgeOfCol(int x) -> int""" + return _grid.Grid_XToEdgeOfCol(*args, **kwargs) + + def CellToRect(*args, **kwargs): + """CellToRect(int row, int col) -> Rect""" + return _grid.Grid_CellToRect(*args, **kwargs) + + def GetGridCursorRow(*args, **kwargs): + """GetGridCursorRow() -> int""" + return _grid.Grid_GetGridCursorRow(*args, **kwargs) + + def GetGridCursorCol(*args, **kwargs): + """GetGridCursorCol() -> int""" + return _grid.Grid_GetGridCursorCol(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(int row, int col, bool wholeCellVisible=True) -> bool""" + return _grid.Grid_IsVisible(*args, **kwargs) + + def MakeCellVisible(*args, **kwargs): + """MakeCellVisible(int row, int col)""" + return _grid.Grid_MakeCellVisible(*args, **kwargs) + + def SetGridCursor(*args, **kwargs): + """SetGridCursor(int row, int col)""" + return _grid.Grid_SetGridCursor(*args, **kwargs) + + def MoveCursorUp(*args, **kwargs): + """MoveCursorUp(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUp(*args, **kwargs) + + def MoveCursorDown(*args, **kwargs): + """MoveCursorDown(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDown(*args, **kwargs) + + def MoveCursorLeft(*args, **kwargs): + """MoveCursorLeft(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeft(*args, **kwargs) + + def MoveCursorRight(*args, **kwargs): + """MoveCursorRight(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRight(*args, **kwargs) + + def MovePageDown(*args, **kwargs): + """MovePageDown() -> bool""" + return _grid.Grid_MovePageDown(*args, **kwargs) + + def MovePageUp(*args, **kwargs): + """MovePageUp() -> bool""" + return _grid.Grid_MovePageUp(*args, **kwargs) + + def MoveCursorUpBlock(*args, **kwargs): + """MoveCursorUpBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) + + def MoveCursorDownBlock(*args, **kwargs): + """MoveCursorDownBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) + + def MoveCursorLeftBlock(*args, **kwargs): + """MoveCursorLeftBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) + + def MoveCursorRightBlock(*args, **kwargs): + """MoveCursorRightBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) + + def GetDefaultRowLabelSize(*args, **kwargs): + """GetDefaultRowLabelSize() -> int""" + return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) + + def GetRowLabelSize(*args, **kwargs): + """GetRowLabelSize() -> int""" + return _grid.Grid_GetRowLabelSize(*args, **kwargs) + + def GetDefaultColLabelSize(*args, **kwargs): + """GetDefaultColLabelSize() -> int""" + return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) + + def GetColLabelSize(*args, **kwargs): + """GetColLabelSize() -> int""" + return _grid.Grid_GetColLabelSize(*args, **kwargs) + + def GetLabelBackgroundColour(*args, **kwargs): + """GetLabelBackgroundColour() -> wxColour""" + return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) + + def GetLabelTextColour(*args, **kwargs): + """GetLabelTextColour() -> wxColour""" + return _grid.Grid_GetLabelTextColour(*args, **kwargs) + + def GetLabelFont(*args, **kwargs): + """GetLabelFont() -> wxFont""" + return _grid.Grid_GetLabelFont(*args, **kwargs) + + def GetRowLabelAlignment(*args, **kwargs): + """GetRowLabelAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) + + def GetColLabelAlignment(*args, **kwargs): + """GetColLabelAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetColLabelAlignment(*args, **kwargs) + + def GetColLabelTextOrientation(*args, **kwargs): + """GetColLabelTextOrientation() -> int""" + return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> wxString""" + return _grid.Grid_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> wxString""" + return _grid.Grid_GetColLabelValue(*args, **kwargs) + + def GetGridLineColour(*args, **kwargs): + """GetGridLineColour() -> wxColour""" + return _grid.Grid_GetGridLineColour(*args, **kwargs) + + def GetCellHighlightColour(*args, **kwargs): + """GetCellHighlightColour() -> wxColour""" + return _grid.Grid_GetCellHighlightColour(*args, **kwargs) + + def GetCellHighlightPenWidth(*args, **kwargs): + """GetCellHighlightPenWidth() -> int""" + return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) + + def GetCellHighlightROPenWidth(*args, **kwargs): + """GetCellHighlightROPenWidth() -> int""" + return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) + + def SetRowLabelSize(*args, **kwargs): + """SetRowLabelSize(int width)""" + return _grid.Grid_SetRowLabelSize(*args, **kwargs) + + def SetColLabelSize(*args, **kwargs): + """SetColLabelSize(int height)""" + return _grid.Grid_SetColLabelSize(*args, **kwargs) + + def SetLabelBackgroundColour(*args, **kwargs): + """SetLabelBackgroundColour(wxColour ??)""" + return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) + + def SetLabelTextColour(*args, **kwargs): + """SetLabelTextColour(wxColour ??)""" + return _grid.Grid_SetLabelTextColour(*args, **kwargs) + + def SetLabelFont(*args, **kwargs): + """SetLabelFont(wxFont ??)""" + return _grid.Grid_SetLabelFont(*args, **kwargs) + + def SetRowLabelAlignment(*args, **kwargs): + """SetRowLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) + + def SetColLabelAlignment(*args, **kwargs): + """SetColLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetColLabelAlignment(*args, **kwargs) + + def SetColLabelTextOrientation(*args, **kwargs): + """SetColLabelTextOrientation(int textOrientation)""" + return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, wxString ??)""" + return _grid.Grid_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, wxString ??)""" + return _grid.Grid_SetColLabelValue(*args, **kwargs) + + def SetGridLineColour(*args, **kwargs): + """SetGridLineColour(wxColour ??)""" + return _grid.Grid_SetGridLineColour(*args, **kwargs) + + def SetCellHighlightColour(*args, **kwargs): + """SetCellHighlightColour(wxColour ??)""" + return _grid.Grid_SetCellHighlightColour(*args, **kwargs) + + def SetCellHighlightPenWidth(*args, **kwargs): + """SetCellHighlightPenWidth(int width)""" + return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) + + def SetCellHighlightROPenWidth(*args, **kwargs): + """SetCellHighlightROPenWidth(int width)""" + return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) + + def EnableDragRowSize(*args, **kwargs): + """EnableDragRowSize(bool enable=True)""" + return _grid.Grid_EnableDragRowSize(*args, **kwargs) + + def DisableDragRowSize(*args, **kwargs): + """DisableDragRowSize()""" + return _grid.Grid_DisableDragRowSize(*args, **kwargs) + + def CanDragRowSize(*args, **kwargs): + """CanDragRowSize() -> bool""" + return _grid.Grid_CanDragRowSize(*args, **kwargs) + + def EnableDragColSize(*args, **kwargs): + """EnableDragColSize(bool enable=True)""" + return _grid.Grid_EnableDragColSize(*args, **kwargs) + + def DisableDragColSize(*args, **kwargs): + """DisableDragColSize()""" + return _grid.Grid_DisableDragColSize(*args, **kwargs) + + def CanDragColSize(*args, **kwargs): + """CanDragColSize() -> bool""" + return _grid.Grid_CanDragColSize(*args, **kwargs) + + def EnableDragGridSize(*args, **kwargs): + """EnableDragGridSize(bool enable=True)""" + return _grid.Grid_EnableDragGridSize(*args, **kwargs) + + def DisableDragGridSize(*args, **kwargs): + """DisableDragGridSize()""" + return _grid.Grid_DisableDragGridSize(*args, **kwargs) + + def CanDragGridSize(*args, **kwargs): + """CanDragGridSize() -> bool""" + return _grid.Grid_CanDragGridSize(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(int row, int col, GridCellAttr attr)""" + return _grid.Grid_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(int row, GridCellAttr attr)""" + return _grid.Grid_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(int col, GridCellAttr attr)""" + return _grid.Grid_SetColAttr(*args, **kwargs) + + def SetColFormatBool(*args, **kwargs): + """SetColFormatBool(int col)""" + return _grid.Grid_SetColFormatBool(*args, **kwargs) + + def SetColFormatNumber(*args, **kwargs): + """SetColFormatNumber(int col)""" + return _grid.Grid_SetColFormatNumber(*args, **kwargs) + + def SetColFormatFloat(*args, **kwargs): + """SetColFormatFloat(int col, int width=-1, int precision=-1)""" + return _grid.Grid_SetColFormatFloat(*args, **kwargs) + + def SetColFormatCustom(*args, **kwargs): + """SetColFormatCustom(int col, wxString typeName)""" + return _grid.Grid_SetColFormatCustom(*args, **kwargs) + + def EnableGridLines(*args, **kwargs): + """EnableGridLines(bool enable=True)""" + return _grid.Grid_EnableGridLines(*args, **kwargs) + + def GridLinesEnabled(*args, **kwargs): + """GridLinesEnabled() -> bool""" + return _grid.Grid_GridLinesEnabled(*args, **kwargs) + + def GetDefaultRowSize(*args, **kwargs): + """GetDefaultRowSize() -> int""" + return _grid.Grid_GetDefaultRowSize(*args, **kwargs) + + def GetRowSize(*args, **kwargs): + """GetRowSize(int row) -> int""" + return _grid.Grid_GetRowSize(*args, **kwargs) + + def GetDefaultColSize(*args, **kwargs): + """GetDefaultColSize() -> int""" + return _grid.Grid_GetDefaultColSize(*args, **kwargs) + + def GetColSize(*args, **kwargs): + """GetColSize(int col) -> int""" + return _grid.Grid_GetColSize(*args, **kwargs) + + def GetDefaultCellBackgroundColour(*args, **kwargs): + """GetDefaultCellBackgroundColour() -> wxColour""" + return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) + + def GetCellBackgroundColour(*args, **kwargs): + """GetCellBackgroundColour(int row, int col) -> wxColour""" + return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) + + def GetDefaultCellTextColour(*args, **kwargs): + """GetDefaultCellTextColour() -> wxColour""" + return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) + + def GetCellTextColour(*args, **kwargs): + """GetCellTextColour(int row, int col) -> wxColour""" + return _grid.Grid_GetCellTextColour(*args, **kwargs) + + def GetDefaultCellFont(*args, **kwargs): + """GetDefaultCellFont() -> wxFont""" + return _grid.Grid_GetDefaultCellFont(*args, **kwargs) + + def GetCellFont(*args, **kwargs): + """GetCellFont(int row, int col) -> wxFont""" + return _grid.Grid_GetCellFont(*args, **kwargs) + + def GetDefaultCellAlignment(*args, **kwargs): + """GetDefaultCellAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) + + def GetCellAlignment(*args, **kwargs): + """GetCellAlignment(int row, int col, int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetCellAlignment(*args, **kwargs) + + def GetDefaultCellOverflow(*args, **kwargs): + """GetDefaultCellOverflow() -> bool""" + return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) + + def GetCellOverflow(*args, **kwargs): + """GetCellOverflow(int row, int col) -> bool""" + return _grid.Grid_GetCellOverflow(*args, **kwargs) + + def GetCellSize(*args, **kwargs): + """GetCellSize(int row, int col, int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetCellSize(*args, **kwargs) + + def SetDefaultRowSize(*args, **kwargs): + """SetDefaultRowSize(int height, bool resizeExistingRows=False)""" + return _grid.Grid_SetDefaultRowSize(*args, **kwargs) + + def SetRowSize(*args, **kwargs): + """SetRowSize(int row, int height)""" + return _grid.Grid_SetRowSize(*args, **kwargs) + + def SetDefaultColSize(*args, **kwargs): + """SetDefaultColSize(int width, bool resizeExistingCols=False)""" + return _grid.Grid_SetDefaultColSize(*args, **kwargs) + + def SetColSize(*args, **kwargs): + """SetColSize(int col, int width)""" + return _grid.Grid_SetColSize(*args, **kwargs) + + def AutoSizeColumn(*args, **kwargs): + """AutoSizeColumn(int col, bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumn(*args, **kwargs) + + def AutoSizeRow(*args, **kwargs): + """AutoSizeRow(int row, bool setAsMin=True)""" + return _grid.Grid_AutoSizeRow(*args, **kwargs) + + def AutoSizeColumns(*args, **kwargs): + """AutoSizeColumns(bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumns(*args, **kwargs) + + def AutoSizeRows(*args, **kwargs): + """AutoSizeRows(bool setAsMin=True)""" + return _grid.Grid_AutoSizeRows(*args, **kwargs) + + def AutoSize(*args, **kwargs): + """AutoSize()""" + return _grid.Grid_AutoSize(*args, **kwargs) + + def AutoSizeRowLabelSize(*args, **kwargs): + """AutoSizeRowLabelSize(int row)""" + return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) + + def AutoSizeColLabelSize(*args, **kwargs): + """AutoSizeColLabelSize(int col)""" + return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) + + def SetColMinimalWidth(*args, **kwargs): + """SetColMinimalWidth(int col, int width)""" + return _grid.Grid_SetColMinimalWidth(*args, **kwargs) + + def SetRowMinimalHeight(*args, **kwargs): + """SetRowMinimalHeight(int row, int width)""" + return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) + + def SetColMinimalAcceptableWidth(*args, **kwargs): + """SetColMinimalAcceptableWidth(int width)""" + return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) + + def SetRowMinimalAcceptableHeight(*args, **kwargs): + """SetRowMinimalAcceptableHeight(int width)""" + return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) + + def GetColMinimalAcceptableWidth(*args, **kwargs): + """GetColMinimalAcceptableWidth() -> int""" + return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) + + def GetRowMinimalAcceptableHeight(*args, **kwargs): + """GetRowMinimalAcceptableHeight() -> int""" + return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) + + def SetDefaultCellBackgroundColour(*args, **kwargs): + """SetDefaultCellBackgroundColour(wxColour ??)""" + return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) + + def SetCellBackgroundColour(*args, **kwargs): + """SetCellBackgroundColour(int row, int col, wxColour ??)""" + return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) + + def SetDefaultCellTextColour(*args, **kwargs): + """SetDefaultCellTextColour(wxColour ??)""" + return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) + + def SetCellTextColour(*args, **kwargs): + """SetCellTextColour(int row, int col, wxColour ??)""" + return _grid.Grid_SetCellTextColour(*args, **kwargs) + + def SetDefaultCellFont(*args, **kwargs): + """SetDefaultCellFont(wxFont ??)""" + return _grid.Grid_SetDefaultCellFont(*args, **kwargs) + + def SetCellFont(*args, **kwargs): + """SetCellFont(int row, int col, wxFont ??)""" + return _grid.Grid_SetCellFont(*args, **kwargs) + + def SetDefaultCellAlignment(*args, **kwargs): + """SetDefaultCellAlignment(int horiz, int vert)""" + return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) + + def SetCellAlignment(*args, **kwargs): + """SetCellAlignment(int row, int col, int horiz, int vert)""" + return _grid.Grid_SetCellAlignment(*args, **kwargs) + + def SetDefaultCellOverflow(*args, **kwargs): + """SetDefaultCellOverflow(bool allow)""" + return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) + + def SetCellOverflow(*args, **kwargs): + """SetCellOverflow(int row, int col, bool allow)""" + return _grid.Grid_SetCellOverflow(*args, **kwargs) + + def SetCellSize(*args, **kwargs): + """SetCellSize(int row, int col, int num_rows, int num_cols)""" + return _grid.Grid_SetCellSize(*args, **kwargs) + + def SetDefaultRenderer(*args, **kwargs): + """SetDefaultRenderer(GridCellRenderer renderer)""" + return _grid.Grid_SetDefaultRenderer(*args, **kwargs) + + def SetCellRenderer(*args, **kwargs): + """SetCellRenderer(int row, int col, GridCellRenderer renderer)""" + return _grid.Grid_SetCellRenderer(*args, **kwargs) + + def GetDefaultRenderer(*args, **kwargs): + """GetDefaultRenderer() -> GridCellRenderer""" + return _grid.Grid_GetDefaultRenderer(*args, **kwargs) + + def GetCellRenderer(*args, **kwargs): + """GetCellRenderer(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetCellRenderer(*args, **kwargs) + + def SetDefaultEditor(*args, **kwargs): + """SetDefaultEditor(GridCellEditor editor)""" + return _grid.Grid_SetDefaultEditor(*args, **kwargs) + + def SetCellEditor(*args, **kwargs): + """SetCellEditor(int row, int col, GridCellEditor editor)""" + return _grid.Grid_SetCellEditor(*args, **kwargs) + + def GetDefaultEditor(*args, **kwargs): + """GetDefaultEditor() -> GridCellEditor""" + return _grid.Grid_GetDefaultEditor(*args, **kwargs) + + def GetCellEditor(*args, **kwargs): + """GetCellEditor(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetCellEditor(*args, **kwargs) + + def GetCellValue(*args, **kwargs): + """GetCellValue(int row, int col) -> wxString""" + return _grid.Grid_GetCellValue(*args, **kwargs) + + def SetCellValue(*args, **kwargs): + """SetCellValue(int row, int col, wxString s)""" + return _grid.Grid_SetCellValue(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly(int row, int col) -> bool""" + return _grid.Grid_IsReadOnly(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(int row, int col, bool isReadOnly=True)""" + return _grid.Grid_SetReadOnly(*args, **kwargs) + + def SelectRow(*args, **kwargs): + """SelectRow(int row, bool addToSelected=False)""" + return _grid.Grid_SelectRow(*args, **kwargs) + + def SelectCol(*args, **kwargs): + """SelectCol(int col, bool addToSelected=False)""" + return _grid.Grid_SelectCol(*args, **kwargs) + + def SelectBlock(*args, **kwargs): + """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False)""" + return _grid.Grid_SelectBlock(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll()""" + return _grid.Grid_SelectAll(*args, **kwargs) + + def IsSelection(*args, **kwargs): + """IsSelection() -> bool""" + return _grid.Grid_IsSelection(*args, **kwargs) + + def ClearSelection(*args, **kwargs): + """ClearSelection()""" + return _grid.Grid_ClearSelection(*args, **kwargs) + + def IsInSelection(*args, **kwargs): + """IsInSelection(int row, int col) -> bool""" + return _grid.Grid_IsInSelection(*args, **kwargs) + + def GetSelectedCells(*args, **kwargs): + """GetSelectedCells() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectedCells(*args, **kwargs) + + def GetSelectionBlockTopLeft(*args, **kwargs): + """GetSelectionBlockTopLeft() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) + + def GetSelectionBlockBottomRight(*args, **kwargs): + """GetSelectionBlockBottomRight() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) + + def GetSelectedRows(*args, **kwargs): + """GetSelectedRows() -> wxArrayInt""" + return _grid.Grid_GetSelectedRows(*args, **kwargs) + + def GetSelectedCols(*args, **kwargs): + """GetSelectedCols() -> wxArrayInt""" + return _grid.Grid_GetSelectedCols(*args, **kwargs) + + def DeselectRow(*args, **kwargs): + """DeselectRow(int row)""" + return _grid.Grid_DeselectRow(*args, **kwargs) + + def DeselectCol(*args, **kwargs): + """DeselectCol(int col)""" + return _grid.Grid_DeselectCol(*args, **kwargs) + + def DeselectCell(*args, **kwargs): + """DeselectCell(int row, int col)""" + return _grid.Grid_DeselectCell(*args, **kwargs) + + def BlockToDeviceRect(*args, **kwargs): + """BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect""" + return _grid.Grid_BlockToDeviceRect(*args, **kwargs) + + def GetSelectionBackground(*args, **kwargs): + """GetSelectionBackground() -> wxColour""" + return _grid.Grid_GetSelectionBackground(*args, **kwargs) + + def GetSelectionForeground(*args, **kwargs): + """GetSelectionForeground() -> wxColour""" + return _grid.Grid_GetSelectionForeground(*args, **kwargs) + + def SetSelectionBackground(*args, **kwargs): + """SetSelectionBackground(wxColour c)""" + return _grid.Grid_SetSelectionBackground(*args, **kwargs) + + def SetSelectionForeground(*args, **kwargs): + """SetSelectionForeground(wxColour c)""" + return _grid.Grid_SetSelectionForeground(*args, **kwargs) + + def RegisterDataType(*args, **kwargs): + """RegisterDataType(wxString typeName, GridCellRenderer renderer, GridCellEditor editor)""" + return _grid.Grid_RegisterDataType(*args, **kwargs) + + def GetDefaultEditorForCell(*args, **kwargs): + """GetDefaultEditorForCell(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) + + def GetDefaultRendererForCell(*args, **kwargs): + """GetDefaultRendererForCell(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) + + def GetDefaultEditorForType(*args, **kwargs): + """GetDefaultEditorForType(wxString typeName) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) + + def GetDefaultRendererForType(*args, **kwargs): + """GetDefaultRendererForType(wxString typeName) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(int extraWidth, int extraHeight)""" + return _grid.Grid_SetMargins(*args, **kwargs) + + def GetGridWindow(*args, **kwargs): + """GetGridWindow() -> Window""" + return _grid.Grid_GetGridWindow(*args, **kwargs) + + def GetGridRowLabelWindow(*args, **kwargs): + """GetGridRowLabelWindow() -> Window""" + return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) + + def GetGridColLabelWindow(*args, **kwargs): + """GetGridColLabelWindow() -> Window""" + return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) + + def GetGridCornerLabelWindow(*args, **kwargs): + """GetGridCornerLabelWindow() -> Window""" + return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) + class GridPtr(Grid): def __init__(self, this): @@ -850,21 +2007,50 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, + int x=-1, int y=-1, bool sel=True, bool control=False, + bool shift=False, bool alt=False, + bool meta=False) -> GridEvent""" newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEvent_GetCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridEvent_GetPosition(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEvent_GetCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridEvent_GetPosition(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridEvent_AltDown(*args, **kwargs) + class GridEventPtr(GridEvent): def __init__(self, this): @@ -874,19 +2060,41 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, + int x=-1, int y=-1, bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridSizeEvent""" newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRowOrCol(*args, **kwargs): return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridSizeEvent_GetPosition(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridSizeEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridSizeEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridSizeEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRowOrCol(*args, **kwargs): + """GetRowOrCol() -> int""" + return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridSizeEvent_GetPosition(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridSizeEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridSizeEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridSizeEvent_AltDown(*args, **kwargs) + class GridSizeEventPtr(GridSizeEvent): def __init__(self, this): @@ -896,24 +2104,62 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent""" newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetTopLeftCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) - def GetBottomRightCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) - def GetTopRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) - def GetBottomRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) - def GetLeftCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) - def GetRightCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetTopLeftCoords(*args, **kwargs): + """GetTopLeftCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) + + def GetBottomRightCoords(*args, **kwargs): + """GetBottomRightCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) + + def GetTopRow(*args, **kwargs): + """GetTopRow() -> int""" + return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) + + def GetBottomRow(*args, **kwargs): + """GetBottomRow() -> int""" + return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) + + def GetLeftCol(*args, **kwargs): + """GetLeftCol() -> int""" + return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) + + def GetRightCol(*args, **kwargs): + """GetRightCol() -> int""" + return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) + class GridRangeSelectEventPtr(GridRangeSelectEvent): def __init__(self, this): @@ -923,19 +2169,40 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent""" newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int row)""" + return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int col)""" + return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control ctrl)""" + return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) + class GridEditorCreatedEventPtr(GridEditorCreatedEvent): def __init__(self, this): diff --git a/wxPython/src/mac/grid_wrap.cpp b/wxPython/src/mac/grid_wrap.cpp index cb27397076..236c7b4639 100644 --- a/wxPython/src/mac/grid_wrap.cpp +++ b/wxPython/src/mac/grid_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -311,7 +305,7 @@ PyObject* wxPyMake_##TYPE(TYPE* source) { \ /* Otherwise make a new wrapper for it the old fashioned way and \ give it the OOR treatment */ \ if (! target) { \ - target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \ + target = wxPyConstructObject(source, wxT(#TYPE), False); \ if (target) \ source->SetClientObject(new wxPyOORClientData(target)); \ } \ @@ -867,7 +861,7 @@ public: bool EndEdit(int row, int col, wxGrid* grid) { - bool rv = FALSE; + bool rv = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { PyObject* go = wxPyMake_wxObject(grid); @@ -1152,7 +1146,7 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) goto error; *obj = ptr; - return TRUE; + return True; } // otherwise a 2-tuple of integers is expected else if (PySequence_Check(source) && PyObject_Length(source) == 2) { @@ -1166,12 +1160,12 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); Py_DECREF(o1); Py_DECREF(o2); - return TRUE; + return True; } error: PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); - return FALSE; + return False; } @@ -1180,13 +1174,13 @@ bool wxGridCellCoords_typecheck(PyObject* source) { if (wxPySwigInstance_Check(source) && wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) - return true; + return True; PyErr_Clear(); if (PySequence_Check(source) && PySequence_Length(source) == 2) - return true; + return True; - return false; + return False; } @@ -1275,7 +1269,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject * PyObject *resultobj; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1287,7 +1281,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1553,7 +1547,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO PyObject *resultobj; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1565,7 +1559,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1819,8 +1813,6 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar wxString arg1 = (wxString) wxPyDateTimeFormatStr ; wxString arg2 = (wxString) wxPyDateTimeFormatStr ; wxGridCellDateTimeRenderer *result; - wxString *argp1 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1829,12 +1821,20 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { - if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg1 = *argp1; + { + wxString* sptr = wxString_in_helper(obj0); + if (sptr == NULL) SWIG_fail; + arg1 = *sptr; + delete sptr; + } } if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1862,7 +1862,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumRenderer *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "choices", NULL @@ -1873,7 +1873,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2098,7 +2098,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar PyObject *resultobj; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2110,7 +2110,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2186,7 +2186,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxEvtHandler *arg4 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2860,7 +2860,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj PyObject *resultobj; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2872,7 +2872,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3149,7 +3149,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *resultobj; int arg1 = (int) 0 ; wxString *arg2 = (wxString *) NULL ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxGridCellChoiceEditor *result; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3222,7 +3222,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumEditor *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "choices", NULL @@ -3233,7 +3233,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -3661,7 +3661,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3691,7 +3691,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4964,7 +4964,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py int arg2 ; int arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -4976,7 +4976,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5040,7 +5040,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5052,7 +5052,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5083,7 +5083,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5095,7 +5095,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5587,7 +5587,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject * wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5599,7 +5599,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5628,7 +5628,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject * wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5640,7 +5640,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5927,7 +5927,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5939,7 +5939,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5970,7 +5970,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5982,7 +5982,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6309,7 +6309,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6321,7 +6321,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6350,7 +6350,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6362,7 +6362,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7098,7 +7098,7 @@ static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7109,7 +7109,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs wxGrid *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7136,7 +7136,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -7353,7 +7353,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ; bool result; PyObject * obj0 = 0 ; @@ -7413,7 +7413,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7445,7 +7445,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -7478,7 +7478,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7511,7 +7511,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7543,7 +7543,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -7576,7 +7576,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7646,7 +7646,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py int arg5 = (int) wxLEFT ; int arg6 = (int) wxTOP ; int arg7 = (int) wxHORIZONTAL ; - bool temp3 = false ; + bool temp3 = False ; wxRect temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7665,7 +7665,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = &temp4; @@ -7864,7 +7864,7 @@ static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxRect *arg3 = (wxRect *) NULL ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7952,7 +7952,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8396,7 +8396,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject * wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -9442,7 +9442,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9454,7 +9454,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9483,7 +9483,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9495,7 +9495,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9634,7 +9634,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9713,7 +9713,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9792,7 +9792,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10035,7 +10035,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10047,7 +10047,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10074,7 +10074,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10582,7 +10582,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10639,7 +10639,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10696,7 +10696,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10727,7 +10727,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10757,7 +10757,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10787,7 +10787,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11633,7 +11633,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec int arg2 ; int arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -11645,7 +11645,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11701,7 +11701,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -11732,7 +11732,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11763,7 +11763,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11797,7 +11797,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) FALSE ; + bool arg6 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -12316,7 +12316,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO wxString *arg2 = 0 ; wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ; wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12330,7 +12330,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -12419,7 +12419,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellEditor *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12431,7 +12431,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12462,7 +12462,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject * wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12474,7 +12474,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12650,11 +12650,11 @@ static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *k int arg5 = (int) -1 ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; - bool arg11 = (bool) FALSE ; - bool arg12 = (bool) FALSE ; + bool arg8 = (bool) True ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; + bool arg11 = (bool) False ; + bool arg12 = (bool) False ; wxGridEvent *result; PyObject * obj2 = 0 ; PyObject * obj7 = 0 ; @@ -12921,10 +12921,10 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObjec int arg4 = (int) -1 ; int arg5 = (int) -1 ; int arg6 = (int) -1 ; - bool arg7 = (bool) FALSE ; - bool arg8 = (bool) FALSE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; + bool arg7 = (bool) False ; + bool arg8 = (bool) False ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; wxGridSizeEvent *result; PyObject * obj2 = 0 ; PyObject * obj6 = 0 ; @@ -13135,11 +13135,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, wxGrid *arg3 = (wxGrid *) 0 ; wxGridCellCoords *arg4 = 0 ; wxGridCellCoords *arg5 = 0 ; - bool arg6 = (bool) TRUE ; - bool arg7 = (bool) FALSE ; - bool arg8 = (bool) FALSE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; + bool arg6 = (bool) True ; + bool arg7 = (bool) False ; + bool arg8 = (bool) False ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; wxGridRangeSelectEvent *result; wxGridCellCoords temp4 ; wxGridCellCoords temp5 ; diff --git a/wxPython/src/mac/html.py b/wxPython/src/mac/html.py index 03d9cec12f..452dae04c8 100644 --- a/wxPython/src/mac/html.py +++ b/wxPython/src/mac/html.py @@ -38,19 +38,39 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE HTML_URL_IMAGE = _html.HTML_URL_IMAGE HTML_URL_OTHER = _html.HTML_URL_OTHER class HtmlLinkInfo(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString href, wxString target=wxPyEmptyString) -> HtmlLinkInfo""" newobj = _html.new_HtmlLinkInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetHref(*args, **kwargs): return _html.HtmlLinkInfo_GetHref(*args, **kwargs) - def GetTarget(*args, **kwargs): return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) - def GetEvent(*args, **kwargs): return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) - def GetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) - def SetEvent(*args, **kwargs): return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) - def SetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetHref(*args, **kwargs): + """GetHref() -> wxString""" + return _html.HtmlLinkInfo_GetHref(*args, **kwargs) + + def GetTarget(*args, **kwargs): + """GetTarget() -> wxString""" + return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) + + def GetEvent(*args, **kwargs): + """GetEvent() -> MouseEvent""" + return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) + + def GetHtmlCell(*args, **kwargs): + """GetHtmlCell() -> HtmlCell""" + return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) + + def SetEvent(*args, **kwargs): + """SetEvent(MouseEvent e)""" + return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) + + def SetHtmlCell(*args, **kwargs): + """SetHtmlCell(HtmlCell e)""" + return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) + class HtmlLinkInfoPtr(HtmlLinkInfo): def __init__(self, this): @@ -60,17 +80,42 @@ class HtmlLinkInfoPtr(HtmlLinkInfo): _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) class HtmlTag(core.Object): - def GetName(*args, **kwargs): return _html.HtmlTag_GetName(*args, **kwargs) - def HasParam(*args, **kwargs): return _html.HtmlTag_HasParam(*args, **kwargs) - def GetParam(*args, **kwargs): return _html.HtmlTag_GetParam(*args, **kwargs) - def GetAllParams(*args, **kwargs): return _html.HtmlTag_GetAllParams(*args, **kwargs) - def HasEnding(*args, **kwargs): return _html.HtmlTag_HasEnding(*args, **kwargs) - def GetBeginPos(*args, **kwargs): return _html.HtmlTag_GetBeginPos(*args, **kwargs) - def GetEndPos1(*args, **kwargs): return _html.HtmlTag_GetEndPos1(*args, **kwargs) - def GetEndPos2(*args, **kwargs): return _html.HtmlTag_GetEndPos2(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlTag_GetName(*args, **kwargs) + + def HasParam(*args, **kwargs): + """HasParam(wxString par) -> bool""" + return _html.HtmlTag_HasParam(*args, **kwargs) + + def GetParam(*args, **kwargs): + """GetParam(wxString par, int with_commas=False) -> wxString""" + return _html.HtmlTag_GetParam(*args, **kwargs) + + def GetAllParams(*args, **kwargs): + """GetAllParams() -> wxString""" + return _html.HtmlTag_GetAllParams(*args, **kwargs) + + def HasEnding(*args, **kwargs): + """HasEnding() -> bool""" + return _html.HtmlTag_HasEnding(*args, **kwargs) + + def GetBeginPos(*args, **kwargs): + """GetBeginPos() -> int""" + return _html.HtmlTag_GetBeginPos(*args, **kwargs) + + def GetEndPos1(*args, **kwargs): + """GetEndPos1() -> int""" + return _html.HtmlTag_GetEndPos1(*args, **kwargs) + + def GetEndPos2(*args, **kwargs): + """GetEndPos2() -> int""" + return _html.HtmlTag_GetEndPos2(*args, **kwargs) + class HtmlTagPtr(HtmlTag): def __init__(self, this): @@ -80,20 +125,54 @@ class HtmlTagPtr(HtmlTag): _html.HtmlTag_swigregister(HtmlTagPtr) class HtmlParser(core.Object): - def SetFS(*args, **kwargs): return _html.HtmlParser_SetFS(*args, **kwargs) - def GetFS(*args, **kwargs): return _html.HtmlParser_GetFS(*args, **kwargs) - def Parse(*args, **kwargs): return _html.HtmlParser_Parse(*args, **kwargs) - def InitParser(*args, **kwargs): return _html.HtmlParser_InitParser(*args, **kwargs) - def DoneParser(*args, **kwargs): return _html.HtmlParser_DoneParser(*args, **kwargs) - def DoParsing(*args, **kwargs): return _html.HtmlParser_DoParsing(*args, **kwargs) - def StopParsing(*args, **kwargs): return _html.HtmlParser_StopParsing(*args, **kwargs) - def AddTagHandler(*args, **kwargs): return _html.HtmlParser_AddTagHandler(*args, **kwargs) - def GetSource(*args, **kwargs): return _html.HtmlParser_GetSource(*args, **kwargs) - def PushTagHandler(*args, **kwargs): return _html.HtmlParser_PushTagHandler(*args, **kwargs) - def PopTagHandler(*args, **kwargs): return _html.HtmlParser_PopTagHandler(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFS(*args, **kwargs): + """SetFS(FileSystem fs)""" + return _html.HtmlParser_SetFS(*args, **kwargs) + + def GetFS(*args, **kwargs): + """GetFS() -> FileSystem""" + return _html.HtmlParser_GetFS(*args, **kwargs) + + def Parse(*args, **kwargs): + """Parse(wxString source) -> Object""" + return _html.HtmlParser_Parse(*args, **kwargs) + + def InitParser(*args, **kwargs): + """InitParser(wxString source)""" + return _html.HtmlParser_InitParser(*args, **kwargs) + + def DoneParser(*args, **kwargs): + """DoneParser()""" + return _html.HtmlParser_DoneParser(*args, **kwargs) + + def DoParsing(*args, **kwargs): + """DoParsing(int begin_pos, int end_pos)""" + return _html.HtmlParser_DoParsing(*args, **kwargs) + + def StopParsing(*args, **kwargs): + """StopParsing()""" + return _html.HtmlParser_StopParsing(*args, **kwargs) + + def AddTagHandler(*args, **kwargs): + """AddTagHandler(wxHtmlTagHandler handler)""" + return _html.HtmlParser_AddTagHandler(*args, **kwargs) + + def GetSource(*args, **kwargs): + """GetSource() -> wxString""" + return _html.HtmlParser_GetSource(*args, **kwargs) + + def PushTagHandler(*args, **kwargs): + """PushTagHandler(wxHtmlTagHandler handler, wxString tags)""" + return _html.HtmlParser_PushTagHandler(*args, **kwargs) + + def PopTagHandler(*args, **kwargs): + """PopTagHandler()""" + return _html.HtmlParser_PopTagHandler(*args, **kwargs) + class HtmlParserPtr(HtmlParser): def __init__(self, this): @@ -103,42 +182,131 @@ class HtmlParserPtr(HtmlParser): _html.HtmlParser_swigregister(HtmlParserPtr) class HtmlWinParser(HtmlParser): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(HtmlWindow wnd=None) -> HtmlWinParser""" newobj = _html.new_HtmlWinParser(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetDC(*args, **kwargs): return _html.HtmlWinParser_SetDC(*args, **kwargs) - def GetDC(*args, **kwargs): return _html.HtmlWinParser_GetDC(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) - def GetWindow(*args, **kwargs): return _html.HtmlWinParser_GetWindow(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlWinParser_SetFonts(*args, **kwargs) - def GetContainer(*args, **kwargs): return _html.HtmlWinParser_GetContainer(*args, **kwargs) - def OpenContainer(*args, **kwargs): return _html.HtmlWinParser_OpenContainer(*args, **kwargs) - def SetContainer(*args, **kwargs): return _html.HtmlWinParser_SetContainer(*args, **kwargs) - def CloseContainer(*args, **kwargs): return _html.HtmlWinParser_CloseContainer(*args, **kwargs) - def GetFontSize(*args, **kwargs): return _html.HtmlWinParser_GetFontSize(*args, **kwargs) - def SetFontSize(*args, **kwargs): return _html.HtmlWinParser_SetFontSize(*args, **kwargs) - def GetFontBold(*args, **kwargs): return _html.HtmlWinParser_GetFontBold(*args, **kwargs) - def SetFontBold(*args, **kwargs): return _html.HtmlWinParser_SetFontBold(*args, **kwargs) - def GetFontItalic(*args, **kwargs): return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) - def SetFontItalic(*args, **kwargs): return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) - def GetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) - def SetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) - def GetFontFixed(*args, **kwargs): return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) - def SetFontFixed(*args, **kwargs): return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) - def GetAlign(*args, **kwargs): return _html.HtmlWinParser_GetAlign(*args, **kwargs) - def SetAlign(*args, **kwargs): return _html.HtmlWinParser_SetAlign(*args, **kwargs) - def GetLinkColor(*args, **kwargs): return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) - def SetLinkColor(*args, **kwargs): return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) - def GetActualColor(*args, **kwargs): return _html.HtmlWinParser_GetActualColor(*args, **kwargs) - def SetActualColor(*args, **kwargs): return _html.HtmlWinParser_SetActualColor(*args, **kwargs) - def SetLink(*args, **kwargs): return _html.HtmlWinParser_SetLink(*args, **kwargs) - def CreateCurrentFont(*args, **kwargs): return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) - def GetLink(*args, **kwargs): return _html.HtmlWinParser_GetLink(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetDC(*args, **kwargs): + """SetDC(wxDC dc)""" + return _html.HtmlWinParser_SetDC(*args, **kwargs) + + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _html.HtmlWinParser_GetDC(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> HtmlWindow""" + return _html.HtmlWinParser_GetWindow(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlWinParser_SetFonts(*args, **kwargs) + + def GetContainer(*args, **kwargs): + """GetContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_GetContainer(*args, **kwargs) + + def OpenContainer(*args, **kwargs): + """OpenContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_OpenContainer(*args, **kwargs) + + def SetContainer(*args, **kwargs): + """SetContainer(HtmlContainerCell c) -> HtmlContainerCell""" + return _html.HtmlWinParser_SetContainer(*args, **kwargs) + + def CloseContainer(*args, **kwargs): + """CloseContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_CloseContainer(*args, **kwargs) + + def GetFontSize(*args, **kwargs): + """GetFontSize() -> int""" + return _html.HtmlWinParser_GetFontSize(*args, **kwargs) + + def SetFontSize(*args, **kwargs): + """SetFontSize(int s)""" + return _html.HtmlWinParser_SetFontSize(*args, **kwargs) + + def GetFontBold(*args, **kwargs): + """GetFontBold() -> int""" + return _html.HtmlWinParser_GetFontBold(*args, **kwargs) + + def SetFontBold(*args, **kwargs): + """SetFontBold(int x)""" + return _html.HtmlWinParser_SetFontBold(*args, **kwargs) + + def GetFontItalic(*args, **kwargs): + """GetFontItalic() -> int""" + return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) + + def SetFontItalic(*args, **kwargs): + """SetFontItalic(int x)""" + return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) + + def GetFontUnderlined(*args, **kwargs): + """GetFontUnderlined() -> int""" + return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) + + def SetFontUnderlined(*args, **kwargs): + """SetFontUnderlined(int x)""" + return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) + + def GetFontFixed(*args, **kwargs): + """GetFontFixed() -> int""" + return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) + + def SetFontFixed(*args, **kwargs): + """SetFontFixed(int x)""" + return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) + + def GetAlign(*args, **kwargs): + """GetAlign() -> int""" + return _html.HtmlWinParser_GetAlign(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(int a)""" + return _html.HtmlWinParser_SetAlign(*args, **kwargs) + + def GetLinkColor(*args, **kwargs): + """GetLinkColor() -> wxColour""" + return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) + + def SetLinkColor(*args, **kwargs): + """SetLinkColor(wxColour clr)""" + return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) + + def GetActualColor(*args, **kwargs): + """GetActualColor() -> wxColour""" + return _html.HtmlWinParser_GetActualColor(*args, **kwargs) + + def SetActualColor(*args, **kwargs): + """SetActualColor(wxColour clr)""" + return _html.HtmlWinParser_SetActualColor(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(wxString link)""" + return _html.HtmlWinParser_SetLink(*args, **kwargs) + + def CreateCurrentFont(*args, **kwargs): + """CreateCurrentFont() -> wxFont""" + return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink() -> HtmlLinkInfo""" + return _html.HtmlWinParser_GetLink(*args, **kwargs) + class HtmlWinParserPtr(HtmlWinParser): def __init__(self, this): @@ -148,18 +316,33 @@ class HtmlWinParserPtr(HtmlWinParser): _html.HtmlWinParser_swigregister(HtmlWinParserPtr) class HtmlTagHandler(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlTagHandler""" newobj = _html.new_HtmlTagHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlTagHandler) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) - def SetParser(*args, **kwargs): return _html.HtmlTagHandler_SetParser(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlTagHandler_GetParser(*args, **kwargs) - def ParseInner(*args, **kwargs): return _html.HtmlTagHandler_ParseInner(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) + + def SetParser(*args, **kwargs): + """SetParser(HtmlParser parser)""" + return _html.HtmlTagHandler_SetParser(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlParser""" + return _html.HtmlTagHandler_GetParser(*args, **kwargs) + + def ParseInner(*args, **kwargs): + """ParseInner(HtmlTag tag)""" + return _html.HtmlTagHandler_ParseInner(*args, **kwargs) + class HtmlTagHandlerPtr(HtmlTagHandler): def __init__(self, this): @@ -169,18 +352,33 @@ class HtmlTagHandlerPtr(HtmlTagHandler): _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) class HtmlWinTagHandler(HtmlTagHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlWinTagHandler""" newobj = _html.new_HtmlWinTagHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlWinTagHandler) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) - def SetParser(*args, **kwargs): return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) - def ParseInner(*args, **kwargs): return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) + + def SetParser(*args, **kwargs): + """SetParser(HtmlParser parser)""" + return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlWinParser""" + return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) + + def ParseInner(*args, **kwargs): + """ParseInner(HtmlTag tag)""" + return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) + class HtmlWinTagHandlerPtr(HtmlWinTagHandler): def __init__(self, this): @@ -190,33 +388,75 @@ class HtmlWinTagHandlerPtr(HtmlWinTagHandler): _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr) -HtmlWinParser_AddTagHandler = _html.HtmlWinParser_AddTagHandler +def HtmlWinParser_AddTagHandler(*args, **kwargs): + """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)""" + return _html.HtmlWinParser_AddTagHandler(*args, **kwargs) #--------------------------------------------------------------------------- class HtmlSelection(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlSelection""" newobj = _html.new_HtmlSelection(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlSelection): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Set(*args, **kwargs): return _html.HtmlSelection_Set(*args, **kwargs) - def SetCells(*args, **kwargs): return _html.HtmlSelection_SetCells(*args, **kwargs) - def GetFromCell(*args, **kwargs): return _html.HtmlSelection_GetFromCell(*args, **kwargs) - def GetToCell(*args, **kwargs): return _html.HtmlSelection_GetToCell(*args, **kwargs) - def GetFromPos(*args, **kwargs): return _html.HtmlSelection_GetFromPos(*args, **kwargs) - def GetToPos(*args, **kwargs): return _html.HtmlSelection_GetToPos(*args, **kwargs) - def GetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) - def GetToPrivPos(*args, **kwargs): return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) - def SetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) - def SetToPrivPos(*args, **kwargs): return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) - def ClearPrivPos(*args, **kwargs): return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _html.HtmlSelection_IsEmpty(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Set(*args, **kwargs): + """Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)""" + return _html.HtmlSelection_Set(*args, **kwargs) + + def SetCells(*args, **kwargs): + """SetCells(HtmlCell fromCell, HtmlCell toCell)""" + return _html.HtmlSelection_SetCells(*args, **kwargs) + + def GetFromCell(*args, **kwargs): + """GetFromCell() -> HtmlCell""" + return _html.HtmlSelection_GetFromCell(*args, **kwargs) + + def GetToCell(*args, **kwargs): + """GetToCell() -> HtmlCell""" + return _html.HtmlSelection_GetToCell(*args, **kwargs) + + def GetFromPos(*args, **kwargs): + """GetFromPos() -> Point""" + return _html.HtmlSelection_GetFromPos(*args, **kwargs) + + def GetToPos(*args, **kwargs): + """GetToPos() -> Point""" + return _html.HtmlSelection_GetToPos(*args, **kwargs) + + def GetFromPrivPos(*args, **kwargs): + """GetFromPrivPos() -> Point""" + return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) + + def GetToPrivPos(*args, **kwargs): + """GetToPrivPos() -> Point""" + return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) + + def SetFromPrivPos(*args, **kwargs): + """SetFromPrivPos(Point pos)""" + return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) + + def SetToPrivPos(*args, **kwargs): + """SetToPrivPos(Point pos)""" + return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) + + def ClearPrivPos(*args, **kwargs): + """ClearPrivPos()""" + return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _html.HtmlSelection_IsEmpty(*args, **kwargs) + class HtmlSelectionPtr(HtmlSelection): def __init__(self, this): @@ -229,23 +469,45 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT HTML_SEL_IN = _html.HTML_SEL_IN HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING class HtmlRenderingState(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlRenderingState""" newobj = _html.new_HtmlRenderingState(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlRenderingState): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) - def GetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) - def SetFgColour(*args, **kwargs): return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) - def GetFgColour(*args, **kwargs): return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) - def SetBgColour(*args, **kwargs): return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) - def GetBgColour(*args, **kwargs): return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelectionState(*args, **kwargs): + """SetSelectionState(wxHtmlSelectionState s)""" + return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) + + def GetSelectionState(*args, **kwargs): + """GetSelectionState() -> wxHtmlSelectionState""" + return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) + + def SetFgColour(*args, **kwargs): + """SetFgColour(wxColour c)""" + return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) + + def GetFgColour(*args, **kwargs): + """GetFgColour() -> wxColour""" + return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) + + def SetBgColour(*args, **kwargs): + """SetBgColour(wxColour c)""" + return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) + + def GetBgColour(*args, **kwargs): + """GetBgColour() -> wxColour""" + return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) + class HtmlRenderingStatePtr(HtmlRenderingState): def __init__(self, this): @@ -255,11 +517,18 @@ class HtmlRenderingStatePtr(HtmlRenderingState): _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) class HtmlRenderingStyle(object): - def GetSelectedTextColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) - def GetSelectedTextBgColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelectedTextColour(*args, **kwargs): + """GetSelectedTextColour(wxColour clr) -> wxColour""" + return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) + + def GetSelectedTextBgColour(*args, **kwargs): + """GetSelectedTextBgColour(wxColour clr) -> wxColour""" + return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + class HtmlRenderingStylePtr(HtmlRenderingStyle): def __init__(self, this): @@ -269,11 +538,18 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle): _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) class DefaultHtmlRenderingStyle(HtmlRenderingStyle): - def GetSelectedTextColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) - def GetSelectedTextBgColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelectedTextColour(*args, **kwargs): + """GetSelectedTextColour(wxColour clr) -> wxColour""" + return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) + + def GetSelectedTextBgColour(*args, **kwargs): + """GetSelectedTextBgColour(wxColour clr) -> wxColour""" + return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): def __init__(self, this): @@ -283,22 +559,41 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) class HtmlRenderingInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlRenderingInfo""" newobj = _html.new_HtmlRenderingInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlRenderingInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) - def SetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) - def GetState(*args, **kwargs): return _html.HtmlRenderingInfo_GetState(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelection(*args, **kwargs): + """SetSelection(HtmlSelection s)""" + return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> HtmlSelection""" + return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(HtmlRenderingStyle style)""" + return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> HtmlRenderingStyle""" + return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) + + def GetState(*args, **kwargs): + """GetState() -> HtmlRenderingState""" + return _html.HtmlRenderingInfo_GetState(*args, **kwargs) + class HtmlRenderingInfoPtr(HtmlRenderingInfo): def __init__(self, this): @@ -313,43 +608,135 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER class HtmlCell(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlCell""" newobj = _html.new_HtmlCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosX(*args, **kwargs): return _html.HtmlCell_GetPosX(*args, **kwargs) - def GetPosY(*args, **kwargs): return _html.HtmlCell_GetPosY(*args, **kwargs) - def GetWidth(*args, **kwargs): return _html.HtmlCell_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _html.HtmlCell_GetHeight(*args, **kwargs) - def GetDescent(*args, **kwargs): return _html.HtmlCell_GetDescent(*args, **kwargs) - def GetLink(*args, **kwargs): return _html.HtmlCell_GetLink(*args, **kwargs) - def GetNext(*args, **kwargs): return _html.HtmlCell_GetNext(*args, **kwargs) - def GetParent(*args, **kwargs): return _html.HtmlCell_GetParent(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _html.HtmlCell_GetFirstChild(*args, **kwargs) - def GetCursor(*args, **kwargs): return _html.HtmlCell_GetCursor(*args, **kwargs) - def IsFormattingCell(*args, **kwargs): return _html.HtmlCell_IsFormattingCell(*args, **kwargs) - def SetLink(*args, **kwargs): return _html.HtmlCell_SetLink(*args, **kwargs) - def SetNext(*args, **kwargs): return _html.HtmlCell_SetNext(*args, **kwargs) - def SetParent(*args, **kwargs): return _html.HtmlCell_SetParent(*args, **kwargs) - def SetPos(*args, **kwargs): return _html.HtmlCell_SetPos(*args, **kwargs) - def Layout(*args, **kwargs): return _html.HtmlCell_Layout(*args, **kwargs) - def Draw(*args, **kwargs): return _html.HtmlCell_Draw(*args, **kwargs) - def DrawInvisible(*args, **kwargs): return _html.HtmlCell_DrawInvisible(*args, **kwargs) - def Find(*args, **kwargs): return _html.HtmlCell_Find(*args, **kwargs) - def AdjustPagebreak(*args, **kwargs): return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) - def SetCanLiveOnPagebreak(*args, **kwargs): return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) - def IsLinebreakAllowed(*args, **kwargs): return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) - def IsTerminalCell(*args, **kwargs): return _html.HtmlCell_IsTerminalCell(*args, **kwargs) - def FindCellByPos(*args, **kwargs): return _html.HtmlCell_FindCellByPos(*args, **kwargs) - def GetAbsPos(*args, **kwargs): return _html.HtmlCell_GetAbsPos(*args, **kwargs) - def GetFirstTerminal(*args, **kwargs): return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) - def GetLastTerminal(*args, **kwargs): return _html.HtmlCell_GetLastTerminal(*args, **kwargs) - def GetDepth(*args, **kwargs): return _html.HtmlCell_GetDepth(*args, **kwargs) - def IsBefore(*args, **kwargs): return _html.HtmlCell_IsBefore(*args, **kwargs) - def ConvertToText(*args, **kwargs): return _html.HtmlCell_ConvertToText(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosX(*args, **kwargs): + """GetPosX() -> int""" + return _html.HtmlCell_GetPosX(*args, **kwargs) + + def GetPosY(*args, **kwargs): + """GetPosY() -> int""" + return _html.HtmlCell_GetPosY(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _html.HtmlCell_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _html.HtmlCell_GetHeight(*args, **kwargs) + + def GetDescent(*args, **kwargs): + """GetDescent() -> int""" + return _html.HtmlCell_GetDescent(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink(int x=0, int y=0) -> HtmlLinkInfo""" + return _html.HtmlCell_GetLink(*args, **kwargs) + + def GetNext(*args, **kwargs): + """GetNext() -> HtmlCell""" + return _html.HtmlCell_GetNext(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> HtmlContainerCell""" + return _html.HtmlCell_GetParent(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild() -> HtmlCell""" + return _html.HtmlCell_GetFirstChild(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _html.HtmlCell_GetCursor(*args, **kwargs) + + def IsFormattingCell(*args, **kwargs): + """IsFormattingCell() -> bool""" + return _html.HtmlCell_IsFormattingCell(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(HtmlLinkInfo link)""" + return _html.HtmlCell_SetLink(*args, **kwargs) + + def SetNext(*args, **kwargs): + """SetNext(HtmlCell cell)""" + return _html.HtmlCell_SetNext(*args, **kwargs) + + def SetParent(*args, **kwargs): + """SetParent(HtmlContainerCell p)""" + return _html.HtmlCell_SetParent(*args, **kwargs) + + def SetPos(*args, **kwargs): + """SetPos(int x, int y)""" + return _html.HtmlCell_SetPos(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout(int w)""" + return _html.HtmlCell_Layout(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(wxDC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)""" + return _html.HtmlCell_Draw(*args, **kwargs) + + def DrawInvisible(*args, **kwargs): + """DrawInvisible(wxDC dc, int x, int y, HtmlRenderingInfo info)""" + return _html.HtmlCell_DrawInvisible(*args, **kwargs) + + def Find(*args, **kwargs): + """Find(int condition, void param) -> HtmlCell""" + return _html.HtmlCell_Find(*args, **kwargs) + + def AdjustPagebreak(*args, **kwargs): + """AdjustPagebreak(int INOUT) -> bool""" + return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) + + def SetCanLiveOnPagebreak(*args, **kwargs): + """SetCanLiveOnPagebreak(bool can)""" + return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) + + def IsLinebreakAllowed(*args, **kwargs): + """IsLinebreakAllowed() -> bool""" + return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) + + def IsTerminalCell(*args, **kwargs): + """IsTerminalCell() -> bool""" + return _html.HtmlCell_IsTerminalCell(*args, **kwargs) + + def FindCellByPos(*args, **kwargs): + """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell""" + return _html.HtmlCell_FindCellByPos(*args, **kwargs) + + def GetAbsPos(*args, **kwargs): + """GetAbsPos() -> Point""" + return _html.HtmlCell_GetAbsPos(*args, **kwargs) + + def GetFirstTerminal(*args, **kwargs): + """GetFirstTerminal() -> HtmlCell""" + return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) + + def GetLastTerminal(*args, **kwargs): + """GetLastTerminal() -> HtmlCell""" + return _html.HtmlCell_GetLastTerminal(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> unsigned int""" + return _html.HtmlCell_GetDepth(*args, **kwargs) + + def IsBefore(*args, **kwargs): + """IsBefore(HtmlCell cell) -> bool""" + return _html.HtmlCell_IsBefore(*args, **kwargs) + + def ConvertToText(*args, **kwargs): + """ConvertToText(HtmlSelection sel) -> wxString""" + return _html.HtmlCell_ConvertToText(*args, **kwargs) + class HtmlCellPtr(HtmlCell): def __init__(self, this): @@ -359,13 +746,15 @@ class HtmlCellPtr(HtmlCell): _html.HtmlCell_swigregister(HtmlCellPtr) class HtmlWordCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString word, wxDC dc) -> HtmlWordCell""" newobj = _html.new_HtmlWordCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlWordCellPtr(HtmlWordCell): def __init__(self, this): @@ -375,29 +764,79 @@ class HtmlWordCellPtr(HtmlWordCell): _html.HtmlWordCell_swigregister(HtmlWordCellPtr) class HtmlContainerCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(HtmlContainerCell parent) -> HtmlContainerCell""" newobj = _html.new_HtmlContainerCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def InsertCell(*args, **kwargs): return _html.HtmlContainerCell_InsertCell(*args, **kwargs) - def SetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) - def GetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) - def SetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) - def GetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) - def SetIndent(*args, **kwargs): return _html.HtmlContainerCell_SetIndent(*args, **kwargs) - def GetIndent(*args, **kwargs): return _html.HtmlContainerCell_GetIndent(*args, **kwargs) - def GetIndentUnits(*args, **kwargs): return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) - def SetAlign(*args, **kwargs): return _html.HtmlContainerCell_SetAlign(*args, **kwargs) - def SetWidthFloat(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) - def SetWidthFloatFromTag(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) - def SetMinHeight(*args, **kwargs): return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) - def SetBorder(*args, **kwargs): return _html.HtmlContainerCell_SetBorder(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def InsertCell(*args, **kwargs): + """InsertCell(HtmlCell cell)""" + return _html.HtmlContainerCell_InsertCell(*args, **kwargs) + + def SetAlignHor(*args, **kwargs): + """SetAlignHor(int al)""" + return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) + + def GetAlignHor(*args, **kwargs): + """GetAlignHor() -> int""" + return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) + + def SetAlignVer(*args, **kwargs): + """SetAlignVer(int al)""" + return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) + + def GetAlignVer(*args, **kwargs): + """GetAlignVer() -> int""" + return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) + + def SetIndent(*args, **kwargs): + """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)""" + return _html.HtmlContainerCell_SetIndent(*args, **kwargs) + + def GetIndent(*args, **kwargs): + """GetIndent(int ind) -> int""" + return _html.HtmlContainerCell_GetIndent(*args, **kwargs) + + def GetIndentUnits(*args, **kwargs): + """GetIndentUnits(int ind) -> int""" + return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(HtmlTag tag)""" + return _html.HtmlContainerCell_SetAlign(*args, **kwargs) + + def SetWidthFloat(*args, **kwargs): + """SetWidthFloat(int w, int units)""" + return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) + + def SetWidthFloatFromTag(*args, **kwargs): + """SetWidthFloatFromTag(HtmlTag tag)""" + return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) + + def SetMinHeight(*args, **kwargs): + """SetMinHeight(int h, int align=HTML_ALIGN_TOP)""" + return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour clr)""" + return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(wxColour clr1, wxColour clr2)""" + return _html.HtmlContainerCell_SetBorder(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild() -> HtmlCell""" + return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) + class HtmlContainerCellPtr(HtmlContainerCell): def __init__(self, this): @@ -407,13 +846,15 @@ class HtmlContainerCellPtr(HtmlContainerCell): _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) class HtmlColourCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell""" newobj = _html.new_HtmlColourCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlColourCellPtr(HtmlColourCell): def __init__(self, this): @@ -423,13 +864,15 @@ class HtmlColourCellPtr(HtmlColourCell): _html.HtmlColourCell_swigregister(HtmlColourCellPtr) class HtmlFontCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxFont font) -> HtmlFontCell""" newobj = _html.new_HtmlFontCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlFontCellPtr(HtmlFontCell): def __init__(self, this): @@ -439,13 +882,15 @@ class HtmlFontCellPtr(HtmlFontCell): _html.HtmlFontCell_swigregister(HtmlFontCellPtr) class HtmlWidgetCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window wnd, int w=0) -> HtmlWidgetCell""" newobj = _html.new_HtmlWidgetCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlWidgetCellPtr(HtmlWidgetCell): def __init__(self, this): @@ -457,15 +902,21 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) #--------------------------------------------------------------------------- class HtmlFilter(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlFilter""" newobj = _html.new_HtmlFilter(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlFilter) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) + class HtmlFilterPtr(HtmlFilter): def __init__(self, this): @@ -477,45 +928,146 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr) #--------------------------------------------------------------------------- class HtmlWindow(windows.ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_DEFAULT_STYLE, + wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" newobj = _html.new_HtmlWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) - def Create(*args, **kwargs): return _html.HtmlWindow_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) - def SetPage(*args, **kwargs): return _html.HtmlWindow_SetPage(*args, **kwargs) - def LoadPage(*args, **kwargs): return _html.HtmlWindow_LoadPage(*args, **kwargs) - def LoadFile(*args, **kwargs): return _html.HtmlWindow_LoadFile(*args, **kwargs) - def AppendToPage(*args, **kwargs): return _html.HtmlWindow_AppendToPage(*args, **kwargs) - def GetOpenedPage(*args, **kwargs): return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) - def GetOpenedAnchor(*args, **kwargs): return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) - def GetOpenedPageTitle(*args, **kwargs): return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) - def SetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) - def GetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) - def SetRelatedStatusBar(*args, **kwargs): return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlWindow_SetFonts(*args, **kwargs) - def SetTitle(*args, **kwargs): return _html.HtmlWindow_SetTitle(*args, **kwargs) - def SetBorders(*args, **kwargs): return _html.HtmlWindow_SetBorders(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlWindow_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlWindow_WriteCustomization(*args, **kwargs) - def HistoryBack(*args, **kwargs): return _html.HtmlWindow_HistoryBack(*args, **kwargs) - def HistoryForward(*args, **kwargs): return _html.HtmlWindow_HistoryForward(*args, **kwargs) - def HistoryCanBack(*args, **kwargs): return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) - def HistoryCanForward(*args, **kwargs): return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) - def HistoryClear(*args, **kwargs): return _html.HtmlWindow_HistoryClear(*args, **kwargs) - def GetInternalRepresentation(*args, **kwargs): return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlWindow_GetParser(*args, **kwargs) - def ScrollToAnchor(*args, **kwargs): return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) - def HasAnchor(*args, **kwargs): return _html.HtmlWindow_HasAnchor(*args, **kwargs) - AddFilter = staticmethod(_html.HtmlWindow_AddFilter) - def base_OnLinkClicked(*args, **kwargs): return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) - def base_OnSetTitle(*args, **kwargs): return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) - def base_OnCellMouseHover(*args, **kwargs): return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) - def base_OnCellClicked(*args, **kwargs): return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, + wxString name=wxPyHtmlWindowNameStr) -> bool""" + return _html.HtmlWindow_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) + + def SetPage(*args, **kwargs): + """SetPage(wxString source) -> bool""" + return _html.HtmlWindow_SetPage(*args, **kwargs) + + def LoadPage(*args, **kwargs): + """LoadPage(wxString location) -> bool""" + return _html.HtmlWindow_LoadPage(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString filename) -> bool""" + return _html.HtmlWindow_LoadFile(*args, **kwargs) + + def AppendToPage(*args, **kwargs): + """AppendToPage(wxString source) -> bool""" + return _html.HtmlWindow_AppendToPage(*args, **kwargs) + + def GetOpenedPage(*args, **kwargs): + """GetOpenedPage() -> wxString""" + return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) + + def GetOpenedAnchor(*args, **kwargs): + """GetOpenedAnchor() -> wxString""" + return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) + + def GetOpenedPageTitle(*args, **kwargs): + """GetOpenedPageTitle() -> wxString""" + return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) + + def SetRelatedFrame(*args, **kwargs): + """SetRelatedFrame(Frame frame, wxString format)""" + return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) + + def GetRelatedFrame(*args, **kwargs): + """GetRelatedFrame() -> Frame""" + return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) + + def SetRelatedStatusBar(*args, **kwargs): + """SetRelatedStatusBar(int bar)""" + return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlWindow_SetFonts(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _html.HtmlWindow_SetTitle(*args, **kwargs) + + def SetBorders(*args, **kwargs): + """SetBorders(int b)""" + return _html.HtmlWindow_SetBorders(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlWindow_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlWindow_WriteCustomization(*args, **kwargs) + + def HistoryBack(*args, **kwargs): + """HistoryBack() -> bool""" + return _html.HtmlWindow_HistoryBack(*args, **kwargs) + + def HistoryForward(*args, **kwargs): + """HistoryForward() -> bool""" + return _html.HtmlWindow_HistoryForward(*args, **kwargs) + + def HistoryCanBack(*args, **kwargs): + """HistoryCanBack() -> bool""" + return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) + + def HistoryCanForward(*args, **kwargs): + """HistoryCanForward() -> bool""" + return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) + + def HistoryClear(*args, **kwargs): + """HistoryClear()""" + return _html.HtmlWindow_HistoryClear(*args, **kwargs) + + def GetInternalRepresentation(*args, **kwargs): + """GetInternalRepresentation() -> HtmlContainerCell""" + return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlWinParser""" + return _html.HtmlWindow_GetParser(*args, **kwargs) + + def ScrollToAnchor(*args, **kwargs): + """ScrollToAnchor(wxString anchor) -> bool""" + return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) + + def HasAnchor(*args, **kwargs): + """HasAnchor(wxString anchor) -> bool""" + return _html.HtmlWindow_HasAnchor(*args, **kwargs) + + def AddFilter(*args, **kwargs): + """HtmlWindow.AddFilter(HtmlFilter filter)""" + return _html.HtmlWindow_AddFilter(*args, **kwargs) + + AddFilter = staticmethod(AddFilter) + def base_OnLinkClicked(*args, **kwargs): + """base_OnLinkClicked(HtmlLinkInfo link)""" + return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) + + def base_OnSetTitle(*args, **kwargs): + """base_OnSetTitle(wxString title)""" + return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) + + def base_OnCellMouseHover(*args, **kwargs): + """base_OnCellMouseHover(HtmlCell cell, int x, int y)""" + return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) + + def base_OnCellClicked(*args, **kwargs): + """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)""" + return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) + class HtmlWindowPtr(HtmlWindow): def __init__(self, this): @@ -525,32 +1077,58 @@ class HtmlWindowPtr(HtmlWindow): _html.HtmlWindow_swigregister(HtmlWindowPtr) def PreHtmlWindow(*args, **kwargs): + """PreHtmlWindow() -> HtmlWindow""" val = _html.new_PreHtmlWindow(*args, **kwargs) val.thisown = 1 return val -HtmlWindow_AddFilter = _html.HtmlWindow_AddFilter +def HtmlWindow_AddFilter(*args, **kwargs): + """HtmlWindow_AddFilter(HtmlFilter filter)""" + return _html.HtmlWindow_AddFilter(*args, **kwargs) #--------------------------------------------------------------------------- class HtmlDCRenderer(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlDCRenderer""" newobj = _html.new_HtmlDCRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlDCRenderer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetDC(*args, **kwargs): return _html.HtmlDCRenderer_SetDC(*args, **kwargs) - def SetSize(*args, **kwargs): return _html.HtmlDCRenderer_SetSize(*args, **kwargs) - def SetHtmlText(*args, **kwargs): return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) - def Render(*args, **kwargs): return _html.HtmlDCRenderer_Render(*args, **kwargs) - def GetTotalHeight(*args, **kwargs): return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetDC(*args, **kwargs): + """SetDC(wxDC dc, int maxwidth)""" + return _html.HtmlDCRenderer_SetDC(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(int width, int height)""" + return _html.HtmlDCRenderer_SetSize(*args, **kwargs) + + def SetHtmlText(*args, **kwargs): + """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" + return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) + + def Render(*args, **kwargs): + """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, + int choices=None, int LCOUNT=0) -> int""" + return _html.HtmlDCRenderer_Render(*args, **kwargs) + + def GetTotalHeight(*args, **kwargs): + """GetTotalHeight() -> int""" + return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) + class HtmlDCRendererPtr(HtmlDCRenderer): def __init__(self, this): @@ -563,21 +1141,50 @@ PAGE_ODD = _html.PAGE_ODD PAGE_EVEN = _html.PAGE_EVEN PAGE_ALL = _html.PAGE_ALL class HtmlPrintout(windows.Printout): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyHtmlPrintoutTitleStr) -> HtmlPrintout""" newobj = _html.new_HtmlPrintout(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetHtmlText(*args, **kwargs): return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) - def SetHtmlFile(*args, **kwargs): return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) - def SetHeader(*args, **kwargs): return _html.HtmlPrintout_SetHeader(*args, **kwargs) - def SetFooter(*args, **kwargs): return _html.HtmlPrintout_SetFooter(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlPrintout_SetFonts(*args, **kwargs) - def SetMargins(*args, **kwargs): return _html.HtmlPrintout_SetMargins(*args, **kwargs) - AddFilter = staticmethod(_html.HtmlPrintout_AddFilter) - CleanUpStatics = staticmethod(_html.HtmlPrintout_CleanUpStatics) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetHtmlText(*args, **kwargs): + """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" + return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) + + def SetHtmlFile(*args, **kwargs): + """SetHtmlFile(wxString htmlfile)""" + return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) + + def SetHeader(*args, **kwargs): + """SetHeader(wxString header, int pg=PAGE_ALL)""" + return _html.HtmlPrintout_SetHeader(*args, **kwargs) + + def SetFooter(*args, **kwargs): + """SetFooter(wxString footer, int pg=PAGE_ALL)""" + return _html.HtmlPrintout_SetFooter(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlPrintout_SetFonts(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, + float right=25.2, float spaces=5)""" + return _html.HtmlPrintout_SetMargins(*args, **kwargs) + + def AddFilter(*args, **kwargs): + """HtmlPrintout.AddFilter(wxHtmlFilter filter)""" + return _html.HtmlPrintout_AddFilter(*args, **kwargs) + + AddFilter = staticmethod(AddFilter) + def CleanUpStatics(*args, **kwargs): + """HtmlPrintout.CleanUpStatics()""" + return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) + + CleanUpStatics = staticmethod(CleanUpStatics) class HtmlPrintoutPtr(HtmlPrintout): def __init__(self, this): @@ -586,33 +1193,74 @@ class HtmlPrintoutPtr(HtmlPrintout): self.__class__ = HtmlPrintout _html.HtmlPrintout_swigregister(HtmlPrintoutPtr) -HtmlPrintout_AddFilter = _html.HtmlPrintout_AddFilter +def HtmlPrintout_AddFilter(*args, **kwargs): + """HtmlPrintout_AddFilter(wxHtmlFilter filter)""" + return _html.HtmlPrintout_AddFilter(*args, **kwargs) -HtmlPrintout_CleanUpStatics = _html.HtmlPrintout_CleanUpStatics +def HtmlPrintout_CleanUpStatics(*args, **kwargs): + """HtmlPrintout_CleanUpStatics()""" + return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) class HtmlEasyPrinting(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name=wxPyHtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting""" newobj = _html.new_HtmlEasyPrinting(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlEasyPrinting): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def PreviewFile(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) - def PreviewText(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) - def PrintFile(*args, **kwargs): return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) - def PrintText(*args, **kwargs): return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) - def PrinterSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) - def PageSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) - def SetHeader(*args, **kwargs): return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) - def SetFooter(*args, **kwargs): return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) - def GetPageSetupData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def PreviewFile(*args, **kwargs): + """PreviewFile(wxString htmlfile)""" + return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) + + def PreviewText(*args, **kwargs): + """PreviewText(wxString htmltext, wxString basepath=wxPyEmptyString)""" + return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) + + def PrintFile(*args, **kwargs): + """PrintFile(wxString htmlfile)""" + return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) + + def PrintText(*args, **kwargs): + """PrintText(wxString htmltext, wxString basepath=wxPyEmptyString)""" + return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) + + def PrinterSetup(*args, **kwargs): + """PrinterSetup()""" + return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) + + def PageSetup(*args, **kwargs): + """PageSetup()""" + return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) + + def SetHeader(*args, **kwargs): + """SetHeader(wxString header, int pg=PAGE_ALL)""" + return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) + + def SetFooter(*args, **kwargs): + """SetFooter(wxString footer, int pg=PAGE_ALL)""" + return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) + + def GetPageSetupData(*args, **kwargs): + """GetPageSetupData() -> PageSetupDialogData""" + return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) + class HtmlEasyPrintingPtr(HtmlEasyPrinting): def __init__(self, this): @@ -624,24 +1272,60 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) #--------------------------------------------------------------------------- class HtmlBookRecord(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString bookfile, wxString basepath, wxString title, + wxString start) -> HtmlBookRecord""" newobj = _html.new_HtmlBookRecord(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetBookFile(*args, **kwargs): return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) - def GetTitle(*args, **kwargs): return _html.HtmlBookRecord_GetTitle(*args, **kwargs) - def GetStart(*args, **kwargs): return _html.HtmlBookRecord_GetStart(*args, **kwargs) - def GetBasePath(*args, **kwargs): return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) - def SetContentsRange(*args, **kwargs): return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) - def GetContentsStart(*args, **kwargs): return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) - def GetContentsEnd(*args, **kwargs): return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) - def SetTitle(*args, **kwargs): return _html.HtmlBookRecord_SetTitle(*args, **kwargs) - def SetBasePath(*args, **kwargs): return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) - def SetStart(*args, **kwargs): return _html.HtmlBookRecord_SetStart(*args, **kwargs) - def GetFullPath(*args, **kwargs): return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetBookFile(*args, **kwargs): + """GetBookFile() -> wxString""" + return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _html.HtmlBookRecord_GetTitle(*args, **kwargs) + + def GetStart(*args, **kwargs): + """GetStart() -> wxString""" + return _html.HtmlBookRecord_GetStart(*args, **kwargs) + + def GetBasePath(*args, **kwargs): + """GetBasePath() -> wxString""" + return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) + + def SetContentsRange(*args, **kwargs): + """SetContentsRange(int start, int end)""" + return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) + + def GetContentsStart(*args, **kwargs): + """GetContentsStart() -> int""" + return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) + + def GetContentsEnd(*args, **kwargs): + """GetContentsEnd() -> int""" + return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _html.HtmlBookRecord_SetTitle(*args, **kwargs) + + def SetBasePath(*args, **kwargs): + """SetBasePath(wxString path)""" + return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) + + def SetStart(*args, **kwargs): + """SetStart(wxString start)""" + return _html.HtmlBookRecord_SetStart(*args, **kwargs) + + def GetFullPath(*args, **kwargs): + """GetFullPath(wxString page) -> wxString""" + return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) + class HtmlBookRecordPtr(HtmlBookRecord): def __init__(self, this): @@ -651,14 +1335,30 @@ class HtmlBookRecordPtr(HtmlBookRecord): _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) class HtmlContentsItem(object): - def GetLevel(*args, **kwargs): return _html.HtmlContentsItem_GetLevel(*args, **kwargs) - def GetID(*args, **kwargs): return _html.HtmlContentsItem_GetID(*args, **kwargs) - def GetName(*args, **kwargs): return _html.HtmlContentsItem_GetName(*args, **kwargs) - def GetPage(*args, **kwargs): return _html.HtmlContentsItem_GetPage(*args, **kwargs) - def GetBook(*args, **kwargs): return _html.HtmlContentsItem_GetBook(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLevel(*args, **kwargs): + """GetLevel() -> int""" + return _html.HtmlContentsItem_GetLevel(*args, **kwargs) + + def GetID(*args, **kwargs): + """GetID() -> int""" + return _html.HtmlContentsItem_GetID(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlContentsItem_GetName(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage() -> wxString""" + return _html.HtmlContentsItem_GetPage(*args, **kwargs) + + def GetBook(*args, **kwargs): + """GetBook() -> HtmlBookRecord""" + return _html.HtmlContentsItem_GetBook(*args, **kwargs) + class HtmlContentsItemPtr(HtmlContentsItem): def __init__(self, this): @@ -668,15 +1368,34 @@ class HtmlContentsItemPtr(HtmlContentsItem): _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) class HtmlSearchStatus(object): - def Search(*args, **kwargs): return _html.HtmlSearchStatus_Search(*args, **kwargs) - def IsActive(*args, **kwargs): return _html.HtmlSearchStatus_IsActive(*args, **kwargs) - def GetCurIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) - def GetMaxIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) - def GetName(*args, **kwargs): return _html.HtmlSearchStatus_GetName(*args, **kwargs) - def GetContentsItem(*args, **kwargs): return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Search(*args, **kwargs): + """Search() -> bool""" + return _html.HtmlSearchStatus_Search(*args, **kwargs) + + def IsActive(*args, **kwargs): + """IsActive() -> bool""" + return _html.HtmlSearchStatus_IsActive(*args, **kwargs) + + def GetCurIndex(*args, **kwargs): + """GetCurIndex() -> int""" + return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) + + def GetMaxIndex(*args, **kwargs): + """GetMaxIndex() -> int""" + return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlSearchStatus_GetName(*args, **kwargs) + + def GetContentsItem(*args, **kwargs): + """GetContentsItem() -> HtmlContentsItem""" + return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) + class HtmlSearchStatusPtr(HtmlSearchStatus): def __init__(self, this): @@ -686,26 +1405,57 @@ class HtmlSearchStatusPtr(HtmlSearchStatus): _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) class HtmlHelpData(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlHelpData""" newobj = _html.new_HtmlHelpData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlHelpData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTempDir(*args, **kwargs): return _html.HtmlHelpData_SetTempDir(*args, **kwargs) - def AddBook(*args, **kwargs): return _html.HtmlHelpData_AddBook(*args, **kwargs) - def FindPageByName(*args, **kwargs): return _html.HtmlHelpData_FindPageByName(*args, **kwargs) - def FindPageById(*args, **kwargs): return _html.HtmlHelpData_FindPageById(*args, **kwargs) - def GetBookRecArray(*args, **kwargs): return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) - def GetContents(*args, **kwargs): return _html.HtmlHelpData_GetContents(*args, **kwargs) - def GetContentsCnt(*args, **kwargs): return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) - def GetIndex(*args, **kwargs): return _html.HtmlHelpData_GetIndex(*args, **kwargs) - def GetIndexCnt(*args, **kwargs): return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTempDir(*args, **kwargs): + """SetTempDir(wxString path)""" + return _html.HtmlHelpData_SetTempDir(*args, **kwargs) + + def AddBook(*args, **kwargs): + """AddBook(wxString book) -> bool""" + return _html.HtmlHelpData_AddBook(*args, **kwargs) + + def FindPageByName(*args, **kwargs): + """FindPageByName(wxString page) -> wxString""" + return _html.HtmlHelpData_FindPageByName(*args, **kwargs) + + def FindPageById(*args, **kwargs): + """FindPageById(int id) -> wxString""" + return _html.HtmlHelpData_FindPageById(*args, **kwargs) + + def GetBookRecArray(*args, **kwargs): + """GetBookRecArray() -> wxHtmlBookRecArray""" + return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) + + def GetContents(*args, **kwargs): + """GetContents() -> HtmlContentsItem""" + return _html.HtmlHelpData_GetContents(*args, **kwargs) + + def GetContentsCnt(*args, **kwargs): + """GetContentsCnt() -> int""" + return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) + + def GetIndex(*args, **kwargs): + """GetIndex() -> HtmlContentsItem""" + return _html.HtmlHelpData_GetIndex(*args, **kwargs) + + def GetIndexCnt(*args, **kwargs): + """GetIndexCnt() -> int""" + return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) + class HtmlHelpDataPtr(HtmlHelpData): def __init__(self, this): @@ -715,24 +1465,58 @@ class HtmlHelpDataPtr(HtmlHelpData): _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) class HtmlHelpFrame(windows.Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int ??, wxString title=wxPyEmptyString, + int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" newobj = _html.new_HtmlHelpFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetData(*args, **kwargs): return _html.HtmlHelpFrame_GetData(*args, **kwargs) - def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) - def Display(*args, **kwargs): return _html.HtmlHelpFrame_Display(*args, **kwargs) - def DisplayID(*args, **kwargs): return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) - def DisplayContents(*args, **kwargs): return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) - def DisplayIndex(*args, **kwargs): return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) - def KeywordSearch(*args, **kwargs): return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) - def UseConfig(*args, **kwargs): return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetData(*args, **kwargs): + """GetData() -> HtmlHelpData""" + return _html.HtmlHelpFrame_GetData(*args, **kwargs) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(wxString format)""" + return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) + + def Display(*args, **kwargs): + """Display(wxString x)""" + return _html.HtmlHelpFrame_Display(*args, **kwargs) + + def DisplayID(*args, **kwargs): + """DisplayID(int id)""" + return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) + + def DisplayContents(*args, **kwargs): + """DisplayContents()""" + return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) + + def DisplayIndex(*args, **kwargs): + """DisplayIndex()""" + return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) + + def KeywordSearch(*args, **kwargs): + """KeywordSearch(wxString keyword) -> bool""" + return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) + + def UseConfig(*args, **kwargs): + """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" + return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) + class HtmlHelpFramePtr(HtmlHelpFrame): def __init__(self, this): @@ -751,30 +1535,71 @@ HF_OPENFILES = _html.HF_OPENFILES HF_PRINT = _html.HF_PRINT HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE class HtmlHelpController(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController""" newobj = _html.new_HtmlHelpController(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + def __del__(self, destroy=_html.delete_HtmlHelpController): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) - def SetTempDir(*args, **kwargs): return _html.HtmlHelpController_SetTempDir(*args, **kwargs) - def AddBook(*args, **kwargs): return _html.HtmlHelpController_AddBook(*args, **kwargs) - def Display(*args, **kwargs): return _html.HtmlHelpController_Display(*args, **kwargs) - def DisplayID(*args, **kwargs): return _html.HtmlHelpController_DisplayID(*args, **kwargs) - def DisplayContents(*args, **kwargs): return _html.HtmlHelpController_DisplayContents(*args, **kwargs) - def DisplayIndex(*args, **kwargs): return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) - def KeywordSearch(*args, **kwargs): return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) - def UseConfig(*args, **kwargs): return _html.HtmlHelpController_UseConfig(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) - def GetFrame(*args, **kwargs): return _html.HtmlHelpController_GetFrame(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(wxString format)""" + return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) + + def SetTempDir(*args, **kwargs): + """SetTempDir(wxString path)""" + return _html.HtmlHelpController_SetTempDir(*args, **kwargs) + + def AddBook(*args, **kwargs): + """AddBook(wxString book, int show_wait_msg=False) -> bool""" + return _html.HtmlHelpController_AddBook(*args, **kwargs) + + def Display(*args, **kwargs): + """Display(wxString x)""" + return _html.HtmlHelpController_Display(*args, **kwargs) + + def DisplayID(*args, **kwargs): + """DisplayID(int id)""" + return _html.HtmlHelpController_DisplayID(*args, **kwargs) + + def DisplayContents(*args, **kwargs): + """DisplayContents()""" + return _html.HtmlHelpController_DisplayContents(*args, **kwargs) + + def DisplayIndex(*args, **kwargs): + """DisplayIndex()""" + return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) + + def KeywordSearch(*args, **kwargs): + """KeywordSearch(wxString keyword) -> bool""" + return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) + + def UseConfig(*args, **kwargs): + """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" + return _html.HtmlHelpController_UseConfig(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> HtmlHelpFrame""" + return _html.HtmlHelpController_GetFrame(*args, **kwargs) + class HtmlHelpControllerPtr(HtmlHelpController): def __init__(self, this): diff --git a/wxPython/src/mac/html_wrap.cpp b/wxPython/src/mac/html_wrap.cpp index a085aa454b..5f34bfcbfc 100644 --- a/wxPython/src/mac/html_wrap.cpp +++ b/wxPython/src/mac/html_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -441,9 +435,9 @@ class wxPyHtmlFilter : public wxHtmlFilter { public: wxPyHtmlFilter() : wxHtmlFilter() {} - // returns TRUE if this filter is able to open&read given file + // returns True if this filter is able to open&read given file virtual bool CanRead(const wxFSFile& file) const { - bool rval = FALSE; + bool rval = False; bool found; wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { @@ -614,8 +608,8 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxHtmlLinkInfo *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -626,13 +620,13 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -876,7 +870,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -888,7 +882,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -916,9 +910,9 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -930,7 +924,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1157,7 +1151,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; wxObject *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1169,7 +1163,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1199,7 +1193,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1211,7 +1205,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1372,7 +1366,6 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; wxString arg3 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1383,8 +1376,12 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PushTagHandler(arg2,arg3); @@ -1594,8 +1591,6 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, Py wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1606,10 +1601,18 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -2154,7 +2157,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2166,7 +2169,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4187,8 +4190,8 @@ static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, P static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4395,7 +4398,7 @@ static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject wxString *arg1 = 0 ; wxDC *arg2 = 0 ; wxHtmlWordCell *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4406,7 +4409,7 @@ static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -5087,7 +5090,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject * wxPyHtmlWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5114,7 +5117,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -5180,7 +5183,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5209,7 +5212,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -5269,7 +5272,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObje wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5281,7 +5284,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5310,7 +5313,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObj wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5322,7 +5325,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5351,7 +5354,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObj wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5363,7 +5366,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5392,7 +5395,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, P wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5404,7 +5407,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5526,7 +5529,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5540,7 +5543,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5622,8 +5625,6 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObj wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5634,10 +5635,18 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -5659,7 +5668,7 @@ static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5671,7 +5680,7 @@ static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5725,7 +5734,6 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *ar wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5737,8 +5745,12 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *ar if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5759,7 +5771,6 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *a wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5771,8 +5782,12 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *a if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5967,7 +5982,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5979,7 +5994,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6008,7 +6023,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyOb wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6020,7 +6035,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6102,7 +6117,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6114,7 +6129,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6142,8 +6157,8 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6171,8 +6186,8 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *a PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; wxMouseEvent *arg5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -6315,9 +6330,9 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; - bool temp2 = false ; - bool temp3 = false ; + bool arg4 = (bool) True ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6331,13 +6346,13 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6380,8 +6395,6 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, P wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6392,10 +6405,18 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -6419,7 +6440,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyO int arg2 ; int arg3 ; int arg4 = (int) 0 ; - int arg5 = (int) FALSE ; + int arg5 = (int) False ; int arg6 = (int) INT_MAX ; int *arg7 = (int *) NULL ; int arg8 = (int) 0 ; @@ -6486,7 +6507,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxHtmlPrintout *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title", NULL @@ -6497,7 +6518,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -6528,9 +6549,9 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; - bool temp2 = false ; - bool temp3 = false ; + bool arg4 = (bool) True ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6544,13 +6565,13 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6591,7 +6612,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *resultobj; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6603,7 +6624,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6632,7 +6653,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, Py wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6644,7 +6665,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6673,7 +6694,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, Py wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6685,7 +6706,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6715,8 +6736,6 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyO wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6727,10 +6746,18 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -6835,7 +6862,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyOb wxString *arg1 = (wxString *) &arg1_defvalue ; wxWindow *arg2 = (wxWindow *) NULL ; wxHtmlEasyPrinting *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6847,7 +6874,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { @@ -6903,7 +6930,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *ar PyObject *resultobj; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6915,7 +6942,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6945,8 +6972,8 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *ar wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6959,13 +6986,13 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -7002,7 +7029,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7014,7 +7041,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7044,8 +7071,8 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7058,13 +7085,13 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -7150,7 +7177,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7162,7 +7189,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7191,7 +7218,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7203,7 +7230,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7233,8 +7260,6 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7245,10 +7270,18 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -7330,10 +7363,10 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObje wxString *arg3 = 0 ; wxString *arg4 = 0 ; wxHtmlBookRecord *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7346,22 +7379,22 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7613,7 +7646,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7625,7 +7658,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7653,7 +7686,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7665,7 +7698,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7693,7 +7726,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7705,7 +7738,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7734,7 +7767,7 @@ static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7746,7 +7779,7 @@ static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8137,7 +8170,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8149,7 +8182,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8178,7 +8211,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyOb wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8190,7 +8223,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8219,7 +8252,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *arg wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8231,7 +8264,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8437,12 +8470,12 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObjec int arg4 = (int) wxHF_DEFAULTSTYLE ; wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; wxHtmlHelpFrame *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj4 = 0 ; char *kwnames[] = { - (char *) "parent",(char *) "wxWindowID",(char *) "title",(char *) "style",(char *) "data", NULL + (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; @@ -8451,7 +8484,7 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -8508,7 +8541,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *ar PyObject *resultobj; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8520,7 +8553,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8548,7 +8581,7 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8560,7 +8593,7 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8662,7 +8695,7 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *arg wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8674,7 +8707,7 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8704,7 +8737,7 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, P wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8719,7 +8752,7 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -8749,7 +8782,6 @@ static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8761,8 +8793,12 @@ static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8783,7 +8819,6 @@ static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8795,8 +8830,12 @@ static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8870,7 +8909,7 @@ static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObjec PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8882,7 +8921,7 @@ static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8910,7 +8949,7 @@ static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *a PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8922,7 +8961,7 @@ static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8950,9 +8989,9 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8964,7 +9003,7 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8992,7 +9031,7 @@ static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9004,7 +9043,7 @@ static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9106,7 +9145,7 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9118,7 +9157,7 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9148,7 +9187,7 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *ar wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9163,7 +9202,7 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -9193,7 +9232,6 @@ static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyOb wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9205,8 +9243,12 @@ static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyOb if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9227,7 +9269,6 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyO wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9239,8 +9280,12 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyO if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); diff --git a/wxPython/src/mac/misc.py b/wxPython/src/mac/misc.py index 3ce4127549..c12e24daab 100644 --- a/wxPython/src/mac/misc.py +++ b/wxPython/src/mac/misc.py @@ -99,15 +99,40 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - GetColour = staticmethod(_misc.SystemSettings_GetColour) - GetFont = staticmethod(_misc.SystemSettings_GetFont) - GetMetric = staticmethod(_misc.SystemSettings_GetMetric) - HasFeature = staticmethod(_misc.SystemSettings_HasFeature) - GetScreenType = staticmethod(_misc.SystemSettings_GetScreenType) - SetScreenType = staticmethod(_misc.SystemSettings_SetScreenType) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetColour(*args, **kwargs): + """SystemSettings.GetColour(wxSystemColour index) -> wxColour""" + return _misc.SystemSettings_GetColour(*args, **kwargs) + + GetColour = staticmethod(GetColour) + def GetFont(*args, **kwargs): + """SystemSettings.GetFont(wxSystemFont index) -> wxFont""" + return _misc.SystemSettings_GetFont(*args, **kwargs) + + GetFont = staticmethod(GetFont) + def GetMetric(*args, **kwargs): + """SystemSettings.GetMetric(wxSystemMetric index) -> int""" + return _misc.SystemSettings_GetMetric(*args, **kwargs) + + GetMetric = staticmethod(GetMetric) + def HasFeature(*args, **kwargs): + """SystemSettings.HasFeature(wxSystemFeature index) -> bool""" + return _misc.SystemSettings_HasFeature(*args, **kwargs) + + HasFeature = staticmethod(HasFeature) + def GetScreenType(*args, **kwargs): + """SystemSettings.GetScreenType() -> wxSystemScreenType""" + return _misc.SystemSettings_GetScreenType(*args, **kwargs) + + GetScreenType = staticmethod(GetScreenType) + def SetScreenType(*args, **kwargs): + """SystemSettings.SetScreenType(wxSystemScreenType screen)""" + return _misc.SystemSettings_SetScreenType(*args, **kwargs) + + SetScreenType = staticmethod(SetScreenType) class SystemSettingsPtr(SystemSettings): def __init__(self, this): @@ -116,31 +141,65 @@ class SystemSettingsPtr(SystemSettings): self.__class__ = SystemSettings _misc.SystemSettings_swigregister(SystemSettingsPtr) -SystemSettings_GetColour = _misc.SystemSettings_GetColour +def SystemSettings_GetColour(*args, **kwargs): + """SystemSettings_GetColour(wxSystemColour index) -> wxColour""" + return _misc.SystemSettings_GetColour(*args, **kwargs) -SystemSettings_GetFont = _misc.SystemSettings_GetFont +def SystemSettings_GetFont(*args, **kwargs): + """SystemSettings_GetFont(wxSystemFont index) -> wxFont""" + return _misc.SystemSettings_GetFont(*args, **kwargs) -SystemSettings_GetMetric = _misc.SystemSettings_GetMetric +def SystemSettings_GetMetric(*args, **kwargs): + """SystemSettings_GetMetric(wxSystemMetric index) -> int""" + return _misc.SystemSettings_GetMetric(*args, **kwargs) -SystemSettings_HasFeature = _misc.SystemSettings_HasFeature +def SystemSettings_HasFeature(*args, **kwargs): + """SystemSettings_HasFeature(wxSystemFeature index) -> bool""" + return _misc.SystemSettings_HasFeature(*args, **kwargs) -SystemSettings_GetScreenType = _misc.SystemSettings_GetScreenType +def SystemSettings_GetScreenType(*args, **kwargs): + """SystemSettings_GetScreenType() -> wxSystemScreenType""" + return _misc.SystemSettings_GetScreenType(*args, **kwargs) -SystemSettings_SetScreenType = _misc.SystemSettings_SetScreenType +def SystemSettings_SetScreenType(*args, **kwargs): + """SystemSettings_SetScreenType(wxSystemScreenType screen)""" + return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SystemOptions""" newobj = _misc.new_SystemOptions(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - SetOption = staticmethod(_misc.SystemOptions_SetOption) - SetOptionInt = staticmethod(_misc.SystemOptions_SetOptionInt) - GetOption = staticmethod(_misc.SystemOptions_GetOption) - GetOptionInt = staticmethod(_misc.SystemOptions_GetOptionInt) - HasOption = staticmethod(_misc.SystemOptions_HasOption) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetOption(*args, **kwargs): + """SystemOptions.SetOption(wxString name, wxString value)""" + return _misc.SystemOptions_SetOption(*args, **kwargs) + + SetOption = staticmethod(SetOption) + def SetOptionInt(*args, **kwargs): + """SystemOptions.SetOptionInt(wxString name, int value)""" + return _misc.SystemOptions_SetOptionInt(*args, **kwargs) + + SetOptionInt = staticmethod(SetOptionInt) + def GetOption(*args, **kwargs): + """SystemOptions.GetOption(wxString name) -> wxString""" + return _misc.SystemOptions_GetOption(*args, **kwargs) + + GetOption = staticmethod(GetOption) + def GetOptionInt(*args, **kwargs): + """SystemOptions.GetOptionInt(wxString name) -> int""" + return _misc.SystemOptions_GetOptionInt(*args, **kwargs) + + GetOptionInt = staticmethod(GetOptionInt) + def HasOption(*args, **kwargs): + """SystemOptions.HasOption(wxString name) -> bool""" + return _misc.SystemOptions_HasOption(*args, **kwargs) + + HasOption = staticmethod(HasOption) class SystemOptionsPtr(SystemOptions): def __init__(self, this): @@ -149,144 +208,292 @@ class SystemOptionsPtr(SystemOptions): self.__class__ = SystemOptions _misc.SystemOptions_swigregister(SystemOptionsPtr) -SystemOptions_SetOption = _misc.SystemOptions_SetOption +def SystemOptions_SetOption(*args, **kwargs): + """SystemOptions_SetOption(wxString name, wxString value)""" + return _misc.SystemOptions_SetOption(*args, **kwargs) -SystemOptions_SetOptionInt = _misc.SystemOptions_SetOptionInt +def SystemOptions_SetOptionInt(*args, **kwargs): + """SystemOptions_SetOptionInt(wxString name, int value)""" + return _misc.SystemOptions_SetOptionInt(*args, **kwargs) -SystemOptions_GetOption = _misc.SystemOptions_GetOption +def SystemOptions_GetOption(*args, **kwargs): + """SystemOptions_GetOption(wxString name) -> wxString""" + return _misc.SystemOptions_GetOption(*args, **kwargs) -SystemOptions_GetOptionInt = _misc.SystemOptions_GetOptionInt +def SystemOptions_GetOptionInt(*args, **kwargs): + """SystemOptions_GetOptionInt(wxString name) -> int""" + return _misc.SystemOptions_GetOptionInt(*args, **kwargs) -SystemOptions_HasOption = _misc.SystemOptions_HasOption +def SystemOptions_HasOption(*args, **kwargs): + """SystemOptions_HasOption(wxString name) -> bool""" + return _misc.SystemOptions_HasOption(*args, **kwargs) #--------------------------------------------------------------------------- -NewId = _misc.NewId +def NewId(*args, **kwargs): + """NewId() -> long""" + return _misc.NewId(*args, **kwargs) -RegisterId = _misc.RegisterId +def RegisterId(*args, **kwargs): + """RegisterId(long id)""" + return _misc.RegisterId(*args, **kwargs) -GetCurrentId = _misc.GetCurrentId +def GetCurrentId(*args, **kwargs): + """GetCurrentId() -> long""" + return _misc.GetCurrentId(*args, **kwargs) -Bell = _misc.Bell +def Bell(*args, **kwargs): + """Bell()""" + return _misc.Bell(*args, **kwargs) -EndBusyCursor = _misc.EndBusyCursor +def EndBusyCursor(*args, **kwargs): + """EndBusyCursor()""" + return _misc.EndBusyCursor(*args, **kwargs) -GetElapsedTime = _misc.GetElapsedTime +def GetElapsedTime(*args, **kwargs): + """GetElapsedTime(bool resetTimer=True) -> long""" + return _misc.GetElapsedTime(*args, **kwargs) -GetMousePosition = _misc.GetMousePosition +def GetMousePosition(*args, **kwargs): + """GetMousePosition(int OUTPUT, int OUTPUT)""" + return _misc.GetMousePosition(*args, **kwargs) -IsBusy = _misc.IsBusy +def IsBusy(*args, **kwargs): + """IsBusy() -> bool""" + return _misc.IsBusy(*args, **kwargs) -Now = _misc.Now +def Now(*args, **kwargs): + """Now() -> wxString""" + return _misc.Now(*args, **kwargs) -Shell = _misc.Shell +def Shell(*args, **kwargs): + """Shell(wxString command=wxPyEmptyString) -> bool""" + return _misc.Shell(*args, **kwargs) -StartTimer = _misc.StartTimer +def StartTimer(*args, **kwargs): + """StartTimer()""" + return _misc.StartTimer(*args, **kwargs) -GetOsVersion = _misc.GetOsVersion +def GetOsVersion(*args, **kwargs): + """GetOsVersion(int OUTPUT, int OUTPUT) -> int""" + return _misc.GetOsVersion(*args, **kwargs) -GetOsDescription = _misc.GetOsDescription +def GetOsDescription(*args, **kwargs): + """GetOsDescription() -> wxString""" + return _misc.GetOsDescription(*args, **kwargs) -GetFreeMemory = _misc.GetFreeMemory +def GetFreeMemory(*args, **kwargs): + """GetFreeMemory() -> long""" + return _misc.GetFreeMemory(*args, **kwargs) SHUTDOWN_POWEROFF = _misc.SHUTDOWN_POWEROFF SHUTDOWN_REBOOT = _misc.SHUTDOWN_REBOOT -Shutdown = _misc.Shutdown - -Sleep = _misc.Sleep - -Usleep = _misc.Usleep - -EnableTopLevelWindows = _misc.EnableTopLevelWindows - -StripMenuCodes = _misc.StripMenuCodes - -GetEmailAddress = _misc.GetEmailAddress - -GetHostName = _misc.GetHostName - -GetFullHostName = _misc.GetFullHostName - -GetUserId = _misc.GetUserId - -GetUserName = _misc.GetUserName - -GetHomeDir = _misc.GetHomeDir - -GetUserHome = _misc.GetUserHome - -GetProcessId = _misc.GetProcessId - -Trap = _misc.Trap - -FileSelector = _misc.FileSelector - -LoadFileSelector = _misc.LoadFileSelector - -SaveFileSelector = _misc.SaveFileSelector - -DirSelector = _misc.DirSelector - -GetTextFromUser = _misc.GetTextFromUser - -GetPasswordFromUser = _misc.GetPasswordFromUser - -GetSingleChoice = _misc.GetSingleChoice - -GetSingleChoiceIndex = _misc.GetSingleChoiceIndex - -MessageBox = _misc.MessageBox - -GetNumberFromUser = _misc.GetNumberFromUser - -ColourDisplay = _misc.ColourDisplay - -DisplayDepth = _misc.DisplayDepth - -GetDisplayDepth = _misc.GetDisplayDepth - -DisplaySize = _misc.DisplaySize - -GetDisplaySize = _misc.GetDisplaySize - -DisplaySizeMM = _misc.DisplaySizeMM - -GetDisplaySizeMM = _misc.GetDisplaySizeMM - -ClientDisplayRect = _misc.ClientDisplayRect - -GetClientDisplayRect = _misc.GetClientDisplayRect - -SetCursor = _misc.SetCursor - -BeginBusyCursor = _misc.BeginBusyCursor - -GetActiveWindow = _misc.GetActiveWindow - -GenericFindWindowAtPoint = _misc.GenericFindWindowAtPoint - -FindWindowAtPoint = _misc.FindWindowAtPoint - -GetTopLevelParent = _misc.GetTopLevelParent - -WakeUpMainThread = _misc.WakeUpMainThread - -MutexGuiEnter = _misc.MutexGuiEnter - -MutexGuiLeave = _misc.MutexGuiLeave +def Shutdown(*args, **kwargs): + """Shutdown(wxShutdownFlags wFlags) -> bool""" + return _misc.Shutdown(*args, **kwargs) + +def Sleep(*args, **kwargs): + """Sleep(int secs)""" + return _misc.Sleep(*args, **kwargs) + +def Usleep(*args, **kwargs): + """Usleep(unsigned long milliseconds)""" + return _misc.Usleep(*args, **kwargs) + +def EnableTopLevelWindows(*args, **kwargs): + """EnableTopLevelWindows(bool enable)""" + return _misc.EnableTopLevelWindows(*args, **kwargs) + +def StripMenuCodes(*args, **kwargs): + """StripMenuCodes(wxString in) -> wxString""" + return _misc.StripMenuCodes(*args, **kwargs) + +def GetEmailAddress(*args, **kwargs): + """GetEmailAddress() -> wxString""" + return _misc.GetEmailAddress(*args, **kwargs) + +def GetHostName(*args, **kwargs): + """GetHostName() -> wxString""" + return _misc.GetHostName(*args, **kwargs) + +def GetFullHostName(*args, **kwargs): + """GetFullHostName() -> wxString""" + return _misc.GetFullHostName(*args, **kwargs) + +def GetUserId(*args, **kwargs): + """GetUserId() -> wxString""" + return _misc.GetUserId(*args, **kwargs) + +def GetUserName(*args, **kwargs): + """GetUserName() -> wxString""" + return _misc.GetUserName(*args, **kwargs) + +def GetHomeDir(*args, **kwargs): + """GetHomeDir() -> wxString""" + return _misc.GetHomeDir(*args, **kwargs) + +def GetUserHome(*args, **kwargs): + """GetUserHome(wxString user=wxPyEmptyString) -> wxString""" + return _misc.GetUserHome(*args, **kwargs) + +def GetProcessId(*args, **kwargs): + """GetProcessId() -> unsigned long""" + return _misc.GetProcessId(*args, **kwargs) + +def Trap(*args, **kwargs): + """Trap()""" + return _misc.Trap(*args, **kwargs) + +def FileSelector(*args, **kwargs): + """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, + wxString default_filename=wxPyEmptyString, + wxString default_extension=wxPyEmptyString, + wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + int flags=0, + Window parent=None, int x=-1, int y=-1) -> wxString""" + return _misc.FileSelector(*args, **kwargs) + +def LoadFileSelector(*args, **kwargs): + """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString""" + return _misc.LoadFileSelector(*args, **kwargs) + +def SaveFileSelector(*args, **kwargs): + """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString""" + return _misc.SaveFileSelector(*args, **kwargs) + +def DirSelector(*args, **kwargs): + """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> wxString""" + return _misc.DirSelector(*args, **kwargs) + +def GetTextFromUser(*args, **kwargs): + """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None, + int x=-1, int y=-1, bool centre=True) -> wxString""" + return _misc.GetTextFromUser(*args, **kwargs) + +def GetPasswordFromUser(*args, **kwargs): + """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + return _misc.GetPasswordFromUser(*args, **kwargs) + +def GetSingleChoice(*args, **kwargs): + """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> wxString""" + return _misc.GetSingleChoice(*args, **kwargs) + +def GetSingleChoiceIndex(*args, **kwargs): + """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> int""" + return _misc.GetSingleChoiceIndex(*args, **kwargs) + +def MessageBox(*args, **kwargs): + """MessageBox(wxString message, wxString caption=wxPyEmptyString, + int style=wxOK|wxCENTRE, Window parent=None, + int x=-1, int y=-1) -> int""" + return _misc.MessageBox(*args, **kwargs) + +def GetNumberFromUser(*args, **kwargs): + """GetNumberFromUser(wxString message, wxString prompt, wxString caption, + long value, long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long""" + return _misc.GetNumberFromUser(*args, **kwargs) + +def ColourDisplay(*args, **kwargs): + """ColourDisplay() -> bool""" + return _misc.ColourDisplay(*args, **kwargs) + +def DisplayDepth(*args, **kwargs): + """DisplayDepth() -> int""" + return _misc.DisplayDepth(*args, **kwargs) + +def GetDisplayDepth(*args, **kwargs): + """GetDisplayDepth() -> int""" + return _misc.GetDisplayDepth(*args, **kwargs) + +def DisplaySize(*args, **kwargs): + """DisplaySize(int OUTPUT, int OUTPUT)""" + return _misc.DisplaySize(*args, **kwargs) + +def GetDisplaySize(*args, **kwargs): + """GetDisplaySize() -> Size""" + return _misc.GetDisplaySize(*args, **kwargs) + +def DisplaySizeMM(*args, **kwargs): + """DisplaySizeMM(int OUTPUT, int OUTPUT)""" + return _misc.DisplaySizeMM(*args, **kwargs) + +def GetDisplaySizeMM(*args, **kwargs): + """GetDisplaySizeMM() -> Size""" + return _misc.GetDisplaySizeMM(*args, **kwargs) + +def ClientDisplayRect(*args, **kwargs): + """ClientDisplayRect(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _misc.ClientDisplayRect(*args, **kwargs) + +def GetClientDisplayRect(*args, **kwargs): + """GetClientDisplayRect() -> Rect""" + return _misc.GetClientDisplayRect(*args, **kwargs) + +def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor)""" + return _misc.SetCursor(*args, **kwargs) + +def BeginBusyCursor(*args, **kwargs): + """BeginBusyCursor(wxCursor cursor=wxHOURGLASS_CURSOR)""" + return _misc.BeginBusyCursor(*args, **kwargs) + +def GetActiveWindow(*args, **kwargs): + """GetActiveWindow() -> Window""" + return _misc.GetActiveWindow(*args, **kwargs) + +def GenericFindWindowAtPoint(*args, **kwargs): + """GenericFindWindowAtPoint(Point pt) -> Window""" + return _misc.GenericFindWindowAtPoint(*args, **kwargs) + +def FindWindowAtPoint(*args, **kwargs): + """FindWindowAtPoint(Point pt) -> Window""" + return _misc.FindWindowAtPoint(*args, **kwargs) + +def GetTopLevelParent(*args, **kwargs): + """GetTopLevelParent(Window win) -> Window""" + return _misc.GetTopLevelParent(*args, **kwargs) + +def WakeUpMainThread(*args, **kwargs): + """WakeUpMainThread()""" + return _misc.WakeUpMainThread(*args, **kwargs) + +def MutexGuiEnter(*args, **kwargs): + """MutexGuiEnter()""" + return _misc.MutexGuiEnter(*args, **kwargs) + +def MutexGuiLeave(*args, **kwargs): + """MutexGuiLeave()""" + return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MutexGuiLocker""" newobj = _misc.new_MutexGuiLocker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_MutexGuiLocker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class MutexGuiLockerPtr(MutexGuiLocker): def __init__(self, this): @@ -296,22 +503,43 @@ class MutexGuiLockerPtr(MutexGuiLocker): _misc.MutexGuiLocker_swigregister(MutexGuiLockerPtr) -Thread_IsMain = _misc.Thread_IsMain +def Thread_IsMain(*args, **kwargs): + """Thread_IsMain() -> bool""" + return _misc.Thread_IsMain(*args, **kwargs) #--------------------------------------------------------------------------- class ToolTip(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString tip) -> ToolTip""" newobj = _misc.new_ToolTip(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTip(*args, **kwargs): return _misc.ToolTip_SetTip(*args, **kwargs) - def GetTip(*args, **kwargs): return _misc.ToolTip_GetTip(*args, **kwargs) - def GetWindow(*args, **kwargs): return _misc.ToolTip_GetWindow(*args, **kwargs) - Enable = staticmethod(_misc.ToolTip_Enable) - SetDelay = staticmethod(_misc.ToolTip_SetDelay) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTip(*args, **kwargs): + """SetTip(wxString tip)""" + return _misc.ToolTip_SetTip(*args, **kwargs) + + def GetTip(*args, **kwargs): + """GetTip() -> wxString""" + return _misc.ToolTip_GetTip(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _misc.ToolTip_GetWindow(*args, **kwargs) + + def Enable(*args, **kwargs): + """ToolTip.Enable(bool flag)""" + return _misc.ToolTip_Enable(*args, **kwargs) + + Enable = staticmethod(Enable) + def SetDelay(*args, **kwargs): + """ToolTip.SetDelay(long milliseconds)""" + return _misc.ToolTip_SetDelay(*args, **kwargs) + + SetDelay = staticmethod(SetDelay) class ToolTipPtr(ToolTip): def __init__(self, this): @@ -320,35 +548,82 @@ class ToolTipPtr(ToolTip): self.__class__ = ToolTip _misc.ToolTip_swigregister(ToolTipPtr) -ToolTip_Enable = _misc.ToolTip_Enable +def ToolTip_Enable(*args, **kwargs): + """ToolTip_Enable(bool flag)""" + return _misc.ToolTip_Enable(*args, **kwargs) -ToolTip_SetDelay = _misc.ToolTip_SetDelay +def ToolTip_SetDelay(*args, **kwargs): + """ToolTip_SetDelay(long milliseconds)""" + return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window, Size size) -> Caret""" newobj = _misc.new_Caret(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Caret): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _misc.Caret_IsOk(*args, **kwargs) - def IsVisible(*args, **kwargs): return _misc.Caret_IsVisible(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _misc.Caret_GetPositionTuple(*args, **kwargs) - def GetPosition(*args, **kwargs): return _misc.Caret_GetPosition(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _misc.Caret_GetSizeTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _misc.Caret_GetSize(*args, **kwargs) - def GetWindow(*args, **kwargs): return _misc.Caret_GetWindow(*args, **kwargs) - def MoveXY(*args, **kwargs): return _misc.Caret_MoveXY(*args, **kwargs) - def Move(*args, **kwargs): return _misc.Caret_Move(*args, **kwargs) - def SetSizeWH(*args, **kwargs): return _misc.Caret_SetSizeWH(*args, **kwargs) - def SetSize(*args, **kwargs): return _misc.Caret_SetSize(*args, **kwargs) - def Show(*args, **kwargs): return _misc.Caret_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _misc.Caret_Hide(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _misc.Caret_IsOk(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible() -> bool""" + return _misc.Caret_IsVisible(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple(int OUTPUT, int OUTPUT)""" + return _misc.Caret_GetPositionTuple(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.Caret_GetPosition(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple(int OUTPUT, int OUTPUT)""" + return _misc.Caret_GetSizeTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _misc.Caret_GetSize(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _misc.Caret_GetWindow(*args, **kwargs) + + def MoveXY(*args, **kwargs): + """MoveXY(int x, int y)""" + return _misc.Caret_MoveXY(*args, **kwargs) + + def Move(*args, **kwargs): + """Move(Point pt)""" + return _misc.Caret_Move(*args, **kwargs) + + def SetSizeWH(*args, **kwargs): + """SetSizeWH(int width, int height)""" + return _misc.Caret_SetSizeWH(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _misc.Caret_SetSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(int show=True)""" + return _misc.Caret_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide()""" + return _misc.Caret_Hide(*args, **kwargs) + class CaretPtr(Caret): def __init__(self, this): @@ -358,21 +633,29 @@ class CaretPtr(Caret): _misc.Caret_swigregister(CaretPtr) -Caret_GetBlinkTime = _misc.Caret_GetBlinkTime +def Caret_GetBlinkTime(*args, **kwargs): + """Caret_GetBlinkTime() -> int""" + return _misc.Caret_GetBlinkTime(*args, **kwargs) -Caret_SetBlinkTime = _misc.Caret_SetBlinkTime +def Caret_SetBlinkTime(*args, **kwargs): + """Caret_SetBlinkTime(int milliseconds)""" + return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxCursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" newobj = _misc.new_BusyCursor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_BusyCursor): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class BusyCursorPtr(BusyCursor): def __init__(self, this): @@ -382,17 +665,21 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window winToSkip=None) -> WindowDisabler""" newobj = _misc.new_WindowDisabler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_WindowDisabler): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class WindowDisablerPtr(WindowDisabler): def __init__(self, this): @@ -402,17 +689,21 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString message) -> BusyInfo""" newobj = _misc.new_BusyInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_BusyInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class BusyInfoPtr(BusyInfo): def __init__(self, this): @@ -422,17 +713,31 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> StopWatch""" newobj = _misc.new_StopWatch(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Start(*args, **kwargs): return _misc.StopWatch_Start(*args, **kwargs) - def Pause(*args, **kwargs): return _misc.StopWatch_Pause(*args, **kwargs) - def Resume(*args, **kwargs): return _misc.StopWatch_Resume(*args, **kwargs) - def Time(*args, **kwargs): return _misc.StopWatch_Time(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Start(*args, **kwargs): + """Start(long t0=0)""" + return _misc.StopWatch_Start(*args, **kwargs) + + def Pause(*args, **kwargs): + """Pause()""" + return _misc.StopWatch_Pause(*args, **kwargs) + + def Resume(*args, **kwargs): + """Resume()""" + return _misc.StopWatch_Resume(*args, **kwargs) + + def Time(*args, **kwargs): + """Time() -> long""" + return _misc.StopWatch_Time(*args, **kwargs) + class StopWatchPtr(StopWatch): def __init__(self, this): @@ -442,28 +747,65 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int maxFiles=9) -> FileHistory""" newobj = _misc.new_FileHistory(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileHistory): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def AddFileToHistory(*args, **kwargs): return _misc.FileHistory_AddFileToHistory(*args, **kwargs) - def RemoveFileFromHistory(*args, **kwargs): return _misc.FileHistory_RemoveFileFromHistory(*args, **kwargs) - def GetMaxFiles(*args, **kwargs): return _misc.FileHistory_GetMaxFiles(*args, **kwargs) - def UseMenu(*args, **kwargs): return _misc.FileHistory_UseMenu(*args, **kwargs) - def RemoveMenu(*args, **kwargs): return _misc.FileHistory_RemoveMenu(*args, **kwargs) - def Load(*args, **kwargs): return _misc.FileHistory_Load(*args, **kwargs) - def Save(*args, **kwargs): return _misc.FileHistory_Save(*args, **kwargs) - def AddFilesToMenu(*args, **kwargs): return _misc.FileHistory_AddFilesToMenu(*args, **kwargs) - def AddFilesToThisMenu(*args, **kwargs): return _misc.FileHistory_AddFilesToThisMenu(*args, **kwargs) - def GetHistoryFile(*args, **kwargs): return _misc.FileHistory_GetHistoryFile(*args, **kwargs) - def GetCount(*args, **kwargs): return _misc.FileHistory_GetCount(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def AddFileToHistory(*args, **kwargs): + """AddFileToHistory(wxString file)""" + return _misc.FileHistory_AddFileToHistory(*args, **kwargs) + + def RemoveFileFromHistory(*args, **kwargs): + """RemoveFileFromHistory(int i)""" + return _misc.FileHistory_RemoveFileFromHistory(*args, **kwargs) + + def GetMaxFiles(*args, **kwargs): + """GetMaxFiles() -> int""" + return _misc.FileHistory_GetMaxFiles(*args, **kwargs) + + def UseMenu(*args, **kwargs): + """UseMenu(Menu menu)""" + return _misc.FileHistory_UseMenu(*args, **kwargs) + + def RemoveMenu(*args, **kwargs): + """RemoveMenu(Menu menu)""" + return _misc.FileHistory_RemoveMenu(*args, **kwargs) + + def Load(*args, **kwargs): + """Load(ConfigBase config)""" + return _misc.FileHistory_Load(*args, **kwargs) + + def Save(*args, **kwargs): + """Save(ConfigBase config)""" + return _misc.FileHistory_Save(*args, **kwargs) + + def AddFilesToMenu(*args, **kwargs): + """AddFilesToMenu()""" + return _misc.FileHistory_AddFilesToMenu(*args, **kwargs) + + def AddFilesToThisMenu(*args, **kwargs): + """AddFilesToThisMenu(Menu menu)""" + return _misc.FileHistory_AddFilesToThisMenu(*args, **kwargs) + + def GetHistoryFile(*args, **kwargs): + """GetHistoryFile(int i) -> wxString""" + return _misc.FileHistory_GetHistoryFile(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _misc.FileHistory_GetCount(*args, **kwargs) + class FileHistoryPtr(FileHistory): def __init__(self, this): @@ -473,19 +815,29 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, wxString path=wxPyEmptyString) -> SingleInstanceChecker""" newobj = _misc.new_SingleInstanceChecker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_SingleInstanceChecker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Create(*args, **kwargs): return _misc.SingleInstanceChecker_Create(*args, **kwargs) - def IsAnotherRunning(*args, **kwargs): return _misc.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(wxString name, wxString path=wxPyEmptyString) -> bool""" + return _misc.SingleInstanceChecker_Create(*args, **kwargs) + + def IsAnotherRunning(*args, **kwargs): + """IsAnotherRunning() -> bool""" + return _misc.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs) + class SingleInstanceCheckerPtr(SingleInstanceChecker): def __init__(self, this): @@ -495,25 +847,40 @@ class SingleInstanceCheckerPtr(SingleInstanceChecker): _misc.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr) def PreSingleInstanceChecker(*args, **kwargs): + """PreSingleInstanceChecker() -> SingleInstanceChecker""" val = _misc.new_PreSingleInstanceChecker(*args, **kwargs) val.thisown = 1 return val -DrawWindowOnDC = _misc.DrawWindowOnDC +def DrawWindowOnDC(*args, **kwargs): + """DrawWindowOnDC(Window window, wxDC dc, int method)""" + return _misc.DrawWindowOnDC(*args, **kwargs) #--------------------------------------------------------------------------- class TipProvider(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_misc.delete_TipProvider): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetTip(*args, **kwargs): return _misc.TipProvider_GetTip(*args, **kwargs) - def GetCurrentTip(*args, **kwargs): return _misc.TipProvider_GetCurrentTip(*args, **kwargs) - def PreprocessTip(*args, **kwargs): return _misc.TipProvider_PreprocessTip(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetTip(*args, **kwargs): + """GetTip() -> wxString""" + return _misc.TipProvider_GetTip(*args, **kwargs) + + def GetCurrentTip(*args, **kwargs): + """GetCurrentTip() -> size_t""" + return _misc.TipProvider_GetCurrentTip(*args, **kwargs) + + def PreprocessTip(*args, **kwargs): + """PreprocessTip(wxString tip) -> wxString""" + return _misc.TipProvider_PreprocessTip(*args, **kwargs) + class TipProviderPtr(TipProvider): def __init__(self, this): @@ -523,14 +890,19 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(size_t currentTip) -> PyTipProvider""" newobj = _misc.new_PyTipProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def _setCallbackInfo(*args, **kwargs): return _misc.PyTipProvider__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyTipProvider__setCallbackInfo(*args, **kwargs) + class PyTipProviderPtr(PyTipProvider): def __init__(self, this): @@ -540,33 +912,62 @@ class PyTipProviderPtr(PyTipProvider): _misc.PyTipProvider_swigregister(PyTipProviderPtr) -ShowTip = _misc.ShowTip +def ShowTip(*args, **kwargs): + """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool""" + return _misc.ShowTip(*args, **kwargs) -CreateFileTipProvider = _misc.CreateFileTipProvider +def CreateFileTipProvider(*args, **kwargs): + """CreateFileTipProvider(wxString filename, size_t currentTip) -> TipProvider""" + return _misc.CreateFileTipProvider(*args, **kwargs) #--------------------------------------------------------------------------- TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(EvtHandler owner=None, int id=-1) -> Timer""" newobj = _misc.new_Timer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Timer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetOwner(*args, **kwargs): return _misc.Timer_SetOwner(*args, **kwargs) - def Start(*args, **kwargs): return _misc.Timer_Start(*args, **kwargs) - def Stop(*args, **kwargs): return _misc.Timer_Stop(*args, **kwargs) - def Notify(*args, **kwargs): return _misc.Timer_Notify(*args, **kwargs) - def IsRunning(*args, **kwargs): return _misc.Timer_IsRunning(*args, **kwargs) - def GetInterval(*args, **kwargs): return _misc.Timer_GetInterval(*args, **kwargs) - def IsOneShot(*args, **kwargs): return _misc.Timer_IsOneShot(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetOwner(*args, **kwargs): + """SetOwner(EvtHandler owner, int id=-1)""" + return _misc.Timer_SetOwner(*args, **kwargs) + + def Start(*args, **kwargs): + """Start(int milliseconds=-1, bool oneShot=False) -> bool""" + return _misc.Timer_Start(*args, **kwargs) + + def Stop(*args, **kwargs): + """Stop()""" + return _misc.Timer_Stop(*args, **kwargs) + + def Notify(*args, **kwargs): + """Notify()""" + return _misc.Timer_Notify(*args, **kwargs) + + def IsRunning(*args, **kwargs): + """IsRunning() -> bool""" + return _misc.Timer_IsRunning(*args, **kwargs) + + def GetInterval(*args, **kwargs): + """GetInterval() -> int""" + return _misc.Timer_GetInterval(*args, **kwargs) + + def IsOneShot(*args, **kwargs): + """IsOneShot() -> bool""" + return _misc.Timer_IsOneShot(*args, **kwargs) + class TimerPtr(Timer): def __init__(self, this): @@ -590,14 +991,19 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int timerid=0, int interval=0) -> TimerEvent""" newobj = _misc.new_TimerEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetInterval(*args, **kwargs): return _misc.TimerEvent_GetInterval(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetInterval(*args, **kwargs): + """GetInterval() -> int""" + return _misc.TimerEvent_GetInterval(*args, **kwargs) + class TimerEventPtr(TimerEvent): def __init__(self, this): @@ -607,18 +1013,26 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): + """__init__(wxTimer timer) -> TimerRunner +__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_TimerRunner): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Start(*args, **kwargs): return _misc.TimerRunner_Start(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Start(*args, **kwargs): + """Start(int milli, bool oneShot=False)""" + return _misc.TimerRunner_Start(*args, **kwargs) + class TimerRunnerPtr(TimerRunner): def __init__(self, this): @@ -651,38 +1065,138 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> Log""" newobj = _misc.new_Log(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - IsEnabled = staticmethod(_misc.Log_IsEnabled) - EnableLogging = staticmethod(_misc.Log_EnableLogging) - OnLog = staticmethod(_misc.Log_OnLog) - def Flush(*args, **kwargs): return _misc.Log_Flush(*args, **kwargs) - FlushActive = staticmethod(_misc.Log_FlushActive) - GetActiveTarget = staticmethod(_misc.Log_GetActiveTarget) - SetActiveTarget = staticmethod(_misc.Log_SetActiveTarget) - Suspend = staticmethod(_misc.Log_Suspend) - Resume = staticmethod(_misc.Log_Resume) - SetVerbose = staticmethod(_misc.Log_SetVerbose) - SetLogLevel = staticmethod(_misc.Log_SetLogLevel) - DontCreateOnDemand = staticmethod(_misc.Log_DontCreateOnDemand) - SetTraceMask = staticmethod(_misc.Log_SetTraceMask) - AddTraceMask = staticmethod(_misc.Log_AddTraceMask) - RemoveTraceMask = staticmethod(_misc.Log_RemoveTraceMask) - ClearTraceMasks = staticmethod(_misc.Log_ClearTraceMasks) - GetTraceMasks = staticmethod(_misc.Log_GetTraceMasks) - SetTimestamp = staticmethod(_misc.Log_SetTimestamp) - GetVerbose = staticmethod(_misc.Log_GetVerbose) - GetTraceMask = staticmethod(_misc.Log_GetTraceMask) - IsAllowedTraceMask = staticmethod(_misc.Log_IsAllowedTraceMask) - GetLogLevel = staticmethod(_misc.Log_GetLogLevel) - GetTimestamp = staticmethod(_misc.Log_GetTimestamp) - TimeStamp = staticmethod(_misc.Log_TimeStamp) - def Destroy(*args, **kwargs): return _misc.Log_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsEnabled(*args, **kwargs): + """Log.IsEnabled() -> bool""" + return _misc.Log_IsEnabled(*args, **kwargs) + + IsEnabled = staticmethod(IsEnabled) + def EnableLogging(*args, **kwargs): + """Log.EnableLogging(bool doIt=True) -> bool""" + return _misc.Log_EnableLogging(*args, **kwargs) + + EnableLogging = staticmethod(EnableLogging) + def OnLog(*args, **kwargs): + """Log.OnLog(wxLogLevel level, wxChar szString, time_t t)""" + return _misc.Log_OnLog(*args, **kwargs) + + OnLog = staticmethod(OnLog) + def Flush(*args, **kwargs): + """Flush()""" + return _misc.Log_Flush(*args, **kwargs) + + def FlushActive(*args, **kwargs): + """Log.FlushActive()""" + return _misc.Log_FlushActive(*args, **kwargs) + + FlushActive = staticmethod(FlushActive) + def GetActiveTarget(*args, **kwargs): + """Log.GetActiveTarget() -> Log""" + return _misc.Log_GetActiveTarget(*args, **kwargs) + + GetActiveTarget = staticmethod(GetActiveTarget) + def SetActiveTarget(*args, **kwargs): + """Log.SetActiveTarget(Log pLogger) -> Log""" + return _misc.Log_SetActiveTarget(*args, **kwargs) + + SetActiveTarget = staticmethod(SetActiveTarget) + def Suspend(*args, **kwargs): + """Log.Suspend()""" + return _misc.Log_Suspend(*args, **kwargs) + + Suspend = staticmethod(Suspend) + def Resume(*args, **kwargs): + """Log.Resume()""" + return _misc.Log_Resume(*args, **kwargs) + + Resume = staticmethod(Resume) + def SetVerbose(*args, **kwargs): + """Log.SetVerbose(bool bVerbose=True)""" + return _misc.Log_SetVerbose(*args, **kwargs) + + SetVerbose = staticmethod(SetVerbose) + def SetLogLevel(*args, **kwargs): + """Log.SetLogLevel(wxLogLevel logLevel)""" + return _misc.Log_SetLogLevel(*args, **kwargs) + + SetLogLevel = staticmethod(SetLogLevel) + def DontCreateOnDemand(*args, **kwargs): + """Log.DontCreateOnDemand()""" + return _misc.Log_DontCreateOnDemand(*args, **kwargs) + + DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetTraceMask(*args, **kwargs): + """Log.SetTraceMask(wxTraceMask ulMask)""" + return _misc.Log_SetTraceMask(*args, **kwargs) + + SetTraceMask = staticmethod(SetTraceMask) + def AddTraceMask(*args, **kwargs): + """Log.AddTraceMask(wxString str)""" + return _misc.Log_AddTraceMask(*args, **kwargs) + + AddTraceMask = staticmethod(AddTraceMask) + def RemoveTraceMask(*args, **kwargs): + """Log.RemoveTraceMask(wxString str)""" + return _misc.Log_RemoveTraceMask(*args, **kwargs) + + RemoveTraceMask = staticmethod(RemoveTraceMask) + def ClearTraceMasks(*args, **kwargs): + """Log.ClearTraceMasks()""" + return _misc.Log_ClearTraceMasks(*args, **kwargs) + + ClearTraceMasks = staticmethod(ClearTraceMasks) + def GetTraceMasks(*args, **kwargs): + """Log.GetTraceMasks() -> wxArrayString""" + return _misc.Log_GetTraceMasks(*args, **kwargs) + + GetTraceMasks = staticmethod(GetTraceMasks) + def SetTimestamp(*args, **kwargs): + """Log.SetTimestamp(wxChar ts)""" + return _misc.Log_SetTimestamp(*args, **kwargs) + + SetTimestamp = staticmethod(SetTimestamp) + def GetVerbose(*args, **kwargs): + """Log.GetVerbose() -> bool""" + return _misc.Log_GetVerbose(*args, **kwargs) + + GetVerbose = staticmethod(GetVerbose) + def GetTraceMask(*args, **kwargs): + """Log.GetTraceMask() -> wxTraceMask""" + return _misc.Log_GetTraceMask(*args, **kwargs) + + GetTraceMask = staticmethod(GetTraceMask) + def IsAllowedTraceMask(*args, **kwargs): + """Log.IsAllowedTraceMask(wxChar mask) -> bool""" + return _misc.Log_IsAllowedTraceMask(*args, **kwargs) + + IsAllowedTraceMask = staticmethod(IsAllowedTraceMask) + def GetLogLevel(*args, **kwargs): + """Log.GetLogLevel() -> wxLogLevel""" + return _misc.Log_GetLogLevel(*args, **kwargs) + + GetLogLevel = staticmethod(GetLogLevel) + def GetTimestamp(*args, **kwargs): + """Log.GetTimestamp() -> wxChar""" + return _misc.Log_GetTimestamp(*args, **kwargs) + + GetTimestamp = staticmethod(GetTimestamp) + def TimeStamp(*args, **kwargs): + """Log.TimeStamp() -> wxString""" + return _misc.Log_TimeStamp(*args, **kwargs) + + TimeStamp = staticmethod(TimeStamp) + def Destroy(*args, **kwargs): + """Destroy()""" + return _misc.Log_Destroy(*args, **kwargs) + class LogPtr(Log): def __init__(self, this): @@ -691,60 +1205,108 @@ class LogPtr(Log): self.__class__ = Log _misc.Log_swigregister(LogPtr) -Log_IsEnabled = _misc.Log_IsEnabled +def Log_IsEnabled(*args, **kwargs): + """Log_IsEnabled() -> bool""" + return _misc.Log_IsEnabled(*args, **kwargs) -Log_EnableLogging = _misc.Log_EnableLogging +def Log_EnableLogging(*args, **kwargs): + """Log_EnableLogging(bool doIt=True) -> bool""" + return _misc.Log_EnableLogging(*args, **kwargs) -Log_OnLog = _misc.Log_OnLog +def Log_OnLog(*args, **kwargs): + """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)""" + return _misc.Log_OnLog(*args, **kwargs) -Log_FlushActive = _misc.Log_FlushActive +def Log_FlushActive(*args, **kwargs): + """Log_FlushActive()""" + return _misc.Log_FlushActive(*args, **kwargs) -Log_GetActiveTarget = _misc.Log_GetActiveTarget +def Log_GetActiveTarget(*args, **kwargs): + """Log_GetActiveTarget() -> Log""" + return _misc.Log_GetActiveTarget(*args, **kwargs) -Log_SetActiveTarget = _misc.Log_SetActiveTarget +def Log_SetActiveTarget(*args, **kwargs): + """Log_SetActiveTarget(Log pLogger) -> Log""" + return _misc.Log_SetActiveTarget(*args, **kwargs) -Log_Suspend = _misc.Log_Suspend +def Log_Suspend(*args, **kwargs): + """Log_Suspend()""" + return _misc.Log_Suspend(*args, **kwargs) -Log_Resume = _misc.Log_Resume +def Log_Resume(*args, **kwargs): + """Log_Resume()""" + return _misc.Log_Resume(*args, **kwargs) -Log_SetVerbose = _misc.Log_SetVerbose +def Log_SetVerbose(*args, **kwargs): + """Log_SetVerbose(bool bVerbose=True)""" + return _misc.Log_SetVerbose(*args, **kwargs) -Log_SetLogLevel = _misc.Log_SetLogLevel +def Log_SetLogLevel(*args, **kwargs): + """Log_SetLogLevel(wxLogLevel logLevel)""" + return _misc.Log_SetLogLevel(*args, **kwargs) -Log_DontCreateOnDemand = _misc.Log_DontCreateOnDemand +def Log_DontCreateOnDemand(*args, **kwargs): + """Log_DontCreateOnDemand()""" + return _misc.Log_DontCreateOnDemand(*args, **kwargs) -Log_SetTraceMask = _misc.Log_SetTraceMask +def Log_SetTraceMask(*args, **kwargs): + """Log_SetTraceMask(wxTraceMask ulMask)""" + return _misc.Log_SetTraceMask(*args, **kwargs) -Log_AddTraceMask = _misc.Log_AddTraceMask +def Log_AddTraceMask(*args, **kwargs): + """Log_AddTraceMask(wxString str)""" + return _misc.Log_AddTraceMask(*args, **kwargs) -Log_RemoveTraceMask = _misc.Log_RemoveTraceMask +def Log_RemoveTraceMask(*args, **kwargs): + """Log_RemoveTraceMask(wxString str)""" + return _misc.Log_RemoveTraceMask(*args, **kwargs) -Log_ClearTraceMasks = _misc.Log_ClearTraceMasks +def Log_ClearTraceMasks(*args, **kwargs): + """Log_ClearTraceMasks()""" + return _misc.Log_ClearTraceMasks(*args, **kwargs) -Log_GetTraceMasks = _misc.Log_GetTraceMasks +def Log_GetTraceMasks(*args, **kwargs): + """Log_GetTraceMasks() -> wxArrayString""" + return _misc.Log_GetTraceMasks(*args, **kwargs) -Log_SetTimestamp = _misc.Log_SetTimestamp +def Log_SetTimestamp(*args, **kwargs): + """Log_SetTimestamp(wxChar ts)""" + return _misc.Log_SetTimestamp(*args, **kwargs) -Log_GetVerbose = _misc.Log_GetVerbose +def Log_GetVerbose(*args, **kwargs): + """Log_GetVerbose() -> bool""" + return _misc.Log_GetVerbose(*args, **kwargs) -Log_GetTraceMask = _misc.Log_GetTraceMask +def Log_GetTraceMask(*args, **kwargs): + """Log_GetTraceMask() -> wxTraceMask""" + return _misc.Log_GetTraceMask(*args, **kwargs) -Log_IsAllowedTraceMask = _misc.Log_IsAllowedTraceMask +def Log_IsAllowedTraceMask(*args, **kwargs): + """Log_IsAllowedTraceMask(wxChar mask) -> bool""" + return _misc.Log_IsAllowedTraceMask(*args, **kwargs) -Log_GetLogLevel = _misc.Log_GetLogLevel +def Log_GetLogLevel(*args, **kwargs): + """Log_GetLogLevel() -> wxLogLevel""" + return _misc.Log_GetLogLevel(*args, **kwargs) -Log_GetTimestamp = _misc.Log_GetTimestamp +def Log_GetTimestamp(*args, **kwargs): + """Log_GetTimestamp() -> wxChar""" + return _misc.Log_GetTimestamp(*args, **kwargs) -Log_TimeStamp = _misc.Log_TimeStamp +def Log_TimeStamp(*args, **kwargs): + """Log_TimeStamp() -> wxString""" + return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogStderr""" newobj = _misc.new_LogStderr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogStderrPtr(LogStderr): def __init__(self, this): @@ -754,13 +1316,15 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl""" newobj = _misc.new_LogTextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogTextCtrlPtr(LogTextCtrl): def __init__(self, this): @@ -770,13 +1334,15 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogGui""" newobj = _misc.new_LogGui(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogGuiPtr(LogGui): def __init__(self, this): @@ -786,18 +1352,36 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, + bool bPassToOld=True) -> LogWindow""" newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Show(*args, **kwargs): return _misc.LogWindow_Show(*args, **kwargs) - def GetFrame(*args, **kwargs): return _misc.LogWindow_GetFrame(*args, **kwargs) - def GetOldLog(*args, **kwargs): return _misc.LogWindow_GetOldLog(*args, **kwargs) - def IsPassingMessages(*args, **kwargs): return _misc.LogWindow_IsPassingMessages(*args, **kwargs) - def PassMessages(*args, **kwargs): return _misc.LogWindow_PassMessages(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Show(*args, **kwargs): + """Show(bool bShow=True)""" + return _misc.LogWindow_Show(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> wxFrame""" + return _misc.LogWindow_GetFrame(*args, **kwargs) + + def GetOldLog(*args, **kwargs): + """GetOldLog() -> Log""" + return _misc.LogWindow_GetOldLog(*args, **kwargs) + + def IsPassingMessages(*args, **kwargs): + """IsPassingMessages() -> bool""" + return _misc.LogWindow_IsPassingMessages(*args, **kwargs) + + def PassMessages(*args, **kwargs): + """PassMessages(bool bDoPass)""" + return _misc.LogWindow_PassMessages(*args, **kwargs) + class LogWindowPtr(LogWindow): def __init__(self, this): @@ -807,17 +1391,31 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Log logger) -> LogChain""" newobj = _misc.new_LogChain(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetLog(*args, **kwargs): return _misc.LogChain_SetLog(*args, **kwargs) - def PassMessages(*args, **kwargs): return _misc.LogChain_PassMessages(*args, **kwargs) - def IsPassingMessages(*args, **kwargs): return _misc.LogChain_IsPassingMessages(*args, **kwargs) - def GetOldLog(*args, **kwargs): return _misc.LogChain_GetOldLog(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetLog(*args, **kwargs): + """SetLog(Log logger)""" + return _misc.LogChain_SetLog(*args, **kwargs) + + def PassMessages(*args, **kwargs): + """PassMessages(bool bDoPass)""" + return _misc.LogChain_PassMessages(*args, **kwargs) + + def IsPassingMessages(*args, **kwargs): + """IsPassingMessages() -> bool""" + return _misc.LogChain_IsPassingMessages(*args, **kwargs) + + def GetOldLog(*args, **kwargs): + """GetOldLog() -> Log""" + return _misc.LogChain_GetOldLog(*args, **kwargs) + class LogChainPtr(LogChain): def __init__(self, this): @@ -827,49 +1425,85 @@ class LogChainPtr(LogChain): _misc.LogChain_swigregister(LogChainPtr) -SysErrorCode = _misc.SysErrorCode +def SysErrorCode(*args, **kwargs): + """SysErrorCode() -> unsigned long""" + return _misc.SysErrorCode(*args, **kwargs) -SysErrorMsg = _misc.SysErrorMsg +def SysErrorMsg(*args, **kwargs): + """SysErrorMsg(unsigned long nErrCode=0) -> wxString""" + return _misc.SysErrorMsg(*args, **kwargs) -LogFatalError = _misc.LogFatalError +def LogFatalError(*args, **kwargs): + """LogFatalError(wxString msg)""" + return _misc.LogFatalError(*args, **kwargs) -LogError = _misc.LogError +def LogError(*args, **kwargs): + """LogError(wxString msg)""" + return _misc.LogError(*args, **kwargs) -LogWarning = _misc.LogWarning +def LogWarning(*args, **kwargs): + """LogWarning(wxString msg)""" + return _misc.LogWarning(*args, **kwargs) -LogMessage = _misc.LogMessage +def LogMessage(*args, **kwargs): + """LogMessage(wxString msg)""" + return _misc.LogMessage(*args, **kwargs) -LogInfo = _misc.LogInfo +def LogInfo(*args, **kwargs): + """LogInfo(wxString msg)""" + return _misc.LogInfo(*args, **kwargs) -LogDebug = _misc.LogDebug +def LogDebug(*args, **kwargs): + """LogDebug(wxString msg)""" + return _misc.LogDebug(*args, **kwargs) -LogVerbose = _misc.LogVerbose +def LogVerbose(*args, **kwargs): + """LogVerbose(wxString msg)""" + return _misc.LogVerbose(*args, **kwargs) -LogStatus = _misc.LogStatus +def LogStatus(*args, **kwargs): + """LogStatus(wxString msg)""" + return _misc.LogStatus(*args, **kwargs) -LogStatusFrame = _misc.LogStatusFrame +def LogStatusFrame(*args, **kwargs): + """LogStatusFrame(wxFrame pFrame, wxString msg)""" + return _misc.LogStatusFrame(*args, **kwargs) -LogSysError = _misc.LogSysError +def LogSysError(*args, **kwargs): + """LogSysError(wxString msg)""" + return _misc.LogSysError(*args, **kwargs) -LogTrace = _misc.LogTrace +def LogTrace(*args, **kwargs): + """LogTrace(wxString msg)""" + return _misc.LogTrace(*args, **kwargs) -LogTraceMask = _misc.LogTraceMask +def LogTraceMask(*args, **kwargs): + """LogTraceMask(wxString mask, wxString msg)""" + return _misc.LogTraceMask(*args, **kwargs) -LogGeneric = _misc.LogGeneric +def LogGeneric(*args, **kwargs): + """LogGeneric(unsigned long level, wxString msg)""" + return _misc.LogGeneric(*args, **kwargs) -SafeShowMessage = _misc.SafeShowMessage +def SafeShowMessage(*args, **kwargs): + """SafeShowMessage(wxString title, wxString text)""" + return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogNull""" newobj = _misc.new_LogNull(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_LogNull): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class LogNullPtr(LogNull): def __init__(self, this): @@ -879,15 +1513,21 @@ class LogNullPtr(LogNull): _misc.LogNull_swigregister(LogNullPtr) class PyLog(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyLog""" newobj = _misc.new_PyLog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyLog) - def _setCallbackInfo(*args, **kwargs): return _misc.PyLog__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyLog__setCallbackInfo(*args, **kwargs) + class PyLogPtr(PyLog): def __init__(self, this): @@ -923,29 +1563,80 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - Kill = staticmethod(_misc.Process_Kill) - Exists = staticmethod(_misc.Process_Exists) - Open = staticmethod(_misc.Process_Open) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Kill(*args, **kwargs): + """Process.Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + return _misc.Process_Kill(*args, **kwargs) + + Kill = staticmethod(Kill) + def Exists(*args, **kwargs): + """Process.Exists(int pid) -> bool""" + return _misc.Process_Exists(*args, **kwargs) + + Exists = staticmethod(Exists) + def Open(*args, **kwargs): + """Process.Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + return _misc.Process_Open(*args, **kwargs) + + Open = staticmethod(Open) def __init__(self, *args, **kwargs): + """__init__(EvtHandler parent=None, int id=-1) -> Process""" newobj = _misc.new_Process(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, Process) - def _setCallbackInfo(*args, **kwargs): return _misc.Process__setCallbackInfo(*args, **kwargs) - def base_OnTerminate(*args, **kwargs): return _misc.Process_base_OnTerminate(*args, **kwargs) - def Redirect(*args, **kwargs): return _misc.Process_Redirect(*args, **kwargs) - def IsRedirected(*args, **kwargs): return _misc.Process_IsRedirected(*args, **kwargs) - def Detach(*args, **kwargs): return _misc.Process_Detach(*args, **kwargs) - def GetInputStream(*args, **kwargs): return _misc.Process_GetInputStream(*args, **kwargs) - def GetErrorStream(*args, **kwargs): return _misc.Process_GetErrorStream(*args, **kwargs) - def GetOutputStream(*args, **kwargs): return _misc.Process_GetOutputStream(*args, **kwargs) - def CloseOutput(*args, **kwargs): return _misc.Process_CloseOutput(*args, **kwargs) - def IsInputOpened(*args, **kwargs): return _misc.Process_IsInputOpened(*args, **kwargs) - def IsInputAvailable(*args, **kwargs): return _misc.Process_IsInputAvailable(*args, **kwargs) - def IsErrorAvailable(*args, **kwargs): return _misc.Process_IsErrorAvailable(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.Process__setCallbackInfo(*args, **kwargs) + + def base_OnTerminate(*args, **kwargs): + """base_OnTerminate(int pid, int status)""" + return _misc.Process_base_OnTerminate(*args, **kwargs) + + def Redirect(*args, **kwargs): + """Redirect()""" + return _misc.Process_Redirect(*args, **kwargs) + + def IsRedirected(*args, **kwargs): + """IsRedirected() -> bool""" + return _misc.Process_IsRedirected(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _misc.Process_Detach(*args, **kwargs) + + def GetInputStream(*args, **kwargs): + """GetInputStream() -> wxInputStream""" + return _misc.Process_GetInputStream(*args, **kwargs) + + def GetErrorStream(*args, **kwargs): + """GetErrorStream() -> wxInputStream""" + return _misc.Process_GetErrorStream(*args, **kwargs) + + def GetOutputStream(*args, **kwargs): + """GetOutputStream() -> OutputStream""" + return _misc.Process_GetOutputStream(*args, **kwargs) + + def CloseOutput(*args, **kwargs): + """CloseOutput()""" + return _misc.Process_CloseOutput(*args, **kwargs) + + def IsInputOpened(*args, **kwargs): + """IsInputOpened() -> bool""" + return _misc.Process_IsInputOpened(*args, **kwargs) + + def IsInputAvailable(*args, **kwargs): + """IsInputAvailable() -> bool""" + return _misc.Process_IsInputAvailable(*args, **kwargs) + + def IsErrorAvailable(*args, **kwargs): + """IsErrorAvailable() -> bool""" + return _misc.Process_IsErrorAvailable(*args, **kwargs) + class ProcessPtr(Process): def __init__(self, this): @@ -954,24 +1645,38 @@ class ProcessPtr(Process): self.__class__ = Process _misc.Process_swigregister(ProcessPtr) -Process_Kill = _misc.Process_Kill +def Process_Kill(*args, **kwargs): + """Process_Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + return _misc.Process_Kill(*args, **kwargs) -Process_Exists = _misc.Process_Exists +def Process_Exists(*args, **kwargs): + """Process_Exists(int pid) -> bool""" + return _misc.Process_Exists(*args, **kwargs) -Process_Open = _misc.Process_Open +def Process_Open(*args, **kwargs): + """Process_Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent""" newobj = _misc.new_ProcessEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPid(*args, **kwargs): return _misc.ProcessEvent_GetPid(*args, **kwargs) - def GetExitCode(*args, **kwargs): return _misc.ProcessEvent_GetExitCode(*args, **kwargs) + def GetPid(*args, **kwargs): + """GetPid() -> int""" + return _misc.ProcessEvent_GetPid(*args, **kwargs) + + def GetExitCode(*args, **kwargs): + """GetExitCode() -> int""" + return _misc.ProcessEvent_GetExitCode(*args, **kwargs) + m_pid = property(_misc.ProcessEvent_m_pid_get, _misc.ProcessEvent_m_pid_set) m_exitcode = property(_misc.ProcessEvent_m_exitcode_get, _misc.ProcessEvent_m_exitcode_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ProcessEventPtr(ProcessEvent): def __init__(self, this): @@ -988,7 +1693,9 @@ EXEC_SYNC = _misc.EXEC_SYNC EXEC_NOHIDE = _misc.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc.EXEC_MAKE_GROUP_LEADER -Execute = _misc.Execute +def Execute(*args, **kwargs): + """Execute(wxString command, int flags=EXEC_ASYNC, Process process=None) -> long""" + return _misc.Execute(*args, **kwargs) #--------------------------------------------------------------------------- JOYSTICK1 = _misc.JOYSTICK1 @@ -999,60 +1706,190 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int joystick=JOYSTICK1) -> Joystick""" newobj = _misc.new_Joystick(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Joystick): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPosition(*args, **kwargs): return _misc.Joystick_GetPosition(*args, **kwargs) - def GetZPosition(*args, **kwargs): return _misc.Joystick_GetZPosition(*args, **kwargs) - def GetButtonState(*args, **kwargs): return _misc.Joystick_GetButtonState(*args, **kwargs) - def GetPOVPosition(*args, **kwargs): return _misc.Joystick_GetPOVPosition(*args, **kwargs) - def GetPOVCTSPosition(*args, **kwargs): return _misc.Joystick_GetPOVCTSPosition(*args, **kwargs) - def GetRudderPosition(*args, **kwargs): return _misc.Joystick_GetRudderPosition(*args, **kwargs) - def GetUPosition(*args, **kwargs): return _misc.Joystick_GetUPosition(*args, **kwargs) - def GetVPosition(*args, **kwargs): return _misc.Joystick_GetVPosition(*args, **kwargs) - def GetMovementThreshold(*args, **kwargs): return _misc.Joystick_GetMovementThreshold(*args, **kwargs) - def SetMovementThreshold(*args, **kwargs): return _misc.Joystick_SetMovementThreshold(*args, **kwargs) - def IsOk(*args, **kwargs): return _misc.Joystick_IsOk(*args, **kwargs) - def GetNumberJoysticks(*args, **kwargs): return _misc.Joystick_GetNumberJoysticks(*args, **kwargs) - def GetManufacturerId(*args, **kwargs): return _misc.Joystick_GetManufacturerId(*args, **kwargs) - def GetProductId(*args, **kwargs): return _misc.Joystick_GetProductId(*args, **kwargs) - def GetProductName(*args, **kwargs): return _misc.Joystick_GetProductName(*args, **kwargs) - def GetXMin(*args, **kwargs): return _misc.Joystick_GetXMin(*args, **kwargs) - def GetYMin(*args, **kwargs): return _misc.Joystick_GetYMin(*args, **kwargs) - def GetZMin(*args, **kwargs): return _misc.Joystick_GetZMin(*args, **kwargs) - def GetXMax(*args, **kwargs): return _misc.Joystick_GetXMax(*args, **kwargs) - def GetYMax(*args, **kwargs): return _misc.Joystick_GetYMax(*args, **kwargs) - def GetZMax(*args, **kwargs): return _misc.Joystick_GetZMax(*args, **kwargs) - def GetNumberButtons(*args, **kwargs): return _misc.Joystick_GetNumberButtons(*args, **kwargs) - def GetNumberAxes(*args, **kwargs): return _misc.Joystick_GetNumberAxes(*args, **kwargs) - def GetMaxButtons(*args, **kwargs): return _misc.Joystick_GetMaxButtons(*args, **kwargs) - def GetMaxAxes(*args, **kwargs): return _misc.Joystick_GetMaxAxes(*args, **kwargs) - def GetPollingMin(*args, **kwargs): return _misc.Joystick_GetPollingMin(*args, **kwargs) - def GetPollingMax(*args, **kwargs): return _misc.Joystick_GetPollingMax(*args, **kwargs) - def GetRudderMin(*args, **kwargs): return _misc.Joystick_GetRudderMin(*args, **kwargs) - def GetRudderMax(*args, **kwargs): return _misc.Joystick_GetRudderMax(*args, **kwargs) - def GetUMin(*args, **kwargs): return _misc.Joystick_GetUMin(*args, **kwargs) - def GetUMax(*args, **kwargs): return _misc.Joystick_GetUMax(*args, **kwargs) - def GetVMin(*args, **kwargs): return _misc.Joystick_GetVMin(*args, **kwargs) - def GetVMax(*args, **kwargs): return _misc.Joystick_GetVMax(*args, **kwargs) - def HasRudder(*args, **kwargs): return _misc.Joystick_HasRudder(*args, **kwargs) - def HasZ(*args, **kwargs): return _misc.Joystick_HasZ(*args, **kwargs) - def HasU(*args, **kwargs): return _misc.Joystick_HasU(*args, **kwargs) - def HasV(*args, **kwargs): return _misc.Joystick_HasV(*args, **kwargs) - def HasPOV(*args, **kwargs): return _misc.Joystick_HasPOV(*args, **kwargs) - def HasPOV4Dir(*args, **kwargs): return _misc.Joystick_HasPOV4Dir(*args, **kwargs) - def HasPOVCTS(*args, **kwargs): return _misc.Joystick_HasPOVCTS(*args, **kwargs) - def SetCapture(*args, **kwargs): return _misc.Joystick_SetCapture(*args, **kwargs) - def ReleaseCapture(*args, **kwargs): return _misc.Joystick_ReleaseCapture(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.Joystick_GetPosition(*args, **kwargs) + + def GetZPosition(*args, **kwargs): + """GetZPosition() -> int""" + return _misc.Joystick_GetZPosition(*args, **kwargs) + + def GetButtonState(*args, **kwargs): + """GetButtonState() -> int""" + return _misc.Joystick_GetButtonState(*args, **kwargs) + + def GetPOVPosition(*args, **kwargs): + """GetPOVPosition() -> int""" + return _misc.Joystick_GetPOVPosition(*args, **kwargs) + + def GetPOVCTSPosition(*args, **kwargs): + """GetPOVCTSPosition() -> int""" + return _misc.Joystick_GetPOVCTSPosition(*args, **kwargs) + + def GetRudderPosition(*args, **kwargs): + """GetRudderPosition() -> int""" + return _misc.Joystick_GetRudderPosition(*args, **kwargs) + + def GetUPosition(*args, **kwargs): + """GetUPosition() -> int""" + return _misc.Joystick_GetUPosition(*args, **kwargs) + + def GetVPosition(*args, **kwargs): + """GetVPosition() -> int""" + return _misc.Joystick_GetVPosition(*args, **kwargs) + + def GetMovementThreshold(*args, **kwargs): + """GetMovementThreshold() -> int""" + return _misc.Joystick_GetMovementThreshold(*args, **kwargs) + + def SetMovementThreshold(*args, **kwargs): + """SetMovementThreshold(int threshold)""" + return _misc.Joystick_SetMovementThreshold(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk(void ??) -> bool""" + return _misc.Joystick_IsOk(*args, **kwargs) + + def GetNumberJoysticks(*args, **kwargs): + """GetNumberJoysticks() -> int""" + return _misc.Joystick_GetNumberJoysticks(*args, **kwargs) + + def GetManufacturerId(*args, **kwargs): + """GetManufacturerId() -> int""" + return _misc.Joystick_GetManufacturerId(*args, **kwargs) + + def GetProductId(*args, **kwargs): + """GetProductId() -> int""" + return _misc.Joystick_GetProductId(*args, **kwargs) + + def GetProductName(*args, **kwargs): + """GetProductName() -> wxString""" + return _misc.Joystick_GetProductName(*args, **kwargs) + + def GetXMin(*args, **kwargs): + """GetXMin() -> int""" + return _misc.Joystick_GetXMin(*args, **kwargs) + + def GetYMin(*args, **kwargs): + """GetYMin() -> int""" + return _misc.Joystick_GetYMin(*args, **kwargs) + + def GetZMin(*args, **kwargs): + """GetZMin() -> int""" + return _misc.Joystick_GetZMin(*args, **kwargs) + + def GetXMax(*args, **kwargs): + """GetXMax() -> int""" + return _misc.Joystick_GetXMax(*args, **kwargs) + + def GetYMax(*args, **kwargs): + """GetYMax() -> int""" + return _misc.Joystick_GetYMax(*args, **kwargs) + + def GetZMax(*args, **kwargs): + """GetZMax() -> int""" + return _misc.Joystick_GetZMax(*args, **kwargs) + + def GetNumberButtons(*args, **kwargs): + """GetNumberButtons() -> int""" + return _misc.Joystick_GetNumberButtons(*args, **kwargs) + + def GetNumberAxes(*args, **kwargs): + """GetNumberAxes() -> int""" + return _misc.Joystick_GetNumberAxes(*args, **kwargs) + + def GetMaxButtons(*args, **kwargs): + """GetMaxButtons() -> int""" + return _misc.Joystick_GetMaxButtons(*args, **kwargs) + + def GetMaxAxes(*args, **kwargs): + """GetMaxAxes() -> int""" + return _misc.Joystick_GetMaxAxes(*args, **kwargs) + + def GetPollingMin(*args, **kwargs): + """GetPollingMin() -> int""" + return _misc.Joystick_GetPollingMin(*args, **kwargs) + + def GetPollingMax(*args, **kwargs): + """GetPollingMax() -> int""" + return _misc.Joystick_GetPollingMax(*args, **kwargs) + + def GetRudderMin(*args, **kwargs): + """GetRudderMin() -> int""" + return _misc.Joystick_GetRudderMin(*args, **kwargs) + + def GetRudderMax(*args, **kwargs): + """GetRudderMax() -> int""" + return _misc.Joystick_GetRudderMax(*args, **kwargs) + + def GetUMin(*args, **kwargs): + """GetUMin() -> int""" + return _misc.Joystick_GetUMin(*args, **kwargs) + + def GetUMax(*args, **kwargs): + """GetUMax() -> int""" + return _misc.Joystick_GetUMax(*args, **kwargs) + + def GetVMin(*args, **kwargs): + """GetVMin() -> int""" + return _misc.Joystick_GetVMin(*args, **kwargs) + + def GetVMax(*args, **kwargs): + """GetVMax() -> int""" + return _misc.Joystick_GetVMax(*args, **kwargs) + + def HasRudder(*args, **kwargs): + """HasRudder() -> bool""" + return _misc.Joystick_HasRudder(*args, **kwargs) + + def HasZ(*args, **kwargs): + """HasZ() -> bool""" + return _misc.Joystick_HasZ(*args, **kwargs) + + def HasU(*args, **kwargs): + """HasU() -> bool""" + return _misc.Joystick_HasU(*args, **kwargs) + + def HasV(*args, **kwargs): + """HasV() -> bool""" + return _misc.Joystick_HasV(*args, **kwargs) + + def HasPOV(*args, **kwargs): + """HasPOV() -> bool""" + return _misc.Joystick_HasPOV(*args, **kwargs) + + def HasPOV4Dir(*args, **kwargs): + """HasPOV4Dir() -> bool""" + return _misc.Joystick_HasPOV4Dir(*args, **kwargs) + + def HasPOVCTS(*args, **kwargs): + """HasPOVCTS() -> bool""" + return _misc.Joystick_HasPOVCTS(*args, **kwargs) + + def SetCapture(*args, **kwargs): + """SetCapture(Window win, int pollingFreq=0) -> bool""" + return _misc.Joystick_SetCapture(*args, **kwargs) + + def ReleaseCapture(*args, **kwargs): + """ReleaseCapture() -> bool""" + return _misc.Joystick_ReleaseCapture(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class JoystickPtr(Joystick): def __init__(self, this): @@ -1066,34 +1903,85 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) m_zPosition = property(_misc.JoystickEvent_m_zPosition_get, _misc.JoystickEvent_m_zPosition_set) m_buttonChange = property(_misc.JoystickEvent_m_buttonChange_get, _misc.JoystickEvent_m_buttonChange_set) m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent""" newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _misc.JoystickEvent_GetPosition(*args, **kwargs) - def GetZPosition(*args, **kwargs): return _misc.JoystickEvent_GetZPosition(*args, **kwargs) - def GetButtonState(*args, **kwargs): return _misc.JoystickEvent_GetButtonState(*args, **kwargs) - def GetButtonChange(*args, **kwargs): return _misc.JoystickEvent_GetButtonChange(*args, **kwargs) - def GetJoystick(*args, **kwargs): return _misc.JoystickEvent_GetJoystick(*args, **kwargs) - def SetJoystick(*args, **kwargs): return _misc.JoystickEvent_SetJoystick(*args, **kwargs) - def SetButtonState(*args, **kwargs): return _misc.JoystickEvent_SetButtonState(*args, **kwargs) - def SetButtonChange(*args, **kwargs): return _misc.JoystickEvent_SetButtonChange(*args, **kwargs) - def SetPosition(*args, **kwargs): return _misc.JoystickEvent_SetPosition(*args, **kwargs) - def SetZPosition(*args, **kwargs): return _misc.JoystickEvent_SetZPosition(*args, **kwargs) - def IsButton(*args, **kwargs): return _misc.JoystickEvent_IsButton(*args, **kwargs) - def IsMove(*args, **kwargs): return _misc.JoystickEvent_IsMove(*args, **kwargs) - def IsZMove(*args, **kwargs): return _misc.JoystickEvent_IsZMove(*args, **kwargs) - def ButtonDown(*args, **kwargs): return _misc.JoystickEvent_ButtonDown(*args, **kwargs) - def ButtonUp(*args, **kwargs): return _misc.JoystickEvent_ButtonUp(*args, **kwargs) - def ButtonIsDown(*args, **kwargs): return _misc.JoystickEvent_ButtonIsDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.JoystickEvent_GetPosition(*args, **kwargs) + + def GetZPosition(*args, **kwargs): + """GetZPosition() -> int""" + return _misc.JoystickEvent_GetZPosition(*args, **kwargs) + + def GetButtonState(*args, **kwargs): + """GetButtonState() -> int""" + return _misc.JoystickEvent_GetButtonState(*args, **kwargs) + + def GetButtonChange(*args, **kwargs): + """GetButtonChange() -> int""" + return _misc.JoystickEvent_GetButtonChange(*args, **kwargs) + + def GetJoystick(*args, **kwargs): + """GetJoystick() -> int""" + return _misc.JoystickEvent_GetJoystick(*args, **kwargs) + + def SetJoystick(*args, **kwargs): + """SetJoystick(int stick)""" + return _misc.JoystickEvent_SetJoystick(*args, **kwargs) + + def SetButtonState(*args, **kwargs): + """SetButtonState(int state)""" + return _misc.JoystickEvent_SetButtonState(*args, **kwargs) + + def SetButtonChange(*args, **kwargs): + """SetButtonChange(int change)""" + return _misc.JoystickEvent_SetButtonChange(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _misc.JoystickEvent_SetPosition(*args, **kwargs) + + def SetZPosition(*args, **kwargs): + """SetZPosition(int zPos)""" + return _misc.JoystickEvent_SetZPosition(*args, **kwargs) + + def IsButton(*args, **kwargs): + """IsButton() -> bool""" + return _misc.JoystickEvent_IsButton(*args, **kwargs) + + def IsMove(*args, **kwargs): + """IsMove() -> bool""" + return _misc.JoystickEvent_IsMove(*args, **kwargs) + + def IsZMove(*args, **kwargs): + """IsZMove() -> bool""" + return _misc.JoystickEvent_IsZMove(*args, **kwargs) + + def ButtonDown(*args, **kwargs): + """ButtonDown(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonDown(*args, **kwargs) + + def ButtonUp(*args, **kwargs): + """ButtonUp(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonUp(*args, **kwargs) + + def ButtonIsDown(*args, **kwargs): + """ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonIsDown(*args, **kwargs) + class JoystickEventPtr(JoystickEvent): def __init__(self, this): @@ -1117,20 +2005,30 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString fileName, bool isResource=False) -> Wave""" newobj = _misc.new_Wave(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Wave): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _misc.Wave_IsOk(*args, **kwargs) - def Play(*args, **kwargs): return _misc.Wave_Play(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _misc.Wave_IsOk(*args, **kwargs) + + def Play(*args, **kwargs): + """Play(bool async=True, bool looped=False) -> bool""" + return _misc.Wave_Play(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class WavePtr(Wave): def __init__(self, this): @@ -1140,6 +2038,7 @@ class WavePtr(Wave): _misc.Wave_swigregister(WavePtr) def WaveData(*args, **kwargs): + """WaveData(wxString data) -> Wave""" val = _misc.new_WaveData(*args, **kwargs) val.thisown = 1 return val @@ -1152,25 +2051,64 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString mimeType, wxString openCmd, wxString printCmd, + wxString desc) -> FileTypeInfo""" newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def IsValid(*args, **kwargs): return _misc.FileTypeInfo_IsValid(*args, **kwargs) - def SetIcon(*args, **kwargs): return _misc.FileTypeInfo_SetIcon(*args, **kwargs) - def SetShortDesc(*args, **kwargs): return _misc.FileTypeInfo_SetShortDesc(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _misc.FileTypeInfo_GetMimeType(*args, **kwargs) - def GetOpenCommand(*args, **kwargs): return _misc.FileTypeInfo_GetOpenCommand(*args, **kwargs) - def GetPrintCommand(*args, **kwargs): return _misc.FileTypeInfo_GetPrintCommand(*args, **kwargs) - def GetShortDesc(*args, **kwargs): return _misc.FileTypeInfo_GetShortDesc(*args, **kwargs) - def GetDescription(*args, **kwargs): return _misc.FileTypeInfo_GetDescription(*args, **kwargs) - def GetExtensions(*args, **kwargs): return _misc.FileTypeInfo_GetExtensions(*args, **kwargs) - def GetExtensionsCount(*args, **kwargs): return _misc.FileTypeInfo_GetExtensionsCount(*args, **kwargs) - def GetIconFile(*args, **kwargs): return _misc.FileTypeInfo_GetIconFile(*args, **kwargs) - def GetIconIndex(*args, **kwargs): return _misc.FileTypeInfo_GetIconIndex(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsValid(*args, **kwargs): + """IsValid() -> bool""" + return _misc.FileTypeInfo_IsValid(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxString iconFile, int iconIndex=0)""" + return _misc.FileTypeInfo_SetIcon(*args, **kwargs) + + def SetShortDesc(*args, **kwargs): + """SetShortDesc(wxString shortDesc)""" + return _misc.FileTypeInfo_SetShortDesc(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _misc.FileTypeInfo_GetMimeType(*args, **kwargs) + + def GetOpenCommand(*args, **kwargs): + """GetOpenCommand() -> wxString""" + return _misc.FileTypeInfo_GetOpenCommand(*args, **kwargs) + + def GetPrintCommand(*args, **kwargs): + """GetPrintCommand() -> wxString""" + return _misc.FileTypeInfo_GetPrintCommand(*args, **kwargs) + + def GetShortDesc(*args, **kwargs): + """GetShortDesc() -> wxString""" + return _misc.FileTypeInfo_GetShortDesc(*args, **kwargs) + + def GetDescription(*args, **kwargs): + """GetDescription() -> wxString""" + return _misc.FileTypeInfo_GetDescription(*args, **kwargs) + + def GetExtensions(*args, **kwargs): + """GetExtensions() -> wxArrayString""" + return _misc.FileTypeInfo_GetExtensions(*args, **kwargs) + + def GetExtensionsCount(*args, **kwargs): + """GetExtensionsCount() -> int""" + return _misc.FileTypeInfo_GetExtensionsCount(*args, **kwargs) + + def GetIconFile(*args, **kwargs): + """GetIconFile() -> wxString""" + return _misc.FileTypeInfo_GetIconFile(*args, **kwargs) + + def GetIconIndex(*args, **kwargs): + """GetIconIndex() -> int""" + return _misc.FileTypeInfo_GetIconIndex(*args, **kwargs) + class FileTypeInfoPtr(FileTypeInfo): def __init__(self, this): @@ -1180,40 +2118,86 @@ class FileTypeInfoPtr(FileTypeInfo): _misc.FileTypeInfo_swigregister(FileTypeInfoPtr) def FileTypeInfoSequence(*args, **kwargs): + """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo""" val = _misc.new_FileTypeInfoSequence(*args, **kwargs) val.thisown = 1 return val def NullFileTypeInfo(*args, **kwargs): + """NullFileTypeInfo() -> FileTypeInfo""" val = _misc.new_NullFileTypeInfo(*args, **kwargs) val.thisown = 1 return val class FileType(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(FileTypeInfo ftInfo) -> FileType""" newobj = _misc.new_FileType(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileType): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetMimeType(*args, **kwargs): return _misc.FileType_GetMimeType(*args, **kwargs) - def GetMimeTypes(*args, **kwargs): return _misc.FileType_GetMimeTypes(*args, **kwargs) - def GetExtensions(*args, **kwargs): return _misc.FileType_GetExtensions(*args, **kwargs) - def GetIcon(*args, **kwargs): return _misc.FileType_GetIcon(*args, **kwargs) - def GetIconInfo(*args, **kwargs): return _misc.FileType_GetIconInfo(*args, **kwargs) - def GetDescription(*args, **kwargs): return _misc.FileType_GetDescription(*args, **kwargs) - def GetOpenCommand(*args, **kwargs): return _misc.FileType_GetOpenCommand(*args, **kwargs) - def GetPrintCommand(*args, **kwargs): return _misc.FileType_GetPrintCommand(*args, **kwargs) - def GetAllCommands(*args, **kwargs): return _misc.FileType_GetAllCommands(*args, **kwargs) - def SetCommand(*args, **kwargs): return _misc.FileType_SetCommand(*args, **kwargs) - def SetDefaultIcon(*args, **kwargs): return _misc.FileType_SetDefaultIcon(*args, **kwargs) - def Unassociate(*args, **kwargs): return _misc.FileType_Unassociate(*args, **kwargs) - ExpandCommand = staticmethod(_misc.FileType_ExpandCommand) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> PyObject""" + return _misc.FileType_GetMimeType(*args, **kwargs) + + def GetMimeTypes(*args, **kwargs): + """GetMimeTypes() -> PyObject""" + return _misc.FileType_GetMimeTypes(*args, **kwargs) + + def GetExtensions(*args, **kwargs): + """GetExtensions() -> PyObject""" + return _misc.FileType_GetExtensions(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon() -> wxIcon""" + return _misc.FileType_GetIcon(*args, **kwargs) + + def GetIconInfo(*args, **kwargs): + """GetIconInfo() -> PyObject""" + return _misc.FileType_GetIconInfo(*args, **kwargs) + + def GetDescription(*args, **kwargs): + """GetDescription() -> PyObject""" + return _misc.FileType_GetDescription(*args, **kwargs) + + def GetOpenCommand(*args, **kwargs): + """GetOpenCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetOpenCommand(*args, **kwargs) + + def GetPrintCommand(*args, **kwargs): + """GetPrintCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetPrintCommand(*args, **kwargs) + + def GetAllCommands(*args, **kwargs): + """GetAllCommands(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetAllCommands(*args, **kwargs) + + def SetCommand(*args, **kwargs): + """SetCommand(wxString cmd, wxString verb, bool overwriteprompt=True) -> bool""" + return _misc.FileType_SetCommand(*args, **kwargs) + + def SetDefaultIcon(*args, **kwargs): + """SetDefaultIcon(wxString cmd=wxPyEmptyString, int index=0) -> bool""" + return _misc.FileType_SetDefaultIcon(*args, **kwargs) + + def Unassociate(*args, **kwargs): + """Unassociate() -> bool""" + return _misc.FileType_Unassociate(*args, **kwargs) + + def ExpandCommand(*args, **kwargs): + """FileType.ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + return _misc.FileType_ExpandCommand(*args, **kwargs) + + ExpandCommand = staticmethod(ExpandCommand) class FileTypePtr(FileType): def __init__(self, this): @@ -1222,31 +2206,71 @@ class FileTypePtr(FileType): self.__class__ = FileType _misc.FileType_swigregister(FileTypePtr) -FileType_ExpandCommand = _misc.FileType_ExpandCommand +def FileType_ExpandCommand(*args, **kwargs): + """FileType_ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - IsOfType = staticmethod(_misc.MimeTypesManager_IsOfType) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsOfType(*args, **kwargs): + """MimeTypesManager.IsOfType(wxString mimeType, wxString wildcard) -> bool""" + return _misc.MimeTypesManager_IsOfType(*args, **kwargs) + + IsOfType = staticmethod(IsOfType) def __init__(self, *args, **kwargs): + """__init__() -> MimeTypesManager""" newobj = _misc.new_MimeTypesManager(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Initialize(*args, **kwargs): return _misc.MimeTypesManager_Initialize(*args, **kwargs) - def ClearData(*args, **kwargs): return _misc.MimeTypesManager_ClearData(*args, **kwargs) - def GetFileTypeFromExtension(*args, **kwargs): return _misc.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs) - def GetFileTypeFromMimeType(*args, **kwargs): return _misc.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs) - def ReadMailcap(*args, **kwargs): return _misc.MimeTypesManager_ReadMailcap(*args, **kwargs) - def ReadMimeTypes(*args, **kwargs): return _misc.MimeTypesManager_ReadMimeTypes(*args, **kwargs) - def EnumAllFileTypes(*args, **kwargs): return _misc.MimeTypesManager_EnumAllFileTypes(*args, **kwargs) - def AddFallback(*args, **kwargs): return _misc.MimeTypesManager_AddFallback(*args, **kwargs) - def Associate(*args, **kwargs): return _misc.MimeTypesManager_Associate(*args, **kwargs) - def Unassociate(*args, **kwargs): return _misc.MimeTypesManager_Unassociate(*args, **kwargs) + def Initialize(*args, **kwargs): + """Initialize(int mailcapStyle=MAILCAP_ALL, wxString extraDir=wxPyEmptyString)""" + return _misc.MimeTypesManager_Initialize(*args, **kwargs) + + def ClearData(*args, **kwargs): + """ClearData()""" + return _misc.MimeTypesManager_ClearData(*args, **kwargs) + + def GetFileTypeFromExtension(*args, **kwargs): + """GetFileTypeFromExtension(wxString ext) -> FileType""" + return _misc.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs) + + def GetFileTypeFromMimeType(*args, **kwargs): + """GetFileTypeFromMimeType(wxString mimeType) -> FileType""" + return _misc.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs) + + def ReadMailcap(*args, **kwargs): + """ReadMailcap(wxString filename, bool fallback=False) -> bool""" + return _misc.MimeTypesManager_ReadMailcap(*args, **kwargs) + + def ReadMimeTypes(*args, **kwargs): + """ReadMimeTypes(wxString filename) -> bool""" + return _misc.MimeTypesManager_ReadMimeTypes(*args, **kwargs) + + def EnumAllFileTypes(*args, **kwargs): + """EnumAllFileTypes() -> PyObject""" + return _misc.MimeTypesManager_EnumAllFileTypes(*args, **kwargs) + + def AddFallback(*args, **kwargs): + """AddFallback(FileTypeInfo ft)""" + return _misc.MimeTypesManager_AddFallback(*args, **kwargs) + + def Associate(*args, **kwargs): + """Associate(FileTypeInfo ftInfo) -> FileType""" + return _misc.MimeTypesManager_Associate(*args, **kwargs) + + def Unassociate(*args, **kwargs): + """Unassociate(FileType ft) -> bool""" + return _misc.MimeTypesManager_Unassociate(*args, **kwargs) + def __del__(self, destroy=_misc.delete_MimeTypesManager): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class MimeTypesManagerPtr(MimeTypesManager): def __init__(self, this): @@ -1257,29 +2281,59 @@ _misc.MimeTypesManager_swigregister(MimeTypesManagerPtr) cvar = _misc.cvar TheMimeTypesManager = cvar.TheMimeTypesManager -MimeTypesManager_IsOfType = _misc.MimeTypesManager_IsOfType +def MimeTypesManager_IsOfType(*args, **kwargs): + """MimeTypesManager_IsOfType(wxString mimeType, wxString wildcard) -> bool""" + return _misc.MimeTypesManager_IsOfType(*args, **kwargs) #--------------------------------------------------------------------------- class ArtProvider(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ArtProvider""" newobj = _misc.new_ArtProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, ArtProvider) + def __del__(self, destroy=_misc.delete_ArtProvider): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) - PushProvider = staticmethod(_misc.ArtProvider_PushProvider) - PopProvider = staticmethod(_misc.ArtProvider_PopProvider) - RemoveProvider = staticmethod(_misc.ArtProvider_RemoveProvider) - GetBitmap = staticmethod(_misc.ArtProvider_GetBitmap) - GetIcon = staticmethod(_misc.ArtProvider_GetIcon) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) + + def PushProvider(*args, **kwargs): + """ArtProvider.PushProvider(ArtProvider provider)""" + return _misc.ArtProvider_PushProvider(*args, **kwargs) + + PushProvider = staticmethod(PushProvider) + def PopProvider(*args, **kwargs): + """ArtProvider.PopProvider() -> bool""" + return _misc.ArtProvider_PopProvider(*args, **kwargs) + + PopProvider = staticmethod(PopProvider) + def RemoveProvider(*args, **kwargs): + """ArtProvider.RemoveProvider(ArtProvider provider) -> bool""" + return _misc.ArtProvider_RemoveProvider(*args, **kwargs) + + RemoveProvider = staticmethod(RemoveProvider) + def GetBitmap(*args, **kwargs): + """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + return _misc.ArtProvider_GetBitmap(*args, **kwargs) + + GetBitmap = staticmethod(GetBitmap) + def GetIcon(*args, **kwargs): + """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + return _misc.ArtProvider_GetIcon(*args, **kwargs) + + GetIcon = staticmethod(GetIcon) class ArtProviderPtr(ArtProvider): def __init__(self, this): @@ -1326,15 +2380,25 @@ ART_WARNING = cvar.ART_WARNING ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE -ArtProvider_PushProvider = _misc.ArtProvider_PushProvider +def ArtProvider_PushProvider(*args, **kwargs): + """ArtProvider_PushProvider(ArtProvider provider)""" + return _misc.ArtProvider_PushProvider(*args, **kwargs) -ArtProvider_PopProvider = _misc.ArtProvider_PopProvider +def ArtProvider_PopProvider(*args, **kwargs): + """ArtProvider_PopProvider() -> bool""" + return _misc.ArtProvider_PopProvider(*args, **kwargs) -ArtProvider_RemoveProvider = _misc.ArtProvider_RemoveProvider +def ArtProvider_RemoveProvider(*args, **kwargs): + """ArtProvider_RemoveProvider(ArtProvider provider) -> bool""" + return _misc.ArtProvider_RemoveProvider(*args, **kwargs) -ArtProvider_GetBitmap = _misc.ArtProvider_GetBitmap +def ArtProvider_GetBitmap(*args, **kwargs): + """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + return _misc.ArtProvider_GetBitmap(*args, **kwargs) -ArtProvider_GetIcon = _misc.ArtProvider_GetIcon +def ArtProvider_GetIcon(*args, **kwargs): + """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1343,59 +2407,189 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_misc.delete_ConfigBase): + """__del__()""" try: if self.thisown: destroy(self) except: pass + Type_Unknown = _misc.ConfigBase_Type_Unknown Type_String = _misc.ConfigBase_Type_String Type_Boolean = _misc.ConfigBase_Type_Boolean Type_Integer = _misc.ConfigBase_Type_Integer Type_Float = _misc.ConfigBase_Type_Float - Set = staticmethod(_misc.ConfigBase_Set) - Get = staticmethod(_misc.ConfigBase_Get) - Create = staticmethod(_misc.ConfigBase_Create) - DontCreateOnDemand = staticmethod(_misc.ConfigBase_DontCreateOnDemand) - def SetPath(*args, **kwargs): return _misc.ConfigBase_SetPath(*args, **kwargs) - def GetPath(*args, **kwargs): return _misc.ConfigBase_GetPath(*args, **kwargs) - def GetFirstGroup(*args, **kwargs): return _misc.ConfigBase_GetFirstGroup(*args, **kwargs) - def GetNextGroup(*args, **kwargs): return _misc.ConfigBase_GetNextGroup(*args, **kwargs) - def GetFirstEntry(*args, **kwargs): return _misc.ConfigBase_GetFirstEntry(*args, **kwargs) - def GetNextEntry(*args, **kwargs): return _misc.ConfigBase_GetNextEntry(*args, **kwargs) - def GetNumberOfEntries(*args, **kwargs): return _misc.ConfigBase_GetNumberOfEntries(*args, **kwargs) - def GetNumberOfGroups(*args, **kwargs): return _misc.ConfigBase_GetNumberOfGroups(*args, **kwargs) - def HasGroup(*args, **kwargs): return _misc.ConfigBase_HasGroup(*args, **kwargs) - def HasEntry(*args, **kwargs): return _misc.ConfigBase_HasEntry(*args, **kwargs) - def Exists(*args, **kwargs): return _misc.ConfigBase_Exists(*args, **kwargs) - def GetEntryType(*args, **kwargs): return _misc.ConfigBase_GetEntryType(*args, **kwargs) - def Read(*args, **kwargs): return _misc.ConfigBase_Read(*args, **kwargs) - def ReadInt(*args, **kwargs): return _misc.ConfigBase_ReadInt(*args, **kwargs) - def ReadFloat(*args, **kwargs): return _misc.ConfigBase_ReadFloat(*args, **kwargs) - def ReadBool(*args, **kwargs): return _misc.ConfigBase_ReadBool(*args, **kwargs) - def Write(*args, **kwargs): return _misc.ConfigBase_Write(*args, **kwargs) - def WriteInt(*args, **kwargs): return _misc.ConfigBase_WriteInt(*args, **kwargs) - def WriteFloat(*args, **kwargs): return _misc.ConfigBase_WriteFloat(*args, **kwargs) - def WriteBool(*args, **kwargs): return _misc.ConfigBase_WriteBool(*args, **kwargs) - def Flush(*args, **kwargs): return _misc.ConfigBase_Flush(*args, **kwargs) - def RenameEntry(*args, **kwargs): return _misc.ConfigBase_RenameEntry(*args, **kwargs) - def RenameGroup(*args, **kwargs): return _misc.ConfigBase_RenameGroup(*args, **kwargs) - def DeleteEntry(*args, **kwargs): return _misc.ConfigBase_DeleteEntry(*args, **kwargs) - def DeleteGroup(*args, **kwargs): return _misc.ConfigBase_DeleteGroup(*args, **kwargs) - def DeleteAll(*args, **kwargs): return _misc.ConfigBase_DeleteAll(*args, **kwargs) - def IsExpandingEnvVars(*args, **kwargs): return _misc.ConfigBase_IsExpandingEnvVars(*args, **kwargs) - def SetExpandEnvVars(*args, **kwargs): return _misc.ConfigBase_SetExpandEnvVars(*args, **kwargs) - def SetRecordDefaults(*args, **kwargs): return _misc.ConfigBase_SetRecordDefaults(*args, **kwargs) - def IsRecordingDefaults(*args, **kwargs): return _misc.ConfigBase_IsRecordingDefaults(*args, **kwargs) - def ExpandEnvVars(*args, **kwargs): return _misc.ConfigBase_ExpandEnvVars(*args, **kwargs) - def GetAppName(*args, **kwargs): return _misc.ConfigBase_GetAppName(*args, **kwargs) - def GetVendorName(*args, **kwargs): return _misc.ConfigBase_GetVendorName(*args, **kwargs) - def SetAppName(*args, **kwargs): return _misc.ConfigBase_SetAppName(*args, **kwargs) - def SetVendorName(*args, **kwargs): return _misc.ConfigBase_SetVendorName(*args, **kwargs) - def SetStyle(*args, **kwargs): return _misc.ConfigBase_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _misc.ConfigBase_GetStyle(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """ConfigBase.Set(ConfigBase pConfig) -> ConfigBase""" + return _misc.ConfigBase_Set(*args, **kwargs) + + Set = staticmethod(Set) + def Get(*args, **kwargs): + """ConfigBase.Get(bool createOnDemand=True) -> ConfigBase""" + return _misc.ConfigBase_Get(*args, **kwargs) + + Get = staticmethod(Get) + def Create(*args, **kwargs): + """ConfigBase.Create() -> ConfigBase""" + return _misc.ConfigBase_Create(*args, **kwargs) + + Create = staticmethod(Create) + def DontCreateOnDemand(*args, **kwargs): + """ConfigBase.DontCreateOnDemand()""" + return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) + + DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetPath(*args, **kwargs): + """SetPath(wxString strPath)""" + return _misc.ConfigBase_SetPath(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _misc.ConfigBase_GetPath(*args, **kwargs) + + def GetFirstGroup(*args, **kwargs): + """GetFirstGroup() -> PyObject""" + return _misc.ConfigBase_GetFirstGroup(*args, **kwargs) + + def GetNextGroup(*args, **kwargs): + """GetNextGroup(long index) -> PyObject""" + return _misc.ConfigBase_GetNextGroup(*args, **kwargs) + + def GetFirstEntry(*args, **kwargs): + """GetFirstEntry() -> PyObject""" + return _misc.ConfigBase_GetFirstEntry(*args, **kwargs) + + def GetNextEntry(*args, **kwargs): + """GetNextEntry(long index) -> PyObject""" + return _misc.ConfigBase_GetNextEntry(*args, **kwargs) + + def GetNumberOfEntries(*args, **kwargs): + """GetNumberOfEntries(bool bRecursive=False) -> size_t""" + return _misc.ConfigBase_GetNumberOfEntries(*args, **kwargs) + + def GetNumberOfGroups(*args, **kwargs): + """GetNumberOfGroups(bool bRecursive=False) -> size_t""" + return _misc.ConfigBase_GetNumberOfGroups(*args, **kwargs) + + def HasGroup(*args, **kwargs): + """HasGroup(wxString strName) -> bool""" + return _misc.ConfigBase_HasGroup(*args, **kwargs) + + def HasEntry(*args, **kwargs): + """HasEntry(wxString strName) -> bool""" + return _misc.ConfigBase_HasEntry(*args, **kwargs) + + def Exists(*args, **kwargs): + """Exists(wxString strName) -> bool""" + return _misc.ConfigBase_Exists(*args, **kwargs) + + def GetEntryType(*args, **kwargs): + """GetEntryType(wxString name) -> wxConfigBase::EntryType""" + return _misc.ConfigBase_GetEntryType(*args, **kwargs) + + def Read(*args, **kwargs): + """Read(wxString key, wxString defaultVal=wxPyEmptyString) -> wxString""" + return _misc.ConfigBase_Read(*args, **kwargs) + + def ReadInt(*args, **kwargs): + """ReadInt(wxString key, long defaultVal=0) -> long""" + return _misc.ConfigBase_ReadInt(*args, **kwargs) + + def ReadFloat(*args, **kwargs): + """ReadFloat(wxString key, double defaultVal=0.0) -> double""" + return _misc.ConfigBase_ReadFloat(*args, **kwargs) + + def ReadBool(*args, **kwargs): + """ReadBool(wxString key, bool defaultVal=False) -> bool""" + return _misc.ConfigBase_ReadBool(*args, **kwargs) + + def Write(*args, **kwargs): + """Write(wxString key, wxString value) -> bool""" + return _misc.ConfigBase_Write(*args, **kwargs) + + def WriteInt(*args, **kwargs): + """WriteInt(wxString key, long value) -> bool""" + return _misc.ConfigBase_WriteInt(*args, **kwargs) + + def WriteFloat(*args, **kwargs): + """WriteFloat(wxString key, double value) -> bool""" + return _misc.ConfigBase_WriteFloat(*args, **kwargs) + + def WriteBool(*args, **kwargs): + """WriteBool(wxString key, bool value) -> bool""" + return _misc.ConfigBase_WriteBool(*args, **kwargs) + + def Flush(*args, **kwargs): + """Flush(bool bCurrentOnly=False) -> bool""" + return _misc.ConfigBase_Flush(*args, **kwargs) + + def RenameEntry(*args, **kwargs): + """RenameEntry(wxString oldName, wxString newName) -> bool""" + return _misc.ConfigBase_RenameEntry(*args, **kwargs) + + def RenameGroup(*args, **kwargs): + """RenameGroup(wxString oldName, wxString newName) -> bool""" + return _misc.ConfigBase_RenameGroup(*args, **kwargs) + + def DeleteEntry(*args, **kwargs): + """DeleteEntry(wxString key, bool bDeleteGroupIfEmpty=True) -> bool""" + return _misc.ConfigBase_DeleteEntry(*args, **kwargs) + + def DeleteGroup(*args, **kwargs): + """DeleteGroup(wxString key) -> bool""" + return _misc.ConfigBase_DeleteGroup(*args, **kwargs) + + def DeleteAll(*args, **kwargs): + """DeleteAll() -> bool""" + return _misc.ConfigBase_DeleteAll(*args, **kwargs) + + def IsExpandingEnvVars(*args, **kwargs): + """IsExpandingEnvVars() -> bool""" + return _misc.ConfigBase_IsExpandingEnvVars(*args, **kwargs) + + def SetExpandEnvVars(*args, **kwargs): + """SetExpandEnvVars(bool bDoIt=True)""" + return _misc.ConfigBase_SetExpandEnvVars(*args, **kwargs) + + def SetRecordDefaults(*args, **kwargs): + """SetRecordDefaults(bool bDoIt=True)""" + return _misc.ConfigBase_SetRecordDefaults(*args, **kwargs) + + def IsRecordingDefaults(*args, **kwargs): + """IsRecordingDefaults() -> bool""" + return _misc.ConfigBase_IsRecordingDefaults(*args, **kwargs) + + def ExpandEnvVars(*args, **kwargs): + """ExpandEnvVars(wxString str) -> wxString""" + return _misc.ConfigBase_ExpandEnvVars(*args, **kwargs) + + def GetAppName(*args, **kwargs): + """GetAppName() -> wxString""" + return _misc.ConfigBase_GetAppName(*args, **kwargs) + + def GetVendorName(*args, **kwargs): + """GetVendorName() -> wxString""" + return _misc.ConfigBase_GetVendorName(*args, **kwargs) + + def SetAppName(*args, **kwargs): + """SetAppName(wxString appName)""" + return _misc.ConfigBase_SetAppName(*args, **kwargs) + + def SetVendorName(*args, **kwargs): + """SetVendorName(wxString vendorName)""" + return _misc.ConfigBase_SetVendorName(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long style)""" + return _misc.ConfigBase_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _misc.ConfigBase_GetStyle(*args, **kwargs) + class ConfigBasePtr(ConfigBase): def __init__(self, this): @@ -1404,27 +2598,42 @@ class ConfigBasePtr(ConfigBase): self.__class__ = ConfigBase _misc.ConfigBase_swigregister(ConfigBasePtr) -ConfigBase_Set = _misc.ConfigBase_Set +def ConfigBase_Set(*args, **kwargs): + """ConfigBase_Set(ConfigBase pConfig) -> ConfigBase""" + return _misc.ConfigBase_Set(*args, **kwargs) -ConfigBase_Get = _misc.ConfigBase_Get +def ConfigBase_Get(*args, **kwargs): + """ConfigBase_Get(bool createOnDemand=True) -> ConfigBase""" + return _misc.ConfigBase_Get(*args, **kwargs) -ConfigBase_Create = _misc.ConfigBase_Create +def ConfigBase_Create(*args, **kwargs): + """ConfigBase_Create() -> ConfigBase""" + return _misc.ConfigBase_Create(*args, **kwargs) -ConfigBase_DontCreateOnDemand = _misc.ConfigBase_DontCreateOnDemand +def ConfigBase_DontCreateOnDemand(*args, **kwargs): + """ConfigBase_DontCreateOnDemand()""" + return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(ConfigBase pContainer, wxString strEntry) -> ConfigPathChanger""" newobj = _misc.new_ConfigPathChanger(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_ConfigPathChanger): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Name(*args, **kwargs): return _misc.ConfigPathChanger_Name(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Name(*args, **kwargs): + """Name() -> wxString""" + return _misc.ConfigPathChanger_Name(*args, **kwargs) + class ConfigPathChangerPtr(ConfigPathChanger): def __init__(self, this): @@ -1434,17 +2643,24 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> Config""" newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Config): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class ConfigPtr(Config): def __init__(self, this): @@ -1454,17 +2670,24 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> FileConfig""" newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileConfig): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class FileConfigPtr(FileConfig): def __init__(self, this): @@ -1474,10 +2697,15 @@ class FileConfigPtr(FileConfig): _misc.FileConfig_swigregister(FileConfigPtr) -ExpandEnvVars = _misc.ExpandEnvVars +def ExpandEnvVars(*args, **kwargs): + """ExpandEnvVars(wxString sz) -> wxString""" + return _misc.ExpandEnvVars(*args, **kwargs) #--------------------------------------------------------------------------- class DateTime(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local GMT_12 = _misc.DateTime_GMT_12 GMT_11 = _misc.DateTime_GMT_11 @@ -1633,119 +2861,466 @@ class DateTime(object): Default_First = _misc.DateTime_Default_First Monday_First = _misc.DateTime_Monday_First Sunday_First = _misc.DateTime_Sunday_First - SetCountry = staticmethod(_misc.DateTime_SetCountry) - GetCountry = staticmethod(_misc.DateTime_GetCountry) - IsWestEuropeanCountry = staticmethod(_misc.DateTime_IsWestEuropeanCountry) - GetCurrentYear = staticmethod(_misc.DateTime_GetCurrentYear) - ConvertYearToBC = staticmethod(_misc.DateTime_ConvertYearToBC) - GetCurrentMonth = staticmethod(_misc.DateTime_GetCurrentMonth) - IsLeapYear = staticmethod(_misc.DateTime_IsLeapYear) - GetCentury = staticmethod(_misc.DateTime_GetCentury) - GetNumberOfDaysinYear = staticmethod(_misc.DateTime_GetNumberOfDaysinYear) - GetNumberOfDaysInMonth = staticmethod(_misc.DateTime_GetNumberOfDaysInMonth) - GetMonthName = staticmethod(_misc.DateTime_GetMonthName) - GetWeekDayName = staticmethod(_misc.DateTime_GetWeekDayName) - GetAmPmStrings = staticmethod(_misc.DateTime_GetAmPmStrings) - IsDSTApplicable = staticmethod(_misc.DateTime_IsDSTApplicable) - GetBeginDST = staticmethod(_misc.DateTime_GetBeginDST) - GetEndDST = staticmethod(_misc.DateTime_GetEndDST) - Now = staticmethod(_misc.DateTime_Now) - UNow = staticmethod(_misc.DateTime_UNow) - Today = staticmethod(_misc.DateTime_Today) + def SetCountry(*args, **kwargs): + """DateTime.SetCountry(wxDateTime::Country country)""" + return _misc.DateTime_SetCountry(*args, **kwargs) + + SetCountry = staticmethod(SetCountry) + def GetCountry(*args, **kwargs): + """DateTime.GetCountry() -> wxDateTime::Country""" + return _misc.DateTime_GetCountry(*args, **kwargs) + + GetCountry = staticmethod(GetCountry) + def IsWestEuropeanCountry(*args, **kwargs): + """DateTime.IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) + + IsWestEuropeanCountry = staticmethod(IsWestEuropeanCountry) + def GetCurrentYear(*args, **kwargs): + """DateTime.GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + return _misc.DateTime_GetCurrentYear(*args, **kwargs) + + GetCurrentYear = staticmethod(GetCurrentYear) + def ConvertYearToBC(*args, **kwargs): + """DateTime.ConvertYearToBC(int year) -> int""" + return _misc.DateTime_ConvertYearToBC(*args, **kwargs) + + ConvertYearToBC = staticmethod(ConvertYearToBC) + def GetCurrentMonth(*args, **kwargs): + """DateTime.GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + return _misc.DateTime_GetCurrentMonth(*args, **kwargs) + + GetCurrentMonth = staticmethod(GetCurrentMonth) + def IsLeapYear(*args, **kwargs): + """DateTime.IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + return _misc.DateTime_IsLeapYear(*args, **kwargs) + + IsLeapYear = staticmethod(IsLeapYear) + def GetCentury(*args, **kwargs): + """DateTime.GetCentury(int year=Inv_Year) -> int""" + return _misc.DateTime_GetCentury(*args, **kwargs) + + GetCentury = staticmethod(GetCentury) + def GetNumberOfDaysinYear(*args, **kwargs): + """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) + + GetNumberOfDaysinYear = staticmethod(GetNumberOfDaysinYear) + def GetNumberOfDaysInMonth(*args, **kwargs): + """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) + + GetNumberOfDaysInMonth = staticmethod(GetNumberOfDaysInMonth) + def GetMonthName(*args, **kwargs): + """DateTime.GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetMonthName(*args, **kwargs) + + GetMonthName = staticmethod(GetMonthName) + def GetWeekDayName(*args, **kwargs): + """DateTime.GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetWeekDayName(*args, **kwargs) + + GetWeekDayName = staticmethod(GetWeekDayName) + def GetAmPmStrings(*args, **kwargs): + """DateTime.GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)""" + return _misc.DateTime_GetAmPmStrings(*args, **kwargs) + + GetAmPmStrings = staticmethod(GetAmPmStrings) + def IsDSTApplicable(*args, **kwargs): + """DateTime.IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsDSTApplicable(*args, **kwargs) + + IsDSTApplicable = staticmethod(IsDSTApplicable) + def GetBeginDST(*args, **kwargs): + """DateTime.GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetBeginDST(*args, **kwargs) + + GetBeginDST = staticmethod(GetBeginDST) + def GetEndDST(*args, **kwargs): + """DateTime.GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetEndDST(*args, **kwargs) + + GetEndDST = staticmethod(GetEndDST) + def Now(*args, **kwargs): + """DateTime.Now() -> DateTime""" + return _misc.DateTime_Now(*args, **kwargs) + + Now = staticmethod(Now) + def UNow(*args, **kwargs): + """DateTime.UNow() -> DateTime""" + return _misc.DateTime_UNow(*args, **kwargs) + + UNow = staticmethod(UNow) + def Today(*args, **kwargs): + """DateTime.Today() -> DateTime""" + return _misc.DateTime_Today(*args, **kwargs) + + Today = staticmethod(Today) def __init__(self, *args, **kwargs): + """__init__() -> DateTime""" newobj = _misc.new_DateTime(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DateTime): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetToCurrent(*args, **kwargs): return _misc.DateTime_SetToCurrent(*args, **kwargs) - def SetTimeT(*args, **kwargs): return _misc.DateTime_SetTimeT(*args, **kwargs) - def SetJDN(*args, **kwargs): return _misc.DateTime_SetJDN(*args, **kwargs) - def SetHMS(*args, **kwargs): return _misc.DateTime_SetHMS(*args, **kwargs) - def Set(*args, **kwargs): return _misc.DateTime_Set(*args, **kwargs) - def ResetTime(*args, **kwargs): return _misc.DateTime_ResetTime(*args, **kwargs) - def SetYear(*args, **kwargs): return _misc.DateTime_SetYear(*args, **kwargs) - def SetMonth(*args, **kwargs): return _misc.DateTime_SetMonth(*args, **kwargs) - def SetDay(*args, **kwargs): return _misc.DateTime_SetDay(*args, **kwargs) - def SetHour(*args, **kwargs): return _misc.DateTime_SetHour(*args, **kwargs) - def SetMinute(*args, **kwargs): return _misc.DateTime_SetMinute(*args, **kwargs) - def SetSecond(*args, **kwargs): return _misc.DateTime_SetSecond(*args, **kwargs) - def SetMillisecond(*args, **kwargs): return _misc.DateTime_SetMillisecond(*args, **kwargs) - def SetToWeekDayInSameWeek(*args, **kwargs): return _misc.DateTime_SetToWeekDayInSameWeek(*args, **kwargs) - def GetWeekDayInSameWeek(*args, **kwargs): return _misc.DateTime_GetWeekDayInSameWeek(*args, **kwargs) - def SetToNextWeekDay(*args, **kwargs): return _misc.DateTime_SetToNextWeekDay(*args, **kwargs) - def GetNextWeekDay(*args, **kwargs): return _misc.DateTime_GetNextWeekDay(*args, **kwargs) - def SetToPrevWeekDay(*args, **kwargs): return _misc.DateTime_SetToPrevWeekDay(*args, **kwargs) - def GetPrevWeekDay(*args, **kwargs): return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) - def SetToWeekDay(*args, **kwargs): return _misc.DateTime_SetToWeekDay(*args, **kwargs) - def SetToLastWeekDay(*args, **kwargs): return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) - def GetLastWeekDay(*args, **kwargs): return _misc.DateTime_GetLastWeekDay(*args, **kwargs) - def SetToTheWeek(*args, **kwargs): return _misc.DateTime_SetToTheWeek(*args, **kwargs) - def GetWeek(*args, **kwargs): return _misc.DateTime_GetWeek(*args, **kwargs) - def SetToLastMonthDay(*args, **kwargs): return _misc.DateTime_SetToLastMonthDay(*args, **kwargs) - def GetLastMonthDay(*args, **kwargs): return _misc.DateTime_GetLastMonthDay(*args, **kwargs) - def SetToYearDay(*args, **kwargs): return _misc.DateTime_SetToYearDay(*args, **kwargs) - def GetYearDay(*args, **kwargs): return _misc.DateTime_GetYearDay(*args, **kwargs) - def GetJulianDayNumber(*args, **kwargs): return _misc.DateTime_GetJulianDayNumber(*args, **kwargs) - def GetJDN(*args, **kwargs): return _misc.DateTime_GetJDN(*args, **kwargs) - def GetModifiedJulianDayNumber(*args, **kwargs): return _misc.DateTime_GetModifiedJulianDayNumber(*args, **kwargs) - def GetMJD(*args, **kwargs): return _misc.DateTime_GetMJD(*args, **kwargs) - def GetRataDie(*args, **kwargs): return _misc.DateTime_GetRataDie(*args, **kwargs) - def ToTimezone(*args, **kwargs): return _misc.DateTime_ToTimezone(*args, **kwargs) - def MakeTimezone(*args, **kwargs): return _misc.DateTime_MakeTimezone(*args, **kwargs) - def ToGMT(*args, **kwargs): return _misc.DateTime_ToGMT(*args, **kwargs) - def MakeGMT(*args, **kwargs): return _misc.DateTime_MakeGMT(*args, **kwargs) - def IsDST(*args, **kwargs): return _misc.DateTime_IsDST(*args, **kwargs) - def IsValid(*args, **kwargs): return _misc.DateTime_IsValid(*args, **kwargs) - def GetTicks(*args, **kwargs): return _misc.DateTime_GetTicks(*args, **kwargs) - def GetYear(*args, **kwargs): return _misc.DateTime_GetYear(*args, **kwargs) - def GetMonth(*args, **kwargs): return _misc.DateTime_GetMonth(*args, **kwargs) - def GetDay(*args, **kwargs): return _misc.DateTime_GetDay(*args, **kwargs) - def GetWeekDay(*args, **kwargs): return _misc.DateTime_GetWeekDay(*args, **kwargs) - def GetHour(*args, **kwargs): return _misc.DateTime_GetHour(*args, **kwargs) - def GetMinute(*args, **kwargs): return _misc.DateTime_GetMinute(*args, **kwargs) - def GetSecond(*args, **kwargs): return _misc.DateTime_GetSecond(*args, **kwargs) - def GetMillisecond(*args, **kwargs): return _misc.DateTime_GetMillisecond(*args, **kwargs) - def GetDayOfYear(*args, **kwargs): return _misc.DateTime_GetDayOfYear(*args, **kwargs) - def GetWeekOfYear(*args, **kwargs): return _misc.DateTime_GetWeekOfYear(*args, **kwargs) - def GetWeekOfMonth(*args, **kwargs): return _misc.DateTime_GetWeekOfMonth(*args, **kwargs) - def IsWorkDay(*args, **kwargs): return _misc.DateTime_IsWorkDay(*args, **kwargs) - def IsEqualTo(*args, **kwargs): return _misc.DateTime_IsEqualTo(*args, **kwargs) - def IsEarlierThan(*args, **kwargs): return _misc.DateTime_IsEarlierThan(*args, **kwargs) - def IsLaterThan(*args, **kwargs): return _misc.DateTime_IsLaterThan(*args, **kwargs) - def IsStrictlyBetween(*args, **kwargs): return _misc.DateTime_IsStrictlyBetween(*args, **kwargs) - def IsBetween(*args, **kwargs): return _misc.DateTime_IsBetween(*args, **kwargs) - def IsSameDate(*args, **kwargs): return _misc.DateTime_IsSameDate(*args, **kwargs) - def IsSameTime(*args, **kwargs): return _misc.DateTime_IsSameTime(*args, **kwargs) - def IsEqualUpTo(*args, **kwargs): return _misc.DateTime_IsEqualUpTo(*args, **kwargs) - def AddTS(*args, **kwargs): return _misc.DateTime_AddTS(*args, **kwargs) - def AddDS(*args, **kwargs): return _misc.DateTime_AddDS(*args, **kwargs) - def SubtractTS(*args, **kwargs): return _misc.DateTime_SubtractTS(*args, **kwargs) - def SubtractDS(*args, **kwargs): return _misc.DateTime_SubtractDS(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.DateTime_Subtract(*args, **kwargs) - def __iadd__(*args): return _misc.DateTime___iadd__(*args) - def __isub__(*args): return _misc.DateTime___isub__(*args) - def __add__(*args): return _misc.DateTime___add__(*args) - def __sub__(*args): return _misc.DateTime___sub__(*args) - def __lt__(*args): return _misc.DateTime___lt__(*args) - def __le__(*args): return _misc.DateTime___le__(*args) - def __gt__(*args): return _misc.DateTime___gt__(*args) - def __ge__(*args): return _misc.DateTime___ge__(*args) - def __eq__(*args): return _misc.DateTime___eq__(*args) - def __ne__(*args): return _misc.DateTime___ne__(*args) - def ParseRfc822Date(*args, **kwargs): return _misc.DateTime_ParseRfc822Date(*args, **kwargs) - def ParseFormat(*args, **kwargs): return _misc.DateTime_ParseFormat(*args, **kwargs) - def ParseDateTime(*args, **kwargs): return _misc.DateTime_ParseDateTime(*args, **kwargs) - def ParseDate(*args, **kwargs): return _misc.DateTime_ParseDate(*args, **kwargs) - def ParseTime(*args, **kwargs): return _misc.DateTime_ParseTime(*args, **kwargs) - def Format(*args, **kwargs): return _misc.DateTime_Format(*args, **kwargs) - def FormatDate(*args, **kwargs): return _misc.DateTime_FormatDate(*args, **kwargs) - def FormatTime(*args, **kwargs): return _misc.DateTime_FormatTime(*args, **kwargs) - def FormatISODate(*args, **kwargs): return _misc.DateTime_FormatISODate(*args, **kwargs) - def FormatISOTime(*args, **kwargs): return _misc.DateTime_FormatISOTime(*args, **kwargs) + + def SetToCurrent(*args, **kwargs): + """SetToCurrent() -> DateTime""" + return _misc.DateTime_SetToCurrent(*args, **kwargs) + + def SetTimeT(*args, **kwargs): + """SetTimeT(time_t timet) -> DateTime""" + return _misc.DateTime_SetTimeT(*args, **kwargs) + + def SetJDN(*args, **kwargs): + """SetJDN(double jdn) -> DateTime""" + return _misc.DateTime_SetJDN(*args, **kwargs) + + def SetHMS(*args, **kwargs): + """SetHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0, + wxDateTime_t millisec=0) -> DateTime""" + return _misc.DateTime_SetHMS(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(wxDateTime_t day, wxDateTime::Month month=Inv_Month, + int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0, + wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime""" + return _misc.DateTime_Set(*args, **kwargs) + + def ResetTime(*args, **kwargs): + """ResetTime() -> DateTime""" + return _misc.DateTime_ResetTime(*args, **kwargs) + + def SetYear(*args, **kwargs): + """SetYear(int year) -> DateTime""" + return _misc.DateTime_SetYear(*args, **kwargs) + + def SetMonth(*args, **kwargs): + """SetMonth(wxDateTime::Month month) -> DateTime""" + return _misc.DateTime_SetMonth(*args, **kwargs) + + def SetDay(*args, **kwargs): + """SetDay(wxDateTime_t day) -> DateTime""" + return _misc.DateTime_SetDay(*args, **kwargs) + + def SetHour(*args, **kwargs): + """SetHour(wxDateTime_t hour) -> DateTime""" + return _misc.DateTime_SetHour(*args, **kwargs) + + def SetMinute(*args, **kwargs): + """SetMinute(wxDateTime_t minute) -> DateTime""" + return _misc.DateTime_SetMinute(*args, **kwargs) + + def SetSecond(*args, **kwargs): + """SetSecond(wxDateTime_t second) -> DateTime""" + return _misc.DateTime_SetSecond(*args, **kwargs) + + def SetMillisecond(*args, **kwargs): + """SetMillisecond(wxDateTime_t millisecond) -> DateTime""" + return _misc.DateTime_SetMillisecond(*args, **kwargs) + + def SetToWeekDayInSameWeek(*args, **kwargs): + """SetToWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_SetToWeekDayInSameWeek(*args, **kwargs) + + def GetWeekDayInSameWeek(*args, **kwargs): + """GetWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_GetWeekDayInSameWeek(*args, **kwargs) + + def SetToNextWeekDay(*args, **kwargs): + """SetToNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_SetToNextWeekDay(*args, **kwargs) + + def GetNextWeekDay(*args, **kwargs): + """GetNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_GetNextWeekDay(*args, **kwargs) + + def SetToPrevWeekDay(*args, **kwargs): + """SetToPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_SetToPrevWeekDay(*args, **kwargs) + + def GetPrevWeekDay(*args, **kwargs): + """GetPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) + + def SetToWeekDay(*args, **kwargs): + """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool""" + return _misc.DateTime_SetToWeekDay(*args, **kwargs) + + def SetToLastWeekDay(*args, **kwargs): + """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool""" + return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) + + def GetLastWeekDay(*args, **kwargs): + """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> DateTime""" + return _misc.DateTime_GetLastWeekDay(*args, **kwargs) + + def SetToTheWeek(*args, **kwargs): + """SetToTheWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon, + wxDateTime::WeekFlags flags=Monday_First) -> bool""" + return _misc.DateTime_SetToTheWeek(*args, **kwargs) + + def GetWeek(*args, **kwargs): + """GetWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon, + wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_GetWeek(*args, **kwargs) + + def SetToLastMonthDay(*args, **kwargs): + """SetToLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + return _misc.DateTime_SetToLastMonthDay(*args, **kwargs) + + def GetLastMonthDay(*args, **kwargs): + """GetLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + return _misc.DateTime_GetLastMonthDay(*args, **kwargs) + + def SetToYearDay(*args, **kwargs): + """SetToYearDay(wxDateTime_t yday) -> DateTime""" + return _misc.DateTime_SetToYearDay(*args, **kwargs) + + def GetYearDay(*args, **kwargs): + """GetYearDay(wxDateTime_t yday) -> DateTime""" + return _misc.DateTime_GetYearDay(*args, **kwargs) + + def GetJulianDayNumber(*args, **kwargs): + """GetJulianDayNumber() -> double""" + return _misc.DateTime_GetJulianDayNumber(*args, **kwargs) + + def GetJDN(*args, **kwargs): + """GetJDN() -> double""" + return _misc.DateTime_GetJDN(*args, **kwargs) + + def GetModifiedJulianDayNumber(*args, **kwargs): + """GetModifiedJulianDayNumber() -> double""" + return _misc.DateTime_GetModifiedJulianDayNumber(*args, **kwargs) + + def GetMJD(*args, **kwargs): + """GetMJD() -> double""" + return _misc.DateTime_GetMJD(*args, **kwargs) + + def GetRataDie(*args, **kwargs): + """GetRataDie() -> double""" + return _misc.DateTime_GetRataDie(*args, **kwargs) + + def ToTimezone(*args, **kwargs): + """ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" + return _misc.DateTime_ToTimezone(*args, **kwargs) + + def MakeTimezone(*args, **kwargs): + """MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" + return _misc.DateTime_MakeTimezone(*args, **kwargs) + + def ToGMT(*args, **kwargs): + """ToGMT(bool noDST=False) -> DateTime""" + return _misc.DateTime_ToGMT(*args, **kwargs) + + def MakeGMT(*args, **kwargs): + """MakeGMT(bool noDST=False) -> DateTime""" + return _misc.DateTime_MakeGMT(*args, **kwargs) + + def IsDST(*args, **kwargs): + """IsDST(wxDateTime::Country country=Country_Default) -> int""" + return _misc.DateTime_IsDST(*args, **kwargs) + + def IsValid(*args, **kwargs): + """IsValid() -> bool""" + return _misc.DateTime_IsValid(*args, **kwargs) + + def GetTicks(*args, **kwargs): + """GetTicks() -> time_t""" + return _misc.DateTime_GetTicks(*args, **kwargs) + + def GetYear(*args, **kwargs): + """GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" + return _misc.DateTime_GetYear(*args, **kwargs) + + def GetMonth(*args, **kwargs): + """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::Month""" + return _misc.DateTime_GetMonth(*args, **kwargs) + + def GetDay(*args, **kwargs): + """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetDay(*args, **kwargs) + + def GetWeekDay(*args, **kwargs): + """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::WeekDay""" + return _misc.DateTime_GetWeekDay(*args, **kwargs) + + def GetHour(*args, **kwargs): + """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetHour(*args, **kwargs) + + def GetMinute(*args, **kwargs): + """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetMinute(*args, **kwargs) + + def GetSecond(*args, **kwargs): + """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetSecond(*args, **kwargs) + + def GetMillisecond(*args, **kwargs): + """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetMillisecond(*args, **kwargs) + + def GetDayOfYear(*args, **kwargs): + """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetDayOfYear(*args, **kwargs) + + def GetWeekOfYear(*args, **kwargs): + """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetWeekOfYear(*args, **kwargs) + + def GetWeekOfMonth(*args, **kwargs): + """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetWeekOfMonth(*args, **kwargs) + + def IsWorkDay(*args, **kwargs): + """IsWorkDay(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWorkDay(*args, **kwargs) + + def IsEqualTo(*args, **kwargs): + """IsEqualTo(DateTime datetime) -> bool""" + return _misc.DateTime_IsEqualTo(*args, **kwargs) + + def IsEarlierThan(*args, **kwargs): + """IsEarlierThan(DateTime datetime) -> bool""" + return _misc.DateTime_IsEarlierThan(*args, **kwargs) + + def IsLaterThan(*args, **kwargs): + """IsLaterThan(DateTime datetime) -> bool""" + return _misc.DateTime_IsLaterThan(*args, **kwargs) + + def IsStrictlyBetween(*args, **kwargs): + """IsStrictlyBetween(DateTime t1, DateTime t2) -> bool""" + return _misc.DateTime_IsStrictlyBetween(*args, **kwargs) + + def IsBetween(*args, **kwargs): + """IsBetween(DateTime t1, DateTime t2) -> bool""" + return _misc.DateTime_IsBetween(*args, **kwargs) + + def IsSameDate(*args, **kwargs): + """IsSameDate(DateTime dt) -> bool""" + return _misc.DateTime_IsSameDate(*args, **kwargs) + + def IsSameTime(*args, **kwargs): + """IsSameTime(DateTime dt) -> bool""" + return _misc.DateTime_IsSameTime(*args, **kwargs) + + def IsEqualUpTo(*args, **kwargs): + """IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool""" + return _misc.DateTime_IsEqualUpTo(*args, **kwargs) + + def AddTS(*args, **kwargs): + """AddTS(TimeSpan diff) -> DateTime""" + return _misc.DateTime_AddTS(*args, **kwargs) + + def AddDS(*args, **kwargs): + """AddDS(DateSpan diff) -> DateTime""" + return _misc.DateTime_AddDS(*args, **kwargs) + + def SubtractTS(*args, **kwargs): + """SubtractTS(TimeSpan diff) -> DateTime""" + return _misc.DateTime_SubtractTS(*args, **kwargs) + + def SubtractDS(*args, **kwargs): + """SubtractDS(DateSpan diff) -> DateTime""" + return _misc.DateTime_SubtractDS(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(DateTime dt) -> TimeSpan""" + return _misc.DateTime_Subtract(*args, **kwargs) + + def __iadd__(*args): + """__iadd__(TimeSpan diff) -> DateTime +__iadd__(DateSpan diff) -> DateTime""" + return _misc.DateTime___iadd__(*args) + + def __isub__(*args): + """__isub__(TimeSpan diff) -> DateTime +__isub__(DateSpan diff) -> DateTime""" + return _misc.DateTime___isub__(*args) + + def __add__(*args): + """__add__(TimeSpan other) -> DateTime +__add__(DateSpan other) -> DateTime""" + return _misc.DateTime___add__(*args) + + def __sub__(*args): + """__sub__(DateTime other) -> TimeSpan +__sub__(TimeSpan other) -> DateTime +__sub__(DateSpan other) -> DateTime""" + return _misc.DateTime___sub__(*args) + + def __lt__(*args): + """__lt__(DateTime other) -> bool""" + return _misc.DateTime___lt__(*args) + + def __le__(*args): + """__le__(DateTime other) -> bool""" + return _misc.DateTime___le__(*args) + + def __gt__(*args): + """__gt__(DateTime other) -> bool""" + return _misc.DateTime___gt__(*args) + + def __ge__(*args): + """__ge__(DateTime other) -> bool""" + return _misc.DateTime___ge__(*args) + + def __eq__(*args): + """__eq__(DateTime other) -> bool""" + return _misc.DateTime___eq__(*args) + + def __ne__(*args): + """__ne__(DateTime other) -> bool""" + return _misc.DateTime___ne__(*args) + + def ParseRfc822Date(*args, **kwargs): + """ParseRfc822Date(wxString date) -> int""" + return _misc.DateTime_ParseRfc822Date(*args, **kwargs) + + def ParseFormat(*args, **kwargs): + """ParseFormat(wxString date, wxString format=wxPyDateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int""" + return _misc.DateTime_ParseFormat(*args, **kwargs) + + def ParseDateTime(*args, **kwargs): + """ParseDateTime(wxString datetime) -> int""" + return _misc.DateTime_ParseDateTime(*args, **kwargs) + + def ParseDate(*args, **kwargs): + """ParseDate(wxString date) -> int""" + return _misc.DateTime_ParseDate(*args, **kwargs) + + def ParseTime(*args, **kwargs): + """ParseTime(wxString time) -> int""" + return _misc.DateTime_ParseTime(*args, **kwargs) + + def Format(*args, **kwargs): + """Format(wxString format=wxPyDateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxString""" + return _misc.DateTime_Format(*args, **kwargs) + + def FormatDate(*args, **kwargs): + """FormatDate() -> wxString""" + return _misc.DateTime_FormatDate(*args, **kwargs) + + def FormatTime(*args, **kwargs): + """FormatTime() -> wxString""" + return _misc.DateTime_FormatTime(*args, **kwargs) + + def FormatISODate(*args, **kwargs): + """FormatISODate() -> wxString""" + return _misc.DateTime_FormatISODate(*args, **kwargs) + + def FormatISOTime(*args, **kwargs): + """FormatISOTime() -> wxString""" + return _misc.DateTime_FormatISOTime(*args, **kwargs) + def __repr__(self): return '' % ( self.Format(), self.this) def __str__(self): @@ -1759,116 +3334,303 @@ class DateTimePtr(DateTime): self.__class__ = DateTime _misc.DateTime_swigregister(DateTimePtr) -DateTime_SetCountry = _misc.DateTime_SetCountry +def DateTime_SetCountry(*args, **kwargs): + """DateTime_SetCountry(wxDateTime::Country country)""" + return _misc.DateTime_SetCountry(*args, **kwargs) -DateTime_GetCountry = _misc.DateTime_GetCountry +def DateTime_GetCountry(*args, **kwargs): + """DateTime_GetCountry() -> wxDateTime::Country""" + return _misc.DateTime_GetCountry(*args, **kwargs) -DateTime_IsWestEuropeanCountry = _misc.DateTime_IsWestEuropeanCountry +def DateTime_IsWestEuropeanCountry(*args, **kwargs): + """DateTime_IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) -DateTime_GetCurrentYear = _misc.DateTime_GetCurrentYear +def DateTime_GetCurrentYear(*args, **kwargs): + """DateTime_GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + return _misc.DateTime_GetCurrentYear(*args, **kwargs) -DateTime_ConvertYearToBC = _misc.DateTime_ConvertYearToBC +def DateTime_ConvertYearToBC(*args, **kwargs): + """DateTime_ConvertYearToBC(int year) -> int""" + return _misc.DateTime_ConvertYearToBC(*args, **kwargs) -DateTime_GetCurrentMonth = _misc.DateTime_GetCurrentMonth +def DateTime_GetCurrentMonth(*args, **kwargs): + """DateTime_GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + return _misc.DateTime_GetCurrentMonth(*args, **kwargs) -DateTime_IsLeapYear = _misc.DateTime_IsLeapYear +def DateTime_IsLeapYear(*args, **kwargs): + """DateTime_IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + return _misc.DateTime_IsLeapYear(*args, **kwargs) -DateTime_GetCentury = _misc.DateTime_GetCentury +def DateTime_GetCentury(*args, **kwargs): + """DateTime_GetCentury(int year=Inv_Year) -> int""" + return _misc.DateTime_GetCentury(*args, **kwargs) -DateTime_GetNumberOfDaysinYear = _misc.DateTime_GetNumberOfDaysinYear +def DateTime_GetNumberOfDaysinYear(*args, **kwargs): + """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) -DateTime_GetNumberOfDaysInMonth = _misc.DateTime_GetNumberOfDaysInMonth +def DateTime_GetNumberOfDaysInMonth(*args, **kwargs): + """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) -DateTime_GetMonthName = _misc.DateTime_GetMonthName +def DateTime_GetMonthName(*args, **kwargs): + """DateTime_GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetMonthName(*args, **kwargs) -DateTime_GetWeekDayName = _misc.DateTime_GetWeekDayName +def DateTime_GetWeekDayName(*args, **kwargs): + """DateTime_GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetWeekDayName(*args, **kwargs) -DateTime_GetAmPmStrings = _misc.DateTime_GetAmPmStrings +def DateTime_GetAmPmStrings(*args, **kwargs): + """DateTime_GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)""" + return _misc.DateTime_GetAmPmStrings(*args, **kwargs) -DateTime_IsDSTApplicable = _misc.DateTime_IsDSTApplicable +def DateTime_IsDSTApplicable(*args, **kwargs): + """DateTime_IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsDSTApplicable(*args, **kwargs) -DateTime_GetBeginDST = _misc.DateTime_GetBeginDST +def DateTime_GetBeginDST(*args, **kwargs): + """DateTime_GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetBeginDST(*args, **kwargs) -DateTime_GetEndDST = _misc.DateTime_GetEndDST +def DateTime_GetEndDST(*args, **kwargs): + """DateTime_GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetEndDST(*args, **kwargs) -DateTime_Now = _misc.DateTime_Now +def DateTime_Now(*args, **kwargs): + """DateTime_Now() -> DateTime""" + return _misc.DateTime_Now(*args, **kwargs) -DateTime_UNow = _misc.DateTime_UNow +def DateTime_UNow(*args, **kwargs): + """DateTime_UNow() -> DateTime""" + return _misc.DateTime_UNow(*args, **kwargs) -DateTime_Today = _misc.DateTime_Today +def DateTime_Today(*args, **kwargs): + """DateTime_Today() -> DateTime""" + return _misc.DateTime_Today(*args, **kwargs) def DateTimeFromTimeT(*args, **kwargs): + """DateTimeFromTimeT(time_t timet) -> DateTime""" val = _misc.new_DateTimeFromTimeT(*args, **kwargs) val.thisown = 1 return val def DateTimeFromJDN(*args, **kwargs): + """DateTimeFromJDN(double jdn) -> DateTime""" val = _misc.new_DateTimeFromJDN(*args, **kwargs) val.thisown = 1 return val def DateTimeFromHMS(*args, **kwargs): + """DateTimeFromHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0, + wxDateTime_t millisec=0) -> DateTime""" val = _misc.new_DateTimeFromHMS(*args, **kwargs) val.thisown = 1 return val def DateTimeFromDMY(*args, **kwargs): + """DateTimeFromDMY(wxDateTime_t day, wxDateTime::Month month=Inv_Month, + int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0, + wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime""" val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - Seconds = staticmethod(_misc.TimeSpan_Seconds) - Second = staticmethod(_misc.TimeSpan_Second) - Minutes = staticmethod(_misc.TimeSpan_Minutes) - Minute = staticmethod(_misc.TimeSpan_Minute) - Hours = staticmethod(_misc.TimeSpan_Hours) - Hour = staticmethod(_misc.TimeSpan_Hour) - Days = staticmethod(_misc.TimeSpan_Days) - Day = staticmethod(_misc.TimeSpan_Day) - Weeks = staticmethod(_misc.TimeSpan_Weeks) - Week = staticmethod(_misc.TimeSpan_Week) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Seconds(*args, **kwargs): + """TimeSpan.Seconds(long sec) -> TimeSpan""" + return _misc.TimeSpan_Seconds(*args, **kwargs) + + Seconds = staticmethod(Seconds) + def Second(*args, **kwargs): + """TimeSpan.Second() -> TimeSpan""" + return _misc.TimeSpan_Second(*args, **kwargs) + + Second = staticmethod(Second) + def Minutes(*args, **kwargs): + """TimeSpan.Minutes(long min) -> TimeSpan""" + return _misc.TimeSpan_Minutes(*args, **kwargs) + + Minutes = staticmethod(Minutes) + def Minute(*args, **kwargs): + """TimeSpan.Minute() -> TimeSpan""" + return _misc.TimeSpan_Minute(*args, **kwargs) + + Minute = staticmethod(Minute) + def Hours(*args, **kwargs): + """TimeSpan.Hours(long hours) -> TimeSpan""" + return _misc.TimeSpan_Hours(*args, **kwargs) + + Hours = staticmethod(Hours) + def Hour(*args, **kwargs): + """TimeSpan.Hour() -> TimeSpan""" + return _misc.TimeSpan_Hour(*args, **kwargs) + + Hour = staticmethod(Hour) + def Days(*args, **kwargs): + """TimeSpan.Days(long days) -> TimeSpan""" + return _misc.TimeSpan_Days(*args, **kwargs) + + Days = staticmethod(Days) + def Day(*args, **kwargs): + """TimeSpan.Day() -> TimeSpan""" + return _misc.TimeSpan_Day(*args, **kwargs) + + Day = staticmethod(Day) + def Weeks(*args, **kwargs): + """TimeSpan.Weeks(long days) -> TimeSpan""" + return _misc.TimeSpan_Weeks(*args, **kwargs) + + Weeks = staticmethod(Weeks) + def Week(*args, **kwargs): + """TimeSpan.Week() -> TimeSpan""" + return _misc.TimeSpan_Week(*args, **kwargs) + + Week = staticmethod(Week) def __init__(self, *args, **kwargs): + """__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan""" newobj = _misc.new_TimeSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_TimeSpan): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Add(*args, **kwargs): return _misc.TimeSpan_Add(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.TimeSpan_Subtract(*args, **kwargs) - def Multiply(*args, **kwargs): return _misc.TimeSpan_Multiply(*args, **kwargs) - def Neg(*args, **kwargs): return _misc.TimeSpan_Neg(*args, **kwargs) - def Abs(*args, **kwargs): return _misc.TimeSpan_Abs(*args, **kwargs) - def __iadd__(*args, **kwargs): return _misc.TimeSpan___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _misc.TimeSpan___isub__(*args, **kwargs) - def __imul__(*args, **kwargs): return _misc.TimeSpan___imul__(*args, **kwargs) - def __neg__(*args, **kwargs): return _misc.TimeSpan___neg__(*args, **kwargs) - def __add__(*args, **kwargs): return _misc.TimeSpan___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _misc.TimeSpan___sub__(*args, **kwargs) - def __mul__(*args, **kwargs): return _misc.TimeSpan___mul__(*args, **kwargs) - def __rmul__(*args, **kwargs): return _misc.TimeSpan___rmul__(*args, **kwargs) - def __lt__(*args, **kwargs): return _misc.TimeSpan___lt__(*args, **kwargs) - def __le__(*args, **kwargs): return _misc.TimeSpan___le__(*args, **kwargs) - def __gt__(*args, **kwargs): return _misc.TimeSpan___gt__(*args, **kwargs) - def __ge__(*args, **kwargs): return _misc.TimeSpan___ge__(*args, **kwargs) - def __eq__(*args, **kwargs): return _misc.TimeSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _misc.TimeSpan___ne__(*args, **kwargs) - def IsNull(*args, **kwargs): return _misc.TimeSpan_IsNull(*args, **kwargs) - def IsPositive(*args, **kwargs): return _misc.TimeSpan_IsPositive(*args, **kwargs) - def IsNegative(*args, **kwargs): return _misc.TimeSpan_IsNegative(*args, **kwargs) - def IsEqualTo(*args, **kwargs): return _misc.TimeSpan_IsEqualTo(*args, **kwargs) - def IsLongerThan(*args, **kwargs): return _misc.TimeSpan_IsLongerThan(*args, **kwargs) - def IsShorterThan(*args, **kwargs): return _misc.TimeSpan_IsShorterThan(*args, **kwargs) - def GetWeeks(*args, **kwargs): return _misc.TimeSpan_GetWeeks(*args, **kwargs) - def GetDays(*args, **kwargs): return _misc.TimeSpan_GetDays(*args, **kwargs) - def GetHours(*args, **kwargs): return _misc.TimeSpan_GetHours(*args, **kwargs) - def GetMinutes(*args, **kwargs): return _misc.TimeSpan_GetMinutes(*args, **kwargs) - def GetSeconds(*args, **kwargs): return _misc.TimeSpan_GetSeconds(*args, **kwargs) - def GetMilliseconds(*args, **kwargs): return _misc.TimeSpan_GetMilliseconds(*args, **kwargs) - def Format(*args, **kwargs): return _misc.TimeSpan_Format(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan_Add(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan_Subtract(*args, **kwargs) + + def Multiply(*args, **kwargs): + """Multiply(int n) -> TimeSpan""" + return _misc.TimeSpan_Multiply(*args, **kwargs) + + def Neg(*args, **kwargs): + """Neg() -> TimeSpan""" + return _misc.TimeSpan_Neg(*args, **kwargs) + + def Abs(*args, **kwargs): + """Abs() -> TimeSpan""" + return _misc.TimeSpan_Abs(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan___isub__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(int n) -> TimeSpan""" + return _misc.TimeSpan___imul__(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> TimeSpan""" + return _misc.TimeSpan___neg__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(TimeSpan other) -> TimeSpan""" + return _misc.TimeSpan___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(TimeSpan other) -> TimeSpan""" + return _misc.TimeSpan___sub__(*args, **kwargs) + + def __mul__(*args, **kwargs): + """__mul__(int n) -> TimeSpan""" + return _misc.TimeSpan___mul__(*args, **kwargs) + + def __rmul__(*args, **kwargs): + """__rmul__(int n) -> TimeSpan""" + return _misc.TimeSpan___rmul__(*args, **kwargs) + + def __lt__(*args, **kwargs): + """__lt__(TimeSpan other) -> bool""" + return _misc.TimeSpan___lt__(*args, **kwargs) + + def __le__(*args, **kwargs): + """__le__(TimeSpan other) -> bool""" + return _misc.TimeSpan___le__(*args, **kwargs) + + def __gt__(*args, **kwargs): + """__gt__(TimeSpan other) -> bool""" + return _misc.TimeSpan___gt__(*args, **kwargs) + + def __ge__(*args, **kwargs): + """__ge__(TimeSpan other) -> bool""" + return _misc.TimeSpan___ge__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(TimeSpan other) -> bool""" + return _misc.TimeSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(TimeSpan other) -> bool""" + return _misc.TimeSpan___ne__(*args, **kwargs) + + def IsNull(*args, **kwargs): + """IsNull() -> bool""" + return _misc.TimeSpan_IsNull(*args, **kwargs) + + def IsPositive(*args, **kwargs): + """IsPositive() -> bool""" + return _misc.TimeSpan_IsPositive(*args, **kwargs) + + def IsNegative(*args, **kwargs): + """IsNegative() -> bool""" + return _misc.TimeSpan_IsNegative(*args, **kwargs) + + def IsEqualTo(*args, **kwargs): + """IsEqualTo(TimeSpan ts) -> bool""" + return _misc.TimeSpan_IsEqualTo(*args, **kwargs) + + def IsLongerThan(*args, **kwargs): + """IsLongerThan(TimeSpan ts) -> bool""" + return _misc.TimeSpan_IsLongerThan(*args, **kwargs) + + def IsShorterThan(*args, **kwargs): + """IsShorterThan(TimeSpan t) -> bool""" + return _misc.TimeSpan_IsShorterThan(*args, **kwargs) + + def GetWeeks(*args, **kwargs): + """GetWeeks() -> int""" + return _misc.TimeSpan_GetWeeks(*args, **kwargs) + + def GetDays(*args, **kwargs): + """GetDays() -> int""" + return _misc.TimeSpan_GetDays(*args, **kwargs) + + def GetHours(*args, **kwargs): + """GetHours() -> int""" + return _misc.TimeSpan_GetHours(*args, **kwargs) + + def GetMinutes(*args, **kwargs): + """GetMinutes() -> int""" + return _misc.TimeSpan_GetMinutes(*args, **kwargs) + + def GetSeconds(*args, **kwargs): + """GetSeconds() -> wxLongLong""" + return _misc.TimeSpan_GetSeconds(*args, **kwargs) + + def GetMilliseconds(*args, **kwargs): + """GetMilliseconds() -> wxLongLong""" + return _misc.TimeSpan_GetMilliseconds(*args, **kwargs) + + def Format(*args, **kwargs): + """Format(wxString format=wxPyTimeSpanFormatStr) -> wxString""" + return _misc.TimeSpan_Format(*args, **kwargs) + def __repr__(self): return '' % ( self.Format(), self.this) def __str__(self): @@ -1882,69 +3644,194 @@ class TimeSpanPtr(TimeSpan): self.__class__ = TimeSpan _misc.TimeSpan_swigregister(TimeSpanPtr) -TimeSpan_Seconds = _misc.TimeSpan_Seconds +def TimeSpan_Seconds(*args, **kwargs): + """TimeSpan_Seconds(long sec) -> TimeSpan""" + return _misc.TimeSpan_Seconds(*args, **kwargs) -TimeSpan_Second = _misc.TimeSpan_Second +def TimeSpan_Second(*args, **kwargs): + """TimeSpan_Second() -> TimeSpan""" + return _misc.TimeSpan_Second(*args, **kwargs) -TimeSpan_Minutes = _misc.TimeSpan_Minutes +def TimeSpan_Minutes(*args, **kwargs): + """TimeSpan_Minutes(long min) -> TimeSpan""" + return _misc.TimeSpan_Minutes(*args, **kwargs) -TimeSpan_Minute = _misc.TimeSpan_Minute +def TimeSpan_Minute(*args, **kwargs): + """TimeSpan_Minute() -> TimeSpan""" + return _misc.TimeSpan_Minute(*args, **kwargs) -TimeSpan_Hours = _misc.TimeSpan_Hours +def TimeSpan_Hours(*args, **kwargs): + """TimeSpan_Hours(long hours) -> TimeSpan""" + return _misc.TimeSpan_Hours(*args, **kwargs) -TimeSpan_Hour = _misc.TimeSpan_Hour +def TimeSpan_Hour(*args, **kwargs): + """TimeSpan_Hour() -> TimeSpan""" + return _misc.TimeSpan_Hour(*args, **kwargs) -TimeSpan_Days = _misc.TimeSpan_Days +def TimeSpan_Days(*args, **kwargs): + """TimeSpan_Days(long days) -> TimeSpan""" + return _misc.TimeSpan_Days(*args, **kwargs) -TimeSpan_Day = _misc.TimeSpan_Day +def TimeSpan_Day(*args, **kwargs): + """TimeSpan_Day() -> TimeSpan""" + return _misc.TimeSpan_Day(*args, **kwargs) -TimeSpan_Weeks = _misc.TimeSpan_Weeks +def TimeSpan_Weeks(*args, **kwargs): + """TimeSpan_Weeks(long days) -> TimeSpan""" + return _misc.TimeSpan_Weeks(*args, **kwargs) -TimeSpan_Week = _misc.TimeSpan_Week +def TimeSpan_Week(*args, **kwargs): + """TimeSpan_Week() -> TimeSpan""" + return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan""" newobj = _misc.new_DateSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DateSpan): + """__del__()""" try: if self.thisown: destroy(self) except: pass - Days = staticmethod(_misc.DateSpan_Days) - Day = staticmethod(_misc.DateSpan_Day) - Weeks = staticmethod(_misc.DateSpan_Weeks) - Week = staticmethod(_misc.DateSpan_Week) - Months = staticmethod(_misc.DateSpan_Months) - Month = staticmethod(_misc.DateSpan_Month) - Years = staticmethod(_misc.DateSpan_Years) - Year = staticmethod(_misc.DateSpan_Year) - def SetYears(*args, **kwargs): return _misc.DateSpan_SetYears(*args, **kwargs) - def SetMonths(*args, **kwargs): return _misc.DateSpan_SetMonths(*args, **kwargs) - def SetWeeks(*args, **kwargs): return _misc.DateSpan_SetWeeks(*args, **kwargs) - def SetDays(*args, **kwargs): return _misc.DateSpan_SetDays(*args, **kwargs) - def GetYears(*args, **kwargs): return _misc.DateSpan_GetYears(*args, **kwargs) - def GetMonths(*args, **kwargs): return _misc.DateSpan_GetMonths(*args, **kwargs) - def GetWeeks(*args, **kwargs): return _misc.DateSpan_GetWeeks(*args, **kwargs) - def GetDays(*args, **kwargs): return _misc.DateSpan_GetDays(*args, **kwargs) - def GetTotalDays(*args, **kwargs): return _misc.DateSpan_GetTotalDays(*args, **kwargs) - def Add(*args, **kwargs): return _misc.DateSpan_Add(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.DateSpan_Subtract(*args, **kwargs) - def Neg(*args, **kwargs): return _misc.DateSpan_Neg(*args, **kwargs) - def Multiply(*args, **kwargs): return _misc.DateSpan_Multiply(*args, **kwargs) - def __iadd__(*args, **kwargs): return _misc.DateSpan___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _misc.DateSpan___isub__(*args, **kwargs) - def __neg__(*args, **kwargs): return _misc.DateSpan___neg__(*args, **kwargs) - def __imul__(*args, **kwargs): return _misc.DateSpan___imul__(*args, **kwargs) - def __add__(*args, **kwargs): return _misc.DateSpan___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _misc.DateSpan___sub__(*args, **kwargs) - def __mul__(*args, **kwargs): return _misc.DateSpan___mul__(*args, **kwargs) - def __rmul__(*args, **kwargs): return _misc.DateSpan___rmul__(*args, **kwargs) - def __eq__(*args, **kwargs): return _misc.DateSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _misc.DateSpan___ne__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Days(*args, **kwargs): + """DateSpan.Days(int days) -> DateSpan""" + return _misc.DateSpan_Days(*args, **kwargs) + + Days = staticmethod(Days) + def Day(*args, **kwargs): + """DateSpan.Day() -> DateSpan""" + return _misc.DateSpan_Day(*args, **kwargs) + + Day = staticmethod(Day) + def Weeks(*args, **kwargs): + """DateSpan.Weeks(int weeks) -> DateSpan""" + return _misc.DateSpan_Weeks(*args, **kwargs) + + Weeks = staticmethod(Weeks) + def Week(*args, **kwargs): + """DateSpan.Week() -> DateSpan""" + return _misc.DateSpan_Week(*args, **kwargs) + + Week = staticmethod(Week) + def Months(*args, **kwargs): + """DateSpan.Months(int mon) -> DateSpan""" + return _misc.DateSpan_Months(*args, **kwargs) + + Months = staticmethod(Months) + def Month(*args, **kwargs): + """DateSpan.Month() -> DateSpan""" + return _misc.DateSpan_Month(*args, **kwargs) + + Month = staticmethod(Month) + def Years(*args, **kwargs): + """DateSpan.Years(int years) -> DateSpan""" + return _misc.DateSpan_Years(*args, **kwargs) + + Years = staticmethod(Years) + def Year(*args, **kwargs): + """DateSpan.Year() -> DateSpan""" + return _misc.DateSpan_Year(*args, **kwargs) + + Year = staticmethod(Year) + def SetYears(*args, **kwargs): + """SetYears(int n) -> DateSpan""" + return _misc.DateSpan_SetYears(*args, **kwargs) + + def SetMonths(*args, **kwargs): + """SetMonths(int n) -> DateSpan""" + return _misc.DateSpan_SetMonths(*args, **kwargs) + + def SetWeeks(*args, **kwargs): + """SetWeeks(int n) -> DateSpan""" + return _misc.DateSpan_SetWeeks(*args, **kwargs) + + def SetDays(*args, **kwargs): + """SetDays(int n) -> DateSpan""" + return _misc.DateSpan_SetDays(*args, **kwargs) + + def GetYears(*args, **kwargs): + """GetYears() -> int""" + return _misc.DateSpan_GetYears(*args, **kwargs) + + def GetMonths(*args, **kwargs): + """GetMonths() -> int""" + return _misc.DateSpan_GetMonths(*args, **kwargs) + + def GetWeeks(*args, **kwargs): + """GetWeeks() -> int""" + return _misc.DateSpan_GetWeeks(*args, **kwargs) + + def GetDays(*args, **kwargs): + """GetDays() -> int""" + return _misc.DateSpan_GetDays(*args, **kwargs) + + def GetTotalDays(*args, **kwargs): + """GetTotalDays() -> int""" + return _misc.DateSpan_GetTotalDays(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(DateSpan other) -> DateSpan""" + return _misc.DateSpan_Add(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(DateSpan other) -> DateSpan""" + return _misc.DateSpan_Subtract(*args, **kwargs) + + def Neg(*args, **kwargs): + """Neg() -> DateSpan""" + return _misc.DateSpan_Neg(*args, **kwargs) + + def Multiply(*args, **kwargs): + """Multiply(int factor) -> DateSpan""" + return _misc.DateSpan_Multiply(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___isub__(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> DateSpan""" + return _misc.DateSpan___neg__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(int factor) -> DateSpan""" + return _misc.DateSpan___imul__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___sub__(*args, **kwargs) + + def __mul__(*args, **kwargs): + """__mul__(int n) -> DateSpan""" + return _misc.DateSpan___mul__(*args, **kwargs) + + def __rmul__(*args, **kwargs): + """__rmul__(int n) -> DateSpan""" + return _misc.DateSpan___rmul__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(DateSpan other) -> bool""" + return _misc.DateSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(DateSpan other) -> bool""" + return _misc.DateSpan___ne__(*args, **kwargs) + class DateSpanPtr(DateSpan): def __init__(self, this): @@ -1953,30 +3840,54 @@ class DateSpanPtr(DateSpan): self.__class__ = DateSpan _misc.DateSpan_swigregister(DateSpanPtr) -DateSpan_Days = _misc.DateSpan_Days +def DateSpan_Days(*args, **kwargs): + """DateSpan_Days(int days) -> DateSpan""" + return _misc.DateSpan_Days(*args, **kwargs) -DateSpan_Day = _misc.DateSpan_Day +def DateSpan_Day(*args, **kwargs): + """DateSpan_Day() -> DateSpan""" + return _misc.DateSpan_Day(*args, **kwargs) -DateSpan_Weeks = _misc.DateSpan_Weeks +def DateSpan_Weeks(*args, **kwargs): + """DateSpan_Weeks(int weeks) -> DateSpan""" + return _misc.DateSpan_Weeks(*args, **kwargs) -DateSpan_Week = _misc.DateSpan_Week +def DateSpan_Week(*args, **kwargs): + """DateSpan_Week() -> DateSpan""" + return _misc.DateSpan_Week(*args, **kwargs) -DateSpan_Months = _misc.DateSpan_Months +def DateSpan_Months(*args, **kwargs): + """DateSpan_Months(int mon) -> DateSpan""" + return _misc.DateSpan_Months(*args, **kwargs) -DateSpan_Month = _misc.DateSpan_Month +def DateSpan_Month(*args, **kwargs): + """DateSpan_Month() -> DateSpan""" + return _misc.DateSpan_Month(*args, **kwargs) -DateSpan_Years = _misc.DateSpan_Years +def DateSpan_Years(*args, **kwargs): + """DateSpan_Years(int years) -> DateSpan""" + return _misc.DateSpan_Years(*args, **kwargs) -DateSpan_Year = _misc.DateSpan_Year +def DateSpan_Year(*args, **kwargs): + """DateSpan_Year() -> DateSpan""" + return _misc.DateSpan_Year(*args, **kwargs) -GetLocalTime = _misc.GetLocalTime +def GetLocalTime(*args, **kwargs): + """GetLocalTime() -> long""" + return _misc.GetLocalTime(*args, **kwargs) -GetUTCTime = _misc.GetUTCTime +def GetUTCTime(*args, **kwargs): + """GetUTCTime() -> long""" + return _misc.GetUTCTime(*args, **kwargs) -GetCurrentTime = _misc.GetCurrentTime +def GetCurrentTime(*args, **kwargs): + """GetCurrentTime() -> long""" + return _misc.GetCurrentTime(*args, **kwargs) -GetLocalTimeMillis = _misc.GetLocalTimeMillis +def GetLocalTimeMillis(*args, **kwargs): + """GetLocalTimeMillis() -> wxLongLong""" + return _misc.GetLocalTimeMillis(*args, **kwargs) #--------------------------------------------------------------------------- DF_INVALID = _misc.DF_INVALID @@ -2000,23 +3911,47 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxDataFormatId type) -> DataFormat""" newobj = _misc.new_DataFormat(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DataFormat): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args): return _misc.DataFormat___eq__(*args) - def __ne__(*args): return _misc.DataFormat___ne__(*args) - def SetType(*args, **kwargs): return _misc.DataFormat_SetType(*args, **kwargs) - def GetType(*args, **kwargs): return _misc.DataFormat_GetType(*args, **kwargs) - def GetId(*args, **kwargs): return _misc.DataFormat_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _misc.DataFormat_SetId(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def __eq__(*args): + """__eq__(wxDataFormatId format) -> bool +__eq__(DataFormat format) -> bool""" + return _misc.DataFormat___eq__(*args) + + def __ne__(*args): + """__ne__(wxDataFormatId format) -> bool +__ne__(DataFormat format) -> bool""" + return _misc.DataFormat___ne__(*args) + + def SetType(*args, **kwargs): + """SetType(wxDataFormatId format)""" + return _misc.DataFormat_SetType(*args, **kwargs) + + def GetType(*args, **kwargs): + """GetType() -> wxDataFormatId""" + return _misc.DataFormat_GetType(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> wxString""" + return _misc.DataFormat_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(wxString format)""" + return _misc.DataFormat_SetId(*args, **kwargs) + class DataFormatPtr(DataFormat): def __init__(self, this): @@ -2026,28 +3961,53 @@ class DataFormatPtr(DataFormat): _misc.DataFormat_swigregister(DataFormatPtr) def CustomDataFormat(*args, **kwargs): + """CustomDataFormat(wxString format) -> DataFormat""" val = _misc.new_CustomDataFormat(*args, **kwargs) val.thisown = 1 return val class DataObject(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Get = _misc.DataObject_Get Set = _misc.DataObject_Set Both = _misc.DataObject_Both def __del__(self, destroy=_misc.delete_DataObject): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPreferredFormat(*args, **kwargs): return _misc.DataObject_GetPreferredFormat(*args, **kwargs) - def GetFormatCount(*args, **kwargs): return _misc.DataObject_GetFormatCount(*args, **kwargs) - def IsSupported(*args, **kwargs): return _misc.DataObject_IsSupported(*args, **kwargs) - def GetDataSize(*args, **kwargs): return _misc.DataObject_GetDataSize(*args, **kwargs) - def GetAllFormats(*args, **kwargs): return _misc.DataObject_GetAllFormats(*args, **kwargs) - def GetDataHere(*args, **kwargs): return _misc.DataObject_GetDataHere(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.DataObject_SetData(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPreferredFormat(*args, **kwargs): + """GetPreferredFormat(wxDataObject::Direction dir=Get) -> DataFormat""" + return _misc.DataObject_GetPreferredFormat(*args, **kwargs) + + def GetFormatCount(*args, **kwargs): + """GetFormatCount(wxDataObject::Direction dir=Get) -> size_t""" + return _misc.DataObject_GetFormatCount(*args, **kwargs) + + def IsSupported(*args, **kwargs): + """IsSupported(DataFormat format, wxDataObject::Direction dir=Get) -> bool""" + return _misc.DataObject_IsSupported(*args, **kwargs) + + def GetDataSize(*args, **kwargs): + """GetDataSize(DataFormat format) -> size_t""" + return _misc.DataObject_GetDataSize(*args, **kwargs) + + def GetAllFormats(*args, **kwargs): + """GetAllFormats(DataFormat formats, wxDataObject::Direction dir=Get)""" + return _misc.DataObject_GetAllFormats(*args, **kwargs) + + def GetDataHere(*args, **kwargs): + """GetDataHere(DataFormat format, void buf) -> bool""" + return _misc.DataObject_GetDataHere(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(DataFormat format, size_t len, void buf) -> bool""" + return _misc.DataObject_SetData(*args, **kwargs) + class DataObjectPtr(DataObject): def __init__(self, this): @@ -2058,15 +4018,23 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> DataObjectSimple""" newobj = _misc.new_DataObjectSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFormat(*args, **kwargs): return _misc.DataObjectSimple_GetFormat(*args, **kwargs) - def SetFormat(*args, **kwargs): return _misc.DataObjectSimple_SetFormat(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFormat(*args, **kwargs): + """GetFormat() -> DataFormat""" + return _misc.DataObjectSimple_GetFormat(*args, **kwargs) + + def SetFormat(*args, **kwargs): + """SetFormat(DataFormat format)""" + return _misc.DataObjectSimple_SetFormat(*args, **kwargs) + class DataObjectSimplePtr(DataObjectSimple): def __init__(self, this): @@ -2076,15 +4044,21 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple""" newobj = _misc.new_PyDataObjectSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyDataObjectSimple) - def _setCallbackInfo(*args, **kwargs): return _misc.PyDataObjectSimple__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyDataObjectSimple__setCallbackInfo(*args, **kwargs) + class PyDataObjectSimplePtr(PyDataObjectSimple): def __init__(self, this): @@ -2094,17 +4068,21 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> DataObjectComposite""" newobj = _misc.new_DataObjectComposite(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Add(*args, **kwargs): + def Add(*args, **kwargs): + """Add(DataObjectSimple dataObject, int preferred=False)""" val = _misc.DataObjectComposite_Add(*args, **kwargs) args[1].thisown = 0 return val - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class DataObjectCompositePtr(DataObjectComposite): def __init__(self, this): @@ -2114,16 +4092,27 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString text=wxPyEmptyString) -> TextDataObject""" newobj = _misc.new_TextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetTextLength(*args, **kwargs): return _misc.TextDataObject_GetTextLength(*args, **kwargs) - def GetText(*args, **kwargs): return _misc.TextDataObject_GetText(*args, **kwargs) - def SetText(*args, **kwargs): return _misc.TextDataObject_SetText(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetTextLength(*args, **kwargs): + """GetTextLength() -> size_t""" + return _misc.TextDataObject_GetTextLength(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _misc.TextDataObject_GetText(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _misc.TextDataObject_SetText(*args, **kwargs) + class TextDataObjectPtr(TextDataObject): def __init__(self, this): @@ -2133,15 +4122,21 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString text=wxPyEmptyString) -> PyTextDataObject""" newobj = _misc.new_PyTextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyTextDataObject) - def _setCallbackInfo(*args, **kwargs): return _misc.PyTextDataObject__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyTextDataObject__setCallbackInfo(*args, **kwargs) + class PyTextDataObjectPtr(PyTextDataObject): def __init__(self, this): @@ -2151,15 +4146,23 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap=wxNullBitmap) -> BitmapDataObject""" newobj = _misc.new_BitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetBitmap(*args, **kwargs): return _misc.BitmapDataObject_GetBitmap(*args, **kwargs) - def SetBitmap(*args, **kwargs): return _misc.BitmapDataObject_SetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _misc.BitmapDataObject_GetBitmap(*args, **kwargs) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _misc.BitmapDataObject_SetBitmap(*args, **kwargs) + class BitmapDataObjectPtr(BitmapDataObject): def __init__(self, this): @@ -2169,15 +4172,21 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap=wxNullBitmap) -> PyBitmapDataObject""" newobj = _misc.new_PyBitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyBitmapDataObject) - def _setCallbackInfo(*args, **kwargs): return _misc.PyBitmapDataObject__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyBitmapDataObject__setCallbackInfo(*args, **kwargs) + class PyBitmapDataObjectPtr(PyBitmapDataObject): def __init__(self, this): @@ -2187,14 +4196,19 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileDataObject""" newobj = _misc.new_FileDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFilenames(*args, **kwargs): return _misc.FileDataObject_GetFilenames(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFilenames(*args, **kwargs): + """GetFilenames() -> wxArrayString""" + return _misc.FileDataObject_GetFilenames(*args, **kwargs) + class FileDataObjectPtr(FileDataObject): def __init__(self, this): @@ -2204,17 +4218,31 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> CustomDataObject""" newobj = _misc.new_CustomDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def TakeData(*args, **kwargs): return _misc.CustomDataObject_TakeData(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.CustomDataObject_SetData(*args, **kwargs) - def GetSize(*args, **kwargs): return _misc.CustomDataObject_GetSize(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.CustomDataObject_GetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def TakeData(*args, **kwargs): + """TakeData(PyObject data)""" + return _misc.CustomDataObject_TakeData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject data) -> bool""" + return _misc.CustomDataObject_SetData(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> size_t""" + return _misc.CustomDataObject_GetSize(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _misc.CustomDataObject_GetData(*args, **kwargs) + class CustomDataObjectPtr(CustomDataObject): def __init__(self, this): @@ -2224,15 +4252,23 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> URLDataObject""" newobj = _misc.new_URLDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetURL(*args, **kwargs): return _misc.URLDataObject_GetURL(*args, **kwargs) - def SetURL(*args, **kwargs): return _misc.URLDataObject_SetURL(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetURL(*args, **kwargs): + """GetURL() -> wxString""" + return _misc.URLDataObject_GetURL(*args, **kwargs) + + def SetURL(*args, **kwargs): + """SetURL(wxString url)""" + return _misc.URLDataObject_SetURL(*args, **kwargs) + class URLDataObjectPtr(URLDataObject): def __init__(self, this): @@ -2242,15 +4278,23 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MetafileDataObject""" newobj = _misc.new_MetafileDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetMetafile(*args, **kwargs): return _misc.MetafileDataObject_SetMetafile(*args, **kwargs) - def GetMetafile(*args, **kwargs): return _misc.MetafileDataObject_GetMetafile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetMetafile(*args, **kwargs): + """SetMetafile(wxMetafile metafile)""" + return _misc.MetafileDataObject_SetMetafile(*args, **kwargs) + + def GetMetafile(*args, **kwargs): + """GetMetafile() -> wxMetafile""" + return _misc.MetafileDataObject_GetMetafile(*args, **kwargs) + class MetafileDataObjectPtr(MetafileDataObject): def __init__(self, this): @@ -2271,25 +4315,50 @@ DragMove = _misc.DragMove DragLink = _misc.DragLink DragCancel = _misc.DragCancel -IsDragResultOk = _misc.IsDragResultOk +def IsDragResultOk(*args, **kwargs): + """IsDragResultOk(wxDragResult res) -> bool""" + return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, + wxCursor none=wxNullCursor) -> DropSource""" newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def _setCallbackInfo(*args, **kwargs): return _misc.DropSource__setCallbackInfo(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, int incref)""" + return _misc.DropSource__setCallbackInfo(*args, **kwargs) + def __del__(self, destroy=_misc.delete_DropSource): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetData(*args, **kwargs): return _misc.DropSource_SetData(*args, **kwargs) - def GetDataObject(*args, **kwargs): return _misc.DropSource_GetDataObject(*args, **kwargs) - def SetCursor(*args, **kwargs): return _misc.DropSource_SetCursor(*args, **kwargs) - def DoDragDrop(*args, **kwargs): return _misc.DropSource_DoDragDrop(*args, **kwargs) - def base_GiveFeedback(*args, **kwargs): return _misc.DropSource_base_GiveFeedback(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetData(*args, **kwargs): + """SetData(DataObject data)""" + return _misc.DropSource_SetData(*args, **kwargs) + + def GetDataObject(*args, **kwargs): + """GetDataObject() -> DataObject""" + return _misc.DropSource_GetDataObject(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxDragResult res, wxCursor cursor)""" + return _misc.DropSource_SetCursor(*args, **kwargs) + + def DoDragDrop(*args, **kwargs): + """DoDragDrop(int flags=Drag_CopyOnly) -> wxDragResult""" + return _misc.DropSource_DoDragDrop(*args, **kwargs) + + def base_GiveFeedback(*args, **kwargs): + """base_GiveFeedback(wxDragResult effect) -> bool""" + return _misc.DropSource_base_GiveFeedback(*args, **kwargs) + class DropSourcePtr(DropSource): def __init__(self, this): @@ -2299,29 +4368,57 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataObject dataObject=None) -> DropTarget""" newobj = _misc.new_DropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.DropTarget__setCallbackInfo(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.DropTarget__setCallbackInfo(*args, **kwargs) + def __del__(self, destroy=_misc.delete_DropTarget): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetDataObject(*args, **kwargs): return _misc.DropTarget_GetDataObject(*args, **kwargs) - def SetDataObject(*args, **kwargs): + + def GetDataObject(*args, **kwargs): + """GetDataObject() -> DataObject""" + return _misc.DropTarget_GetDataObject(*args, **kwargs) + + def SetDataObject(*args, **kwargs): + """SetDataObject(DataObject dataObject)""" val = _misc.DropTarget_SetDataObject(*args, **kwargs) args[1].thisown = 0 return val - def base_OnEnter(*args, **kwargs): return _misc.DropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.DropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.DropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.DropTarget_base_OnDrop(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.DropTarget_GetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.DropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.DropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.DropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.DropTarget_base_OnDrop(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> bool""" + return _misc.DropTarget_GetData(*args, **kwargs) + class DropTargetPtr(DropTarget): def __init__(self, this): @@ -2332,20 +4429,41 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TextDropTarget""" newobj = _misc.new_TextDropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, TextDropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs) - def base_OnEnter(*args, **kwargs): return _misc.TextDropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.TextDropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.TextDropTarget_base_OnDrop(*args, **kwargs) - def base_OnData(*args, **kwargs): return _misc.TextDropTarget_base_OnData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.TextDropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.TextDropTarget_base_OnDrop(*args, **kwargs) + + def base_OnData(*args, **kwargs): + """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnData(*args, **kwargs) + class TextDropTargetPtr(TextDropTarget): def __init__(self, this): @@ -2355,20 +4473,41 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileDropTarget""" newobj = _misc.new_FileDropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FileDropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs) - def base_OnEnter(*args, **kwargs): return _misc.FileDropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.FileDropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.FileDropTarget_base_OnDrop(*args, **kwargs) - def base_OnData(*args, **kwargs): return _misc.FileDropTarget_base_OnData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.FileDropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.FileDropTarget_base_OnDrop(*args, **kwargs) + + def base_OnData(*args, **kwargs): + """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnData(*args, **kwargs) + class FileDropTargetPtr(FileDropTarget): def __init__(self, this): @@ -2380,27 +4519,61 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> Clipboard""" newobj = _misc.new_Clipboard(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Clipboard): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Open(*args, **kwargs): return _misc.Clipboard_Open(*args, **kwargs) - def Close(*args, **kwargs): return _misc.Clipboard_Close(*args, **kwargs) - def IsOpened(*args, **kwargs): return _misc.Clipboard_IsOpened(*args, **kwargs) - def AddData(*args, **kwargs): return _misc.Clipboard_AddData(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.Clipboard_SetData(*args, **kwargs) - def IsSupported(*args, **kwargs): return _misc.Clipboard_IsSupported(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.Clipboard_GetData(*args, **kwargs) - def Clear(*args, **kwargs): return _misc.Clipboard_Clear(*args, **kwargs) - def Flush(*args, **kwargs): return _misc.Clipboard_Flush(*args, **kwargs) - def UsePrimarySelection(*args, **kwargs): return _misc.Clipboard_UsePrimarySelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Open(*args, **kwargs): + """Open() -> bool""" + return _misc.Clipboard_Open(*args, **kwargs) + + def Close(*args, **kwargs): + """Close()""" + return _misc.Clipboard_Close(*args, **kwargs) + + def IsOpened(*args, **kwargs): + """IsOpened() -> bool""" + return _misc.Clipboard_IsOpened(*args, **kwargs) + + def AddData(*args, **kwargs): + """AddData(DataObject data) -> bool""" + return _misc.Clipboard_AddData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(DataObject data) -> bool""" + return _misc.Clipboard_SetData(*args, **kwargs) + + def IsSupported(*args, **kwargs): + """IsSupported(DataFormat format) -> bool""" + return _misc.Clipboard_IsSupported(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData(DataObject data) -> bool""" + return _misc.Clipboard_GetData(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _misc.Clipboard_Clear(*args, **kwargs) + + def Flush(*args, **kwargs): + """Flush() -> bool""" + return _misc.Clipboard_Flush(*args, **kwargs) + + def UsePrimarySelection(*args, **kwargs): + """UsePrimarySelection(bool primary=False)""" + return _misc.Clipboard_UsePrimarySelection(*args, **kwargs) + class ClipboardPtr(Clipboard): def __init__(self, this): @@ -2410,18 +4583,25 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Clipboard clipboard=None) -> ClipboardLocker""" newobj = _misc.new_ClipboardLocker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_ClipboardLocker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __nonzero__(*args, **kwargs): return _misc.ClipboardLocker___nonzero__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def __nonzero__(*args, **kwargs): + """__nonzero__() -> bool""" + return _misc.ClipboardLocker___nonzero__(*args, **kwargs) + class ClipboardLockerPtr(ClipboardLocker): def __init__(self, this): diff --git a/wxPython/src/mac/misc_wrap.cpp b/wxPython/src/mac/misc_wrap.cpp index a31f8fdaef..527d92b301 100644 --- a/wxPython/src/mac/misc_wrap.cpp +++ b/wxPython/src/mac/misc_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -362,7 +356,7 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) { #ifdef WXP_WITH_THREAD return wxThread::IsMain(); #else - return TRUE; + return True; #endif } @@ -431,12 +425,12 @@ void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method) // WM_PRINT. For most native widgets nothing is drawn to the dc // at all, with or without Themes. typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT); - static bool s_triedToLoad = false; + static bool s_triedToLoad = False; static PrintWindow_t pfnPrintWindow = NULL; if ( !s_triedToLoad ) { - s_triedToLoad = true; + s_triedToLoad = True; wxDynamicLibrary dllUser32(_T("user32.dll")); if ( dllUser32.IsLoaded() ) { @@ -550,7 +544,7 @@ public: int GetMovementThreshold() { return -1; } void SetMovementThreshold(int threshold) {} - bool IsOk(void) { return FALSE; } + bool IsOk(void) { return False; } int GetNumberJoysticks() { return -1; } int GetManufacturerId() { return -1; } int GetProductId() { return -1; } @@ -574,16 +568,16 @@ public: int GetVMin() { return -1; } int GetVMax() { return -1; } - bool HasRudder() { return FALSE; } - bool HasZ() { return FALSE; } - bool HasU() { return FALSE; } - bool HasV() { return FALSE; } - bool HasPOV() { return FALSE; } - bool HasPOV4Dir() { return FALSE; } - bool HasPOVCTS() { return FALSE; } + bool HasRudder() { return False; } + bool HasZ() { return False; } + bool HasU() { return False; } + bool HasV() { return False; } + bool HasPOV() { return False; } + bool HasPOV4Dir() { return False; } + bool HasPOVCTS() { return False; } - bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; } - bool ReleaseCapture() { return FALSE; } + bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; } + bool ReleaseCapture() { return False; } }; #endif @@ -596,7 +590,7 @@ public: class wxWave : public wxObject { public: - wxWave(const wxString& fileName, bool isResource = FALSE) { + wxWave(const wxString& fileName, bool isResource = False) { wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform."); wxPyEndBlockThreads(); @@ -609,8 +603,8 @@ public: ~wxWave() {} - bool IsOk() const { return FALSE; } - bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; } + bool IsOk() const { return False; } + bool Play(bool async = True, bool looped = False) const { return False; } }; #endif @@ -661,7 +655,7 @@ PyObject *wxFileType_GetIconInfo(wxFileType *self){ wxPyBeginBlockThreads(); PyObject* tuple = PyTuple_New(3); PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc), - wxT("wxIcon"), TRUE)); + wxT("wxIcon"), True)); PyTuple_SetItem(tuple, 1, wx2PyString(iconFile)); PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex)); wxPyEndBlockThreads(); @@ -942,7 +936,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const { // return either a string or None and then act appropriately with the // C++ version. - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) { PyObject* ro; @@ -961,7 +955,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const { bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{ // For this one we simply need to make a string from buf and len // and send it to the Python method. - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetData")) { PyObject* data = PyString_FromStringAndSize((char*)buf, len); @@ -1020,7 +1014,7 @@ wxBitmap wxPyBitmapDataObject::GetBitmap() const { void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) { wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) { - PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false); + PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False); wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo)); Py_DECREF(bo); } @@ -1044,7 +1038,7 @@ bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){ else { // raise a TypeError if not a string PyErr_SetString(PyExc_TypeError, "String expected."); - return FALSE; + return False; } } PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){ @@ -1098,7 +1092,7 @@ public: // execute or otherwise mouse movement would be too slow DEC_PYCALLBACK_DR_2WXCDR(OnDragOver); - // called after OnDrop() returns TRUE: you will usually just call + // 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 @@ -1106,7 +1100,7 @@ public: 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 + // returns True, OnData() will be called immediately afterwards which will // allow to retrieve the data dropped. DEC_PYCALLBACK_BOOL_INTINT(OnDrop); @@ -1162,7 +1156,7 @@ public: bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames) { - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) { PyObject* list = wxArrayString2PyList_helper(filenames); @@ -1365,8 +1359,8 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1377,12 +1371,12 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1418,7 +1412,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args PyObject *resultobj; wxString *arg1 = 0 ; int arg2 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "value", NULL @@ -1428,7 +1422,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1456,7 +1450,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1466,7 +1460,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1500,7 +1494,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args PyObject *resultobj; wxString *arg1 = 0 ; int result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1510,7 +1504,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1538,7 +1532,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1548,7 +1542,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1689,7 +1683,7 @@ static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; long result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1805,7 +1799,7 @@ static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) { wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "command", NULL @@ -1816,7 +1810,7 @@ static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) { { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2047,7 +2041,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "in", NULL @@ -2057,7 +2051,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2260,7 +2254,7 @@ static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "user", NULL @@ -2271,7 +2265,7 @@ static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2362,11 +2356,11 @@ static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kw int arg8 = (int) -1 ; int arg9 = (int) -1 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; - bool temp5 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2382,35 +2376,35 @@ static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } if (obj6) { @@ -2484,9 +2478,9 @@ static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2499,18 +2493,18 @@ static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2568,9 +2562,9 @@ static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2583,18 +2577,18 @@ static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2655,8 +2649,8 @@ static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwa wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxWindow *arg5 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxPoint temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2671,14 +2665,14 @@ static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj3) { @@ -2736,11 +2730,11 @@ static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject wxWindow *arg4 = (wxWindow *) NULL ; int arg5 = (int) -1 ; int arg6 = (int) -1 ; - bool arg7 = (bool) TRUE ; + bool arg7 = (bool) True ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2754,20 +2748,20 @@ static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2830,9 +2824,9 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObj wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2845,20 +2839,20 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2917,12 +2911,12 @@ static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject wxWindow *arg5 = (wxWindow *) NULL ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; + bool arg8 = (bool) True ; int arg9 = (int) 150 ; int arg10 = (int) 200 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2936,12 +2930,12 @@ static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = PyList_Size(obj2); @@ -3006,12 +3000,12 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyOb wxWindow *arg5 = (wxWindow *) NULL ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; + bool arg8 = (bool) True ; int arg9 = (int) 150 ; int arg10 = (int) 200 ; int result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3025,12 +3019,12 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = PyList_Size(obj2); @@ -3090,8 +3084,8 @@ static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwar int arg5 = (int) -1 ; int arg6 = (int) -1 ; int result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3103,13 +3097,13 @@ static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj3) { @@ -3157,9 +3151,9 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObjec wxPoint const &arg8_defvalue = wxDefaultPosition ; wxPoint *arg8 = (wxPoint *) &arg8_defvalue ; long result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -3174,17 +3168,17 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -3804,7 +3798,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwa PyObject *resultobj; wxString *arg1 = 0 ; wxToolTip *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "tip", NULL @@ -3814,7 +3808,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3844,7 +3838,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3856,7 +3850,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4376,7 +4370,7 @@ static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCaret *arg1 = (wxCaret *) 0 ; - int arg2 = (int) TRUE ; + int arg2 = (int) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "show", NULL @@ -4593,7 +4587,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxBusyInfo *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "message", NULL @@ -4603,7 +4597,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4836,7 +4830,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *ar PyObject *resultobj; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4848,7 +4842,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5157,8 +5151,8 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxSingleInstanceChecker *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5169,13 +5163,13 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -5261,8 +5255,8 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *ar wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5275,13 +5269,13 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -5462,7 +5456,7 @@ static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5474,7 +5468,7 @@ static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5578,7 +5572,7 @@ static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxTipProvider *arg2 = (wxTipProvider *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -5613,7 +5607,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyO wxString *arg1 = 0 ; size_t arg2 ; wxTipProvider *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5624,7 +5618,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyO { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } arg2 = (size_t) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; @@ -5734,7 +5728,7 @@ static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwa PyObject *resultobj; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int arg2 = (int) -1 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -5977,7 +5971,7 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) { PyObject *resultobj; wxTimer *arg1 = 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxTimerRunner *result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -6091,7 +6085,7 @@ static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6171,7 +6165,7 @@ static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6365,7 +6359,7 @@ static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "bVerbose", NULL @@ -6464,7 +6458,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "str", NULL @@ -6474,7 +6468,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6501,7 +6495,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "str", NULL @@ -6511,7 +6505,7 @@ static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6873,10 +6867,10 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; - bool arg4 = (bool) TRUE ; + bool arg3 = (bool) True ; + bool arg4 = (bool) True ; wxLogWindow *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6890,7 +6884,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6925,7 +6919,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxLogWindow *arg1 = (wxLogWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7260,7 +7254,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7270,7 +7264,7 @@ static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7297,7 +7291,7 @@ static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7307,7 +7301,7 @@ static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7334,7 +7328,7 @@ static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7344,7 +7338,7 @@ static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7371,7 +7365,7 @@ static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7381,7 +7375,7 @@ static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7408,7 +7402,7 @@ static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7418,7 +7412,7 @@ static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7445,7 +7439,7 @@ static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7455,7 +7449,7 @@ static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7482,7 +7476,7 @@ static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7492,7 +7486,7 @@ static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7519,7 +7513,7 @@ static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7529,7 +7523,7 @@ static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwarg { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7557,7 +7551,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7569,7 +7563,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7596,7 +7590,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7606,7 +7600,7 @@ static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7633,7 +7627,7 @@ static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7643,7 +7637,7 @@ static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7671,8 +7665,8 @@ static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7683,12 +7677,12 @@ static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7724,7 +7718,7 @@ static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj; unsigned long arg1 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7737,7 +7731,7 @@ static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7765,8 +7759,8 @@ static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7777,12 +7771,12 @@ static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7978,7 +7972,7 @@ static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kw wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "cmd",(char *) "flags", NULL @@ -7988,7 +7982,7 @@ static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8193,7 +8187,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, Py if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -8225,7 +8219,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, Py if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -8532,7 +8526,7 @@ static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *arg3 = (wxPyProcess *) NULL ; long result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -8543,7 +8537,7 @@ static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -10339,9 +10333,9 @@ static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxWave *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10352,7 +10346,7 @@ static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { arg2 = PyInt_AsLong(obj1) ? true : false; @@ -10384,7 +10378,7 @@ static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxWave *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "data", NULL @@ -10394,7 +10388,7 @@ static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10470,8 +10464,8 @@ static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWave *arg1 = (wxWave *) 0 ; - bool arg2 = (bool) TRUE ; - bool arg3 = (bool) FALSE ; + bool arg2 = (bool) True ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10518,10 +10512,10 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject wxString *arg3 = 0 ; wxString *arg4 = 0 ; wxFileTypeInfo *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10534,22 +10528,22 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10698,7 +10692,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyOb wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10710,7 +10704,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10738,7 +10732,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *resultobj; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10750,7 +10744,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11238,8 +11232,8 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, P wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11252,13 +11246,13 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11298,8 +11292,8 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11312,13 +11306,13 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11358,8 +11352,8 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, P wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11372,13 +11366,13 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11416,10 +11410,10 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObj wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11433,12 +11427,12 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -11481,7 +11475,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, P wxString *arg2 = (wxString *) &arg2_defvalue ; int arg3 = (int) 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11494,7 +11488,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -11551,9 +11545,9 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, Py wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11565,18 +11559,18 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11649,8 +11643,8 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11661,12 +11655,12 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11726,7 +11720,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *arg int arg2 = (int) wxMAILCAP_ALL ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11739,7 +11733,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *arg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11793,7 +11787,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11805,7 +11799,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11834,7 +11828,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11846,7 +11840,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11874,9 +11868,9 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *ar PyObject *resultobj; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11889,7 +11883,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -11922,7 +11916,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject * wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11934,7 +11928,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13018,8 +13012,8 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyO wxSize const &arg3_defvalue = wxDefaultSize ; wxSize *arg3 = (wxSize *) &arg3_defvalue ; wxBitmap result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13032,13 +13026,13 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyO { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -13089,8 +13083,8 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj wxSize const &arg3_defvalue = wxDefaultSize ; wxSize *arg3 = (wxSize *) &arg3_defvalue ; wxIcon result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13103,13 +13097,13 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -13210,7 +13204,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; wxConfigBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13283,7 +13277,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13295,7 +13289,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13452,7 +13446,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, P static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13483,7 +13477,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *a static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13516,7 +13510,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObj wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13528,7 +13522,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13557,7 +13551,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObj wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13569,7 +13563,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13598,7 +13592,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObjec wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13610,7 +13604,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13639,7 +13633,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, P wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13651,7 +13645,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13682,8 +13676,8 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13696,13 +13690,13 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -13747,7 +13741,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; long arg3 = (long) 0 ; long result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13759,7 +13753,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13789,7 +13783,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; double arg3 = (double) 0.0 ; double result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13801,7 +13795,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13829,9 +13823,9 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13844,7 +13838,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -13878,8 +13872,8 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13892,12 +13886,12 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13935,7 +13929,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObj wxString *arg2 = 0 ; long arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13947,7 +13941,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13977,7 +13971,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyO wxString *arg2 = 0 ; double arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13989,7 +13983,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14019,7 +14013,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; bool arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14032,7 +14026,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = PyInt_AsLong(obj2) ? true : false; if (PyErr_Occurred()) SWIG_fail; @@ -14061,7 +14055,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -14095,8 +14089,8 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14109,12 +14103,12 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14152,8 +14146,8 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14166,12 +14160,12 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14207,9 +14201,9 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, Py PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14222,7 +14216,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -14255,7 +14249,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, Py wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14267,7 +14261,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14344,7 +14338,7 @@ static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *a static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14374,7 +14368,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *arg static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14431,7 +14425,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14443,7 +14437,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14539,7 +14533,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14551,7 +14545,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14579,7 +14573,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14591,7 +14585,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14677,7 +14671,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyO wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigPathChanger *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14689,7 +14683,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14784,10 +14778,10 @@ static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwar wxString *arg4 = (wxString *) &arg4_defvalue ; long arg5 = (long) 0 ; wxConfig *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14801,28 +14795,28 @@ static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -14914,10 +14908,10 @@ static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject * wxString *arg4 = (wxString *) &arg4_defvalue ; long arg5 = (long) 0 ; wxFileConfig *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14931,28 +14925,28 @@ static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -15036,7 +15030,7 @@ static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "sz", NULL @@ -15046,7 +15040,7 @@ static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16776,7 +16770,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxDateTime result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16822,7 +16816,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxDateTime *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16866,7 +16860,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyO static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxDateTime result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16901,7 +16895,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxDateTime *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18653,7 +18647,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18665,7 +18659,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18698,8 +18692,8 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyOb wxDateTime const &arg4_defvalue = wxDefaultDateTime ; wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ; int result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18713,13 +18707,13 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -18763,7 +18757,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, Py wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18775,7 +18769,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18804,7 +18798,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObje wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18816,7 +18810,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18845,7 +18839,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObje wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18857,7 +18851,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18889,7 +18883,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18903,7 +18897,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -20332,7 +20326,7 @@ static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -20345,7 +20339,7 @@ static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -21461,7 +21455,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxString *arg1 = 0 ; wxDataFormat *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "format", NULL @@ -21471,7 +21465,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21828,7 +21822,7 @@ static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21840,7 +21834,7 @@ static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22325,7 +22319,7 @@ static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, P PyObject *resultobj; wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ; wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22361,7 +22355,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObje wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxTextDataObject *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -22372,7 +22366,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -22457,7 +22451,7 @@ static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, Py PyObject *resultobj; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22469,7 +22463,7 @@ static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22505,7 +22499,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyOb wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyTextDataObject *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -22516,7 +22510,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -23002,7 +22996,7 @@ static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23014,7 +23008,7 @@ static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23546,8 +23540,8 @@ static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23574,8 +23568,8 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, P static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23626,8 +23620,8 @@ static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, P static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23737,8 +23731,8 @@ static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23765,8 +23759,8 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23817,8 +23811,8 @@ static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23844,8 +23838,8 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23931,8 +23925,8 @@ static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23959,8 +23953,8 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -24011,8 +24005,8 @@ static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24038,8 +24032,8 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -24360,7 +24354,7 @@ static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxClipboard *arg1 = (wxClipboard *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { diff --git a/wxPython/src/mac/windows.py b/wxPython/src/mac/windows.py index 16257558fb..196f9371ec 100644 --- a/wxPython/src/mac/windows.py +++ b/wxPython/src/mac/windows.py @@ -8,16 +8,29 @@ wx = core #--------------------------------------------------------------------------- class Panel(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> Panel""" newobj = _windows.new_Panel(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Panel_Create(*args, **kwargs) - def InitDialog(*args, **kwargs): return _windows.Panel_InitDialog(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> bool""" + return _windows.Panel_Create(*args, **kwargs) + + def InitDialog(*args, **kwargs): + """InitDialog()""" + return _windows.Panel_InitDialog(*args, **kwargs) + class PanelPtr(Panel): def __init__(self, this): @@ -27,6 +40,7 @@ class PanelPtr(Panel): _windows.Panel_swigregister(PanelPtr) def PrePanel(*args, **kwargs): + """PrePanel() -> Panel""" val = _windows.new_PrePanel(*args, **kwargs) val.thisown = 1 return val @@ -34,34 +48,108 @@ def PrePanel(*args, **kwargs): #--------------------------------------------------------------------------- class ScrolledWindow(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> ScrolledWindow""" newobj = _windows.new_ScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.ScrolledWindow_Create(*args, **kwargs) - def SetScrollbars(*args, **kwargs): return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) - def Scroll(*args, **kwargs): return _windows.ScrolledWindow_Scroll(*args, **kwargs) - def GetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs) - def SetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs) - def SetScrollRate(*args, **kwargs): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) - def GetScrollPixelsPerUnit(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) - def EnableScrolling(*args, **kwargs): return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) - def GetViewStart(*args, **kwargs): return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) - def SetScale(*args, **kwargs): return _windows.ScrolledWindow_SetScale(*args, **kwargs) - def GetScaleX(*args, **kwargs): return _windows.ScrolledWindow_GetScaleX(*args, **kwargs) - def GetScaleY(*args, **kwargs): return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) - def CalcScrolledPosition(*args): return _windows.ScrolledWindow_CalcScrolledPosition(*args) - def CalcUnscrolledPosition(*args): return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) - def AdjustScrollbars(*args, **kwargs): return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs) - def CalcScrollInc(*args, **kwargs): return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs) - def SetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs) - def GetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs) - def SetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs) - def GetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> bool""" + return _windows.ScrolledWindow_Create(*args, **kwargs) + + def SetScrollbars(*args, **kwargs): + """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, + int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)""" + return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) + + def Scroll(*args, **kwargs): + """Scroll(int x, int y)""" + return _windows.ScrolledWindow_Scroll(*args, **kwargs) + + def GetScrollPageSize(*args, **kwargs): + """GetScrollPageSize(int orient) -> int""" + return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs) + + def SetScrollPageSize(*args, **kwargs): + """SetScrollPageSize(int orient, int pageSize)""" + return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs) + + def SetScrollRate(*args, **kwargs): + """SetScrollRate(int xstep, int ystep)""" + return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) + + def GetScrollPixelsPerUnit(*args, **kwargs): + """GetScrollPixelsPerUnit() -> (xUnit, yUnit) + + + get the size of one logical unit in physical ones + """ + return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) + + def EnableScrolling(*args, **kwargs): + """EnableScrolling(bool x_scrolling, bool y_scrolling)""" + return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) + + def GetViewStart(*args, **kwargs): + """GetViewStart(int OUTPUT, int OUTPUT)""" + return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) + + def SetScale(*args, **kwargs): + """SetScale(double xs, double ys)""" + return _windows.ScrolledWindow_SetScale(*args, **kwargs) + + def GetScaleX(*args, **kwargs): + """GetScaleX() -> double""" + return _windows.ScrolledWindow_GetScaleX(*args, **kwargs) + + def GetScaleY(*args, **kwargs): + """GetScaleY() -> double""" + return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) + + def CalcScrolledPosition(*args): + """CalcScrolledPosition(int x, int y, int OUTPUT, int OUTPUT) +CalcScrolledPosition(Point pt) -> Point""" + return _windows.ScrolledWindow_CalcScrolledPosition(*args) + + def CalcUnscrolledPosition(*args): + """CalcUnscrolledPosition(int x, int y, int OUTPUT, int OUTPUT) +CalcUnscrolledPosition(Point pt) -> Point""" + return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) + + def AdjustScrollbars(*args, **kwargs): + """AdjustScrollbars()""" + return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs) + + def CalcScrollInc(*args, **kwargs): + """CalcScrollInc(ScrollWinEvent event) -> int""" + return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs) + + def SetTargetWindow(*args, **kwargs): + """SetTargetWindow(Window target)""" + return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs) + + def GetTargetWindow(*args, **kwargs): + """GetTargetWindow() -> Window""" + return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs) + + def SetTargetRect(*args, **kwargs): + """SetTargetRect(Rect rect)""" + return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs) + + def GetTargetRect(*args, **kwargs): + """GetTargetRect() -> Rect""" + return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs) + class ScrolledWindowPtr(ScrolledWindow): def __init__(self, this): @@ -71,6 +159,7 @@ class ScrolledWindowPtr(ScrolledWindow): _windows.ScrolledWindow_swigregister(ScrolledWindowPtr) def PreScrolledWindow(*args, **kwargs): + """PreScrolledWindow() -> ScrolledWindow""" val = _windows.new_PreScrolledWindow(*args, **kwargs) val.thisown = 1 return val @@ -78,23 +167,45 @@ def PreScrolledWindow(*args, **kwargs): #--------------------------------------------------------------------------- class AcceleratorEntry(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" newobj = _windows.new_AcceleratorEntry(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_AcceleratorEntry): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Set(*args, **kwargs): return _windows.AcceleratorEntry_Set(*args, **kwargs) - def SetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) - def GetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) - def GetCommand(*args, **kwargs): return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Set(*args, **kwargs): + """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" + return _windows.AcceleratorEntry_Set(*args, **kwargs) + + def SetMenuItem(*args, **kwargs): + """SetMenuItem(MenuItem item)""" + return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) + + def GetMenuItem(*args, **kwargs): + """GetMenuItem() -> MenuItem""" + return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) + + def GetCommand(*args, **kwargs): + """GetCommand() -> int""" + return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) + class AcceleratorEntryPtr(AcceleratorEntry): def __init__(self, this): @@ -104,18 +215,25 @@ class AcceleratorEntryPtr(AcceleratorEntry): _windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr) class AcceleratorTable(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable""" newobj = _windows.new_AcceleratorTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_AcceleratorTable): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _windows.AcceleratorTable_Ok(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.AcceleratorTable_Ok(*args, **kwargs) + class AcceleratorTablePtr(AcceleratorTable): def __init__(self, this): @@ -125,7 +243,9 @@ class AcceleratorTablePtr(AcceleratorTable): _windows.AcceleratorTable_swigregister(AcceleratorTablePtr) -GetAccelFromString = _windows.GetAccelFromString +def GetAccelFromString(*args, **kwargs): + """GetAccelFromString(wxString label) -> AcceleratorEntry""" + return _windows.GetAccelFromString(*args, **kwargs) #--------------------------------------------------------------------------- FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR @@ -136,22 +256,62 @@ FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION FULLSCREEN_ALL = _windows.FULLSCREEN_ALL TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG class TopLevelWindow(core.Window): - def Maximize(*args, **kwargs): return _windows.TopLevelWindow_Maximize(*args, **kwargs) - def Restore(*args, **kwargs): return _windows.TopLevelWindow_Restore(*args, **kwargs) - def Iconize(*args, **kwargs): return _windows.TopLevelWindow_Iconize(*args, **kwargs) - def IsMaximized(*args, **kwargs): return _windows.TopLevelWindow_IsMaximized(*args, **kwargs) - def IsIconized(*args, **kwargs): return _windows.TopLevelWindow_IsIconized(*args, **kwargs) - def GetIcon(*args, **kwargs): return _windows.TopLevelWindow_GetIcon(*args, **kwargs) - def SetIcon(*args, **kwargs): return _windows.TopLevelWindow_SetIcon(*args, **kwargs) - def SetIcons(*args, **kwargs): return _windows.TopLevelWindow_SetIcons(*args, **kwargs) - def ShowFullScreen(*args, **kwargs): return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs) - def IsFullScreen(*args, **kwargs): return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs) - def SetTitle(*args, **kwargs): return _windows.TopLevelWindow_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _windows.TopLevelWindow_GetTitle(*args, **kwargs) - def SetShape(*args, **kwargs): return _windows.TopLevelWindow_SetShape(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Maximize(*args, **kwargs): + """Maximize(bool maximize=True)""" + return _windows.TopLevelWindow_Maximize(*args, **kwargs) + + def Restore(*args, **kwargs): + """Restore()""" + return _windows.TopLevelWindow_Restore(*args, **kwargs) + + def Iconize(*args, **kwargs): + """Iconize(bool iconize=True)""" + return _windows.TopLevelWindow_Iconize(*args, **kwargs) + + def IsMaximized(*args, **kwargs): + """IsMaximized() -> bool""" + return _windows.TopLevelWindow_IsMaximized(*args, **kwargs) + + def IsIconized(*args, **kwargs): + """IsIconized() -> bool""" + return _windows.TopLevelWindow_IsIconized(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon() -> wxIcon""" + return _windows.TopLevelWindow_GetIcon(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxIcon icon)""" + return _windows.TopLevelWindow_SetIcon(*args, **kwargs) + + def SetIcons(*args, **kwargs): + """SetIcons(wxIconBundle icons)""" + return _windows.TopLevelWindow_SetIcons(*args, **kwargs) + + def ShowFullScreen(*args, **kwargs): + """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool""" + return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs) + + def IsFullScreen(*args, **kwargs): + """IsFullScreen() -> bool""" + return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _windows.TopLevelWindow_SetTitle(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _windows.TopLevelWindow_GetTitle(*args, **kwargs) + + def SetShape(*args, **kwargs): + """SetShape(wxRegion region) -> bool""" + return _windows.TopLevelWindow_SetShape(*args, **kwargs) + class TopLevelWindowPtr(TopLevelWindow): def __init__(self, this): @@ -165,35 +325,103 @@ NullAcceleratorTable = cvar.NullAcceleratorTable #--------------------------------------------------------------------------- class Frame(TopLevelWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> Frame""" newobj = _windows.new_Frame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Frame_Create(*args, **kwargs) - def GetClientAreaOrigin(*args, **kwargs): return _windows.Frame_GetClientAreaOrigin(*args, **kwargs) - def SendSizeEvent(*args, **kwargs): return _windows.Frame_SendSizeEvent(*args, **kwargs) - def SetMenuBar(*args, **kwargs): return _windows.Frame_SetMenuBar(*args, **kwargs) - def GetMenuBar(*args, **kwargs): return _windows.Frame_GetMenuBar(*args, **kwargs) - def ProcessCommand(*args, **kwargs): return _windows.Frame_ProcessCommand(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.Frame_Create(*args, **kwargs) + + def GetClientAreaOrigin(*args, **kwargs): + """GetClientAreaOrigin() -> Point""" + return _windows.Frame_GetClientAreaOrigin(*args, **kwargs) + + def SendSizeEvent(*args, **kwargs): + """SendSizeEvent()""" + return _windows.Frame_SendSizeEvent(*args, **kwargs) + + def SetMenuBar(*args, **kwargs): + """SetMenuBar(MenuBar menubar)""" + return _windows.Frame_SetMenuBar(*args, **kwargs) + + def GetMenuBar(*args, **kwargs): + """GetMenuBar() -> MenuBar""" + return _windows.Frame_GetMenuBar(*args, **kwargs) + + def ProcessCommand(*args, **kwargs): + """ProcessCommand(int winid) -> bool""" + return _windows.Frame_ProcessCommand(*args, **kwargs) + Command = ProcessCommand - def CreateStatusBar(*args, **kwargs): return _windows.Frame_CreateStatusBar(*args, **kwargs) - def GetStatusBar(*args, **kwargs): return _windows.Frame_GetStatusBar(*args, **kwargs) - def SetStatusBar(*args, **kwargs): return _windows.Frame_SetStatusBar(*args, **kwargs) - def SetStatusText(*args, **kwargs): return _windows.Frame_SetStatusText(*args, **kwargs) - def SetStatusWidths(*args, **kwargs): return _windows.Frame_SetStatusWidths(*args, **kwargs) - def PushStatusText(*args, **kwargs): return _windows.Frame_PushStatusText(*args, **kwargs) - def PopStatusText(*args, **kwargs): return _windows.Frame_PopStatusText(*args, **kwargs) - def SetStatusBarPane(*args, **kwargs): return _windows.Frame_SetStatusBarPane(*args, **kwargs) - def GetStatusBarPane(*args, **kwargs): return _windows.Frame_GetStatusBarPane(*args, **kwargs) - def CreateToolBar(*args, **kwargs): return _windows.Frame_CreateToolBar(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _windows.Frame_GetToolBar(*args, **kwargs) - def SetToolBar(*args, **kwargs): return _windows.Frame_SetToolBar(*args, **kwargs) - def DoGiveHelp(*args, **kwargs): return _windows.Frame_DoGiveHelp(*args, **kwargs) - def DoMenuUpdates(*args, **kwargs): return _windows.Frame_DoMenuUpdates(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CreateStatusBar(*args, **kwargs): + """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, + wxString name=wxPyStatusLineNameStr) -> StatusBar""" + return _windows.Frame_CreateStatusBar(*args, **kwargs) + + def GetStatusBar(*args, **kwargs): + """GetStatusBar() -> StatusBar""" + return _windows.Frame_GetStatusBar(*args, **kwargs) + + def SetStatusBar(*args, **kwargs): + """SetStatusBar(StatusBar statBar)""" + return _windows.Frame_SetStatusBar(*args, **kwargs) + + def SetStatusText(*args, **kwargs): + """SetStatusText(wxString text, int number=0)""" + return _windows.Frame_SetStatusText(*args, **kwargs) + + def SetStatusWidths(*args, **kwargs): + """SetStatusWidths(int widths, int widths_field)""" + return _windows.Frame_SetStatusWidths(*args, **kwargs) + + def PushStatusText(*args, **kwargs): + """PushStatusText(wxString text, int number=0)""" + return _windows.Frame_PushStatusText(*args, **kwargs) + + def PopStatusText(*args, **kwargs): + """PopStatusText(int number=0)""" + return _windows.Frame_PopStatusText(*args, **kwargs) + + def SetStatusBarPane(*args, **kwargs): + """SetStatusBarPane(int n)""" + return _windows.Frame_SetStatusBarPane(*args, **kwargs) + + def GetStatusBarPane(*args, **kwargs): + """GetStatusBarPane() -> int""" + return _windows.Frame_GetStatusBarPane(*args, **kwargs) + + def CreateToolBar(*args, **kwargs): + """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar""" + return _windows.Frame_CreateToolBar(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> wxToolBar""" + return _windows.Frame_GetToolBar(*args, **kwargs) + + def SetToolBar(*args, **kwargs): + """SetToolBar(wxToolBar toolbar)""" + return _windows.Frame_SetToolBar(*args, **kwargs) + + def DoGiveHelp(*args, **kwargs): + """DoGiveHelp(wxString text, bool show)""" + return _windows.Frame_DoGiveHelp(*args, **kwargs) + + def DoMenuUpdates(*args, **kwargs): + """DoMenuUpdates(Menu menu=None)""" + return _windows.Frame_DoMenuUpdates(*args, **kwargs) + class FramePtr(Frame): def __init__(self, this): @@ -203,6 +431,7 @@ class FramePtr(Frame): _windows.Frame_swigregister(FramePtr) def PreFrame(*args, **kwargs): + """PreFrame() -> Frame""" val = _windows.new_PreFrame(*args, **kwargs) val.thisown = 1 return val @@ -210,24 +439,61 @@ def PreFrame(*args, **kwargs): #--------------------------------------------------------------------------- class Dialog(TopLevelWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> Dialog""" newobj = _windows.new_Dialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Dialog_Create(*args, **kwargs) - def SetReturnCode(*args, **kwargs): return _windows.Dialog_SetReturnCode(*args, **kwargs) - def GetReturnCode(*args, **kwargs): return _windows.Dialog_GetReturnCode(*args, **kwargs) - def CreateTextSizer(*args, **kwargs): return _windows.Dialog_CreateTextSizer(*args, **kwargs) - def CreateButtonSizer(*args, **kwargs): return _windows.Dialog_CreateButtonSizer(*args, **kwargs) - def SetModal(*args, **kwargs): return _windows.Dialog_SetModal(*args, **kwargs) - def IsModal(*args, **kwargs): return _windows.Dialog_IsModal(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.Dialog_ShowModal(*args, **kwargs) - def EndModal(*args, **kwargs): return _windows.Dialog_EndModal(*args, **kwargs) - def IsModalShowing(*args, **kwargs): return _windows.Dialog_IsModalShowing(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> bool""" + return _windows.Dialog_Create(*args, **kwargs) + + def SetReturnCode(*args, **kwargs): + """SetReturnCode(int returnCode)""" + return _windows.Dialog_SetReturnCode(*args, **kwargs) + + def GetReturnCode(*args, **kwargs): + """GetReturnCode() -> int""" + return _windows.Dialog_GetReturnCode(*args, **kwargs) + + def CreateTextSizer(*args, **kwargs): + """CreateTextSizer(wxString message) -> Sizer""" + return _windows.Dialog_CreateTextSizer(*args, **kwargs) + + def CreateButtonSizer(*args, **kwargs): + """CreateButtonSizer(long flags) -> Sizer""" + return _windows.Dialog_CreateButtonSizer(*args, **kwargs) + + def SetModal(*args, **kwargs): + """SetModal(bool flag)""" + return _windows.Dialog_SetModal(*args, **kwargs) + + def IsModal(*args, **kwargs): + """IsModal() -> bool""" + return _windows.Dialog_IsModal(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.Dialog_ShowModal(*args, **kwargs) + + def EndModal(*args, **kwargs): + """EndModal(int retCode)""" + return _windows.Dialog_EndModal(*args, **kwargs) + + def IsModalShowing(*args, **kwargs): + """IsModalShowing() -> bool""" + return _windows.Dialog_IsModalShowing(*args, **kwargs) + class DialogPtr(Dialog): def __init__(self, this): @@ -237,6 +503,7 @@ class DialogPtr(Dialog): _windows.Dialog_swigregister(DialogPtr) def PreDialog(*args, **kwargs): + """PreDialog() -> Dialog""" val = _windows.new_PreDialog(*args, **kwargs) val.thisown = 1 return val @@ -244,15 +511,25 @@ def PreDialog(*args, **kwargs): #--------------------------------------------------------------------------- class MiniFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> MiniFrame""" newobj = _windows.new_MiniFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MiniFrame_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MiniFrame_Create(*args, **kwargs) + class MiniFramePtr(MiniFrame): def __init__(self, this): @@ -262,6 +539,7 @@ class MiniFramePtr(MiniFrame): _windows.MiniFrame_swigregister(MiniFramePtr) def PreMiniFrame(*args, **kwargs): + """PreMiniFrame() -> MiniFrame""" val = _windows.new_PreMiniFrame(*args, **kwargs) val.thisown = 1 return val @@ -274,16 +552,26 @@ SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT class SplashScreenWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow""" newobj = _windows.new_SplashScreenWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs) + class SplashScreenWindowPtr(SplashScreenWindow): def __init__(self, this): @@ -293,17 +581,31 @@ class SplashScreenWindowPtr(SplashScreenWindow): _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) class SplashScreen(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap, long splashStyle, int milliseconds, + Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen""" newobj = _windows.new_SplashScreen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetSplashStyle(*args, **kwargs): return _windows.SplashScreen_GetSplashStyle(*args, **kwargs) - def GetSplashWindow(*args, **kwargs): return _windows.SplashScreen_GetSplashWindow(*args, **kwargs) - def GetTimeout(*args, **kwargs): return _windows.SplashScreen_GetTimeout(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetSplashStyle(*args, **kwargs): + """GetSplashStyle() -> long""" + return _windows.SplashScreen_GetSplashStyle(*args, **kwargs) + + def GetSplashWindow(*args, **kwargs): + """GetSplashWindow() -> SplashScreenWindow""" + return _windows.SplashScreen_GetSplashWindow(*args, **kwargs) + + def GetTimeout(*args, **kwargs): + """GetTimeout() -> int""" + return _windows.SplashScreen_GetTimeout(*args, **kwargs) + class SplashScreenPtr(SplashScreen): def __init__(self, this): @@ -315,26 +617,65 @@ _windows.SplashScreen_swigregister(SplashScreenPtr) #--------------------------------------------------------------------------- class StatusBar(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar""" newobj = _windows.new_StatusBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.StatusBar_Create(*args, **kwargs) - def SetFieldsCount(*args, **kwargs): return _windows.StatusBar_SetFieldsCount(*args, **kwargs) - def GetFieldsCount(*args, **kwargs): return _windows.StatusBar_GetFieldsCount(*args, **kwargs) - def SetStatusText(*args, **kwargs): return _windows.StatusBar_SetStatusText(*args, **kwargs) - def GetStatusText(*args, **kwargs): return _windows.StatusBar_GetStatusText(*args, **kwargs) - def PushStatusText(*args, **kwargs): return _windows.StatusBar_PushStatusText(*args, **kwargs) - def PopStatusText(*args, **kwargs): return _windows.StatusBar_PopStatusText(*args, **kwargs) - def SetStatusWidths(*args, **kwargs): return _windows.StatusBar_SetStatusWidths(*args, **kwargs) - def GetFieldRect(*args, **kwargs): return _windows.StatusBar_GetFieldRect(*args, **kwargs) - def SetMinHeight(*args, **kwargs): return _windows.StatusBar_SetMinHeight(*args, **kwargs) - def GetBorderX(*args, **kwargs): return _windows.StatusBar_GetBorderX(*args, **kwargs) - def GetBorderY(*args, **kwargs): return _windows.StatusBar_GetBorderY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool""" + return _windows.StatusBar_Create(*args, **kwargs) + + def SetFieldsCount(*args, **kwargs): + """SetFieldsCount(int number=1)""" + return _windows.StatusBar_SetFieldsCount(*args, **kwargs) + + def GetFieldsCount(*args, **kwargs): + """GetFieldsCount() -> int""" + return _windows.StatusBar_GetFieldsCount(*args, **kwargs) + + def SetStatusText(*args, **kwargs): + """SetStatusText(wxString text, int number=0)""" + return _windows.StatusBar_SetStatusText(*args, **kwargs) + + def GetStatusText(*args, **kwargs): + """GetStatusText(int number=0) -> wxString""" + return _windows.StatusBar_GetStatusText(*args, **kwargs) + + def PushStatusText(*args, **kwargs): + """PushStatusText(wxString text, int number=0)""" + return _windows.StatusBar_PushStatusText(*args, **kwargs) + + def PopStatusText(*args, **kwargs): + """PopStatusText(int number=0)""" + return _windows.StatusBar_PopStatusText(*args, **kwargs) + + def SetStatusWidths(*args, **kwargs): + """SetStatusWidths(int widths, int widths_field)""" + return _windows.StatusBar_SetStatusWidths(*args, **kwargs) + + def GetFieldRect(*args, **kwargs): + """GetFieldRect(int i, Rect rect) -> bool""" + return _windows.StatusBar_GetFieldRect(*args, **kwargs) + + def SetMinHeight(*args, **kwargs): + """SetMinHeight(int height)""" + return _windows.StatusBar_SetMinHeight(*args, **kwargs) + + def GetBorderX(*args, **kwargs): + """GetBorderX() -> int""" + return _windows.StatusBar_GetBorderX(*args, **kwargs) + + def GetBorderY(*args, **kwargs): + """GetBorderY() -> int""" + return _windows.StatusBar_GetBorderY(*args, **kwargs) + class StatusBarPtr(StatusBar): def __init__(self, this): @@ -344,6 +685,7 @@ class StatusBarPtr(StatusBar): _windows.StatusBar_swigregister(StatusBarPtr) def PreStatusBar(*args, **kwargs): + """PreStatusBar() -> StatusBar""" val = _windows.new_PreStatusBar(*args, **kwargs) val.thisown = 1 return val @@ -364,37 +706,111 @@ SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN class SplitterWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow""" newobj = _windows.new_SplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SplitterWindow_Create(*args, **kwargs) - def GetWindow1(*args, **kwargs): return _windows.SplitterWindow_GetWindow1(*args, **kwargs) - def GetWindow2(*args, **kwargs): return _windows.SplitterWindow_GetWindow2(*args, **kwargs) - def SetSplitMode(*args, **kwargs): return _windows.SplitterWindow_SetSplitMode(*args, **kwargs) - def GetSplitMode(*args, **kwargs): return _windows.SplitterWindow_GetSplitMode(*args, **kwargs) - def Initialize(*args, **kwargs): return _windows.SplitterWindow_Initialize(*args, **kwargs) - def SplitVertically(*args, **kwargs): return _windows.SplitterWindow_SplitVertically(*args, **kwargs) - def SplitHorizontally(*args, **kwargs): return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs) - def Unsplit(*args, **kwargs): return _windows.SplitterWindow_Unsplit(*args, **kwargs) - def ReplaceWindow(*args, **kwargs): return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs) - def IsSplit(*args, **kwargs): return _windows.SplitterWindow_IsSplit(*args, **kwargs) - def SetSashSize(*args, **kwargs): return _windows.SplitterWindow_SetSashSize(*args, **kwargs) - def SetBorderSize(*args, **kwargs): return _windows.SplitterWindow_SetBorderSize(*args, **kwargs) - def GetSashSize(*args, **kwargs): return _windows.SplitterWindow_GetSashSize(*args, **kwargs) - def GetBorderSize(*args, **kwargs): return _windows.SplitterWindow_GetBorderSize(*args, **kwargs) - def SetSashPosition(*args, **kwargs): return _windows.SplitterWindow_SetSashPosition(*args, **kwargs) - def GetSashPosition(*args, **kwargs): return _windows.SplitterWindow_GetSashPosition(*args, **kwargs) - def SetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs) - def GetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs) - def SashHitTest(*args, **kwargs): return _windows.SplitterWindow_SashHitTest(*args, **kwargs) - def SizeWindows(*args, **kwargs): return _windows.SplitterWindow_SizeWindows(*args, **kwargs) - def SetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs) - def GetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool""" + return _windows.SplitterWindow_Create(*args, **kwargs) + + def GetWindow1(*args, **kwargs): + """GetWindow1() -> Window""" + return _windows.SplitterWindow_GetWindow1(*args, **kwargs) + + def GetWindow2(*args, **kwargs): + """GetWindow2() -> Window""" + return _windows.SplitterWindow_GetWindow2(*args, **kwargs) + + def SetSplitMode(*args, **kwargs): + """SetSplitMode(int mode)""" + return _windows.SplitterWindow_SetSplitMode(*args, **kwargs) + + def GetSplitMode(*args, **kwargs): + """GetSplitMode() -> wxSplitMode""" + return _windows.SplitterWindow_GetSplitMode(*args, **kwargs) + + def Initialize(*args, **kwargs): + """Initialize(Window window)""" + return _windows.SplitterWindow_Initialize(*args, **kwargs) + + def SplitVertically(*args, **kwargs): + """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool""" + return _windows.SplitterWindow_SplitVertically(*args, **kwargs) + + def SplitHorizontally(*args, **kwargs): + """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool""" + return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs) + + def Unsplit(*args, **kwargs): + """Unsplit(Window toRemove=None) -> bool""" + return _windows.SplitterWindow_Unsplit(*args, **kwargs) + + def ReplaceWindow(*args, **kwargs): + """ReplaceWindow(Window winOld, Window winNew) -> bool""" + return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs) + + def IsSplit(*args, **kwargs): + """IsSplit() -> bool""" + return _windows.SplitterWindow_IsSplit(*args, **kwargs) + + def SetSashSize(*args, **kwargs): + """SetSashSize(int width)""" + return _windows.SplitterWindow_SetSashSize(*args, **kwargs) + + def SetBorderSize(*args, **kwargs): + """SetBorderSize(int width)""" + return _windows.SplitterWindow_SetBorderSize(*args, **kwargs) + + def GetSashSize(*args, **kwargs): + """GetSashSize() -> int""" + return _windows.SplitterWindow_GetSashSize(*args, **kwargs) + + def GetBorderSize(*args, **kwargs): + """GetBorderSize() -> int""" + return _windows.SplitterWindow_GetBorderSize(*args, **kwargs) + + def SetSashPosition(*args, **kwargs): + """SetSashPosition(int position, bool redraw=True)""" + return _windows.SplitterWindow_SetSashPosition(*args, **kwargs) + + def GetSashPosition(*args, **kwargs): + """GetSashPosition() -> int""" + return _windows.SplitterWindow_GetSashPosition(*args, **kwargs) + + def SetMinimumPaneSize(*args, **kwargs): + """SetMinimumPaneSize(int min)""" + return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs) + + def GetMinimumPaneSize(*args, **kwargs): + """GetMinimumPaneSize() -> int""" + return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs) + + def SashHitTest(*args, **kwargs): + """SashHitTest(int x, int y, int tolerance=5) -> bool""" + return _windows.SplitterWindow_SashHitTest(*args, **kwargs) + + def SizeWindows(*args, **kwargs): + """SizeWindows()""" + return _windows.SplitterWindow_SizeWindows(*args, **kwargs) + + def SetNeedUpdating(*args, **kwargs): + """SetNeedUpdating(bool needUpdating)""" + return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs) + + def GetNeedUpdating(*args, **kwargs): + """GetNeedUpdating() -> bool""" + return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs) + class SplitterWindowPtr(SplitterWindow): def __init__(self, this): @@ -404,23 +820,41 @@ class SplitterWindowPtr(SplitterWindow): _windows.SplitterWindow_swigregister(SplitterWindowPtr) def PreSplitterWindow(*args, **kwargs): + """PreSplitterWindow() -> SplitterWindow""" val = _windows.new_PreSplitterWindow(*args, **kwargs) val.thisown = 1 return val class SplitterEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent""" newobj = _windows.new_SplitterEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetSashPosition(*args, **kwargs): return _windows.SplitterEvent_SetSashPosition(*args, **kwargs) - def GetSashPosition(*args, **kwargs): return _windows.SplitterEvent_GetSashPosition(*args, **kwargs) - def GetWindowBeingRemoved(*args, **kwargs): return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs) - def GetX(*args, **kwargs): return _windows.SplitterEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _windows.SplitterEvent_GetY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetSashPosition(*args, **kwargs): + """SetSashPosition(int pos)""" + return _windows.SplitterEvent_SetSashPosition(*args, **kwargs) + + def GetSashPosition(*args, **kwargs): + """GetSashPosition() -> int""" + return _windows.SplitterEvent_GetSashPosition(*args, **kwargs) + + def GetWindowBeingRemoved(*args, **kwargs): + """GetWindowBeingRemoved() -> Window""" + return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _windows.SplitterEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _windows.SplitterEvent_GetY(*args, **kwargs) + class SplitterEventPtr(SplitterEvent): def __init__(self, this): @@ -454,34 +888,101 @@ SASH_BOTTOM = _windows.SASH_BOTTOM SASH_LEFT = _windows.SASH_LEFT SASH_NONE = _windows.SASH_NONE class SashWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> SashWindow""" newobj = _windows.new_SashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SashWindow_Create(*args, **kwargs) - def SetSashVisible(*args, **kwargs): return _windows.SashWindow_SetSashVisible(*args, **kwargs) - def GetSashVisible(*args, **kwargs): return _windows.SashWindow_GetSashVisible(*args, **kwargs) - def SetSashBorder(*args, **kwargs): return _windows.SashWindow_SetSashBorder(*args, **kwargs) - def HasBorder(*args, **kwargs): return _windows.SashWindow_HasBorder(*args, **kwargs) - def GetEdgeMargin(*args, **kwargs): return _windows.SashWindow_GetEdgeMargin(*args, **kwargs) - def SetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs) - def GetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs) - def SetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs) - def GetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs) - def SetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs) - def SetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs) - def GetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs) - def GetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs) - def SetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs) - def SetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs) - def GetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs) - def GetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs) - def SashHitTest(*args, **kwargs): return _windows.SashWindow_SashHitTest(*args, **kwargs) - def SizeWindows(*args, **kwargs): return _windows.SashWindow_SizeWindows(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> bool""" + return _windows.SashWindow_Create(*args, **kwargs) + + def SetSashVisible(*args, **kwargs): + """SetSashVisible(wxSashEdgePosition edge, bool sash)""" + return _windows.SashWindow_SetSashVisible(*args, **kwargs) + + def GetSashVisible(*args, **kwargs): + """GetSashVisible(wxSashEdgePosition edge) -> bool""" + return _windows.SashWindow_GetSashVisible(*args, **kwargs) + + def SetSashBorder(*args, **kwargs): + """SetSashBorder(wxSashEdgePosition edge, bool border)""" + return _windows.SashWindow_SetSashBorder(*args, **kwargs) + + def HasBorder(*args, **kwargs): + """HasBorder(wxSashEdgePosition edge) -> bool""" + return _windows.SashWindow_HasBorder(*args, **kwargs) + + def GetEdgeMargin(*args, **kwargs): + """GetEdgeMargin(wxSashEdgePosition edge) -> int""" + return _windows.SashWindow_GetEdgeMargin(*args, **kwargs) + + def SetDefaultBorderSize(*args, **kwargs): + """SetDefaultBorderSize(int width)""" + return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs) + + def GetDefaultBorderSize(*args, **kwargs): + """GetDefaultBorderSize() -> int""" + return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs) + + def SetExtraBorderSize(*args, **kwargs): + """SetExtraBorderSize(int width)""" + return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs) + + def GetExtraBorderSize(*args, **kwargs): + """GetExtraBorderSize() -> int""" + return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs) + + def SetMinimumSizeX(*args, **kwargs): + """SetMinimumSizeX(int min)""" + return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs) + + def SetMinimumSizeY(*args, **kwargs): + """SetMinimumSizeY(int min)""" + return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs) + + def GetMinimumSizeX(*args, **kwargs): + """GetMinimumSizeX() -> int""" + return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs) + + def GetMinimumSizeY(*args, **kwargs): + """GetMinimumSizeY() -> int""" + return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs) + + def SetMaximumSizeX(*args, **kwargs): + """SetMaximumSizeX(int max)""" + return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs) + + def SetMaximumSizeY(*args, **kwargs): + """SetMaximumSizeY(int max)""" + return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs) + + def GetMaximumSizeX(*args, **kwargs): + """GetMaximumSizeX() -> int""" + return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs) + + def GetMaximumSizeY(*args, **kwargs): + """GetMaximumSizeY() -> int""" + return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs) + + def SashHitTest(*args, **kwargs): + """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition""" + return _windows.SashWindow_SashHitTest(*args, **kwargs) + + def SizeWindows(*args, **kwargs): + """SizeWindows()""" + return _windows.SashWindow_SizeWindows(*args, **kwargs) + class SashWindowPtr(SashWindow): def __init__(self, this): @@ -491,6 +992,7 @@ class SashWindowPtr(SashWindow): _windows.SashWindow_swigregister(SashWindowPtr) def PreSashWindow(*args, **kwargs): + """PreSashWindow() -> SashWindow""" val = _windows.new_PreSashWindow(*args, **kwargs) val.thisown = 1 return val @@ -498,19 +1000,39 @@ def PreSashWindow(*args, **kwargs): SASH_STATUS_OK = _windows.SASH_STATUS_OK SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE class SashEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent""" newobj = _windows.new_SashEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetEdge(*args, **kwargs): return _windows.SashEvent_SetEdge(*args, **kwargs) - def GetEdge(*args, **kwargs): return _windows.SashEvent_GetEdge(*args, **kwargs) - def SetDragRect(*args, **kwargs): return _windows.SashEvent_SetDragRect(*args, **kwargs) - def GetDragRect(*args, **kwargs): return _windows.SashEvent_GetDragRect(*args, **kwargs) - def SetDragStatus(*args, **kwargs): return _windows.SashEvent_SetDragStatus(*args, **kwargs) - def GetDragStatus(*args, **kwargs): return _windows.SashEvent_GetDragStatus(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetEdge(*args, **kwargs): + """SetEdge(wxSashEdgePosition edge)""" + return _windows.SashEvent_SetEdge(*args, **kwargs) + + def GetEdge(*args, **kwargs): + """GetEdge() -> wxSashEdgePosition""" + return _windows.SashEvent_GetEdge(*args, **kwargs) + + def SetDragRect(*args, **kwargs): + """SetDragRect(Rect rect)""" + return _windows.SashEvent_SetDragRect(*args, **kwargs) + + def GetDragRect(*args, **kwargs): + """GetDragRect() -> Rect""" + return _windows.SashEvent_GetDragRect(*args, **kwargs) + + def SetDragStatus(*args, **kwargs): + """SetDragStatus(wxSashDragStatus status)""" + return _windows.SashEvent_SetDragStatus(*args, **kwargs) + + def GetDragStatus(*args, **kwargs): + """GetDragStatus() -> wxSashDragStatus""" + return _windows.SashEvent_GetDragStatus(*args, **kwargs) + class SashEventPtr(SashEvent): def __init__(self, this): @@ -539,23 +1061,55 @@ LAYOUT_QUERY = _windows.LAYOUT_QUERY wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT class QueryLayoutInfoEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> QueryLayoutInfoEvent""" newobj = _windows.new_QueryLayoutInfoEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs) - def GetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs) - def SetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs) - def GetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetRequestedLength(*args, **kwargs): + """SetRequestedLength(int length)""" + return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs) + + def GetRequestedLength(*args, **kwargs): + """GetRequestedLength() -> int""" + return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(wxLayoutOrientation orient)""" + return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> wxLayoutOrientation""" + return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxLayoutAlignment align)""" + return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxLayoutAlignment""" + return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs) + class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): def __init__(self, this): @@ -565,17 +1119,31 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) class CalculateLayoutEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> CalculateLayoutEvent""" newobj = _windows.new_CalculateLayoutEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs) - def SetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs) - def GetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs) + class CalculateLayoutEventPtr(CalculateLayoutEvent): def __init__(self, this): @@ -588,20 +1156,45 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) class SashLayoutWindow(SashWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow""" newobj = _windows.new_SashLayoutWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SashLayoutWindow_Create(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs) - def SetDefaultSize(*args, **kwargs): return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> bool""" + return _windows.SashLayoutWindow_Create(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxLayoutAlignment""" + return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> wxLayoutOrientation""" + return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxLayoutAlignment alignment)""" + return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs) + + def SetDefaultSize(*args, **kwargs): + """SetDefaultSize(Size size)""" + return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(wxLayoutOrientation orientation)""" + return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs) + class SashLayoutWindowPtr(SashLayoutWindow): def __init__(self, this): @@ -611,25 +1204,39 @@ class SashLayoutWindowPtr(SashLayoutWindow): _windows.SashLayoutWindow_swigregister(SashLayoutWindowPtr) def PreSashLayoutWindow(*args, **kwargs): + """PreSashLayoutWindow() -> SashLayoutWindow""" val = _windows.new_PreSashLayoutWindow(*args, **kwargs) val.thisown = 1 return val class LayoutAlgorithm(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LayoutAlgorithm""" newobj = _windows.new_LayoutAlgorithm(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_LayoutAlgorithm): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def LayoutMDIFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs) - def LayoutFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs) - def LayoutWindow(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def LayoutMDIFrame(*args, **kwargs): + """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs) + + def LayoutFrame(*args, **kwargs): + """LayoutFrame(Frame frame, Window mainWindow=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs) + + def LayoutWindow(*args, **kwargs): + """LayoutWindow(Window parent, Window mainWindow=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs) + class LayoutAlgorithmPtr(LayoutAlgorithm): def __init__(self, this): @@ -639,13 +1246,15 @@ class LayoutAlgorithmPtr(LayoutAlgorithm): _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) class PopupWindow(core.Window): - def __init__(self, *args, **kwargs): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow""" newobj = _windows.new_PopupWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PopupWindowPtr(PopupWindow): def __init__(self, this): @@ -655,18 +1264,21 @@ class PopupWindowPtr(PopupWindow): _windows.PopupWindow_swigregister(PopupWindowPtr) def PrePopupWindow(*args, **kwargs): + """PrePopupWindow() -> PopupWindow""" val = _windows.new_PrePopupWindow(*args, **kwargs) val.thisown = 1 return val class PopupTransientWindow(PopupWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow""" newobj = _windows.new_PopupTransientWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PopupTransientWindowPtr(PopupTransientWindow): def __init__(self, this): @@ -676,6 +1288,7 @@ class PopupTransientWindowPtr(PopupTransientWindow): _windows.PopupTransientWindow_swigregister(PopupTransientWindowPtr) def PrePopupTransientWindow(*args, **kwargs): + """PrePopupTransientWindow() -> PopupTransientWindow""" val = _windows.new_PrePopupTransientWindow(*args, **kwargs) val.thisown = 1 return val @@ -683,16 +1296,25 @@ def PrePopupTransientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class TipWindow(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow""" newobj = _windows.new_TipWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetBoundingRect(*args, **kwargs): return _windows.TipWindow_SetBoundingRect(*args, **kwargs) - def Close(*args, **kwargs): return _windows.TipWindow_Close(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetBoundingRect(*args, **kwargs): + """SetBoundingRect(Rect rectBound)""" + return _windows.TipWindow_SetBoundingRect(*args, **kwargs) + + def Close(*args, **kwargs): + """Close()""" + return _windows.TipWindow_Close(*args, **kwargs) + class TipWindowPtr(TipWindow): def __init__(self, this): @@ -704,29 +1326,79 @@ _windows.TipWindow_swigregister(TipWindowPtr) #--------------------------------------------------------------------------- class VScrolledWindow(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow""" newobj = _windows.new_VScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow) - def _setCallbackInfo(*args, **kwargs): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.VScrolledWindow_Create(*args, **kwargs) - def SetLineCount(*args, **kwargs): return _windows.VScrolledWindow_SetLineCount(*args, **kwargs) - def ScrollToLine(*args, **kwargs): return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs) - def ScrollLines(*args, **kwargs): return _windows.VScrolledWindow_ScrollLines(*args, **kwargs) - def ScrollPages(*args, **kwargs): return _windows.VScrolledWindow_ScrollPages(*args, **kwargs) - def RefreshLine(*args, **kwargs): return _windows.VScrolledWindow_RefreshLine(*args, **kwargs) - def RefreshLines(*args, **kwargs): return _windows.VScrolledWindow_RefreshLines(*args, **kwargs) - def HitTestXT(*args, **kwargs): return _windows.VScrolledWindow_HitTestXT(*args, **kwargs) - def HitTest(*args, **kwargs): return _windows.VScrolledWindow_HitTest(*args, **kwargs) - def RefreshAll(*args, **kwargs): return _windows.VScrolledWindow_RefreshAll(*args, **kwargs) - def GetLineCount(*args, **kwargs): return _windows.VScrolledWindow_GetLineCount(*args, **kwargs) - def GetFirstVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) - def GetLastVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) - def IsVisible(*args, **kwargs): return _windows.VScrolledWindow_IsVisible(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool""" + return _windows.VScrolledWindow_Create(*args, **kwargs) + + def SetLineCount(*args, **kwargs): + """SetLineCount(size_t count)""" + return _windows.VScrolledWindow_SetLineCount(*args, **kwargs) + + def ScrollToLine(*args, **kwargs): + """ScrollToLine(size_t line) -> bool""" + return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs) + + def ScrollLines(*args, **kwargs): + """ScrollLines(int lines) -> bool""" + return _windows.VScrolledWindow_ScrollLines(*args, **kwargs) + + def ScrollPages(*args, **kwargs): + """ScrollPages(int pages) -> bool""" + return _windows.VScrolledWindow_ScrollPages(*args, **kwargs) + + def RefreshLine(*args, **kwargs): + """RefreshLine(size_t line)""" + return _windows.VScrolledWindow_RefreshLine(*args, **kwargs) + + def RefreshLines(*args, **kwargs): + """RefreshLines(size_t from, size_t to)""" + return _windows.VScrolledWindow_RefreshLines(*args, **kwargs) + + def HitTestXT(*args, **kwargs): + """HitTestXT(int x, int y) -> int""" + return _windows.VScrolledWindow_HitTestXT(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> int""" + return _windows.VScrolledWindow_HitTest(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll()""" + return _windows.VScrolledWindow_RefreshAll(*args, **kwargs) + + def GetLineCount(*args, **kwargs): + """GetLineCount() -> size_t""" + return _windows.VScrolledWindow_GetLineCount(*args, **kwargs) + + def GetFirstVisibleLine(*args, **kwargs): + """GetFirstVisibleLine() -> size_t""" + return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) + + def GetLastVisibleLine(*args, **kwargs): + """GetLastVisibleLine() -> size_t""" + return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(size_t line) -> bool""" + return _windows.VScrolledWindow_IsVisible(*args, **kwargs) + class VScrolledWindowPtr(VScrolledWindow): def __init__(self, this): @@ -736,42 +1408,117 @@ class VScrolledWindowPtr(VScrolledWindow): _windows.VScrolledWindow_swigregister(VScrolledWindowPtr) def PreVScrolledWindow(*args, **kwargs): + """PreVScrolledWindow() -> VScrolledWindow""" val = _windows.new_PreVScrolledWindow(*args, **kwargs) val.thisown = 1 return val class VListBox(VScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox""" newobj = _windows.new_VListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, VListBox) - def _setCallbackInfo(*args, **kwargs): return _windows.VListBox__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.VListBox_Create(*args, **kwargs) - def GetItemCount(*args, **kwargs): return _windows.VListBox_GetItemCount(*args, **kwargs) - def HasMultipleSelection(*args, **kwargs): return _windows.VListBox_HasMultipleSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _windows.VListBox_GetSelection(*args, **kwargs) - def IsCurrent(*args, **kwargs): return _windows.VListBox_IsCurrent(*args, **kwargs) - def IsSelected(*args, **kwargs): return _windows.VListBox_IsSelected(*args, **kwargs) - def GetSelectedCount(*args, **kwargs): return _windows.VListBox_GetSelectedCount(*args, **kwargs) - def GetFirstSelected(*args, **kwargs): return _windows.VListBox_GetFirstSelected(*args, **kwargs) - def GetNextSelected(*args, **kwargs): return _windows.VListBox_GetNextSelected(*args, **kwargs) - def GetMargins(*args, **kwargs): return _windows.VListBox_GetMargins(*args, **kwargs) - def GetSelectionBackground(*args, **kwargs): return _windows.VListBox_GetSelectionBackground(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _windows.VListBox_SetItemCount(*args, **kwargs) - def Clear(*args, **kwargs): return _windows.VListBox_Clear(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.VListBox_SetSelection(*args, **kwargs) - def Select(*args, **kwargs): return _windows.VListBox_Select(*args, **kwargs) - def SelectRange(*args, **kwargs): return _windows.VListBox_SelectRange(*args, **kwargs) - def Toggle(*args, **kwargs): return _windows.VListBox_Toggle(*args, **kwargs) - def SelectAll(*args, **kwargs): return _windows.VListBox_SelectAll(*args, **kwargs) - def DeselectAll(*args, **kwargs): return _windows.VListBox_DeselectAll(*args, **kwargs) - def SetMargins(*args, **kwargs): return _windows.VListBox_SetMargins(*args, **kwargs) - def SetMarginsXY(*args, **kwargs): return _windows.VListBox_SetMarginsXY(*args, **kwargs) - def SetSelectionBackground(*args, **kwargs): return _windows.VListBox_SetSelectionBackground(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.VListBox__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + return _windows.VListBox_Create(*args, **kwargs) + + def GetItemCount(*args, **kwargs): + """GetItemCount() -> size_t""" + return _windows.VListBox_GetItemCount(*args, **kwargs) + + def HasMultipleSelection(*args, **kwargs): + """HasMultipleSelection() -> bool""" + return _windows.VListBox_HasMultipleSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _windows.VListBox_GetSelection(*args, **kwargs) + + def IsCurrent(*args, **kwargs): + """IsCurrent(size_t item) -> bool""" + return _windows.VListBox_IsCurrent(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(size_t item) -> bool""" + return _windows.VListBox_IsSelected(*args, **kwargs) + + def GetSelectedCount(*args, **kwargs): + """GetSelectedCount() -> size_t""" + return _windows.VListBox_GetSelectedCount(*args, **kwargs) + + def GetFirstSelected(*args, **kwargs): + """GetFirstSelected(unsigned long cookie) -> int""" + return _windows.VListBox_GetFirstSelected(*args, **kwargs) + + def GetNextSelected(*args, **kwargs): + """GetNextSelected(unsigned long cookie) -> int""" + return _windows.VListBox_GetNextSelected(*args, **kwargs) + + def GetMargins(*args, **kwargs): + """GetMargins() -> Point""" + return _windows.VListBox_GetMargins(*args, **kwargs) + + def GetSelectionBackground(*args, **kwargs): + """GetSelectionBackground() -> wxColour""" + return _windows.VListBox_GetSelectionBackground(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(size_t count)""" + return _windows.VListBox_SetItemCount(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _windows.VListBox_Clear(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int selection)""" + return _windows.VListBox_SetSelection(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(size_t item, bool select=True) -> bool""" + return _windows.VListBox_Select(*args, **kwargs) + + def SelectRange(*args, **kwargs): + """SelectRange(size_t from, size_t to) -> bool""" + return _windows.VListBox_SelectRange(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle(size_t item)""" + return _windows.VListBox_Toggle(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll() -> bool""" + return _windows.VListBox_SelectAll(*args, **kwargs) + + def DeselectAll(*args, **kwargs): + """DeselectAll() -> bool""" + return _windows.VListBox_DeselectAll(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(Point pt)""" + return _windows.VListBox_SetMargins(*args, **kwargs) + + def SetMarginsXY(*args, **kwargs): + """SetMarginsXY(int x, int y)""" + return _windows.VListBox_SetMarginsXY(*args, **kwargs) + + def SetSelectionBackground(*args, **kwargs): + """SetSelectionBackground(wxColour col)""" + return _windows.VListBox_SetSelectionBackground(*args, **kwargs) + class VListBoxPtr(VListBox): def __init__(self, this): @@ -781,23 +1528,41 @@ class VListBoxPtr(VListBox): _windows.VListBox_swigregister(VListBoxPtr) def PreVListBox(*args, **kwargs): + """PreVListBox() -> VListBox""" val = _windows.new_PreVListBox(*args, **kwargs) val.thisown = 1 return val class HtmlListBox(VListBox): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox""" newobj = _windows.new_HtmlListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox) - def _setCallbackInfo(*args, **kwargs): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.HtmlListBox_Create(*args, **kwargs) - def RefreshAll(*args, **kwargs): return _windows.HtmlListBox_RefreshAll(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _windows.HtmlListBox_SetItemCount(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + return _windows.HtmlListBox_Create(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll()""" + return _windows.HtmlListBox_RefreshAll(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(size_t count)""" + return _windows.HtmlListBox_SetItemCount(*args, **kwargs) + class HtmlListBoxPtr(HtmlListBox): def __init__(self, this): @@ -807,6 +1572,7 @@ class HtmlListBoxPtr(HtmlListBox): _windows.HtmlListBox_swigregister(HtmlListBoxPtr) def PreHtmlListBox(*args, **kwargs): + """PreHtmlListBox() -> HtmlListBox""" val = _windows.new_PreHtmlListBox(*args, **kwargs) val.thisown = 1 return val @@ -814,17 +1580,21 @@ def PreHtmlListBox(*args, **kwargs): #--------------------------------------------------------------------------- class TaskBarIcon(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TaskBarIcon""" newobj = _windows.new_TaskBarIcon(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_TaskBarIcon): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class TaskBarIconPtr(TaskBarIcon): def __init__(self, this): @@ -834,13 +1604,15 @@ class TaskBarIconPtr(TaskBarIcon): _windows.TaskBarIcon_swigregister(TaskBarIconPtr) class TaskBarIconEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent""" newobj = _windows.new_TaskBarIconEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TaskBarIconEventPtr(TaskBarIconEvent): def __init__(self, this): @@ -867,23 +1639,45 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- class ColourData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ColourData""" newobj = _windows.new_ColourData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_ColourData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetChooseFull(*args, **kwargs): return _windows.ColourData_GetChooseFull(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.ColourData_GetColour(*args, **kwargs) - def GetCustomColour(*args, **kwargs): return _windows.ColourData_GetCustomColour(*args, **kwargs) - def SetChooseFull(*args, **kwargs): return _windows.ColourData_SetChooseFull(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.ColourData_SetColour(*args, **kwargs) - def SetCustomColour(*args, **kwargs): return _windows.ColourData_SetCustomColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetChooseFull(*args, **kwargs): + """GetChooseFull() -> bool""" + return _windows.ColourData_GetChooseFull(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> wxColour""" + return _windows.ColourData_GetColour(*args, **kwargs) + + def GetCustomColour(*args, **kwargs): + """GetCustomColour(int i) -> wxColour""" + return _windows.ColourData_GetCustomColour(*args, **kwargs) + + def SetChooseFull(*args, **kwargs): + """SetChooseFull(int flag)""" + return _windows.ColourData_SetChooseFull(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxColour colour)""" + return _windows.ColourData_SetColour(*args, **kwargs) + + def SetCustomColour(*args, **kwargs): + """SetCustomColour(int i, wxColour colour)""" + return _windows.ColourData_SetCustomColour(*args, **kwargs) + class ColourDataPtr(ColourData): def __init__(self, this): @@ -893,16 +1687,25 @@ class ColourDataPtr(ColourData): _windows.ColourData_swigregister(ColourDataPtr) class ColourDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, ColourData data=None) -> ColourDialog""" newobj = _windows.new_ColourDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetColourData(*args, **kwargs): return _windows.ColourDialog_GetColourData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.ColourDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetColourData(*args, **kwargs): + """GetColourData() -> ColourData""" + return _windows.ColourDialog_GetColourData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.ColourDialog_ShowModal(*args, **kwargs) + class ColourDialogPtr(ColourDialog): def __init__(self, this): @@ -912,20 +1715,44 @@ class ColourDialogPtr(ColourDialog): _windows.ColourDialog_swigregister(ColourDialogPtr) class DirDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr, + wxString defaultPath=wxPyEmptyString, + long style=0, Point pos=DefaultPosition, Size size=DefaultSize, + wxString name=wxPyDirDialogNameStr) -> DirDialog""" newobj = _windows.new_DirDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPath(*args, **kwargs): return _windows.DirDialog_GetPath(*args, **kwargs) - def GetMessage(*args, **kwargs): return _windows.DirDialog_GetMessage(*args, **kwargs) - def GetStyle(*args, **kwargs): return _windows.DirDialog_GetStyle(*args, **kwargs) - def SetMessage(*args, **kwargs): return _windows.DirDialog_SetMessage(*args, **kwargs) - def SetPath(*args, **kwargs): return _windows.DirDialog_SetPath(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.DirDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _windows.DirDialog_GetPath(*args, **kwargs) + + def GetMessage(*args, **kwargs): + """GetMessage() -> wxString""" + return _windows.DirDialog_GetMessage(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _windows.DirDialog_GetStyle(*args, **kwargs) + + def SetMessage(*args, **kwargs): + """SetMessage(wxString message)""" + return _windows.DirDialog_SetMessage(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _windows.DirDialog_SetPath(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.DirDialog_ShowModal(*args, **kwargs) + class DirDialogPtr(DirDialog): def __init__(self, this): @@ -935,30 +1762,85 @@ class DirDialogPtr(DirDialog): _windows.DirDialog_swigregister(DirDialogPtr) class FileDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr, + wxString defaultDir=wxPyEmptyString, + wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + long style=0, + Point pos=DefaultPosition) -> FileDialog""" newobj = _windows.new_FileDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetMessage(*args, **kwargs): return _windows.FileDialog_SetMessage(*args, **kwargs) - def SetPath(*args, **kwargs): return _windows.FileDialog_SetPath(*args, **kwargs) - def SetDirectory(*args, **kwargs): return _windows.FileDialog_SetDirectory(*args, **kwargs) - def SetFilename(*args, **kwargs): return _windows.FileDialog_SetFilename(*args, **kwargs) - def SetWildcard(*args, **kwargs): return _windows.FileDialog_SetWildcard(*args, **kwargs) - def SetStyle(*args, **kwargs): return _windows.FileDialog_SetStyle(*args, **kwargs) - def SetFilterIndex(*args, **kwargs): return _windows.FileDialog_SetFilterIndex(*args, **kwargs) - def GetMessage(*args, **kwargs): return _windows.FileDialog_GetMessage(*args, **kwargs) - def GetPath(*args, **kwargs): return _windows.FileDialog_GetPath(*args, **kwargs) - def GetDirectory(*args, **kwargs): return _windows.FileDialog_GetDirectory(*args, **kwargs) - def GetFilename(*args, **kwargs): return _windows.FileDialog_GetFilename(*args, **kwargs) - def GetWildcard(*args, **kwargs): return _windows.FileDialog_GetWildcard(*args, **kwargs) - def GetStyle(*args, **kwargs): return _windows.FileDialog_GetStyle(*args, **kwargs) - def GetFilterIndex(*args, **kwargs): return _windows.FileDialog_GetFilterIndex(*args, **kwargs) - def GetFilenames(*args, **kwargs): return _windows.FileDialog_GetFilenames(*args, **kwargs) - def GetPaths(*args, **kwargs): return _windows.FileDialog_GetPaths(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetMessage(*args, **kwargs): + """SetMessage(wxString message)""" + return _windows.FileDialog_SetMessage(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _windows.FileDialog_SetPath(*args, **kwargs) + + def SetDirectory(*args, **kwargs): + """SetDirectory(wxString dir)""" + return _windows.FileDialog_SetDirectory(*args, **kwargs) + + def SetFilename(*args, **kwargs): + """SetFilename(wxString name)""" + return _windows.FileDialog_SetFilename(*args, **kwargs) + + def SetWildcard(*args, **kwargs): + """SetWildcard(wxString wildCard)""" + return _windows.FileDialog_SetWildcard(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long style)""" + return _windows.FileDialog_SetStyle(*args, **kwargs) + + def SetFilterIndex(*args, **kwargs): + """SetFilterIndex(int filterIndex)""" + return _windows.FileDialog_SetFilterIndex(*args, **kwargs) + + def GetMessage(*args, **kwargs): + """GetMessage() -> wxString""" + return _windows.FileDialog_GetMessage(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _windows.FileDialog_GetPath(*args, **kwargs) + + def GetDirectory(*args, **kwargs): + """GetDirectory() -> wxString""" + return _windows.FileDialog_GetDirectory(*args, **kwargs) + + def GetFilename(*args, **kwargs): + """GetFilename() -> wxString""" + return _windows.FileDialog_GetFilename(*args, **kwargs) + + def GetWildcard(*args, **kwargs): + """GetWildcard() -> wxString""" + return _windows.FileDialog_GetWildcard(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _windows.FileDialog_GetStyle(*args, **kwargs) + + def GetFilterIndex(*args, **kwargs): + """GetFilterIndex() -> int""" + return _windows.FileDialog_GetFilterIndex(*args, **kwargs) + + def GetFilenames(*args, **kwargs): + """GetFilenames() -> PyObject""" + return _windows.FileDialog_GetFilenames(*args, **kwargs) + + def GetPaths(*args, **kwargs): + """GetPaths() -> PyObject""" + return _windows.FileDialog_GetPaths(*args, **kwargs) + class FileDialogPtr(FileDialog): def __init__(self, this): @@ -969,16 +1851,27 @@ _windows.FileDialog_swigregister(FileDialogPtr) CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE class MultiChoiceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption, + int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> MultiChoiceDialog""" newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs) - def GetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelections(*args, **kwargs): + """SetSelections(wxArrayInt selections)""" + return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs) + class MultiChoiceDialogPtr(MultiChoiceDialog): def __init__(self, this): @@ -988,18 +1881,35 @@ class MultiChoiceDialogPtr(MultiChoiceDialog): _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) class SingleChoiceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption, + int choices, wxString choices_array, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> SingleChoiceDialog""" newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int sel)""" + return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs) + class SingleChoiceDialogPtr(SingleChoiceDialog): def __init__(self, this): @@ -1009,17 +1919,32 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) class TextEntryDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, + wxString defaultValue=wxPyEmptyString, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> TextEntryDialog""" newobj = _windows.new_TextEntryDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _windows.TextEntryDialog_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _windows.TextEntryDialog_SetValue(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.TextEntryDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _windows.TextEntryDialog_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _windows.TextEntryDialog_SetValue(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.TextEntryDialog_ShowModal(*args, **kwargs) + class TextEntryDialogPtr(TextEntryDialog): def __init__(self, this): @@ -1029,30 +1954,73 @@ class TextEntryDialogPtr(TextEntryDialog): _windows.TextEntryDialog_swigregister(TextEntryDialogPtr) class FontData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FontData""" newobj = _windows.new_FontData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_FontData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def EnableEffects(*args, **kwargs): return _windows.FontData_EnableEffects(*args, **kwargs) - def GetAllowSymbols(*args, **kwargs): return _windows.FontData_GetAllowSymbols(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.FontData_GetColour(*args, **kwargs) - def GetChosenFont(*args, **kwargs): return _windows.FontData_GetChosenFont(*args, **kwargs) - def GetEnableEffects(*args, **kwargs): return _windows.FontData_GetEnableEffects(*args, **kwargs) - def GetInitialFont(*args, **kwargs): return _windows.FontData_GetInitialFont(*args, **kwargs) - def GetShowHelp(*args, **kwargs): return _windows.FontData_GetShowHelp(*args, **kwargs) - def SetAllowSymbols(*args, **kwargs): return _windows.FontData_SetAllowSymbols(*args, **kwargs) - def SetChosenFont(*args, **kwargs): return _windows.FontData_SetChosenFont(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.FontData_SetColour(*args, **kwargs) - def SetInitialFont(*args, **kwargs): return _windows.FontData_SetInitialFont(*args, **kwargs) - def SetRange(*args, **kwargs): return _windows.FontData_SetRange(*args, **kwargs) - def SetShowHelp(*args, **kwargs): return _windows.FontData_SetShowHelp(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def EnableEffects(*args, **kwargs): + """EnableEffects(bool enable)""" + return _windows.FontData_EnableEffects(*args, **kwargs) + + def GetAllowSymbols(*args, **kwargs): + """GetAllowSymbols() -> bool""" + return _windows.FontData_GetAllowSymbols(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> wxColour""" + return _windows.FontData_GetColour(*args, **kwargs) + + def GetChosenFont(*args, **kwargs): + """GetChosenFont() -> wxFont""" + return _windows.FontData_GetChosenFont(*args, **kwargs) + + def GetEnableEffects(*args, **kwargs): + """GetEnableEffects() -> bool""" + return _windows.FontData_GetEnableEffects(*args, **kwargs) + + def GetInitialFont(*args, **kwargs): + """GetInitialFont() -> wxFont""" + return _windows.FontData_GetInitialFont(*args, **kwargs) + + def GetShowHelp(*args, **kwargs): + """GetShowHelp() -> bool""" + return _windows.FontData_GetShowHelp(*args, **kwargs) + + def SetAllowSymbols(*args, **kwargs): + """SetAllowSymbols(bool allowSymbols)""" + return _windows.FontData_SetAllowSymbols(*args, **kwargs) + + def SetChosenFont(*args, **kwargs): + """SetChosenFont(wxFont font)""" + return _windows.FontData_SetChosenFont(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxColour colour)""" + return _windows.FontData_SetColour(*args, **kwargs) + + def SetInitialFont(*args, **kwargs): + """SetInitialFont(wxFont font)""" + return _windows.FontData_SetInitialFont(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int min, int max)""" + return _windows.FontData_SetRange(*args, **kwargs) + + def SetShowHelp(*args, **kwargs): + """SetShowHelp(bool showHelp)""" + return _windows.FontData_SetShowHelp(*args, **kwargs) + class FontDataPtr(FontData): def __init__(self, this): @@ -1062,16 +2030,25 @@ class FontDataPtr(FontData): _windows.FontData_swigregister(FontDataPtr) class FontDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, FontData data) -> FontDialog""" newobj = _windows.new_FontDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetFontData(*args, **kwargs): return _windows.FontDialog_GetFontData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.FontDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetFontData(*args, **kwargs): + """GetFontData() -> FontData""" + return _windows.FontDialog_GetFontData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.FontDialog_ShowModal(*args, **kwargs) + class FontDialogPtr(FontDialog): def __init__(self, this): @@ -1081,15 +2058,23 @@ class FontDialogPtr(FontDialog): _windows.FontDialog_swigregister(FontDialogPtr) class MessageDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> MessageDialog""" newobj = _windows.new_MessageDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def ShowModal(*args, **kwargs): return _windows.MessageDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.MessageDialog_ShowModal(*args, **kwargs) + class MessageDialogPtr(MessageDialog): def __init__(self, this): @@ -1099,16 +2084,26 @@ class MessageDialogPtr(MessageDialog): _windows.MessageDialog_swigregister(MessageDialogPtr) class ProgressDialog(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title, wxString message, int maximum=100, + Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog""" newobj = _windows.new_ProgressDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Update(*args, **kwargs): return _windows.ProgressDialog_Update(*args, **kwargs) - def Resume(*args, **kwargs): return _windows.ProgressDialog_Resume(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Update(*args, **kwargs): + """Update(int value, wxString newmsg=wxPyEmptyString) -> bool""" + return _windows.ProgressDialog_Update(*args, **kwargs) + + def Resume(*args, **kwargs): + """Resume()""" + return _windows.ProgressDialog_Resume(*args, **kwargs) + class ProgressDialogPtr(ProgressDialog): def __init__(self, this): @@ -1143,20 +2138,43 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE class FindDialogEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent""" newobj = _windows.new_FindDialogEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFlags(*args, **kwargs): return _windows.FindDialogEvent_GetFlags(*args, **kwargs) - def GetFindString(*args, **kwargs): return _windows.FindDialogEvent_GetFindString(*args, **kwargs) - def GetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs) - def GetDialog(*args, **kwargs): return _windows.FindDialogEvent_GetDialog(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.FindDialogEvent_SetFlags(*args, **kwargs) - def SetFindString(*args, **kwargs): return _windows.FindDialogEvent_SetFindString(*args, **kwargs) - def SetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.FindDialogEvent_GetFlags(*args, **kwargs) + + def GetFindString(*args, **kwargs): + """GetFindString() -> wxString""" + return _windows.FindDialogEvent_GetFindString(*args, **kwargs) + + def GetReplaceString(*args, **kwargs): + """GetReplaceString() -> wxString""" + return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs) + + def GetDialog(*args, **kwargs): + """GetDialog() -> FindReplaceDialog""" + return _windows.FindDialogEvent_GetDialog(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.FindDialogEvent_SetFlags(*args, **kwargs) + + def SetFindString(*args, **kwargs): + """SetFindString(wxString str)""" + return _windows.FindDialogEvent_SetFindString(*args, **kwargs) + + def SetReplaceString(*args, **kwargs): + """SetReplaceString(wxString str)""" + return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs) + class FindDialogEventPtr(FindDialogEvent): def __init__(self, this): @@ -1166,23 +2184,45 @@ class FindDialogEventPtr(FindDialogEvent): _windows.FindDialogEvent_swigregister(FindDialogEventPtr) class FindReplaceData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int flags=0) -> FindReplaceData""" newobj = _windows.new_FindReplaceData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_FindReplaceData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetFindString(*args, **kwargs): return _windows.FindReplaceData_GetFindString(*args, **kwargs) - def GetReplaceString(*args, **kwargs): return _windows.FindReplaceData_GetReplaceString(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.FindReplaceData_GetFlags(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.FindReplaceData_SetFlags(*args, **kwargs) - def SetFindString(*args, **kwargs): return _windows.FindReplaceData_SetFindString(*args, **kwargs) - def SetReplaceString(*args, **kwargs): return _windows.FindReplaceData_SetReplaceString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetFindString(*args, **kwargs): + """GetFindString() -> wxString""" + return _windows.FindReplaceData_GetFindString(*args, **kwargs) + + def GetReplaceString(*args, **kwargs): + """GetReplaceString() -> wxString""" + return _windows.FindReplaceData_GetReplaceString(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.FindReplaceData_GetFlags(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.FindReplaceData_SetFlags(*args, **kwargs) + + def SetFindString(*args, **kwargs): + """SetFindString(wxString str)""" + return _windows.FindReplaceData_SetFindString(*args, **kwargs) + + def SetReplaceString(*args, **kwargs): + """SetReplaceString(wxString str)""" + return _windows.FindReplaceData_SetReplaceString(*args, **kwargs) + class FindReplaceDataPtr(FindReplaceData): def __init__(self, this): @@ -1192,17 +2232,31 @@ class FindReplaceDataPtr(FindReplaceData): _windows.FindReplaceData_swigregister(FindReplaceDataPtr) class FindReplaceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, FindReplaceData data, wxString title, + int style=0) -> FindReplaceDialog""" newobj = _windows.new_FindReplaceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.FindReplaceDialog_Create(*args, **kwargs) - def GetData(*args, **kwargs): return _windows.FindReplaceDialog_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _windows.FindReplaceDialog_SetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, FindReplaceData data, wxString title, + int style=0) -> bool""" + return _windows.FindReplaceDialog_Create(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> FindReplaceData""" + return _windows.FindReplaceDialog_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(FindReplaceData data)""" + return _windows.FindReplaceDialog_SetData(*args, **kwargs) + class FindReplaceDialogPtr(FindReplaceDialog): def __init__(self, this): @@ -1212,6 +2266,7 @@ class FindReplaceDialogPtr(FindReplaceDialog): _windows.FindReplaceDialog_swigregister(FindReplaceDialogPtr) def PreFindReplaceDialog(*args, **kwargs): + """PreFindReplaceDialog() -> FindReplaceDialog""" val = _windows.new_PreFindReplaceDialog(*args, **kwargs) val.thisown = 1 return val @@ -1227,23 +2282,57 @@ IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows.LAST_MDI_CHILD class MDIParentFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> MDIParentFrame""" newobj = _windows.new_MDIParentFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIParentFrame_Create(*args, **kwargs) - def ActivateNext(*args, **kwargs): return _windows.MDIParentFrame_ActivateNext(*args, **kwargs) - def ActivatePrevious(*args, **kwargs): return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs) - def ArrangeIcons(*args, **kwargs): return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs) - def Cascade(*args, **kwargs): return _windows.MDIParentFrame_Cascade(*args, **kwargs) - def GetActiveChild(*args, **kwargs): return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs) - def GetClientWindow(*args, **kwargs): return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _windows.MDIParentFrame_GetToolBar(*args, **kwargs) - def Tile(*args, **kwargs): return _windows.MDIParentFrame_Tile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MDIParentFrame_Create(*args, **kwargs) + + def ActivateNext(*args, **kwargs): + """ActivateNext()""" + return _windows.MDIParentFrame_ActivateNext(*args, **kwargs) + + def ActivatePrevious(*args, **kwargs): + """ActivatePrevious()""" + return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs) + + def ArrangeIcons(*args, **kwargs): + """ArrangeIcons()""" + return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs) + + def Cascade(*args, **kwargs): + """Cascade()""" + return _windows.MDIParentFrame_Cascade(*args, **kwargs) + + def GetActiveChild(*args, **kwargs): + """GetActiveChild() -> MDIChildFrame""" + return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs) + + def GetClientWindow(*args, **kwargs): + """GetClientWindow() -> MDIClientWindow""" + return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> Window""" + return _windows.MDIParentFrame_GetToolBar(*args, **kwargs) + + def Tile(*args, **kwargs): + """Tile()""" + return _windows.MDIParentFrame_Tile(*args, **kwargs) + class MDIParentFramePtr(MDIParentFrame): def __init__(self, this): @@ -1253,23 +2342,43 @@ class MDIParentFramePtr(MDIParentFrame): _windows.MDIParentFrame_swigregister(MDIParentFramePtr) def PreMDIParentFrame(*args, **kwargs): + """PreMDIParentFrame() -> MDIParentFrame""" val = _windows.new_PreMDIParentFrame(*args, **kwargs) val.thisown = 1 return val class MDIChildFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame""" newobj = _windows.new_MDIChildFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIChildFrame_Create(*args, **kwargs) - def Activate(*args, **kwargs): return _windows.MDIChildFrame_Activate(*args, **kwargs) - def Maximize(*args, **kwargs): return _windows.MDIChildFrame_Maximize(*args, **kwargs) - def Restore(*args, **kwargs): return _windows.MDIChildFrame_Restore(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MDIChildFrame_Create(*args, **kwargs) + + def Activate(*args, **kwargs): + """Activate()""" + return _windows.MDIChildFrame_Activate(*args, **kwargs) + + def Maximize(*args, **kwargs): + """Maximize(bool maximize)""" + return _windows.MDIChildFrame_Maximize(*args, **kwargs) + + def Restore(*args, **kwargs): + """Restore()""" + return _windows.MDIChildFrame_Restore(*args, **kwargs) + class MDIChildFramePtr(MDIChildFrame): def __init__(self, this): @@ -1279,20 +2388,27 @@ class MDIChildFramePtr(MDIChildFrame): _windows.MDIChildFrame_swigregister(MDIChildFramePtr) def PreMDIChildFrame(*args, **kwargs): + """PreMDIChildFrame() -> MDIChildFrame""" val = _windows.new_PreMDIChildFrame(*args, **kwargs) val.thisown = 1 return val class MDIClientWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow""" newobj = _windows.new_MDIClientWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIClientWindow_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(MDIParentFrame parent, long style=0) -> bool""" + return _windows.MDIClientWindow_Create(*args, **kwargs) + class MDIClientWindowPtr(MDIClientWindow): def __init__(self, this): @@ -1302,6 +2418,7 @@ class MDIClientWindowPtr(MDIClientWindow): _windows.MDIClientWindow_swigregister(MDIClientWindowPtr) def PreMDIClientWindow(*args, **kwargs): + """PreMDIClientWindow() -> MDIClientWindow""" val = _windows.new_PreMDIClientWindow(*args, **kwargs) val.thisown = 1 return val @@ -1309,33 +2426,94 @@ def PreMDIClientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PyWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyWindow""" newobj = _windows.new_PyWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyWindow) - def _setCallbackInfo(*args, **kwargs): return _windows.PyWindow__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _windows.PyWindow_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _windows.PyWindow_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _windows.PyWindow_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _windows.PyWindow_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _windows.PyWindow_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _windows.PyWindow_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _windows.PyWindow_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _windows.PyWindow_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyWindow__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _windows.PyWindow_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _windows.PyWindow_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _windows.PyWindow_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _windows.PyWindow_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _windows.PyWindow_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _windows.PyWindow_base_RemoveChild(*args, **kwargs) + class PyWindowPtr(PyWindow): def __init__(self, this): @@ -1345,33 +2523,94 @@ class PyWindowPtr(PyWindow): _windows.PyWindow_swigregister(PyWindowPtr) class PyPanel(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPanel""" newobj = _windows.new_PyPanel(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyPanel) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPanel__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _windows.PyPanel_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _windows.PyPanel_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _windows.PyPanel_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _windows.PyPanel_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _windows.PyPanel_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _windows.PyPanel_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _windows.PyPanel_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _windows.PyPanel_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPanel__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _windows.PyPanel_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _windows.PyPanel_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _windows.PyPanel_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _windows.PyPanel_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _windows.PyPanel_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _windows.PyPanel_base_RemoveChild(*args, **kwargs) + class PyPanelPtr(PyPanel): def __init__(self, this): @@ -1387,59 +2626,186 @@ PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW PRINT_MODE_FILE = _windows.PRINT_MODE_FILE PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER class PrintData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PrintData""" newobj = _windows.new_PrintData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PrintData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetNoCopies(*args, **kwargs): return _windows.PrintData_GetNoCopies(*args, **kwargs) - def GetCollate(*args, **kwargs): return _windows.PrintData_GetCollate(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.PrintData_GetOrientation(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintData_Ok(*args, **kwargs) - def GetPrinterName(*args, **kwargs): return _windows.PrintData_GetPrinterName(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.PrintData_GetColour(*args, **kwargs) - def GetDuplex(*args, **kwargs): return _windows.PrintData_GetDuplex(*args, **kwargs) - def GetPaperId(*args, **kwargs): return _windows.PrintData_GetPaperId(*args, **kwargs) - def GetPaperSize(*args, **kwargs): return _windows.PrintData_GetPaperSize(*args, **kwargs) - def GetQuality(*args, **kwargs): return _windows.PrintData_GetQuality(*args, **kwargs) - def SetNoCopies(*args, **kwargs): return _windows.PrintData_SetNoCopies(*args, **kwargs) - def SetCollate(*args, **kwargs): return _windows.PrintData_SetCollate(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.PrintData_SetOrientation(*args, **kwargs) - def SetPrinterName(*args, **kwargs): return _windows.PrintData_SetPrinterName(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.PrintData_SetColour(*args, **kwargs) - def SetDuplex(*args, **kwargs): return _windows.PrintData_SetDuplex(*args, **kwargs) - def SetPaperId(*args, **kwargs): return _windows.PrintData_SetPaperId(*args, **kwargs) - def SetPaperSize(*args, **kwargs): return _windows.PrintData_SetPaperSize(*args, **kwargs) - def SetQuality(*args, **kwargs): return _windows.PrintData_SetQuality(*args, **kwargs) - def GetPrinterCommand(*args, **kwargs): return _windows.PrintData_GetPrinterCommand(*args, **kwargs) - def GetPrinterOptions(*args, **kwargs): return _windows.PrintData_GetPrinterOptions(*args, **kwargs) - def GetPreviewCommand(*args, **kwargs): return _windows.PrintData_GetPreviewCommand(*args, **kwargs) - def GetFilename(*args, **kwargs): return _windows.PrintData_GetFilename(*args, **kwargs) - def GetFontMetricPath(*args, **kwargs): return _windows.PrintData_GetFontMetricPath(*args, **kwargs) - def GetPrinterScaleX(*args, **kwargs): return _windows.PrintData_GetPrinterScaleX(*args, **kwargs) - def GetPrinterScaleY(*args, **kwargs): return _windows.PrintData_GetPrinterScaleY(*args, **kwargs) - def GetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs) - def GetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs) - def GetPrintMode(*args, **kwargs): return _windows.PrintData_GetPrintMode(*args, **kwargs) - def SetPrinterCommand(*args, **kwargs): return _windows.PrintData_SetPrinterCommand(*args, **kwargs) - def SetPrinterOptions(*args, **kwargs): return _windows.PrintData_SetPrinterOptions(*args, **kwargs) - def SetPreviewCommand(*args, **kwargs): return _windows.PrintData_SetPreviewCommand(*args, **kwargs) - def SetFilename(*args, **kwargs): return _windows.PrintData_SetFilename(*args, **kwargs) - def SetFontMetricPath(*args, **kwargs): return _windows.PrintData_SetFontMetricPath(*args, **kwargs) - def SetPrinterScaleX(*args, **kwargs): return _windows.PrintData_SetPrinterScaleX(*args, **kwargs) - def SetPrinterScaleY(*args, **kwargs): return _windows.PrintData_SetPrinterScaleY(*args, **kwargs) - def SetPrinterScaling(*args, **kwargs): return _windows.PrintData_SetPrinterScaling(*args, **kwargs) - def SetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs) - def SetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs) - def SetPrinterTranslation(*args, **kwargs): return _windows.PrintData_SetPrinterTranslation(*args, **kwargs) - def SetPrintMode(*args, **kwargs): return _windows.PrintData_SetPrintMode(*args, **kwargs) + + def GetNoCopies(*args, **kwargs): + """GetNoCopies() -> int""" + return _windows.PrintData_GetNoCopies(*args, **kwargs) + + def GetCollate(*args, **kwargs): + """GetCollate() -> bool""" + return _windows.PrintData_GetCollate(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _windows.PrintData_GetOrientation(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintData_Ok(*args, **kwargs) + + def GetPrinterName(*args, **kwargs): + """GetPrinterName() -> wxString""" + return _windows.PrintData_GetPrinterName(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> bool""" + return _windows.PrintData_GetColour(*args, **kwargs) + + def GetDuplex(*args, **kwargs): + """GetDuplex() -> wxDuplexMode""" + return _windows.PrintData_GetDuplex(*args, **kwargs) + + def GetPaperId(*args, **kwargs): + """GetPaperId() -> wxPaperSize""" + return _windows.PrintData_GetPaperId(*args, **kwargs) + + def GetPaperSize(*args, **kwargs): + """GetPaperSize() -> Size""" + return _windows.PrintData_GetPaperSize(*args, **kwargs) + + def GetQuality(*args, **kwargs): + """GetQuality() -> wxPrintQuality""" + return _windows.PrintData_GetQuality(*args, **kwargs) + + def SetNoCopies(*args, **kwargs): + """SetNoCopies(int v)""" + return _windows.PrintData_SetNoCopies(*args, **kwargs) + + def SetCollate(*args, **kwargs): + """SetCollate(bool flag)""" + return _windows.PrintData_SetCollate(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _windows.PrintData_SetOrientation(*args, **kwargs) + + def SetPrinterName(*args, **kwargs): + """SetPrinterName(wxString name)""" + return _windows.PrintData_SetPrinterName(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(bool colour)""" + return _windows.PrintData_SetColour(*args, **kwargs) + + def SetDuplex(*args, **kwargs): + """SetDuplex(wxDuplexMode duplex)""" + return _windows.PrintData_SetDuplex(*args, **kwargs) + + def SetPaperId(*args, **kwargs): + """SetPaperId(wxPaperSize sizeId)""" + return _windows.PrintData_SetPaperId(*args, **kwargs) + + def SetPaperSize(*args, **kwargs): + """SetPaperSize(Size sz)""" + return _windows.PrintData_SetPaperSize(*args, **kwargs) + + def SetQuality(*args, **kwargs): + """SetQuality(wxPrintQuality quality)""" + return _windows.PrintData_SetQuality(*args, **kwargs) + + def GetPrinterCommand(*args, **kwargs): + """GetPrinterCommand() -> wxString""" + return _windows.PrintData_GetPrinterCommand(*args, **kwargs) + + def GetPrinterOptions(*args, **kwargs): + """GetPrinterOptions() -> wxString""" + return _windows.PrintData_GetPrinterOptions(*args, **kwargs) + + def GetPreviewCommand(*args, **kwargs): + """GetPreviewCommand() -> wxString""" + return _windows.PrintData_GetPreviewCommand(*args, **kwargs) + + def GetFilename(*args, **kwargs): + """GetFilename() -> wxString""" + return _windows.PrintData_GetFilename(*args, **kwargs) + + def GetFontMetricPath(*args, **kwargs): + """GetFontMetricPath() -> wxString""" + return _windows.PrintData_GetFontMetricPath(*args, **kwargs) + + def GetPrinterScaleX(*args, **kwargs): + """GetPrinterScaleX() -> double""" + return _windows.PrintData_GetPrinterScaleX(*args, **kwargs) + + def GetPrinterScaleY(*args, **kwargs): + """GetPrinterScaleY() -> double""" + return _windows.PrintData_GetPrinterScaleY(*args, **kwargs) + + def GetPrinterTranslateX(*args, **kwargs): + """GetPrinterTranslateX() -> long""" + return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs) + + def GetPrinterTranslateY(*args, **kwargs): + """GetPrinterTranslateY() -> long""" + return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs) + + def GetPrintMode(*args, **kwargs): + """GetPrintMode() -> wxPrintMode""" + return _windows.PrintData_GetPrintMode(*args, **kwargs) + + def SetPrinterCommand(*args, **kwargs): + """SetPrinterCommand(wxString command)""" + return _windows.PrintData_SetPrinterCommand(*args, **kwargs) + + def SetPrinterOptions(*args, **kwargs): + """SetPrinterOptions(wxString options)""" + return _windows.PrintData_SetPrinterOptions(*args, **kwargs) + + def SetPreviewCommand(*args, **kwargs): + """SetPreviewCommand(wxString command)""" + return _windows.PrintData_SetPreviewCommand(*args, **kwargs) + + def SetFilename(*args, **kwargs): + """SetFilename(wxString filename)""" + return _windows.PrintData_SetFilename(*args, **kwargs) + + def SetFontMetricPath(*args, **kwargs): + """SetFontMetricPath(wxString path)""" + return _windows.PrintData_SetFontMetricPath(*args, **kwargs) + + def SetPrinterScaleX(*args, **kwargs): + """SetPrinterScaleX(double x)""" + return _windows.PrintData_SetPrinterScaleX(*args, **kwargs) + + def SetPrinterScaleY(*args, **kwargs): + """SetPrinterScaleY(double y)""" + return _windows.PrintData_SetPrinterScaleY(*args, **kwargs) + + def SetPrinterScaling(*args, **kwargs): + """SetPrinterScaling(double x, double y)""" + return _windows.PrintData_SetPrinterScaling(*args, **kwargs) + + def SetPrinterTranslateX(*args, **kwargs): + """SetPrinterTranslateX(long x)""" + return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs) + + def SetPrinterTranslateY(*args, **kwargs): + """SetPrinterTranslateY(long y)""" + return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs) + + def SetPrinterTranslation(*args, **kwargs): + """SetPrinterTranslation(long x, long y)""" + return _windows.PrintData_SetPrinterTranslation(*args, **kwargs) + + def SetPrintMode(*args, **kwargs): + """SetPrintMode(wxPrintMode printMode)""" + return _windows.PrintData_SetPrintMode(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintDataPtr(PrintData): def __init__(self, this): @@ -1449,47 +2815,138 @@ class PrintDataPtr(PrintData): _windows.PrintData_swigregister(PrintDataPtr) class PageSetupDialogData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PageSetupDialogData""" newobj = _windows.new_PageSetupDialogData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PageSetupDialogData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def EnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs) - def EnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs) - def EnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs) - def EnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs) - def EnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs) - def GetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs) - def GetEnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs) - def GetEnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs) - def GetEnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs) - def GetEnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs) - def GetEnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs) - def GetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs) - def GetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs) - def GetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs) - def GetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs) - def GetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs) - def GetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs) - def GetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PageSetupDialogData_Ok(*args, **kwargs) - def SetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs) - def SetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs) - def SetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs) - def SetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs) - def SetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs) - def SetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs) - def SetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs) - def SetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs) + + def EnableHelp(*args, **kwargs): + """EnableHelp(bool flag)""" + return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs) + + def EnableMargins(*args, **kwargs): + """EnableMargins(bool flag)""" + return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs) + + def EnableOrientation(*args, **kwargs): + """EnableOrientation(bool flag)""" + return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs) + + def EnablePaper(*args, **kwargs): + """EnablePaper(bool flag)""" + return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs) + + def EnablePrinter(*args, **kwargs): + """EnablePrinter(bool flag)""" + return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs) + + def GetDefaultMinMargins(*args, **kwargs): + """GetDefaultMinMargins() -> bool""" + return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs) + + def GetEnableMargins(*args, **kwargs): + """GetEnableMargins() -> bool""" + return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs) + + def GetEnableOrientation(*args, **kwargs): + """GetEnableOrientation() -> bool""" + return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs) + + def GetEnablePaper(*args, **kwargs): + """GetEnablePaper() -> bool""" + return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs) + + def GetEnablePrinter(*args, **kwargs): + """GetEnablePrinter() -> bool""" + return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs) + + def GetEnableHelp(*args, **kwargs): + """GetEnableHelp() -> bool""" + return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs) + + def GetDefaultInfo(*args, **kwargs): + """GetDefaultInfo() -> bool""" + return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs) + + def GetMarginTopLeft(*args, **kwargs): + """GetMarginTopLeft() -> Point""" + return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs) + + def GetMarginBottomRight(*args, **kwargs): + """GetMarginBottomRight() -> Point""" + return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs) + + def GetMinMarginTopLeft(*args, **kwargs): + """GetMinMarginTopLeft() -> Point""" + return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs) + + def GetMinMarginBottomRight(*args, **kwargs): + """GetMinMarginBottomRight() -> Point""" + return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs) + + def GetPaperId(*args, **kwargs): + """GetPaperId() -> wxPaperSize""" + return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs) + + def GetPaperSize(*args, **kwargs): + """GetPaperSize() -> Size""" + return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PageSetupDialogData_Ok(*args, **kwargs) + + def SetDefaultInfo(*args, **kwargs): + """SetDefaultInfo(bool flag)""" + return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs) + + def SetDefaultMinMargins(*args, **kwargs): + """SetDefaultMinMargins(bool flag)""" + return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs) + + def SetMarginTopLeft(*args, **kwargs): + """SetMarginTopLeft(Point pt)""" + return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs) + + def SetMarginBottomRight(*args, **kwargs): + """SetMarginBottomRight(Point pt)""" + return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs) + + def SetMinMarginTopLeft(*args, **kwargs): + """SetMinMarginTopLeft(Point pt)""" + return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs) + + def SetMinMarginBottomRight(*args, **kwargs): + """SetMinMarginBottomRight(Point pt)""" + return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs) + + def SetPaperId(*args, **kwargs): + """SetPaperId(wxPaperSize id)""" + return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs) + + def SetPaperSize(*args, **kwargs): + """SetPaperSize(Size size)""" + return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(PrintData printData)""" + return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PageSetupDialogDataPtr(PageSetupDialogData): def __init__(self, this): @@ -1499,16 +2956,25 @@ class PageSetupDialogDataPtr(PageSetupDialogData): _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) class PageSetupDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog""" newobj = _windows.new_PageSetupDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPageSetupData(*args, **kwargs): return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.PageSetupDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPageSetupData(*args, **kwargs): + """GetPageSetupData() -> PageSetupDialogData""" + return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.PageSetupDialog_ShowModal(*args, **kwargs) + class PageSetupDialogPtr(PageSetupDialog): def __init__(self, this): @@ -1518,49 +2984,146 @@ class PageSetupDialogPtr(PageSetupDialog): _windows.PageSetupDialog_swigregister(PageSetupDialogPtr) class PrintDialogData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PrintDialogData""" newobj = _windows.new_PrintDialogData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PrintDialogData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetFromPage(*args, **kwargs): return _windows.PrintDialogData_GetFromPage(*args, **kwargs) - def GetToPage(*args, **kwargs): return _windows.PrintDialogData_GetToPage(*args, **kwargs) - def GetMinPage(*args, **kwargs): return _windows.PrintDialogData_GetMinPage(*args, **kwargs) - def GetMaxPage(*args, **kwargs): return _windows.PrintDialogData_GetMaxPage(*args, **kwargs) - def GetNoCopies(*args, **kwargs): return _windows.PrintDialogData_GetNoCopies(*args, **kwargs) - def GetAllPages(*args, **kwargs): return _windows.PrintDialogData_GetAllPages(*args, **kwargs) - def GetSelection(*args, **kwargs): return _windows.PrintDialogData_GetSelection(*args, **kwargs) - def GetCollate(*args, **kwargs): return _windows.PrintDialogData_GetCollate(*args, **kwargs) - def GetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs) - def GetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs) - def SetFromPage(*args, **kwargs): return _windows.PrintDialogData_SetFromPage(*args, **kwargs) - def SetToPage(*args, **kwargs): return _windows.PrintDialogData_SetToPage(*args, **kwargs) - def SetMinPage(*args, **kwargs): return _windows.PrintDialogData_SetMinPage(*args, **kwargs) - def SetMaxPage(*args, **kwargs): return _windows.PrintDialogData_SetMaxPage(*args, **kwargs) - def SetNoCopies(*args, **kwargs): return _windows.PrintDialogData_SetNoCopies(*args, **kwargs) - def SetAllPages(*args, **kwargs): return _windows.PrintDialogData_SetAllPages(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.PrintDialogData_SetSelection(*args, **kwargs) - def SetCollate(*args, **kwargs): return _windows.PrintDialogData_SetCollate(*args, **kwargs) - def SetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs) - def SetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs) - def EnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs) - def EnableSelection(*args, **kwargs): return _windows.PrintDialogData_EnableSelection(*args, **kwargs) - def EnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs) - def EnableHelp(*args, **kwargs): return _windows.PrintDialogData_EnableHelp(*args, **kwargs) - def GetEnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs) - def GetEnableSelection(*args, **kwargs): return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs) - def GetEnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs) - def GetEnableHelp(*args, **kwargs): return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintDialogData_Ok(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _windows.PrintDialogData_GetPrintData(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _windows.PrintDialogData_SetPrintData(*args, **kwargs) + + def GetFromPage(*args, **kwargs): + """GetFromPage() -> int""" + return _windows.PrintDialogData_GetFromPage(*args, **kwargs) + + def GetToPage(*args, **kwargs): + """GetToPage() -> int""" + return _windows.PrintDialogData_GetToPage(*args, **kwargs) + + def GetMinPage(*args, **kwargs): + """GetMinPage() -> int""" + return _windows.PrintDialogData_GetMinPage(*args, **kwargs) + + def GetMaxPage(*args, **kwargs): + """GetMaxPage() -> int""" + return _windows.PrintDialogData_GetMaxPage(*args, **kwargs) + + def GetNoCopies(*args, **kwargs): + """GetNoCopies() -> int""" + return _windows.PrintDialogData_GetNoCopies(*args, **kwargs) + + def GetAllPages(*args, **kwargs): + """GetAllPages() -> bool""" + return _windows.PrintDialogData_GetAllPages(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> bool""" + return _windows.PrintDialogData_GetSelection(*args, **kwargs) + + def GetCollate(*args, **kwargs): + """GetCollate() -> bool""" + return _windows.PrintDialogData_GetCollate(*args, **kwargs) + + def GetPrintToFile(*args, **kwargs): + """GetPrintToFile() -> bool""" + return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs) + + def GetSetupDialog(*args, **kwargs): + """GetSetupDialog() -> bool""" + return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs) + + def SetFromPage(*args, **kwargs): + """SetFromPage(int v)""" + return _windows.PrintDialogData_SetFromPage(*args, **kwargs) + + def SetToPage(*args, **kwargs): + """SetToPage(int v)""" + return _windows.PrintDialogData_SetToPage(*args, **kwargs) + + def SetMinPage(*args, **kwargs): + """SetMinPage(int v)""" + return _windows.PrintDialogData_SetMinPage(*args, **kwargs) + + def SetMaxPage(*args, **kwargs): + """SetMaxPage(int v)""" + return _windows.PrintDialogData_SetMaxPage(*args, **kwargs) + + def SetNoCopies(*args, **kwargs): + """SetNoCopies(int v)""" + return _windows.PrintDialogData_SetNoCopies(*args, **kwargs) + + def SetAllPages(*args, **kwargs): + """SetAllPages(bool flag)""" + return _windows.PrintDialogData_SetAllPages(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(bool flag)""" + return _windows.PrintDialogData_SetSelection(*args, **kwargs) + + def SetCollate(*args, **kwargs): + """SetCollate(bool flag)""" + return _windows.PrintDialogData_SetCollate(*args, **kwargs) + + def SetPrintToFile(*args, **kwargs): + """SetPrintToFile(bool flag)""" + return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs) + + def SetSetupDialog(*args, **kwargs): + """SetSetupDialog(bool flag)""" + return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs) + + def EnablePrintToFile(*args, **kwargs): + """EnablePrintToFile(bool flag)""" + return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs) + + def EnableSelection(*args, **kwargs): + """EnableSelection(bool flag)""" + return _windows.PrintDialogData_EnableSelection(*args, **kwargs) + + def EnablePageNumbers(*args, **kwargs): + """EnablePageNumbers(bool flag)""" + return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs) + + def EnableHelp(*args, **kwargs): + """EnableHelp(bool flag)""" + return _windows.PrintDialogData_EnableHelp(*args, **kwargs) + + def GetEnablePrintToFile(*args, **kwargs): + """GetEnablePrintToFile() -> bool""" + return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs) + + def GetEnableSelection(*args, **kwargs): + """GetEnableSelection() -> bool""" + return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs) + + def GetEnablePageNumbers(*args, **kwargs): + """GetEnablePageNumbers() -> bool""" + return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs) + + def GetEnableHelp(*args, **kwargs): + """GetEnableHelp() -> bool""" + return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintDialogData_Ok(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _windows.PrintDialogData_GetPrintData(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(PrintData printData)""" + return _windows.PrintDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintDialogDataPtr(PrintDialogData): def __init__(self, this): @@ -1570,17 +3133,29 @@ class PrintDialogDataPtr(PrintDialogData): _windows.PrintDialogData_swigregister(PrintDialogDataPtr) class PrintDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, PrintDialogData data=None) -> PrintDialog""" newobj = _windows.new_PrintDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPrintDialogData(*args, **kwargs): return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs) - def GetPrintDC(*args, **kwargs): return _windows.PrintDialog_GetPrintDC(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.PrintDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs) + + def GetPrintDC(*args, **kwargs): + """GetPrintDC() -> wxDC""" + return _windows.PrintDialog_GetPrintDC(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.PrintDialog_ShowModal(*args, **kwargs) + class PrintDialogPtr(PrintDialog): def __init__(self, this): @@ -1593,25 +3168,54 @@ PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR PRINTER_CANCELLED = _windows.PRINTER_CANCELLED PRINTER_ERROR = _windows.PRINTER_ERROR class Printer(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintDialogData data=None) -> Printer""" newobj = _windows.new_Printer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_Printer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def CreateAbortWindow(*args, **kwargs): return _windows.Printer_CreateAbortWindow(*args, **kwargs) - def GetPrintDialogData(*args, **kwargs): return _windows.Printer_GetPrintDialogData(*args, **kwargs) - def Print(*args, **kwargs): return _windows.Printer_Print(*args, **kwargs) - def PrintDialog(*args, **kwargs): return _windows.Printer_PrintDialog(*args, **kwargs) - def ReportError(*args, **kwargs): return _windows.Printer_ReportError(*args, **kwargs) - def Setup(*args, **kwargs): return _windows.Printer_Setup(*args, **kwargs) - def GetAbort(*args, **kwargs): return _windows.Printer_GetAbort(*args, **kwargs) - GetLastError = staticmethod(_windows.Printer_GetLastError) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def CreateAbortWindow(*args, **kwargs): + """CreateAbortWindow(Window parent, Printout printout)""" + return _windows.Printer_CreateAbortWindow(*args, **kwargs) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.Printer_GetPrintDialogData(*args, **kwargs) + + def Print(*args, **kwargs): + """Print(Window parent, Printout printout, int prompt=True) -> bool""" + return _windows.Printer_Print(*args, **kwargs) + + def PrintDialog(*args, **kwargs): + """PrintDialog(Window parent) -> wxDC""" + return _windows.Printer_PrintDialog(*args, **kwargs) + + def ReportError(*args, **kwargs): + """ReportError(Window parent, Printout printout, wxString message)""" + return _windows.Printer_ReportError(*args, **kwargs) + + def Setup(*args, **kwargs): + """Setup(Window parent) -> bool""" + return _windows.Printer_Setup(*args, **kwargs) + + def GetAbort(*args, **kwargs): + """GetAbort() -> bool""" + return _windows.Printer_GetAbort(*args, **kwargs) + + def GetLastError(*args, **kwargs): + """Printer.GetLastError() -> wxPrinterError""" + return _windows.Printer_GetLastError(*args, **kwargs) + + GetLastError = staticmethod(GetLastError) class PrinterPtr(Printer): def __init__(self, this): @@ -1620,38 +3224,106 @@ class PrinterPtr(Printer): self.__class__ = Printer _windows.Printer_swigregister(PrinterPtr) -Printer_GetLastError = _windows.Printer_GetLastError +def Printer_GetLastError(*args, **kwargs): + """Printer_GetLastError() -> wxPrinterError""" + return _windows.Printer_GetLastError(*args, **kwargs) class Printout(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout""" newobj = _windows.new_Printout(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, Printout) - def _setCallbackInfo(*args, **kwargs): return _windows.Printout__setCallbackInfo(*args, **kwargs) - def GetTitle(*args, **kwargs): return _windows.Printout_GetTitle(*args, **kwargs) - def GetDC(*args, **kwargs): return _windows.Printout_GetDC(*args, **kwargs) - def SetDC(*args, **kwargs): return _windows.Printout_SetDC(*args, **kwargs) - def GetPageSizePixels(*args, **kwargs): return _windows.Printout_GetPageSizePixels(*args, **kwargs) - def SetPageSizePixels(*args, **kwargs): return _windows.Printout_SetPageSizePixels(*args, **kwargs) - def SetPageSizeMM(*args, **kwargs): return _windows.Printout_SetPageSizeMM(*args, **kwargs) - def GetPageSizeMM(*args, **kwargs): return _windows.Printout_GetPageSizeMM(*args, **kwargs) - def SetPPIScreen(*args, **kwargs): return _windows.Printout_SetPPIScreen(*args, **kwargs) - def GetPPIScreen(*args, **kwargs): return _windows.Printout_GetPPIScreen(*args, **kwargs) - def SetPPIPrinter(*args, **kwargs): return _windows.Printout_SetPPIPrinter(*args, **kwargs) - def GetPPIPrinter(*args, **kwargs): return _windows.Printout_GetPPIPrinter(*args, **kwargs) - def IsPreview(*args, **kwargs): return _windows.Printout_IsPreview(*args, **kwargs) - def SetIsPreview(*args, **kwargs): return _windows.Printout_SetIsPreview(*args, **kwargs) - def base_OnBeginDocument(*args, **kwargs): return _windows.Printout_base_OnBeginDocument(*args, **kwargs) - def base_OnEndDocument(*args, **kwargs): return _windows.Printout_base_OnEndDocument(*args, **kwargs) - def base_OnBeginPrinting(*args, **kwargs): return _windows.Printout_base_OnBeginPrinting(*args, **kwargs) - def base_OnEndPrinting(*args, **kwargs): return _windows.Printout_base_OnEndPrinting(*args, **kwargs) - def base_OnPreparePrinting(*args, **kwargs): return _windows.Printout_base_OnPreparePrinting(*args, **kwargs) - def base_GetPageInfo(*args, **kwargs): return _windows.Printout_base_GetPageInfo(*args, **kwargs) - def base_HasPage(*args, **kwargs): return _windows.Printout_base_HasPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.Printout__setCallbackInfo(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _windows.Printout_GetTitle(*args, **kwargs) + + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _windows.Printout_GetDC(*args, **kwargs) + + def SetDC(*args, **kwargs): + """SetDC(wxDC dc)""" + return _windows.Printout_SetDC(*args, **kwargs) + + def GetPageSizePixels(*args, **kwargs): + """GetPageSizePixels(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPageSizePixels(*args, **kwargs) + + def SetPageSizePixels(*args, **kwargs): + """SetPageSizePixels(int w, int h)""" + return _windows.Printout_SetPageSizePixels(*args, **kwargs) + + def SetPageSizeMM(*args, **kwargs): + """SetPageSizeMM(int w, int h)""" + return _windows.Printout_SetPageSizeMM(*args, **kwargs) + + def GetPageSizeMM(*args, **kwargs): + """GetPageSizeMM(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPageSizeMM(*args, **kwargs) + + def SetPPIScreen(*args, **kwargs): + """SetPPIScreen(int x, int y)""" + return _windows.Printout_SetPPIScreen(*args, **kwargs) + + def GetPPIScreen(*args, **kwargs): + """GetPPIScreen(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPPIScreen(*args, **kwargs) + + def SetPPIPrinter(*args, **kwargs): + """SetPPIPrinter(int x, int y)""" + return _windows.Printout_SetPPIPrinter(*args, **kwargs) + + def GetPPIPrinter(*args, **kwargs): + """GetPPIPrinter(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPPIPrinter(*args, **kwargs) + + def IsPreview(*args, **kwargs): + """IsPreview() -> bool""" + return _windows.Printout_IsPreview(*args, **kwargs) + + def SetIsPreview(*args, **kwargs): + """SetIsPreview(bool p)""" + return _windows.Printout_SetIsPreview(*args, **kwargs) + + def base_OnBeginDocument(*args, **kwargs): + """base_OnBeginDocument(int startPage, int endPage) -> bool""" + return _windows.Printout_base_OnBeginDocument(*args, **kwargs) + + def base_OnEndDocument(*args, **kwargs): + """base_OnEndDocument()""" + return _windows.Printout_base_OnEndDocument(*args, **kwargs) + + def base_OnBeginPrinting(*args, **kwargs): + """base_OnBeginPrinting()""" + return _windows.Printout_base_OnBeginPrinting(*args, **kwargs) + + def base_OnEndPrinting(*args, **kwargs): + """base_OnEndPrinting()""" + return _windows.Printout_base_OnEndPrinting(*args, **kwargs) + + def base_OnPreparePrinting(*args, **kwargs): + """base_OnPreparePrinting()""" + return _windows.Printout_base_OnPreparePrinting(*args, **kwargs) + + def base_GetPageInfo(*args, **kwargs): + """base_GetPageInfo(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _windows.Printout_base_GetPageInfo(*args, **kwargs) + + def base_HasPage(*args, **kwargs): + """base_HasPage(int page) -> bool""" + return _windows.Printout_base_HasPage(*args, **kwargs) + class PrintoutPtr(Printout): def __init__(self, this): @@ -1661,14 +3333,19 @@ class PrintoutPtr(Printout): _windows.Printout_swigregister(PrintoutPtr) class PreviewCanvas(ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas""" newobj = _windows.new_PreviewCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PreviewCanvasPtr(PreviewCanvas): def __init__(self, this): @@ -1678,18 +3355,35 @@ class PreviewCanvasPtr(PreviewCanvas): _windows.PreviewCanvas_swigregister(PreviewCanvasPtr) class PreviewFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame""" newobj = _windows.new_PreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def Initialize(*args, **kwargs): return _windows.PreviewFrame_Initialize(*args, **kwargs) - def CreateControlBar(*args, **kwargs): return _windows.PreviewFrame_CreateControlBar(*args, **kwargs) - def CreateCanvas(*args, **kwargs): return _windows.PreviewFrame_CreateCanvas(*args, **kwargs) - def GetControlBar(*args, **kwargs): return _windows.PreviewFrame_GetControlBar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Initialize(*args, **kwargs): + """Initialize()""" + return _windows.PreviewFrame_Initialize(*args, **kwargs) + + def CreateControlBar(*args, **kwargs): + """CreateControlBar()""" + return _windows.PreviewFrame_CreateControlBar(*args, **kwargs) + + def CreateCanvas(*args, **kwargs): + """CreateCanvas()""" + return _windows.PreviewFrame_CreateCanvas(*args, **kwargs) + + def GetControlBar(*args, **kwargs): + """GetControlBar() -> PreviewControlBar""" + return _windows.PreviewFrame_GetControlBar(*args, **kwargs) + class PreviewFramePtr(PreviewFrame): def __init__(self, this): @@ -1715,22 +3409,51 @@ ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO class PreviewControlBar(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar""" newobj = _windows.new_PreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def GetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs) - def SetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs) - def GetPrintPreview(*args, **kwargs): return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs) - def OnNext(*args, **kwargs): return _windows.PreviewControlBar_OnNext(*args, **kwargs) - def OnPrevious(*args, **kwargs): return _windows.PreviewControlBar_OnPrevious(*args, **kwargs) - def OnFirst(*args, **kwargs): return _windows.PreviewControlBar_OnFirst(*args, **kwargs) - def OnLast(*args, **kwargs): return _windows.PreviewControlBar_OnLast(*args, **kwargs) - def OnGoto(*args, **kwargs): return _windows.PreviewControlBar_OnGoto(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetZoomControl(*args, **kwargs): + """GetZoomControl() -> int""" + return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs) + + def SetZoomControl(*args, **kwargs): + """SetZoomControl(int zoom)""" + return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs) + + def GetPrintPreview(*args, **kwargs): + """GetPrintPreview() -> PrintPreview""" + return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs) + + def OnNext(*args, **kwargs): + """OnNext()""" + return _windows.PreviewControlBar_OnNext(*args, **kwargs) + + def OnPrevious(*args, **kwargs): + """OnPrevious()""" + return _windows.PreviewControlBar_OnPrevious(*args, **kwargs) + + def OnFirst(*args, **kwargs): + """OnFirst()""" + return _windows.PreviewControlBar_OnFirst(*args, **kwargs) + + def OnLast(*args, **kwargs): + """OnLast()""" + return _windows.PreviewControlBar_OnLast(*args, **kwargs) + + def OnGoto(*args, **kwargs): + """OnGoto()""" + return _windows.PreviewControlBar_OnGoto(*args, **kwargs) + class PreviewControlBarPtr(PreviewControlBar): def __init__(self, this): @@ -1740,36 +3463,104 @@ class PreviewControlBarPtr(PreviewControlBar): _windows.PreviewControlBar_swigregister(PreviewControlBarPtr) class PrintPreview(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview""" newobj = _windows.new_PrintPreview(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetCurrentPage(*args, **kwargs): return _windows.PrintPreview_SetCurrentPage(*args, **kwargs) - def GetCurrentPage(*args, **kwargs): return _windows.PrintPreview_GetCurrentPage(*args, **kwargs) - def SetPrintout(*args, **kwargs): return _windows.PrintPreview_SetPrintout(*args, **kwargs) - def GetPrintout(*args, **kwargs): return _windows.PrintPreview_GetPrintout(*args, **kwargs) - def GetPrintoutForPrinting(*args, **kwargs): return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs) - def SetFrame(*args, **kwargs): return _windows.PrintPreview_SetFrame(*args, **kwargs) - def SetCanvas(*args, **kwargs): return _windows.PrintPreview_SetCanvas(*args, **kwargs) - def GetFrame(*args, **kwargs): return _windows.PrintPreview_GetFrame(*args, **kwargs) - def GetCanvas(*args, **kwargs): return _windows.PrintPreview_GetCanvas(*args, **kwargs) - def PaintPage(*args, **kwargs): return _windows.PrintPreview_PaintPage(*args, **kwargs) - def DrawBlankPage(*args, **kwargs): return _windows.PrintPreview_DrawBlankPage(*args, **kwargs) - def RenderPage(*args, **kwargs): return _windows.PrintPreview_RenderPage(*args, **kwargs) - def AdjustScrollbars(*args, **kwargs): return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs) - def GetPrintDialogData(*args, **kwargs): return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs) - def SetZoom(*args, **kwargs): return _windows.PrintPreview_SetZoom(*args, **kwargs) - def GetZoom(*args, **kwargs): return _windows.PrintPreview_GetZoom(*args, **kwargs) - def GetMaxPage(*args, **kwargs): return _windows.PrintPreview_GetMaxPage(*args, **kwargs) - def GetMinPage(*args, **kwargs): return _windows.PrintPreview_GetMinPage(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintPreview_Ok(*args, **kwargs) - def SetOk(*args, **kwargs): return _windows.PrintPreview_SetOk(*args, **kwargs) - def Print(*args, **kwargs): return _windows.PrintPreview_Print(*args, **kwargs) - def DetermineScaling(*args, **kwargs): return _windows.PrintPreview_DetermineScaling(*args, **kwargs) + def SetCurrentPage(*args, **kwargs): + """SetCurrentPage(int pageNum) -> bool""" + return _windows.PrintPreview_SetCurrentPage(*args, **kwargs) + + def GetCurrentPage(*args, **kwargs): + """GetCurrentPage() -> int""" + return _windows.PrintPreview_GetCurrentPage(*args, **kwargs) + + def SetPrintout(*args, **kwargs): + """SetPrintout(Printout printout)""" + return _windows.PrintPreview_SetPrintout(*args, **kwargs) + + def GetPrintout(*args, **kwargs): + """GetPrintout() -> Printout""" + return _windows.PrintPreview_GetPrintout(*args, **kwargs) + + def GetPrintoutForPrinting(*args, **kwargs): + """GetPrintoutForPrinting() -> Printout""" + return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs) + + def SetFrame(*args, **kwargs): + """SetFrame(Frame frame)""" + return _windows.PrintPreview_SetFrame(*args, **kwargs) + + def SetCanvas(*args, **kwargs): + """SetCanvas(PreviewCanvas canvas)""" + return _windows.PrintPreview_SetCanvas(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> Frame""" + return _windows.PrintPreview_GetFrame(*args, **kwargs) + + def GetCanvas(*args, **kwargs): + """GetCanvas() -> PreviewCanvas""" + return _windows.PrintPreview_GetCanvas(*args, **kwargs) + + def PaintPage(*args, **kwargs): + """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PrintPreview_PaintPage(*args, **kwargs) + + def DrawBlankPage(*args, **kwargs): + """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PrintPreview_DrawBlankPage(*args, **kwargs) + + def RenderPage(*args, **kwargs): + """RenderPage(int pageNum) -> bool""" + return _windows.PrintPreview_RenderPage(*args, **kwargs) + + def AdjustScrollbars(*args, **kwargs): + """AdjustScrollbars(PreviewCanvas canvas)""" + return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs) + + def SetZoom(*args, **kwargs): + """SetZoom(int percent)""" + return _windows.PrintPreview_SetZoom(*args, **kwargs) + + def GetZoom(*args, **kwargs): + """GetZoom() -> int""" + return _windows.PrintPreview_GetZoom(*args, **kwargs) + + def GetMaxPage(*args, **kwargs): + """GetMaxPage() -> int""" + return _windows.PrintPreview_GetMaxPage(*args, **kwargs) + + def GetMinPage(*args, **kwargs): + """GetMinPage() -> int""" + return _windows.PrintPreview_GetMinPage(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintPreview_Ok(*args, **kwargs) + + def SetOk(*args, **kwargs): + """SetOk(bool ok)""" + return _windows.PrintPreview_SetOk(*args, **kwargs) + + def Print(*args, **kwargs): + """Print(bool interactive) -> bool""" + return _windows.PrintPreview_Print(*args, **kwargs) + + def DetermineScaling(*args, **kwargs): + """DetermineScaling()""" + return _windows.PrintPreview_DetermineScaling(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintPreviewPtr(PrintPreview): def __init__(self, this): @@ -1779,22 +3570,49 @@ class PrintPreviewPtr(PrintPreview): _windows.PrintPreview_swigregister(PrintPreviewPtr) class PyPrintPreview(PrintPreview): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview""" newobj = _windows.new_PyPrintPreview(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPrintPreview) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs) - def base_SetCurrentPage(*args, **kwargs): return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs) - def base_PaintPage(*args, **kwargs): return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs) - def base_DrawBlankPage(*args, **kwargs): return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs) - def base_RenderPage(*args, **kwargs): return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs) - def base_SetZoom(*args, **kwargs): return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs) - def base_Print(*args, **kwargs): return _windows.PyPrintPreview_base_Print(*args, **kwargs) - def base_DetermineScaling(*args, **kwargs): return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs) + + def base_SetCurrentPage(*args, **kwargs): + """base_SetCurrentPage(int pageNum) -> bool""" + return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs) + + def base_PaintPage(*args, **kwargs): + """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs) + + def base_DrawBlankPage(*args, **kwargs): + """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs) + + def base_RenderPage(*args, **kwargs): + """base_RenderPage(int pageNum) -> bool""" + return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs) + + def base_SetZoom(*args, **kwargs): + """base_SetZoom(int percent)""" + return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs) + + def base_Print(*args, **kwargs): + """base_Print(bool interactive) -> bool""" + return _windows.PyPrintPreview_base_Print(*args, **kwargs) + + def base_DetermineScaling(*args, **kwargs): + """base_DetermineScaling()""" + return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs) + class PyPrintPreviewPtr(PyPrintPreview): def __init__(self, this): @@ -1804,20 +3622,43 @@ class PyPrintPreviewPtr(PyPrintPreview): _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) class PyPreviewFrame(PreviewFrame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame""" newobj = _windows.new_PyPreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs) - def SetPreviewCanvas(*args, **kwargs): return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs) - def SetControlBar(*args, **kwargs): return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs) - def base_Initialize(*args, **kwargs): return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs) - def base_CreateCanvas(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs) - def base_CreateControlBar(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs) + + def SetPreviewCanvas(*args, **kwargs): + """SetPreviewCanvas(PreviewCanvas canvas)""" + return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs) + + def SetControlBar(*args, **kwargs): + """SetControlBar(PreviewControlBar bar)""" + return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs) + + def base_Initialize(*args, **kwargs): + """base_Initialize()""" + return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs) + + def base_CreateCanvas(*args, **kwargs): + """base_CreateCanvas()""" + return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs) + + def base_CreateControlBar(*args, **kwargs): + """base_CreateControlBar()""" + return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs) + class PyPreviewFramePtr(PyPreviewFrame): def __init__(self, this): @@ -1827,18 +3668,35 @@ class PyPreviewFramePtr(PyPreviewFrame): _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) class PyPreviewControlBar(PreviewControlBar): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar""" newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs) - def SetPrintPreview(*args, **kwargs): return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs) - def base_CreateButtons(*args, **kwargs): return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs) - def base_SetZoomControl(*args, **kwargs): return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs) + + def SetPrintPreview(*args, **kwargs): + """SetPrintPreview(PrintPreview preview)""" + return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs) + + def base_CreateButtons(*args, **kwargs): + """base_CreateButtons()""" + return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs) + + def base_SetZoomControl(*args, **kwargs): + """base_SetZoomControl(int zoom)""" + return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs) + class PyPreviewControlBarPtr(PyPreviewControlBar): def __init__(self, this): diff --git a/wxPython/src/mac/windows_wrap.cpp b/wxPython/src/mac/windows_wrap.cpp index c0b4b89cad..fd44547253 100644 --- a/wxPython/src/mac/windows_wrap.cpp +++ b/wxPython/src/mac/windows_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -401,7 +395,7 @@ public: #include -wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,wxCoord maxLength,wxRect *rectBound){ +wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,int maxLength,wxRect *rectBound){ wxString tmp = *text; return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound); } @@ -466,7 +460,7 @@ public: // find the index of the line we need to show at the top of the window such // that the last (fully or partially) visible line is the given one - size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) + size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } // get the total height of the lines between lineMin (inclusive) and @@ -814,7 +808,7 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); // Since this one would be tough and ugly to do with the Macros... void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { - bool hadErr = FALSE; + bool hadErr = False; bool found; wxPyBeginBlockThreads(); @@ -825,22 +819,22 @@ void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *p val = PyTuple_GetItem(result, 0); if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 1); if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 2); if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 3); if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; } else - hadErr = TRUE; + hadErr = True; if (hadErr) { PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); @@ -877,7 +871,7 @@ IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ - bool rval=FALSE; \ + bool rval=False; \ bool found; \ wxPyBeginBlockThreads(); \ if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ @@ -1000,7 +994,7 @@ extern "C" { static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -1011,7 +1005,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg wxPanel *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1020,7 +1014,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { { @@ -1038,7 +1032,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -1089,7 +1083,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxPanel *arg1 = (wxPanel *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -1100,7 +1094,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1129,7 +1123,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1188,7 +1182,7 @@ static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -1199,7 +1193,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObje wxScrolledWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1226,7 +1220,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObje { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -1277,7 +1271,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -1288,7 +1282,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1317,7 +1311,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1351,7 +1345,7 @@ static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *ar int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; - bool arg8 = (bool) FALSE ; + bool arg8 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj7 = 0 ; char *kwnames[] = { @@ -2434,7 +2428,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxString *arg1 = 0 ; wxAcceleratorEntry *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "label", NULL @@ -2444,7 +2438,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2471,7 +2465,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2525,7 +2519,7 @@ static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, Py static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2750,7 +2744,7 @@ static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, P PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2762,7 +2756,7 @@ static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2858,7 +2852,7 @@ static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -2868,10 +2862,10 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2886,7 +2880,7 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -2904,7 +2898,7 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -2967,7 +2961,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -2977,10 +2971,10 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2997,7 +2991,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3015,7 +3009,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3186,11 +3180,11 @@ static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyO wxFrame *arg1 = (wxFrame *) 0 ; int arg2 = (int) 1 ; long arg3 = (long) wxST_SIZEGRIP ; - wxWindowID arg4 = (wxWindowID) 0 ; + int arg4 = (int) 0 ; wxString const &arg5_defvalue = wxPyStatusLineNameStr ; wxString *arg5 = (wxString *) &arg5_defvalue ; wxStatusBar *result; - bool temp5 = false ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj4 = 0 ; char *kwnames[] = { @@ -3203,7 +3197,7 @@ static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyO { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -3289,7 +3283,7 @@ static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObj wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3301,7 +3295,7 @@ static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3368,7 +3362,7 @@ static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyOb wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3380,7 +3374,7 @@ static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3483,11 +3477,11 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; long arg2 = (long) -1 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxString const &arg4_defvalue = wxPyToolBarNameStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxToolBar *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -3500,7 +3494,7 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -3586,7 +3580,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3599,7 +3593,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = PyInt_AsLong(obj2) ? true : false; if (PyErr_Occurred()) SWIG_fail; @@ -3664,7 +3658,7 @@ static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3674,10 +3668,10 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar wxString const &arg7_defvalue = wxPyDialogNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxDialog *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3692,7 +3686,7 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3710,7 +3704,7 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3769,7 +3763,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDialog *arg1 = (wxDialog *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3779,10 +3773,10 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k wxString const &arg8_defvalue = wxPyDialogNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3799,7 +3793,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3817,7 +3811,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3905,7 +3899,7 @@ static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, Py wxDialog *arg1 = (wxDialog *) 0 ; wxString *arg2 = 0 ; wxSizer *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3917,7 +3911,7 @@ static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4109,7 +4103,7 @@ static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -4119,10 +4113,10 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMiniFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4137,7 +4131,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -4155,7 +4149,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -4214,7 +4208,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -4224,10 +4218,10 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4244,7 +4238,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -4262,7 +4256,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4306,7 +4300,7 @@ static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, Py PyObject *resultobj; wxBitmap *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -4426,7 +4420,7 @@ static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject long arg2 ; int arg3 ; wxWindow *arg4 = (wxWindow *) 0 ; - wxWindowID arg5 ; + int arg5 ; wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; wxSize const &arg7_defvalue = wxDefaultSize ; @@ -4560,12 +4554,12 @@ static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; long arg3 = (long) wxST_SIZEGRIP ; wxString const &arg4_defvalue = wxPyStatusLineNameStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxStatusBar *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -4578,7 +4572,7 @@ static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -4633,12 +4627,12 @@ static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; long arg4 = (long) wxST_SIZEGRIP ; wxString const &arg5_defvalue = wxPyStatusLineNameStr ; wxString *arg5 = (wxString *) &arg5_defvalue ; bool result; - bool temp5 = false ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -4653,7 +4647,7 @@ static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -4733,7 +4727,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, P wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4745,7 +4739,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4806,7 +4800,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4818,7 +4812,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5023,7 +5017,7 @@ static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -5034,7 +5028,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObje wxSplitterWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5061,7 +5055,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObje { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -5112,7 +5106,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -5123,7 +5117,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5152,7 +5146,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -5562,7 +5556,7 @@ static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject * PyObject *resultobj; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5941,7 +5935,7 @@ static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -5952,7 +5946,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject * wxSashWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5979,7 +5973,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -6030,7 +6024,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -6041,7 +6035,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -6070,7 +6064,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -6783,7 +6777,7 @@ static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxQueryLayoutInfoEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -7073,7 +7067,7 @@ static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *ar } static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxCalculateLayoutEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -7214,7 +7208,7 @@ static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *ar static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7225,7 +7219,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyOb wxSashLayoutWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7252,7 +7246,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyOb { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -7303,7 +7297,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P PyObject *resultobj; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -7314,7 +7308,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -7343,7 +7337,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -7772,7 +7766,7 @@ static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = (wxString *) 0 ; - wxCoord arg3 = (wxCoord) 100 ; + int arg3 = (int) 100 ; wxRect *arg4 = (wxRect *) NULL ; wxTipWindow *result; PyObject * obj0 = 0 ; @@ -7867,7 +7861,7 @@ static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7878,7 +7872,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObj wxPyVScrolledWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7905,7 +7899,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObj { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -7986,7 +7980,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py PyObject *resultobj; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -7997,7 +7991,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8026,7 +8020,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8223,8 +8217,8 @@ static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *ar static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8417,7 +8411,7 @@ static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8428,7 +8422,7 @@ static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kw wxPyVListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8455,7 +8449,7 @@ static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -8536,7 +8530,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8547,7 +8541,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8576,7 +8570,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8959,7 +8953,7 @@ static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; - bool arg3 = (bool) true ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9135,8 +9129,8 @@ static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -9199,7 +9193,7 @@ static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -9210,7 +9204,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject wxPyHtmlListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9237,7 +9231,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -9318,7 +9312,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -9329,7 +9323,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -9358,7 +9352,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -9858,11 +9852,11 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyDirDialogNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxDirDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9879,14 +9873,14 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -9905,7 +9899,7 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -10037,7 +10031,7 @@ static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10049,7 +10043,7 @@ static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10077,7 +10071,7 @@ static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10089,7 +10083,7 @@ static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10160,10 +10154,10 @@ static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject * wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxFileDialog *result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; - bool temp5 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; + bool temp5 = False ; wxPoint temp7 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10181,28 +10175,28 @@ static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } if (obj6) { @@ -10261,7 +10255,7 @@ static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10273,7 +10267,7 @@ static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10301,7 +10295,7 @@ static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10313,7 +10307,7 @@ static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10341,7 +10335,7 @@ static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, P PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10353,7 +10347,7 @@ static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10381,7 +10375,7 @@ static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, Py PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10393,7 +10387,7 @@ static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10421,7 +10415,7 @@ static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, Py PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10433,7 +10427,7 @@ static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10780,8 +10774,8 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyO wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxMultiChoiceDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp7 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10797,12 +10791,12 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj6) { @@ -10931,8 +10925,8 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, Py wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxSingleChoiceDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10948,12 +10942,12 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = PyList_Size(obj3); @@ -11127,9 +11121,9 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObj wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; wxTextEntryDialog *result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11145,20 +11139,20 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj5) { @@ -11240,7 +11234,7 @@ static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *resultobj; wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11252,7 +11246,7 @@ static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11825,8 +11819,8 @@ static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObjec wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; wxMessageDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11841,13 +11835,13 @@ static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -11926,8 +11920,8 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObje wxWindow *arg4 = (wxWindow *) NULL ; int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; wxProgressDialog *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -11939,12 +11933,12 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -11986,7 +11980,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyO wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11999,7 +11993,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -12217,7 +12211,7 @@ static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *a PyObject *resultobj; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12229,7 +12223,7 @@ static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12257,7 +12251,7 @@ static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject PyObject *resultobj; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12269,7 +12263,7 @@ static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12457,7 +12451,7 @@ static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *a PyObject *resultobj; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12469,7 +12463,7 @@ static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12497,7 +12491,7 @@ static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject PyObject *resultobj; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12509,7 +12503,7 @@ static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12547,7 +12541,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; int arg4 = (int) 0 ; wxFindReplaceDialog *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12561,7 +12555,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12615,7 +12609,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, wxString *arg4 = 0 ; int arg5 = (int) 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12631,7 +12625,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12717,7 +12711,7 @@ static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -12727,10 +12721,10 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMDIParentFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -12745,7 +12739,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -12763,7 +12757,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -12822,7 +12816,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -12832,10 +12826,10 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -12852,7 +12846,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -12870,7 +12864,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -13114,7 +13108,7 @@ static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -13124,10 +13118,10 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMDIChildFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13142,7 +13136,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -13160,7 +13154,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -13223,7 +13217,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -13233,10 +13227,10 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -13253,7 +13247,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -13271,7 +13265,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -13478,7 +13472,7 @@ static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -13489,7 +13483,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kw wxPyWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13516,7 +13510,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -14094,7 +14088,7 @@ static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -14105,7 +14099,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwa wxPyPanel *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -14132,7 +14126,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwa { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -15095,7 +15089,7 @@ static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15107,7 +15101,7 @@ static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15538,7 +15532,7 @@ static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15550,7 +15544,7 @@ static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15578,7 +15572,7 @@ static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15590,7 +15584,7 @@ static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15618,7 +15612,7 @@ static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15630,7 +15624,7 @@ static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15658,7 +15652,7 @@ static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15670,7 +15664,7 @@ static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15698,7 +15692,7 @@ static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15710,7 +15704,7 @@ static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17959,7 +17953,7 @@ static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *k wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; - int arg4 = (int) TRUE ; + int arg4 = (int) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18022,7 +18016,7 @@ static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObj wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18038,7 +18032,7 @@ static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18149,7 +18143,7 @@ static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kw wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyPrintout *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title", NULL @@ -18160,7 +18154,7 @@ static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -18833,7 +18827,7 @@ static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObjec wxPreviewCanvas *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18862,7 +18856,7 @@ static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObjec { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -18907,10 +18901,10 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxPreviewFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18927,7 +18921,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -18945,7 +18939,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -19097,7 +19091,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyO wxPreviewControlBar *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -19126,7 +19120,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20267,10 +20261,10 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxPyPreviewFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -20287,7 +20281,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -20305,7 +20299,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20516,7 +20510,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, P wxPyPreviewControlBar *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -20545,7 +20539,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, P { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { diff --git a/wxPython/src/mac/wizard.py b/wxPython/src/mac/wizard.py index 0389bce88a..55feb72b34 100644 --- a/wxPython/src/mac/wizard.py +++ b/wxPython/src/mac/wizard.py @@ -19,15 +19,24 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) class WizardEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, + WizardPage page=None) -> WizardEvent""" newobj = _wizard.new_WizardEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDirection(*args, **kwargs): return _wizard.WizardEvent_GetDirection(*args, **kwargs) - def GetPage(*args, **kwargs): return _wizard.WizardEvent_GetPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDirection(*args, **kwargs): + """GetDirection() -> bool""" + return _wizard.WizardEvent_GetDirection(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage() -> WizardPage""" + return _wizard.WizardEvent_GetPage(*args, **kwargs) + class WizardEventPtr(WizardEvent): def __init__(self, this): @@ -37,13 +46,26 @@ class WizardEventPtr(WizardEvent): _wizard.WizardEvent_swigregister(WizardEventPtr) class WizardPage(windows.Panel): - def Create(*args, **kwargs): return _wizard.WizardPage_Create(*args, **kwargs) - def GetPrev(*args, **kwargs): return _wizard.WizardPage_GetPrev(*args, **kwargs) - def GetNext(*args, **kwargs): return _wizard.WizardPage_GetNext(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _wizard.WizardPage_GetBitmap(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + return _wizard.WizardPage_Create(*args, **kwargs) + + def GetPrev(*args, **kwargs): + """GetPrev() -> WizardPage""" + return _wizard.WizardPage_GetPrev(*args, **kwargs) + + def GetNext(*args, **kwargs): + """GetNext() -> WizardPage""" + return _wizard.WizardPage_GetNext(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _wizard.WizardPage_GetBitmap(*args, **kwargs) + class WizardPagePtr(WizardPage): def __init__(self, this): @@ -53,34 +75,97 @@ class WizardPagePtr(WizardPage): _wizard.WizardPage_swigregister(WizardPagePtr) class PyWizardPage(WizardPage): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString resource=&wxPyEmptyString) -> PyWizardPage""" newobj = _wizard.new_PyWizardPage(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.PyWizardPage_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _wizard.PyWizardPage_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + return _wizard.PyWizardPage_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _wizard.PyWizardPage_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) + class PyWizardPagePtr(PyWizardPage): def __init__(self, this): @@ -90,23 +175,42 @@ class PyWizardPagePtr(PyWizardPage): _wizard.PyWizardPage_swigregister(PyWizardPagePtr) def PrePyWizardPage(*args, **kwargs): + """PrePyWizardPage() -> PyWizardPage""" val = _wizard.new_PrePyWizardPage(*args, **kwargs) val.thisown = 1 return val class WizardPageSimple(WizardPage): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple""" newobj = _wizard.new_WizardPageSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.WizardPageSimple_Create(*args, **kwargs) - def SetPrev(*args, **kwargs): return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) - def SetNext(*args, **kwargs): return _wizard.WizardPageSimple_SetNext(*args, **kwargs) - Chain = staticmethod(_wizard.WizardPageSimple_Chain) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + return _wizard.WizardPageSimple_Create(*args, **kwargs) + + def SetPrev(*args, **kwargs): + """SetPrev(WizardPage prev)""" + return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) + + def SetNext(*args, **kwargs): + """SetNext(WizardPage next)""" + return _wizard.WizardPageSimple_SetNext(*args, **kwargs) + + def Chain(*args, **kwargs): + """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)""" + return _wizard.WizardPageSimple_Chain(*args, **kwargs) + + Chain = staticmethod(Chain) class WizardPageSimplePtr(WizardPageSimple): def __init__(self, this): @@ -116,34 +220,82 @@ class WizardPageSimplePtr(WizardPageSimple): _wizard.WizardPageSimple_swigregister(WizardPageSimplePtr) def PreWizardPageSimple(*args, **kwargs): + """PreWizardPageSimple() -> WizardPageSimple""" val = _wizard.new_PreWizardPageSimple(*args, **kwargs) val.thisown = 1 return val -WizardPageSimple_Chain = _wizard.WizardPageSimple_Chain +def WizardPageSimple_Chain(*args, **kwargs): + """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)""" + return _wizard.WizardPageSimple_Chain(*args, **kwargs) class Wizard(windows.Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, + long style=DEFAULT_DIALOG_STYLE) -> Wizard""" newobj = _wizard.new_Wizard(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.Wizard_Create(*args, **kwargs) - def Init(*args, **kwargs): return _wizard.Wizard_Init(*args, **kwargs) - def RunWizard(*args, **kwargs): return _wizard.Wizard_RunWizard(*args, **kwargs) - def GetCurrentPage(*args, **kwargs): return _wizard.Wizard_GetCurrentPage(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _wizard.Wizard_SetPageSize(*args, **kwargs) - def GetPageSize(*args, **kwargs): return _wizard.Wizard_GetPageSize(*args, **kwargs) - def FitToPage(*args, **kwargs): return _wizard.Wizard_FitToPage(*args, **kwargs) - def GetPageAreaSizer(*args, **kwargs): return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) - def SetBorder(*args, **kwargs): return _wizard.Wizard_SetBorder(*args, **kwargs) - def IsRunning(*args, **kwargs): return _wizard.Wizard_IsRunning(*args, **kwargs) - def ShowPage(*args, **kwargs): return _wizard.Wizard_ShowPage(*args, **kwargs) - def HasNextPage(*args, **kwargs): return _wizard.Wizard_HasNextPage(*args, **kwargs) - def HasPrevPage(*args, **kwargs): return _wizard.Wizard_HasPrevPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + return _wizard.Wizard_Create(*args, **kwargs) + + def Init(*args, **kwargs): + """Init()""" + return _wizard.Wizard_Init(*args, **kwargs) + + def RunWizard(*args, **kwargs): + """RunWizard(WizardPage firstPage) -> bool""" + return _wizard.Wizard_RunWizard(*args, **kwargs) + + def GetCurrentPage(*args, **kwargs): + """GetCurrentPage() -> WizardPage""" + return _wizard.Wizard_GetCurrentPage(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(Size size)""" + return _wizard.Wizard_SetPageSize(*args, **kwargs) + + def GetPageSize(*args, **kwargs): + """GetPageSize() -> Size""" + return _wizard.Wizard_GetPageSize(*args, **kwargs) + + def FitToPage(*args, **kwargs): + """FitToPage(WizardPage firstPage)""" + return _wizard.Wizard_FitToPage(*args, **kwargs) + + def GetPageAreaSizer(*args, **kwargs): + """GetPageAreaSizer() -> Sizer""" + return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(int border)""" + return _wizard.Wizard_SetBorder(*args, **kwargs) + + def IsRunning(*args, **kwargs): + """IsRunning() -> bool""" + return _wizard.Wizard_IsRunning(*args, **kwargs) + + def ShowPage(*args, **kwargs): + """ShowPage(WizardPage page, bool goingForward=True) -> bool""" + return _wizard.Wizard_ShowPage(*args, **kwargs) + + def HasNextPage(*args, **kwargs): + """HasNextPage(WizardPage page) -> bool""" + return _wizard.Wizard_HasNextPage(*args, **kwargs) + + def HasPrevPage(*args, **kwargs): + """HasPrevPage(WizardPage page) -> bool""" + return _wizard.Wizard_HasPrevPage(*args, **kwargs) + class WizardPtr(Wizard): def __init__(self, this): @@ -153,6 +305,7 @@ class WizardPtr(Wizard): _wizard.Wizard_swigregister(WizardPtr) def PreWizard(*args, **kwargs): + """PreWizard() -> Wizard""" val = _wizard.new_PreWizard(*args, **kwargs) val.thisown = 1 return val diff --git a/wxPython/src/mac/wizard_wrap.cpp b/wxPython/src/mac/wizard_wrap.cpp index c6ad638091..69e99cd67e 100644 --- a/wxPython/src/mac/wizard_wrap.cpp +++ b/wxPython/src/mac/wizard_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -385,7 +379,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) -1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; wxWizardPage *arg4 = (wxWizardPage *) NULL ; wxWizardEvent *result; PyObject * obj2 = 0 ; @@ -484,7 +478,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -506,7 +500,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -687,7 +681,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -709,7 +703,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -1509,7 +1503,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; wxWizard *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp5 ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -1525,7 +1519,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -1596,7 +1590,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -1614,7 +1608,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -1898,7 +1892,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; diff --git a/wxPython/src/msw/calendar.py b/wxPython/src/msw/calendar.py index 412bd12d80..e027f1cd59 100644 --- a/wxPython/src/msw/calendar.py +++ b/wxPython/src/msw/calendar.py @@ -23,30 +23,85 @@ CAL_BORDER_NONE = _calendar.CAL_BORDER_NONE CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND class CalendarDateAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour colText, wxColour colBack=wxNullColour, wxColour colBorder=wxNullColour, + wxFont font=wxNullFont, + wxCalendarDateBorder border=CAL_BORDER_NONE) -> CalendarDateAttr""" newobj = _calendar.new_CalendarDateAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs) - def SetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _calendar.CalendarDateAttr_SetFont(*args, **kwargs) - def SetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs) - def SetHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs) - def HasBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _calendar.CalendarDateAttr_HasFont(*args, **kwargs) - def HasBorder(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs) - def IsHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs) - def GetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _calendar.CalendarDateAttr_GetFont(*args, **kwargs) - def GetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs) + + def SetBorderColour(*args, **kwargs): + """SetBorderColour(wxColour col)""" + return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _calendar.CalendarDateAttr_SetFont(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(wxCalendarDateBorder border)""" + return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs) + + def SetHoliday(*args, **kwargs): + """SetHoliday(bool holiday)""" + return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs) + + def HasBorderColour(*args, **kwargs): + """HasBorderColour() -> bool""" + return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _calendar.CalendarDateAttr_HasFont(*args, **kwargs) + + def HasBorder(*args, **kwargs): + """HasBorder() -> bool""" + return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs) + + def IsHoliday(*args, **kwargs): + """IsHoliday() -> bool""" + return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs) + + def GetBorderColour(*args, **kwargs): + """GetBorderColour() -> wxColour""" + return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _calendar.CalendarDateAttr_GetFont(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> wxCalendarDateBorder""" + return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) + class CalendarDateAttrPtr(CalendarDateAttr): def __init__(self, this): @@ -56,20 +111,29 @@ class CalendarDateAttrPtr(CalendarDateAttr): _calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr) def CalendarDateAttrBorder(*args, **kwargs): + """CalendarDateAttrBorder(wxCalendarDateBorder border, wxColour colBorder=wxNullColour) -> CalendarDateAttr""" val = _calendar.new_CalendarDateAttrBorder(*args, **kwargs) val.thisown = 1 return val class CalendarEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent""" newobj = _calendar.new_CalendarEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDate(*args, **kwargs): return _calendar.CalendarEvent_GetDate(*args, **kwargs) - def GetWeekDay(*args, **kwargs): return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDate(*args, **kwargs): + """GetDate() -> DateTime""" + return _calendar.CalendarEvent_GetDate(*args, **kwargs) + + def GetWeekDay(*args, **kwargs): + """GetWeekDay() -> wxDateTime::WeekDay""" + return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs) + class CalendarEventPtr(CalendarEvent): def __init__(self, this): @@ -92,41 +156,131 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) class CalendarCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> CalendarCtrl""" newobj = _calendar.new_CalendarCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _calendar.CalendarCtrl_Create(*args, **kwargs) - def SetDate(*args, **kwargs): return _calendar.CalendarCtrl_SetDate(*args, **kwargs) - def GetDate(*args, **kwargs): return _calendar.CalendarCtrl_GetDate(*args, **kwargs) - def SetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs) - def GetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs) - def SetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs) - def GetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs) - def SetDateRange(*args, **kwargs): return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs) - def EnableYearChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs) - def EnableMonthChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs) - def EnableHolidayDisplay(*args, **kwargs): return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs) - def SetHeaderColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs) - def GetHeaderColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs) - def GetHeaderColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs) - def SetHighlightColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs) - def GetHighlightColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs) - def GetHighlightColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs) - def SetHolidayColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs) - def GetHolidayColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs) - def GetHolidayColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs) - def GetAttr(*args, **kwargs): return _calendar.CalendarCtrl_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _calendar.CalendarCtrl_SetAttr(*args, **kwargs) - def SetHoliday(*args, **kwargs): return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs) - def ResetAttr(*args, **kwargs): return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs) - def HitTest(*args, **kwargs): return _calendar.CalendarCtrl_HitTest(*args, **kwargs) - def Enable(*args, **kwargs): return _calendar.CalendarCtrl_Enable(*args, **kwargs) - def Show(*args, **kwargs): return _calendar.CalendarCtrl_Show(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> bool""" + return _calendar.CalendarCtrl_Create(*args, **kwargs) + + def SetDate(*args, **kwargs): + """SetDate(DateTime date)""" + return _calendar.CalendarCtrl_SetDate(*args, **kwargs) + + def GetDate(*args, **kwargs): + """GetDate() -> DateTime""" + return _calendar.CalendarCtrl_GetDate(*args, **kwargs) + + def SetLowerDateLimit(*args, **kwargs): + """SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs) + + def GetLowerDateLimit(*args, **kwargs): + """GetLowerDateLimit() -> DateTime""" + return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs) + + def SetUpperDateLimit(*args, **kwargs): + """SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs) + + def GetUpperDateLimit(*args, **kwargs): + """GetUpperDateLimit() -> DateTime""" + return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs) + + def SetDateRange(*args, **kwargs): + """SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool""" + return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs) + + def EnableYearChange(*args, **kwargs): + """EnableYearChange(bool enable=True)""" + return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs) + + def EnableMonthChange(*args, **kwargs): + """EnableMonthChange(bool enable=True)""" + return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs) + + def EnableHolidayDisplay(*args, **kwargs): + """EnableHolidayDisplay(bool display=True)""" + return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs) + + def SetHeaderColours(*args, **kwargs): + """SetHeaderColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs) + + def GetHeaderColourFg(*args, **kwargs): + """GetHeaderColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs) + + def GetHeaderColourBg(*args, **kwargs): + """GetHeaderColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs) + + def SetHighlightColours(*args, **kwargs): + """SetHighlightColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs) + + def GetHighlightColourFg(*args, **kwargs): + """GetHighlightColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs) + + def GetHighlightColourBg(*args, **kwargs): + """GetHighlightColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs) + + def SetHolidayColours(*args, **kwargs): + """SetHolidayColours(wxColour colFg, wxColour colBg)""" + return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs) + + def GetHolidayColourFg(*args, **kwargs): + """GetHolidayColourFg() -> wxColour""" + return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs) + + def GetHolidayColourBg(*args, **kwargs): + """GetHolidayColourBg() -> wxColour""" + return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(size_t day) -> CalendarDateAttr""" + return _calendar.CalendarCtrl_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(size_t day, CalendarDateAttr attr)""" + return _calendar.CalendarCtrl_SetAttr(*args, **kwargs) + + def SetHoliday(*args, **kwargs): + """SetHoliday(size_t day)""" + return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs) + + def ResetAttr(*args, **kwargs): + """ResetAttr(size_t day)""" + return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pos, DateTime date=None, wxDateTime::WeekDay wd=None) -> wxCalendarHitTestResult""" + return _calendar.CalendarCtrl_HitTest(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True) -> bool""" + return _calendar.CalendarCtrl_Enable(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show=True) -> bool""" + return _calendar.CalendarCtrl_Show(*args, **kwargs) + class CalendarCtrlPtr(CalendarCtrl): def __init__(self, this): @@ -136,6 +290,7 @@ class CalendarCtrlPtr(CalendarCtrl): _calendar.CalendarCtrl_swigregister(CalendarCtrlPtr) def PreCalendarCtrl(*args, **kwargs): + """PreCalendarCtrl() -> CalendarCtrl""" val = _calendar.new_PreCalendarCtrl(*args, **kwargs) val.thisown = 1 return val diff --git a/wxPython/src/msw/calendar_wrap.cpp b/wxPython/src/msw/calendar_wrap.cpp index 6e293f162a..d5287c26e2 100644 --- a/wxPython/src/msw/calendar_wrap.cpp +++ b/wxPython/src/msw/calendar_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -913,7 +907,7 @@ static PyObject * CalendarEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -926,7 +920,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject wxCalendarCtrl *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -960,7 +954,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1011,7 +1005,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxDateTime const &arg4_defvalue = wxDefaultDateTime ; wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -1024,7 +1018,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1060,7 +1054,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1313,7 +1307,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *self, PyObject *args, static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1343,7 +1337,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *a static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1373,7 +1367,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject * static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1849,7 +1843,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -1880,7 +1874,7 @@ static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_CalendarCtrl_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; diff --git a/wxPython/src/msw/controls.py b/wxPython/src/msw/controls.py index 333fe3c82d..28796b0332 100644 --- a/wxPython/src/msw/controls.py +++ b/wxPython/src/msw/controls.py @@ -14,19 +14,44 @@ BU_BOTTOM = _controls.BU_BOTTOM BU_EXACTFIT = _controls.BU_EXACTFIT BU_AUTODRAW = _controls.BU_AUTODRAW class Button(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> Button""" newobj = _controls.new_Button(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Button_Create(*args, **kwargs) - def SetDefault(*args, **kwargs): return _controls.Button_SetDefault(*args, **kwargs) - def SetImageLabel(*args, **kwargs): return _controls.Button_SetImageLabel(*args, **kwargs) - def SetImageMargins(*args, **kwargs): return _controls.Button_SetImageMargins(*args, **kwargs) - GetDefaultSize = staticmethod(_controls.Button_GetDefaultSize) - def __repr__(self): - return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool""" + return _controls.Button_Create(*args, **kwargs) + + def SetDefault(*args, **kwargs): + """SetDefault()""" + return _controls.Button_SetDefault(*args, **kwargs) + + def SetImageLabel(*args, **kwargs): + """SetImageLabel(wxBitmap bitmap)""" + return _controls.Button_SetImageLabel(*args, **kwargs) + + def SetImageMargins(*args, **kwargs): + """SetImageMargins(int x, int y)""" + return _controls.Button_SetImageMargins(*args, **kwargs) + + def GetDefaultSize(*args, **kwargs): + """Button.GetDefaultSize() -> Size""" + return _controls.Button_GetDefaultSize(*args, **kwargs) + + GetDefaultSize = staticmethod(GetDefaultSize) class ButtonPtr(Button): def __init__(self, this): @@ -36,33 +61,81 @@ class ButtonPtr(Button): _controls.Button_swigregister(ButtonPtr) def PreButton(*args, **kwargs): + """PreButton() -> Button""" val = _controls.new_PreButton(*args, **kwargs) val.thisown = 1 return val -Button_GetDefaultSize = _controls.Button_GetDefaultSize +def Button_GetDefaultSize(*args, **kwargs): + """Button_GetDefaultSize() -> Size""" + return _controls.Button_GetDefaultSize(*args, **kwargs) class BitmapButton(Button): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> BitmapButton""" newobj = _controls.new_BitmapButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.BitmapButton_Create(*args, **kwargs) - def GetBitmapLabel(*args, **kwargs): return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) - def GetBitmapDisabled(*args, **kwargs): return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) - def GetBitmapFocus(*args, **kwargs): return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) - def GetBitmapSelected(*args, **kwargs): return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) - def SetBitmapDisabled(*args, **kwargs): return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) - def SetBitmapFocus(*args, **kwargs): return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) - def SetBitmapSelected(*args, **kwargs): return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) - def SetBitmapLabel(*args, **kwargs): return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) - def SetMargins(*args, **kwargs): return _controls.BitmapButton_SetMargins(*args, **kwargs) - def GetMarginX(*args, **kwargs): return _controls.BitmapButton_GetMarginX(*args, **kwargs) - def GetMarginY(*args, **kwargs): return _controls.BitmapButton_GetMarginY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool""" + return _controls.BitmapButton_Create(*args, **kwargs) + + def GetBitmapLabel(*args, **kwargs): + """GetBitmapLabel() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) + + def GetBitmapDisabled(*args, **kwargs): + """GetBitmapDisabled() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) + + def GetBitmapFocus(*args, **kwargs): + """GetBitmapFocus() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) + + def GetBitmapSelected(*args, **kwargs): + """GetBitmapSelected() -> wxBitmap""" + return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) + + def SetBitmapDisabled(*args, **kwargs): + """SetBitmapDisabled(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) + + def SetBitmapFocus(*args, **kwargs): + """SetBitmapFocus(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) + + def SetBitmapSelected(*args, **kwargs): + """SetBitmapSelected(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) + + def SetBitmapLabel(*args, **kwargs): + """SetBitmapLabel(wxBitmap bitmap)""" + return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(int x, int y)""" + return _controls.BitmapButton_SetMargins(*args, **kwargs) + + def GetMarginX(*args, **kwargs): + """GetMarginX() -> int""" + return _controls.BitmapButton_GetMarginX(*args, **kwargs) + + def GetMarginY(*args, **kwargs): + """GetMarginY() -> int""" + return _controls.BitmapButton_GetMarginY(*args, **kwargs) + class BitmapButtonPtr(BitmapButton): def __init__(self, this): @@ -72,6 +145,7 @@ class BitmapButtonPtr(BitmapButton): _controls.BitmapButton_swigregister(BitmapButtonPtr) def PreBitmapButton(*args, **kwargs): + """PreBitmapButton() -> BitmapButton""" val = _controls.new_PreBitmapButton(*args, **kwargs) val.thisown = 1 return val @@ -85,22 +159,55 @@ CHK_UNCHECKED = _controls.CHK_UNCHECKED CHK_CHECKED = _controls.CHK_CHECKED CHK_UNDETERMINED = _controls.CHK_UNDETERMINED class CheckBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> CheckBox""" newobj = _controls.new_CheckBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.CheckBox_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.CheckBox_GetValue(*args, **kwargs) - def IsChecked(*args, **kwargs): return _controls.CheckBox_IsChecked(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.CheckBox_SetValue(*args, **kwargs) - def Get3StateValue(*args, **kwargs): return _controls.CheckBox_Get3StateValue(*args, **kwargs) - def Set3StateValue(*args, **kwargs): return _controls.CheckBox_Set3StateValue(*args, **kwargs) - def Is3State(*args, **kwargs): return _controls.CheckBox_Is3State(*args, **kwargs) - def Is3rdStateAllowedForUser(*args, **kwargs): return _controls.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> bool""" + return _controls.CheckBox_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> bool""" + return _controls.CheckBox_GetValue(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _controls.CheckBox_IsChecked(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(bool state)""" + return _controls.CheckBox_SetValue(*args, **kwargs) + + def Get3StateValue(*args, **kwargs): + """Get3StateValue() -> wxCheckBoxState""" + return _controls.CheckBox_Get3StateValue(*args, **kwargs) + + def Set3StateValue(*args, **kwargs): + """Set3StateValue(wxCheckBoxState state)""" + return _controls.CheckBox_Set3StateValue(*args, **kwargs) + + def Is3State(*args, **kwargs): + """Is3State() -> bool""" + return _controls.CheckBox_Is3State(*args, **kwargs) + + def Is3rdStateAllowedForUser(*args, **kwargs): + """Is3rdStateAllowedForUser() -> bool""" + return _controls.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs) + class CheckBoxPtr(CheckBox): def __init__(self, this): @@ -110,6 +217,7 @@ class CheckBoxPtr(CheckBox): _controls.CheckBox_swigregister(CheckBoxPtr) def PreCheckBox(*args, **kwargs): + """PreCheckBox() -> CheckBox""" val = _controls.new_PreCheckBox(*args, **kwargs) val.thisown = 1 return val @@ -117,20 +225,47 @@ def PreCheckBox(*args, **kwargs): #--------------------------------------------------------------------------- class Choice(core.ControlWithItems): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> Choice""" newobj = _controls.new_Choice(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Choice_Create(*args, **kwargs) - def GetColumns(*args, **kwargs): return _controls.Choice_GetColumns(*args, **kwargs) - def SetColumns(*args, **kwargs): return _controls.Choice_SetColumns(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.Choice_SetSelection(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.Choice_SetStringSelection(*args, **kwargs) - def SetString(*args, **kwargs): return _controls.Choice_SetString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> bool""" + return _controls.Choice_Create(*args, **kwargs) + + def GetColumns(*args, **kwargs): + """GetColumns() -> int""" + return _controls.Choice_GetColumns(*args, **kwargs) + + def SetColumns(*args, **kwargs): + """SetColumns(int n=1)""" + return _controls.Choice_SetColumns(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n)""" + return _controls.Choice_SetSelection(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString string)""" + return _controls.Choice_SetStringSelection(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString s)""" + return _controls.Choice_SetString(*args, **kwargs) + class ChoicePtr(Choice): def __init__(self, this): @@ -140,6 +275,7 @@ class ChoicePtr(Choice): _controls.Choice_swigregister(ChoicePtr) def PreChoice(*args, **kwargs): + """PreChoice() -> Choice""" val = _controls.new_PreChoice(*args, **kwargs) val.thisown = 1 return val @@ -147,28 +283,81 @@ def PreChoice(*args, **kwargs): #--------------------------------------------------------------------------- class ComboBox(Choice): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> ComboBox""" newobj = _controls.new_ComboBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ComboBox_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.ComboBox_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.ComboBox_SetValue(*args, **kwargs) - def Copy(*args, **kwargs): return _controls.ComboBox_Copy(*args, **kwargs) - def Cut(*args, **kwargs): return _controls.ComboBox_Cut(*args, **kwargs) - def Paste(*args, **kwargs): return _controls.ComboBox_Paste(*args, **kwargs) - def SetInsertionPoint(*args, **kwargs): return _controls.ComboBox_SetInsertionPoint(*args, **kwargs) - def GetInsertionPoint(*args, **kwargs): return _controls.ComboBox_GetInsertionPoint(*args, **kwargs) - def GetLastPosition(*args, **kwargs): return _controls.ComboBox_GetLastPosition(*args, **kwargs) - def Replace(*args, **kwargs): return _controls.ComboBox_Replace(*args, **kwargs) - def SetMark(*args, **kwargs): return _controls.ComboBox_SetMark(*args, **kwargs) - def SetEditable(*args, **kwargs): return _controls.ComboBox_SetEditable(*args, **kwargs) - def SetInsertionPointEnd(*args, **kwargs): return _controls.ComboBox_SetInsertionPointEnd(*args, **kwargs) - def Remove(*args, **kwargs): return _controls.ComboBox_Remove(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> bool""" + return _controls.ComboBox_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _controls.ComboBox_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _controls.ComboBox_SetValue(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy()""" + return _controls.ComboBox_Copy(*args, **kwargs) + + def Cut(*args, **kwargs): + """Cut()""" + return _controls.ComboBox_Cut(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste()""" + return _controls.ComboBox_Paste(*args, **kwargs) + + def SetInsertionPoint(*args, **kwargs): + """SetInsertionPoint(long pos)""" + return _controls.ComboBox_SetInsertionPoint(*args, **kwargs) + + def GetInsertionPoint(*args, **kwargs): + """GetInsertionPoint() -> long""" + return _controls.ComboBox_GetInsertionPoint(*args, **kwargs) + + def GetLastPosition(*args, **kwargs): + """GetLastPosition() -> long""" + return _controls.ComboBox_GetLastPosition(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(long from, long to, wxString value)""" + return _controls.ComboBox_Replace(*args, **kwargs) + + def SetMark(*args, **kwargs): + """SetMark(long from, long to)""" + return _controls.ComboBox_SetMark(*args, **kwargs) + + def SetEditable(*args, **kwargs): + """SetEditable(bool editable)""" + return _controls.ComboBox_SetEditable(*args, **kwargs) + + def SetInsertionPointEnd(*args, **kwargs): + """SetInsertionPointEnd()""" + return _controls.ComboBox_SetInsertionPointEnd(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(long from, long to)""" + return _controls.ComboBox_Remove(*args, **kwargs) + class ComboBoxPtr(ComboBox): def __init__(self, this): @@ -178,6 +367,7 @@ class ComboBoxPtr(ComboBox): _controls.ComboBox_swigregister(ComboBoxPtr) def PreComboBox(*args, **kwargs): + """PreComboBox() -> ComboBox""" val = _controls.new_PreComboBox(*args, **kwargs) val.thisown = 1 return val @@ -189,24 +379,63 @@ GA_VERTICAL = _controls.GA_VERTICAL GA_SMOOTH = _controls.GA_SMOOTH GA_PROGRESSBAR = _controls.GA_PROGRESSBAR class Gauge(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> Gauge""" newobj = _controls.new_Gauge(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Gauge_Create(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.Gauge_SetRange(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.Gauge_GetRange(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.Gauge_SetValue(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.Gauge_GetValue(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.Gauge_IsVertical(*args, **kwargs) - def SetShadowWidth(*args, **kwargs): return _controls.Gauge_SetShadowWidth(*args, **kwargs) - def GetShadowWidth(*args, **kwargs): return _controls.Gauge_GetShadowWidth(*args, **kwargs) - def SetBezelFace(*args, **kwargs): return _controls.Gauge_SetBezelFace(*args, **kwargs) - def GetBezelFace(*args, **kwargs): return _controls.Gauge_GetBezelFace(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> bool""" + return _controls.Gauge_Create(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int range)""" + return _controls.Gauge_SetRange(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange() -> int""" + return _controls.Gauge_GetRange(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int pos)""" + return _controls.Gauge_SetValue(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.Gauge_GetValue(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.Gauge_IsVertical(*args, **kwargs) + + def SetShadowWidth(*args, **kwargs): + """SetShadowWidth(int w)""" + return _controls.Gauge_SetShadowWidth(*args, **kwargs) + + def GetShadowWidth(*args, **kwargs): + """GetShadowWidth() -> int""" + return _controls.Gauge_GetShadowWidth(*args, **kwargs) + + def SetBezelFace(*args, **kwargs): + """SetBezelFace(int w)""" + return _controls.Gauge_SetBezelFace(*args, **kwargs) + + def GetBezelFace(*args, **kwargs): + """GetBezelFace() -> int""" + return _controls.Gauge_GetBezelFace(*args, **kwargs) + class GaugePtr(Gauge): def __init__(self, this): @@ -216,6 +445,7 @@ class GaugePtr(Gauge): _controls.Gauge_swigregister(GaugePtr) def PreGauge(*args, **kwargs): + """PreGauge() -> Gauge""" val = _controls.new_PreGauge(*args, **kwargs) val.thisown = 1 return val @@ -223,15 +453,25 @@ def PreGauge(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> StaticBox""" newobj = _controls.new_StaticBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticBox_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> bool""" + return _controls.StaticBox_Create(*args, **kwargs) + class StaticBoxPtr(StaticBox): def __init__(self, this): @@ -241,6 +481,7 @@ class StaticBoxPtr(StaticBox): _controls.StaticBox_swigregister(StaticBoxPtr) def PreStaticBox(*args, **kwargs): + """PreStaticBox() -> StaticBox""" val = _controls.new_PreStaticBox(*args, **kwargs) val.thisown = 1 return val @@ -248,17 +489,34 @@ def PreStaticBox(*args, **kwargs): #--------------------------------------------------------------------------- class StaticLine(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> StaticLine""" newobj = _controls.new_StaticLine(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticLine_Create(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.StaticLine_IsVertical(*args, **kwargs) - GetDefaultSize = staticmethod(_controls.StaticLine_GetDefaultSize) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> bool""" + return _controls.StaticLine_Create(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.StaticLine_IsVertical(*args, **kwargs) + + def GetDefaultSize(*args, **kwargs): + """StaticLine.GetDefaultSize() -> int""" + return _controls.StaticLine_GetDefaultSize(*args, **kwargs) + + GetDefaultSize = staticmethod(GetDefaultSize) class StaticLinePtr(StaticLine): def __init__(self, this): @@ -268,24 +526,37 @@ class StaticLinePtr(StaticLine): _controls.StaticLine_swigregister(StaticLinePtr) def PreStaticLine(*args, **kwargs): + """PreStaticLine() -> StaticLine""" val = _controls.new_PreStaticLine(*args, **kwargs) val.thisown = 1 return val -StaticLine_GetDefaultSize = _controls.StaticLine_GetDefaultSize +def StaticLine_GetDefaultSize(*args, **kwargs): + """StaticLine_GetDefaultSize() -> int""" + return _controls.StaticLine_GetDefaultSize(*args, **kwargs) #--------------------------------------------------------------------------- class StaticText(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> StaticText""" newobj = _controls.new_StaticText(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.StaticText_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> bool""" + return _controls.StaticText_Create(*args, **kwargs) + class StaticTextPtr(StaticText): def __init__(self, this): @@ -295,6 +566,7 @@ class StaticTextPtr(StaticText): _controls.StaticText_swigregister(StaticTextPtr) def PreStaticText(*args, **kwargs): + """PreStaticText() -> StaticText""" val = _controls.new_PreStaticText(*args, **kwargs) val.thisown = 1 return val @@ -302,17 +574,35 @@ def PreStaticText(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBitmap(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap""" newobj = _controls.new_StaticBitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Create(*args, **kwargs): return _controls.StaticBitmap_Create(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _controls.StaticBitmap_GetBitmap(*args, **kwargs) - def SetBitmap(*args, **kwargs): return _controls.StaticBitmap_SetBitmap(*args, **kwargs) - def SetIcon(*args, **kwargs): return _controls.StaticBitmap_SetIcon(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> bool""" + return _controls.StaticBitmap_Create(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _controls.StaticBitmap_GetBitmap(*args, **kwargs) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _controls.StaticBitmap_SetBitmap(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxIcon icon)""" + return _controls.StaticBitmap_SetIcon(*args, **kwargs) + class StaticBitmapPtr(StaticBitmap): def __init__(self, this): @@ -322,6 +612,7 @@ class StaticBitmapPtr(StaticBitmap): _controls.StaticBitmap_swigregister(StaticBitmapPtr) def PreStaticBitmap(*args, **kwargs): + """PreStaticBitmap() -> StaticBitmap""" val = _controls.new_PreStaticBitmap(*args, **kwargs) val.thisown = 1 return val @@ -329,30 +620,87 @@ def PreStaticBitmap(*args, **kwargs): #--------------------------------------------------------------------------- class ListBox(core.ControlWithItems): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> ListBox""" newobj = _controls.new_ListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ListBox_Create(*args, **kwargs) - def Insert(*args, **kwargs): return _controls.ListBox_Insert(*args, **kwargs) - def InsertItems(*args, **kwargs): return _controls.ListBox_InsertItems(*args, **kwargs) - def Set(*args, **kwargs): return _controls.ListBox_Set(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.ListBox_IsSelected(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.ListBox_SetSelection(*args, **kwargs) - def Select(*args, **kwargs): return _controls.ListBox_Select(*args, **kwargs) - def Deselect(*args, **kwargs): return _controls.ListBox_Deselect(*args, **kwargs) - def DeselectAll(*args, **kwargs): return _controls.ListBox_DeselectAll(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.ListBox_SetStringSelection(*args, **kwargs) - def GetSelections(*args, **kwargs): return _controls.ListBox_GetSelections(*args, **kwargs) - def SetFirstItem(*args, **kwargs): return _controls.ListBox_SetFirstItem(*args, **kwargs) - def SetFirstItemStr(*args, **kwargs): return _controls.ListBox_SetFirstItemStr(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.ListBox_EnsureVisible(*args, **kwargs) - def AppendAndEnsureVisible(*args, **kwargs): return _controls.ListBox_AppendAndEnsureVisible(*args, **kwargs) - def IsSorted(*args, **kwargs): return _controls.ListBox_IsSorted(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool""" + return _controls.ListBox_Create(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(wxString item, int pos, PyObject clientData=None)""" + return _controls.ListBox_Insert(*args, **kwargs) + + def InsertItems(*args, **kwargs): + """InsertItems(wxArrayString items, int pos)""" + return _controls.ListBox_InsertItems(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(wxArrayString items)""" + return _controls.ListBox_Set(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(int n) -> bool""" + return _controls.ListBox_IsSelected(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n, bool select=True)""" + return _controls.ListBox_SetSelection(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(int n)""" + return _controls.ListBox_Select(*args, **kwargs) + + def Deselect(*args, **kwargs): + """Deselect(int n)""" + return _controls.ListBox_Deselect(*args, **kwargs) + + def DeselectAll(*args, **kwargs): + """DeselectAll(int itemToLeaveSelected=-1)""" + return _controls.ListBox_DeselectAll(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString s, bool select=True) -> bool""" + return _controls.ListBox_SetStringSelection(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _controls.ListBox_GetSelections(*args, **kwargs) + + def SetFirstItem(*args, **kwargs): + """SetFirstItem(int n)""" + return _controls.ListBox_SetFirstItem(*args, **kwargs) + + def SetFirstItemStr(*args, **kwargs): + """SetFirstItemStr(wxString s)""" + return _controls.ListBox_SetFirstItemStr(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(int n)""" + return _controls.ListBox_EnsureVisible(*args, **kwargs) + + def AppendAndEnsureVisible(*args, **kwargs): + """AppendAndEnsureVisible(wxString s)""" + return _controls.ListBox_AppendAndEnsureVisible(*args, **kwargs) + + def IsSorted(*args, **kwargs): + """IsSorted() -> bool""" + return _controls.ListBox_IsSorted(*args, **kwargs) + class ListBoxPtr(ListBox): def __init__(self, this): @@ -362,6 +710,7 @@ class ListBoxPtr(ListBox): _controls.ListBox_swigregister(ListBoxPtr) def PreListBox(*args, **kwargs): + """PreListBox() -> ListBox""" val = _controls.new_PreListBox(*args, **kwargs) val.thisown = 1 return val @@ -369,19 +718,45 @@ def PreListBox(*args, **kwargs): #--------------------------------------------------------------------------- class CheckListBox(ListBox): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> CheckListBox""" newobj = _controls.new_CheckListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Create(*args, **kwargs): return _controls.CheckListBox_Create(*args, **kwargs) - def IsChecked(*args, **kwargs): return _controls.CheckListBox_IsChecked(*args, **kwargs) - def Check(*args, **kwargs): return _controls.CheckListBox_Check(*args, **kwargs) - def GetItemHeight(*args, **kwargs): return _controls.CheckListBox_GetItemHeight(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.CheckListBox_HitTest(*args, **kwargs) - def HitTestXY(*args, **kwargs): return _controls.CheckListBox_HitTestXY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool""" + return _controls.CheckListBox_Create(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked(int index) -> bool""" + return _controls.CheckListBox_IsChecked(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(int index, int check=True)""" + return _controls.CheckListBox_Check(*args, **kwargs) + + def GetItemHeight(*args, **kwargs): + """GetItemHeight() -> int""" + return _controls.CheckListBox_GetItemHeight(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> int""" + return _controls.CheckListBox_HitTest(*args, **kwargs) + + def HitTestXY(*args, **kwargs): + """HitTestXY(int x, int y) -> int""" + return _controls.CheckListBox_HitTestXY(*args, **kwargs) + class CheckListBoxPtr(CheckListBox): def __init__(self, this): @@ -391,6 +766,7 @@ class CheckListBoxPtr(CheckListBox): _controls.CheckListBox_swigregister(CheckListBoxPtr) def PreCheckListBox(*args, **kwargs): + """PreCheckListBox() -> CheckListBox""" val = _controls.new_PreCheckListBox(*args, **kwargs) val.thisown = 1 return val @@ -434,40 +810,126 @@ TEXT_ATTR_LEFT_INDENT = _controls.TEXT_ATTR_LEFT_INDENT TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS class TextAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): + """__init__() -> TextAttr +__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, + wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr""" newobj = _controls.new_TextAttr(*args) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Init(*args, **kwargs): return _controls.TextAttr_Init(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.TextAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.TextAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.TextAttr_SetFont(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _controls.TextAttr_SetAlignment(*args, **kwargs) - def SetTabs(*args, **kwargs): return _controls.TextAttr_SetTabs(*args, **kwargs) - def SetLeftIndent(*args, **kwargs): return _controls.TextAttr_SetLeftIndent(*args, **kwargs) - def SetRightIndent(*args, **kwargs): return _controls.TextAttr_SetRightIndent(*args, **kwargs) - def SetFlags(*args, **kwargs): return _controls.TextAttr_SetFlags(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _controls.TextAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _controls.TextAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _controls.TextAttr_HasFont(*args, **kwargs) - def HasAlignment(*args, **kwargs): return _controls.TextAttr_HasAlignment(*args, **kwargs) - def HasTabs(*args, **kwargs): return _controls.TextAttr_HasTabs(*args, **kwargs) - def HasLeftIndent(*args, **kwargs): return _controls.TextAttr_HasLeftIndent(*args, **kwargs) - def HasRightIndent(*args, **kwargs): return _controls.TextAttr_HasRightIndent(*args, **kwargs) - def HasFlag(*args, **kwargs): return _controls.TextAttr_HasFlag(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.TextAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.TextAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.TextAttr_GetFont(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _controls.TextAttr_GetAlignment(*args, **kwargs) - def GetTabs(*args, **kwargs): return _controls.TextAttr_GetTabs(*args, **kwargs) - def GetLeftIndent(*args, **kwargs): return _controls.TextAttr_GetLeftIndent(*args, **kwargs) - def GetRightIndent(*args, **kwargs): return _controls.TextAttr_GetRightIndent(*args, **kwargs) - def GetFlags(*args, **kwargs): return _controls.TextAttr_GetFlags(*args, **kwargs) - def IsDefault(*args, **kwargs): return _controls.TextAttr_IsDefault(*args, **kwargs) - Combine = staticmethod(_controls.TextAttr_Combine) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Init(*args, **kwargs): + """Init()""" + return _controls.TextAttr_Init(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.TextAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.TextAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font, long flags=TEXT_ATTR_FONT)""" + return _controls.TextAttr_SetFont(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxTextAttrAlignment alignment)""" + return _controls.TextAttr_SetAlignment(*args, **kwargs) + + def SetTabs(*args, **kwargs): + """SetTabs(wxArrayInt tabs)""" + return _controls.TextAttr_SetTabs(*args, **kwargs) + + def SetLeftIndent(*args, **kwargs): + """SetLeftIndent(int indent)""" + return _controls.TextAttr_SetLeftIndent(*args, **kwargs) + + def SetRightIndent(*args, **kwargs): + """SetRightIndent(int indent)""" + return _controls.TextAttr_SetRightIndent(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(long flags)""" + return _controls.TextAttr_SetFlags(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _controls.TextAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _controls.TextAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _controls.TextAttr_HasFont(*args, **kwargs) + + def HasAlignment(*args, **kwargs): + """HasAlignment() -> bool""" + return _controls.TextAttr_HasAlignment(*args, **kwargs) + + def HasTabs(*args, **kwargs): + """HasTabs() -> bool""" + return _controls.TextAttr_HasTabs(*args, **kwargs) + + def HasLeftIndent(*args, **kwargs): + """HasLeftIndent() -> bool""" + return _controls.TextAttr_HasLeftIndent(*args, **kwargs) + + def HasRightIndent(*args, **kwargs): + """HasRightIndent() -> bool""" + return _controls.TextAttr_HasRightIndent(*args, **kwargs) + + def HasFlag(*args, **kwargs): + """HasFlag(long flag) -> bool""" + return _controls.TextAttr_HasFlag(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.TextAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.TextAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.TextAttr_GetFont(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxTextAttrAlignment""" + return _controls.TextAttr_GetAlignment(*args, **kwargs) + + def GetTabs(*args, **kwargs): + """GetTabs() -> wxArrayInt""" + return _controls.TextAttr_GetTabs(*args, **kwargs) + + def GetLeftIndent(*args, **kwargs): + """GetLeftIndent() -> long""" + return _controls.TextAttr_GetLeftIndent(*args, **kwargs) + + def GetRightIndent(*args, **kwargs): + """GetRightIndent() -> long""" + return _controls.TextAttr_GetRightIndent(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> long""" + return _controls.TextAttr_GetFlags(*args, **kwargs) + + def IsDefault(*args, **kwargs): + """IsDefault() -> bool""" + return _controls.TextAttr_IsDefault(*args, **kwargs) + + def Combine(*args, **kwargs): + """TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" + return _controls.TextAttr_Combine(*args, **kwargs) + + Combine = staticmethod(Combine) class TextAttrPtr(TextAttr): def __init__(self, this): @@ -476,69 +938,236 @@ class TextAttrPtr(TextAttr): self.__class__ = TextAttr _controls.TextAttr_swigregister(TextAttrPtr) -TextAttr_Combine = _controls.TextAttr_Combine +def TextAttr_Combine(*args, **kwargs): + """TextAttr_Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" + return _controls.TextAttr_Combine(*args, **kwargs) class TextCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> TextCtrl""" newobj = _controls.new_TextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.TextCtrl_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.TextCtrl_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.TextCtrl_SetValue(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.TextCtrl_GetRange(*args, **kwargs) - def GetLineLength(*args, **kwargs): return _controls.TextCtrl_GetLineLength(*args, **kwargs) - def GetLineText(*args, **kwargs): return _controls.TextCtrl_GetLineText(*args, **kwargs) - def GetNumberOfLines(*args, **kwargs): return _controls.TextCtrl_GetNumberOfLines(*args, **kwargs) - def IsModified(*args, **kwargs): return _controls.TextCtrl_IsModified(*args, **kwargs) - def IsEditable(*args, **kwargs): return _controls.TextCtrl_IsEditable(*args, **kwargs) - def IsSingleLine(*args, **kwargs): return _controls.TextCtrl_IsSingleLine(*args, **kwargs) - def IsMultiLine(*args, **kwargs): return _controls.TextCtrl_IsMultiLine(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.TextCtrl_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _controls.TextCtrl_GetStringSelection(*args, **kwargs) - def Clear(*args, **kwargs): return _controls.TextCtrl_Clear(*args, **kwargs) - def Replace(*args, **kwargs): return _controls.TextCtrl_Replace(*args, **kwargs) - def Remove(*args, **kwargs): return _controls.TextCtrl_Remove(*args, **kwargs) - def LoadFile(*args, **kwargs): return _controls.TextCtrl_LoadFile(*args, **kwargs) - def SaveFile(*args, **kwargs): return _controls.TextCtrl_SaveFile(*args, **kwargs) - def MarkDirty(*args, **kwargs): return _controls.TextCtrl_MarkDirty(*args, **kwargs) - def DiscardEdits(*args, **kwargs): return _controls.TextCtrl_DiscardEdits(*args, **kwargs) - def SetMaxLength(*args, **kwargs): return _controls.TextCtrl_SetMaxLength(*args, **kwargs) - def WriteText(*args, **kwargs): return _controls.TextCtrl_WriteText(*args, **kwargs) - def AppendText(*args, **kwargs): return _controls.TextCtrl_AppendText(*args, **kwargs) - def EmulateKeyPress(*args, **kwargs): return _controls.TextCtrl_EmulateKeyPress(*args, **kwargs) - def SetStyle(*args, **kwargs): return _controls.TextCtrl_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _controls.TextCtrl_GetStyle(*args, **kwargs) - def SetDefaultStyle(*args, **kwargs): return _controls.TextCtrl_SetDefaultStyle(*args, **kwargs) - def GetDefaultStyle(*args, **kwargs): return _controls.TextCtrl_GetDefaultStyle(*args, **kwargs) - def XYToPosition(*args, **kwargs): return _controls.TextCtrl_XYToPosition(*args, **kwargs) - def PositionToXY(*args, **kwargs): return _controls.TextCtrl_PositionToXY(*args, **kwargs) - def ShowPosition(*args, **kwargs): return _controls.TextCtrl_ShowPosition(*args, **kwargs) - def Copy(*args, **kwargs): return _controls.TextCtrl_Copy(*args, **kwargs) - def Cut(*args, **kwargs): return _controls.TextCtrl_Cut(*args, **kwargs) - def Paste(*args, **kwargs): return _controls.TextCtrl_Paste(*args, **kwargs) - def CanCopy(*args, **kwargs): return _controls.TextCtrl_CanCopy(*args, **kwargs) - def CanCut(*args, **kwargs): return _controls.TextCtrl_CanCut(*args, **kwargs) - def CanPaste(*args, **kwargs): return _controls.TextCtrl_CanPaste(*args, **kwargs) - def Undo(*args, **kwargs): return _controls.TextCtrl_Undo(*args, **kwargs) - def Redo(*args, **kwargs): return _controls.TextCtrl_Redo(*args, **kwargs) - def CanUndo(*args, **kwargs): return _controls.TextCtrl_CanUndo(*args, **kwargs) - def CanRedo(*args, **kwargs): return _controls.TextCtrl_CanRedo(*args, **kwargs) - def SetInsertionPoint(*args, **kwargs): return _controls.TextCtrl_SetInsertionPoint(*args, **kwargs) - def SetInsertionPointEnd(*args, **kwargs): return _controls.TextCtrl_SetInsertionPointEnd(*args, **kwargs) - def GetInsertionPoint(*args, **kwargs): return _controls.TextCtrl_GetInsertionPoint(*args, **kwargs) - def GetLastPosition(*args, **kwargs): return _controls.TextCtrl_GetLastPosition(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.TextCtrl_SetSelection(*args, **kwargs) - def SelectAll(*args, **kwargs): return _controls.TextCtrl_SelectAll(*args, **kwargs) - def SetEditable(*args, **kwargs): return _controls.TextCtrl_SetEditable(*args, **kwargs) - def ShowNativeCaret(*args, **kwargs): return _controls.TextCtrl_ShowNativeCaret(*args, **kwargs) - def HideNativeCaret(*args, **kwargs): return _controls.TextCtrl_HideNativeCaret(*args, **kwargs) - def write(*args, **kwargs): return _controls.TextCtrl_write(*args, **kwargs) - def GetString(*args, **kwargs): return _controls.TextCtrl_GetString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> bool""" + return _controls.TextCtrl_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _controls.TextCtrl_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _controls.TextCtrl_SetValue(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange(long from, long to) -> wxString""" + return _controls.TextCtrl_GetRange(*args, **kwargs) + + def GetLineLength(*args, **kwargs): + """GetLineLength(long lineNo) -> int""" + return _controls.TextCtrl_GetLineLength(*args, **kwargs) + + def GetLineText(*args, **kwargs): + """GetLineText(long lineNo) -> wxString""" + return _controls.TextCtrl_GetLineText(*args, **kwargs) + + def GetNumberOfLines(*args, **kwargs): + """GetNumberOfLines() -> int""" + return _controls.TextCtrl_GetNumberOfLines(*args, **kwargs) + + def IsModified(*args, **kwargs): + """IsModified() -> bool""" + return _controls.TextCtrl_IsModified(*args, **kwargs) + + def IsEditable(*args, **kwargs): + """IsEditable() -> bool""" + return _controls.TextCtrl_IsEditable(*args, **kwargs) + + def IsSingleLine(*args, **kwargs): + """IsSingleLine() -> bool""" + return _controls.TextCtrl_IsSingleLine(*args, **kwargs) + + def IsMultiLine(*args, **kwargs): + """IsMultiLine() -> bool""" + return _controls.TextCtrl_IsMultiLine(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection(long OUTPUT, long OUTPUT)""" + return _controls.TextCtrl_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _controls.TextCtrl_GetStringSelection(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _controls.TextCtrl_Clear(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(long from, long to, wxString value)""" + return _controls.TextCtrl_Replace(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(long from, long to)""" + return _controls.TextCtrl_Remove(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString file) -> bool""" + return _controls.TextCtrl_LoadFile(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString file=wxPyEmptyString) -> bool""" + return _controls.TextCtrl_SaveFile(*args, **kwargs) + + def MarkDirty(*args, **kwargs): + """MarkDirty()""" + return _controls.TextCtrl_MarkDirty(*args, **kwargs) + + def DiscardEdits(*args, **kwargs): + """DiscardEdits()""" + return _controls.TextCtrl_DiscardEdits(*args, **kwargs) + + def SetMaxLength(*args, **kwargs): + """SetMaxLength(unsigned long len)""" + return _controls.TextCtrl_SetMaxLength(*args, **kwargs) + + def WriteText(*args, **kwargs): + """WriteText(wxString text)""" + return _controls.TextCtrl_WriteText(*args, **kwargs) + + def AppendText(*args, **kwargs): + """AppendText(wxString text)""" + return _controls.TextCtrl_AppendText(*args, **kwargs) + + def EmulateKeyPress(*args, **kwargs): + """EmulateKeyPress(KeyEvent event) -> bool""" + return _controls.TextCtrl_EmulateKeyPress(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long start, long end, TextAttr style) -> bool""" + return _controls.TextCtrl_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle(long position, TextAttr style) -> bool""" + return _controls.TextCtrl_GetStyle(*args, **kwargs) + + def SetDefaultStyle(*args, **kwargs): + """SetDefaultStyle(TextAttr style) -> bool""" + return _controls.TextCtrl_SetDefaultStyle(*args, **kwargs) + + def GetDefaultStyle(*args, **kwargs): + """GetDefaultStyle() -> TextAttr""" + return _controls.TextCtrl_GetDefaultStyle(*args, **kwargs) + + def XYToPosition(*args, **kwargs): + """XYToPosition(long x, long y) -> long""" + return _controls.TextCtrl_XYToPosition(*args, **kwargs) + + def PositionToXY(*args, **kwargs): + """PositionToXY(long pos, long OUTPUT, long OUTPUT)""" + return _controls.TextCtrl_PositionToXY(*args, **kwargs) + + def ShowPosition(*args, **kwargs): + """ShowPosition(long pos)""" + return _controls.TextCtrl_ShowPosition(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy()""" + return _controls.TextCtrl_Copy(*args, **kwargs) + + def Cut(*args, **kwargs): + """Cut()""" + return _controls.TextCtrl_Cut(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste()""" + return _controls.TextCtrl_Paste(*args, **kwargs) + + def CanCopy(*args, **kwargs): + """CanCopy() -> bool""" + return _controls.TextCtrl_CanCopy(*args, **kwargs) + + def CanCut(*args, **kwargs): + """CanCut() -> bool""" + return _controls.TextCtrl_CanCut(*args, **kwargs) + + def CanPaste(*args, **kwargs): + """CanPaste() -> bool""" + return _controls.TextCtrl_CanPaste(*args, **kwargs) + + def Undo(*args, **kwargs): + """Undo()""" + return _controls.TextCtrl_Undo(*args, **kwargs) + + def Redo(*args, **kwargs): + """Redo()""" + return _controls.TextCtrl_Redo(*args, **kwargs) + + def CanUndo(*args, **kwargs): + """CanUndo() -> bool""" + return _controls.TextCtrl_CanUndo(*args, **kwargs) + + def CanRedo(*args, **kwargs): + """CanRedo() -> bool""" + return _controls.TextCtrl_CanRedo(*args, **kwargs) + + def SetInsertionPoint(*args, **kwargs): + """SetInsertionPoint(long pos)""" + return _controls.TextCtrl_SetInsertionPoint(*args, **kwargs) + + def SetInsertionPointEnd(*args, **kwargs): + """SetInsertionPointEnd()""" + return _controls.TextCtrl_SetInsertionPointEnd(*args, **kwargs) + + def GetInsertionPoint(*args, **kwargs): + """GetInsertionPoint() -> long""" + return _controls.TextCtrl_GetInsertionPoint(*args, **kwargs) + + def GetLastPosition(*args, **kwargs): + """GetLastPosition() -> long""" + return _controls.TextCtrl_GetLastPosition(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(long from, long to)""" + return _controls.TextCtrl_SetSelection(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll()""" + return _controls.TextCtrl_SelectAll(*args, **kwargs) + + def SetEditable(*args, **kwargs): + """SetEditable(bool editable)""" + return _controls.TextCtrl_SetEditable(*args, **kwargs) + + def ShowNativeCaret(*args, **kwargs): + """ShowNativeCaret(bool show=True) -> bool""" + return _controls.TextCtrl_ShowNativeCaret(*args, **kwargs) + + def HideNativeCaret(*args, **kwargs): + """HideNativeCaret() -> bool""" + return _controls.TextCtrl_HideNativeCaret(*args, **kwargs) + + def write(*args, **kwargs): + """write(wxString text)""" + return _controls.TextCtrl_write(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(long from, long to) -> wxString""" + return _controls.TextCtrl_GetString(*args, **kwargs) + class TextCtrlPtr(TextCtrl): def __init__(self, this): @@ -548,6 +1177,7 @@ class TextCtrlPtr(TextCtrl): _controls.TextCtrl_swigregister(TextCtrlPtr) def PreTextCtrl(*args, **kwargs): + """PreTextCtrl() -> TextCtrl""" val = _controls.new_PreTextCtrl(*args, **kwargs) val.thisown = 1 return val @@ -557,16 +1187,27 @@ wxEVT_COMMAND_TEXT_ENTER = _controls.wxEVT_COMMAND_TEXT_ENTER wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN class TextUrlEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent""" newobj = _controls.new_TextUrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMouseEvent(*args, **kwargs): return _controls.TextUrlEvent_GetMouseEvent(*args, **kwargs) - def GetURLStart(*args, **kwargs): return _controls.TextUrlEvent_GetURLStart(*args, **kwargs) - def GetURLEnd(*args, **kwargs): return _controls.TextUrlEvent_GetURLEnd(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMouseEvent(*args, **kwargs): + """GetMouseEvent() -> MouseEvent""" + return _controls.TextUrlEvent_GetMouseEvent(*args, **kwargs) + + def GetURLStart(*args, **kwargs): + """GetURLStart() -> long""" + return _controls.TextUrlEvent_GetURLStart(*args, **kwargs) + + def GetURLEnd(*args, **kwargs): + """GetURLEnd() -> long""" + return _controls.TextUrlEvent_GetURLEnd(*args, **kwargs) + class TextUrlEventPtr(TextUrlEvent): def __init__(self, this): @@ -583,23 +1224,55 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- class ScrollBar(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar""" newobj = _controls.new_ScrollBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ScrollBar_Create(*args, **kwargs) - def GetThumbPosition(*args, **kwargs): return _controls.ScrollBar_GetThumbPosition(*args, **kwargs) - def GetThumbSize(*args, **kwargs): return _controls.ScrollBar_GetThumbSize(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool""" + return _controls.ScrollBar_Create(*args, **kwargs) + + def GetThumbPosition(*args, **kwargs): + """GetThumbPosition() -> int""" + return _controls.ScrollBar_GetThumbPosition(*args, **kwargs) + + def GetThumbSize(*args, **kwargs): + """GetThumbSize() -> int""" + return _controls.ScrollBar_GetThumbSize(*args, **kwargs) + GetThumbLength = GetThumbSize - def GetPageSize(*args, **kwargs): return _controls.ScrollBar_GetPageSize(*args, **kwargs) - def GetRange(*args, **kwargs): return _controls.ScrollBar_GetRange(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.ScrollBar_IsVertical(*args, **kwargs) - def SetThumbPosition(*args, **kwargs): return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) - def SetScrollbar(*args, **kwargs): return _controls.ScrollBar_SetScrollbar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPageSize(*args, **kwargs): + """GetPageSize() -> int""" + return _controls.ScrollBar_GetPageSize(*args, **kwargs) + + def GetRange(*args, **kwargs): + """GetRange() -> int""" + return _controls.ScrollBar_GetRange(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.ScrollBar_IsVertical(*args, **kwargs) + + def SetThumbPosition(*args, **kwargs): + """SetThumbPosition(int viewStart)""" + return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) + + def SetScrollbar(*args, **kwargs): + """SetScrollbar(int position, int thumbSize, int range, int pageSize, + bool refresh=True)""" + return _controls.ScrollBar_SetScrollbar(*args, **kwargs) + class ScrollBarPtr(ScrollBar): def __init__(self, this): @@ -609,6 +1282,7 @@ class ScrollBarPtr(ScrollBar): _controls.ScrollBar_swigregister(ScrollBarPtr) def PreScrollBar(*args, **kwargs): + """PreScrollBar() -> ScrollBar""" val = _controls.new_PreScrollBar(*args, **kwargs) val.thisown = 1 return val @@ -620,23 +1294,57 @@ SP_VERTICAL = _controls.SP_VERTICAL SP_ARROW_KEYS = _controls.SP_ARROW_KEYS SP_WRAP = _controls.SP_WRAP class SpinButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton""" newobj = _controls.new_SpinButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.SpinButton_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.SpinButton_GetValue(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.SpinButton_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.SpinButton_GetMax(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.SpinButton_SetValue(*args, **kwargs) - def SetMin(*args, **kwargs): return _controls.SpinButton_SetMin(*args, **kwargs) - def SetMax(*args, **kwargs): return _controls.SpinButton_SetMax(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.SpinButton_SetRange(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.SpinButton_IsVertical(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> bool""" + return _controls.SpinButton_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.SpinButton_GetValue(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.SpinButton_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.SpinButton_GetMax(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int val)""" + return _controls.SpinButton_SetValue(*args, **kwargs) + + def SetMin(*args, **kwargs): + """SetMin(int minVal)""" + return _controls.SpinButton_SetMin(*args, **kwargs) + + def SetMax(*args, **kwargs): + """SetMax(int maxVal)""" + return _controls.SpinButton_SetMax(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minVal, int maxVal)""" + return _controls.SpinButton_SetRange(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.SpinButton_IsVertical(*args, **kwargs) + class SpinButtonPtr(SpinButton): def __init__(self, this): @@ -646,27 +1354,61 @@ class SpinButtonPtr(SpinButton): _controls.SpinButton_swigregister(SpinButtonPtr) def PreSpinButton(*args, **kwargs): + """PreSpinButton() -> SpinButton""" val = _controls.new_PreSpinButton(*args, **kwargs) val.thisown = 1 return val class SpinCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl""" newobj = _controls.new_SpinCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.SpinCtrl_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.SpinCtrl_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.SpinCtrl_SetValue(*args, **kwargs) - def SetValueString(*args, **kwargs): return _controls.SpinCtrl_SetValueString(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.SpinCtrl_SetRange(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.SpinCtrl_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.SpinCtrl_GetMax(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.SpinCtrl_SetSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool""" + return _controls.SpinCtrl_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.SpinCtrl_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int value)""" + return _controls.SpinCtrl_SetValue(*args, **kwargs) + + def SetValueString(*args, **kwargs): + """SetValueString(wxString text)""" + return _controls.SpinCtrl_SetValueString(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minVal, int maxVal)""" + return _controls.SpinCtrl_SetRange(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.SpinCtrl_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.SpinCtrl_GetMax(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(long from, long to)""" + return _controls.SpinCtrl_SetSelection(*args, **kwargs) + class SpinCtrlPtr(SpinCtrl): def __init__(self, this): @@ -676,6 +1418,7 @@ class SpinCtrlPtr(SpinCtrl): _controls.SpinCtrl_swigregister(SpinCtrlPtr) def PreSpinCtrl(*args, **kwargs): + """PreSpinCtrl() -> SpinCtrl""" val = _controls.new_PreSpinCtrl(*args, **kwargs) val.thisown = 1 return val @@ -686,30 +1429,83 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- class RadioBox(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> RadioBox""" newobj = _controls.new_RadioBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.RadioBox_Create(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.RadioBox_SetSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.RadioBox_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _controls.RadioBox_GetStringSelection(*args, **kwargs) - def SetStringSelection(*args, **kwargs): return _controls.RadioBox_SetStringSelection(*args, **kwargs) - def GetCount(*args, **kwargs): return _controls.RadioBox_GetCount(*args, **kwargs) - def FindString(*args, **kwargs): return _controls.RadioBox_FindString(*args, **kwargs) - def GetString(*args, **kwargs): return _controls.RadioBox_GetString(*args, **kwargs) - def SetString(*args, **kwargs): return _controls.RadioBox_SetString(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> bool""" + return _controls.RadioBox_Create(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int n)""" + return _controls.RadioBox_SetSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.RadioBox_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _controls.RadioBox_GetStringSelection(*args, **kwargs) + + def SetStringSelection(*args, **kwargs): + """SetStringSelection(wxString s) -> bool""" + return _controls.RadioBox_SetStringSelection(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _controls.RadioBox_GetCount(*args, **kwargs) + + def FindString(*args, **kwargs): + """FindString(wxString s) -> int""" + return _controls.RadioBox_FindString(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(int n) -> wxString""" + return _controls.RadioBox_GetString(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString label)""" + return _controls.RadioBox_SetString(*args, **kwargs) + GetItemLabel = GetString SetItemLabel = SetString - def EnableItem(*args, **kwargs): return _controls.RadioBox_EnableItem(*args, **kwargs) - def ShowItem(*args, **kwargs): return _controls.RadioBox_ShowItem(*args, **kwargs) - def GetColumnCount(*args, **kwargs): return _controls.RadioBox_GetColumnCount(*args, **kwargs) - def GetRowCount(*args, **kwargs): return _controls.RadioBox_GetRowCount(*args, **kwargs) - def GetNextItem(*args, **kwargs): return _controls.RadioBox_GetNextItem(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def EnableItem(*args, **kwargs): + """EnableItem(int n, bool enable=True)""" + return _controls.RadioBox_EnableItem(*args, **kwargs) + + def ShowItem(*args, **kwargs): + """ShowItem(int n, bool show=True)""" + return _controls.RadioBox_ShowItem(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount() -> int""" + return _controls.RadioBox_GetColumnCount(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount() -> int""" + return _controls.RadioBox_GetRowCount(*args, **kwargs) + + def GetNextItem(*args, **kwargs): + """GetNextItem(int item, wxDirection dir, long style) -> int""" + return _controls.RadioBox_GetNextItem(*args, **kwargs) + class RadioBoxPtr(RadioBox): def __init__(self, this): @@ -719,6 +1515,7 @@ class RadioBoxPtr(RadioBox): _controls.RadioBox_swigregister(RadioBoxPtr) def PreRadioBox(*args, **kwargs): + """PreRadioBox() -> RadioBox""" val = _controls.new_PreRadioBox(*args, **kwargs) val.thisown = 1 return val @@ -726,17 +1523,35 @@ def PreRadioBox(*args, **kwargs): #--------------------------------------------------------------------------- class RadioButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> RadioButton""" newobj = _controls.new_RadioButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.RadioButton_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.RadioButton_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.RadioButton_SetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> bool""" + return _controls.RadioButton_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> bool""" + return _controls.RadioButton_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(bool value)""" + return _controls.RadioButton_SetValue(*args, **kwargs) + class RadioButtonPtr(RadioButton): def __init__(self, this): @@ -746,6 +1561,7 @@ class RadioButtonPtr(RadioButton): _controls.RadioButton_swigregister(RadioButtonPtr) def PreRadioButton(*args, **kwargs): + """PreRadioButton() -> RadioButton""" val = _controls.new_PreRadioButton(*args, **kwargs) val.thisown = 1 return val @@ -753,36 +1569,111 @@ def PreRadioButton(*args, **kwargs): #--------------------------------------------------------------------------- class Slider(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> Slider""" newobj = _controls.new_Slider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Slider_Create(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.Slider_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.Slider_SetValue(*args, **kwargs) - def SetRange(*args, **kwargs): return _controls.Slider_SetRange(*args, **kwargs) - def GetMin(*args, **kwargs): return _controls.Slider_GetMin(*args, **kwargs) - def GetMax(*args, **kwargs): return _controls.Slider_GetMax(*args, **kwargs) - def SetMin(*args, **kwargs): return _controls.Slider_SetMin(*args, **kwargs) - def SetMax(*args, **kwargs): return _controls.Slider_SetMax(*args, **kwargs) - def SetLineSize(*args, **kwargs): return _controls.Slider_SetLineSize(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _controls.Slider_SetPageSize(*args, **kwargs) - def GetLineSize(*args, **kwargs): return _controls.Slider_GetLineSize(*args, **kwargs) - def GetPageSize(*args, **kwargs): return _controls.Slider_GetPageSize(*args, **kwargs) - def SetThumbLength(*args, **kwargs): return _controls.Slider_SetThumbLength(*args, **kwargs) - def GetThumbLength(*args, **kwargs): return _controls.Slider_GetThumbLength(*args, **kwargs) - def SetTickFreq(*args, **kwargs): return _controls.Slider_SetTickFreq(*args, **kwargs) - def GetTickFreq(*args, **kwargs): return _controls.Slider_GetTickFreq(*args, **kwargs) - def ClearTicks(*args, **kwargs): return _controls.Slider_ClearTicks(*args, **kwargs) - def SetTick(*args, **kwargs): return _controls.Slider_SetTick(*args, **kwargs) - def ClearSel(*args, **kwargs): return _controls.Slider_ClearSel(*args, **kwargs) - def GetSelEnd(*args, **kwargs): return _controls.Slider_GetSelEnd(*args, **kwargs) - def GetSelStart(*args, **kwargs): return _controls.Slider_GetSelStart(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.Slider_SetSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> bool""" + return _controls.Slider_Create(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _controls.Slider_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int value)""" + return _controls.Slider_SetValue(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int minValue, int maxValue)""" + return _controls.Slider_SetRange(*args, **kwargs) + + def GetMin(*args, **kwargs): + """GetMin() -> int""" + return _controls.Slider_GetMin(*args, **kwargs) + + def GetMax(*args, **kwargs): + """GetMax() -> int""" + return _controls.Slider_GetMax(*args, **kwargs) + + def SetMin(*args, **kwargs): + """SetMin(int minValue)""" + return _controls.Slider_SetMin(*args, **kwargs) + + def SetMax(*args, **kwargs): + """SetMax(int maxValue)""" + return _controls.Slider_SetMax(*args, **kwargs) + + def SetLineSize(*args, **kwargs): + """SetLineSize(int lineSize)""" + return _controls.Slider_SetLineSize(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(int pageSize)""" + return _controls.Slider_SetPageSize(*args, **kwargs) + + def GetLineSize(*args, **kwargs): + """GetLineSize() -> int""" + return _controls.Slider_GetLineSize(*args, **kwargs) + + def GetPageSize(*args, **kwargs): + """GetPageSize() -> int""" + return _controls.Slider_GetPageSize(*args, **kwargs) + + def SetThumbLength(*args, **kwargs): + """SetThumbLength(int lenPixels)""" + return _controls.Slider_SetThumbLength(*args, **kwargs) + + def GetThumbLength(*args, **kwargs): + """GetThumbLength() -> int""" + return _controls.Slider_GetThumbLength(*args, **kwargs) + + def SetTickFreq(*args, **kwargs): + """SetTickFreq(int n, int pos)""" + return _controls.Slider_SetTickFreq(*args, **kwargs) + + def GetTickFreq(*args, **kwargs): + """GetTickFreq() -> int""" + return _controls.Slider_GetTickFreq(*args, **kwargs) + + def ClearTicks(*args, **kwargs): + """ClearTicks()""" + return _controls.Slider_ClearTicks(*args, **kwargs) + + def SetTick(*args, **kwargs): + """SetTick(int tickPos)""" + return _controls.Slider_SetTick(*args, **kwargs) + + def ClearSel(*args, **kwargs): + """ClearSel()""" + return _controls.Slider_ClearSel(*args, **kwargs) + + def GetSelEnd(*args, **kwargs): + """GetSelEnd() -> int""" + return _controls.Slider_GetSelEnd(*args, **kwargs) + + def GetSelStart(*args, **kwargs): + """GetSelStart() -> int""" + return _controls.Slider_GetSelStart(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int min, int max)""" + return _controls.Slider_SetSelection(*args, **kwargs) + class SliderPtr(Slider): def __init__(self, this): @@ -792,6 +1683,7 @@ class SliderPtr(Slider): _controls.Slider_swigregister(SliderPtr) def PreSlider(*args, **kwargs): + """PreSlider() -> Slider""" val = _controls.new_PreSlider(*args, **kwargs) val.thisown = 1 return val @@ -802,18 +1694,39 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls.wxEVT_COMMAND_TOGGLEBUTTON_CLICKE EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) class ToggleButton(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> ToggleButton""" newobj = _controls.new_ToggleButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ToggleButton_Create(*args, **kwargs) - def SetValue(*args, **kwargs): return _controls.ToggleButton_SetValue(*args, **kwargs) - def GetValue(*args, **kwargs): return _controls.ToggleButton_GetValue(*args, **kwargs) - def SetLabel(*args, **kwargs): return _controls.ToggleButton_SetLabel(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> bool""" + return _controls.ToggleButton_Create(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(bool value)""" + return _controls.ToggleButton_SetValue(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> bool""" + return _controls.ToggleButton_GetValue(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _controls.ToggleButton_SetLabel(*args, **kwargs) + class ToggleButtonPtr(ToggleButton): def __init__(self, this): @@ -823,6 +1736,7 @@ class ToggleButtonPtr(ToggleButton): _controls.ToggleButton_swigregister(ToggleButtonPtr) def PreToggleButton(*args, **kwargs): + """PreToggleButton() -> ToggleButton""" val = _controls.new_PreToggleButton(*args, **kwargs) val.thisown = 1 return val @@ -830,31 +1744,89 @@ def PreToggleButton(*args, **kwargs): #--------------------------------------------------------------------------- class BookCtrl(core.Control): - def GetPageCount(*args, **kwargs): return _controls.BookCtrl_GetPageCount(*args, **kwargs) - def GetPage(*args, **kwargs): return _controls.BookCtrl_GetPage(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.BookCtrl_GetSelection(*args, **kwargs) - def SetPageText(*args, **kwargs): return _controls.BookCtrl_SetPageText(*args, **kwargs) - def GetPageText(*args, **kwargs): return _controls.BookCtrl_GetPageText(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.BookCtrl_SetImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): - val = _controls.BookCtrl_AssignImageList(*args, **kwargs) - args[1].thisown = 0 - return val - def GetImageList(*args, **kwargs): return _controls.BookCtrl_GetImageList(*args, **kwargs) - def GetPageImage(*args, **kwargs): return _controls.BookCtrl_GetPageImage(*args, **kwargs) - def SetPageImage(*args, **kwargs): return _controls.BookCtrl_SetPageImage(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _controls.BookCtrl_SetPageSize(*args, **kwargs) - def CalcSizeFromPage(*args, **kwargs): return _controls.BookCtrl_CalcSizeFromPage(*args, **kwargs) - def DeletePage(*args, **kwargs): return _controls.BookCtrl_DeletePage(*args, **kwargs) - def RemovePage(*args, **kwargs): return _controls.BookCtrl_RemovePage(*args, **kwargs) - def DeleteAllPages(*args, **kwargs): return _controls.BookCtrl_DeleteAllPages(*args, **kwargs) - def AddPage(*args, **kwargs): return _controls.BookCtrl_AddPage(*args, **kwargs) - def InsertPage(*args, **kwargs): return _controls.BookCtrl_InsertPage(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.BookCtrl_SetSelection(*args, **kwargs) - def AdvanceSelection(*args, **kwargs): return _controls.BookCtrl_AdvanceSelection(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPageCount(*args, **kwargs): + """GetPageCount() -> size_t""" + return _controls.BookCtrl_GetPageCount(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage(size_t n) -> Window""" + return _controls.BookCtrl_GetPage(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.BookCtrl_GetSelection(*args, **kwargs) + + def SetPageText(*args, **kwargs): + """SetPageText(size_t n, wxString strText) -> bool""" + return _controls.BookCtrl_SetPageText(*args, **kwargs) + + def GetPageText(*args, **kwargs): + """GetPageText(size_t n) -> wxString""" + return _controls.BookCtrl_GetPageText(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList)""" + return _controls.BookCtrl_SetImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList)""" + val = _controls.BookCtrl_AssignImageList(*args, **kwargs) + args[1].thisown = 0 + return val + + def GetImageList(*args, **kwargs): + """GetImageList() -> wxImageList""" + return _controls.BookCtrl_GetImageList(*args, **kwargs) + + def GetPageImage(*args, **kwargs): + """GetPageImage(size_t n) -> int""" + return _controls.BookCtrl_GetPageImage(*args, **kwargs) + + def SetPageImage(*args, **kwargs): + """SetPageImage(size_t n, int imageId) -> bool""" + return _controls.BookCtrl_SetPageImage(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(Size size)""" + return _controls.BookCtrl_SetPageSize(*args, **kwargs) + + def CalcSizeFromPage(*args, **kwargs): + """CalcSizeFromPage(Size sizePage) -> Size""" + return _controls.BookCtrl_CalcSizeFromPage(*args, **kwargs) + + def DeletePage(*args, **kwargs): + """DeletePage(size_t n) -> bool""" + return _controls.BookCtrl_DeletePage(*args, **kwargs) + + def RemovePage(*args, **kwargs): + """RemovePage(size_t n) -> bool""" + return _controls.BookCtrl_RemovePage(*args, **kwargs) + + def DeleteAllPages(*args, **kwargs): + """DeleteAllPages() -> bool""" + return _controls.BookCtrl_DeleteAllPages(*args, **kwargs) + + def AddPage(*args, **kwargs): + """AddPage(Window page, wxString text, bool select=False, int imageId=-1) -> bool""" + return _controls.BookCtrl_AddPage(*args, **kwargs) + + def InsertPage(*args, **kwargs): + """InsertPage(size_t n, Window page, wxString text, bool select=False, + int imageId=-1) -> bool""" + return _controls.BookCtrl_InsertPage(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(size_t n) -> int""" + return _controls.BookCtrl_SetSelection(*args, **kwargs) + + def AdvanceSelection(*args, **kwargs): + """AdvanceSelection(bool forward=True)""" + return _controls.BookCtrl_AdvanceSelection(*args, **kwargs) + class BookCtrlPtr(BookCtrl): def __init__(self, this): @@ -864,17 +1836,32 @@ class BookCtrlPtr(BookCtrl): _controls.BookCtrl_swigregister(BookCtrlPtr) class BookCtrlEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> BookCtrlEvent""" newobj = _controls.new_BookCtrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSelection(*args, **kwargs): return _controls.BookCtrlEvent_GetSelection(*args, **kwargs) - def SetSelection(*args, **kwargs): return _controls.BookCtrlEvent_SetSelection(*args, **kwargs) - def GetOldSelection(*args, **kwargs): return _controls.BookCtrlEvent_GetOldSelection(*args, **kwargs) - def SetOldSelection(*args, **kwargs): return _controls.BookCtrlEvent_SetOldSelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _controls.BookCtrlEvent_GetSelection(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int nSel)""" + return _controls.BookCtrlEvent_SetSelection(*args, **kwargs) + + def GetOldSelection(*args, **kwargs): + """GetOldSelection() -> int""" + return _controls.BookCtrlEvent_GetOldSelection(*args, **kwargs) + + def SetOldSelection(*args, **kwargs): + """SetOldSelection(int nOldSel)""" + return _controls.BookCtrlEvent_SetOldSelection(*args, **kwargs) + class BookCtrlEventPtr(BookCtrlEvent): def __init__(self, this): @@ -896,21 +1883,47 @@ NB_HITTEST_ONICON = _controls.NB_HITTEST_ONICON NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM class Notebook(BookCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook""" newobj = _controls.new_Notebook(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Notebook_Create(*args, **kwargs) - def GetRowCount(*args, **kwargs): return _controls.Notebook_GetRowCount(*args, **kwargs) - def SetPadding(*args, **kwargs): return _controls.Notebook_SetPadding(*args, **kwargs) - def SetTabSize(*args, **kwargs): return _controls.Notebook_SetTabSize(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.Notebook_HitTest(*args, **kwargs) - def CalcSizeFromPage(*args, **kwargs): return _controls.Notebook_CalcSizeFromPage(*args, **kwargs) - def ApplyThemeBackground(*args, **kwargs): return _controls.Notebook_ApplyThemeBackground(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool""" + return _controls.Notebook_Create(*args, **kwargs) + + def GetRowCount(*args, **kwargs): + """GetRowCount() -> int""" + return _controls.Notebook_GetRowCount(*args, **kwargs) + + def SetPadding(*args, **kwargs): + """SetPadding(Size padding)""" + return _controls.Notebook_SetPadding(*args, **kwargs) + + def SetTabSize(*args, **kwargs): + """SetTabSize(Size sz)""" + return _controls.Notebook_SetTabSize(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt, long OUTPUT) -> int""" + return _controls.Notebook_HitTest(*args, **kwargs) + + def CalcSizeFromPage(*args, **kwargs): + """CalcSizeFromPage(Size sizePage) -> Size""" + return _controls.Notebook_CalcSizeFromPage(*args, **kwargs) + + def ApplyThemeBackground(*args, **kwargs): + """ApplyThemeBackground(Window window, wxColour colour)""" + return _controls.Notebook_ApplyThemeBackground(*args, **kwargs) + class NotebookPtr(Notebook): def __init__(self, this): @@ -920,18 +1933,22 @@ class NotebookPtr(Notebook): _controls.Notebook_swigregister(NotebookPtr) def PreNotebook(*args, **kwargs): + """PreNotebook() -> Notebook""" val = _controls.new_PreNotebook(*args, **kwargs) val.thisown = 1 return val class NotebookEvent(BookCtrlEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> NotebookEvent""" newobj = _controls.new_NotebookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class NotebookEventPtr(NotebookEvent): def __init__(self, this): @@ -985,16 +2002,27 @@ LB_LEFT = _controls.LB_LEFT LB_RIGHT = _controls.LB_RIGHT LB_ALIGN_MASK = _controls.LB_ALIGN_MASK class Listbook(BookCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> Listbook""" newobj = _controls.new_Listbook(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.Listbook_Create(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.Listbook_IsVertical(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> bool""" + return _controls.Listbook_Create(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.Listbook_IsVertical(*args, **kwargs) + class ListbookPtr(Listbook): def __init__(self, this): @@ -1004,18 +2032,22 @@ class ListbookPtr(Listbook): _controls.Listbook_swigregister(ListbookPtr) def PreListbook(*args, **kwargs): + """PreListbook() -> Listbook""" val = _controls.new_PreListbook(*args, **kwargs) val.thisown = 1 return val class ListbookEvent(BookCtrlEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> ListbookEvent""" newobj = _controls.new_ListbookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ListbookEventPtr(ListbookEvent): def __init__(self, this): @@ -1032,17 +2064,29 @@ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANG #--------------------------------------------------------------------------- class BookCtrlSizer(core.Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(BookCtrl nb) -> BookCtrlSizer""" newobj = _controls.new_BookCtrlSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _controls.BookCtrlSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _controls.BookCtrlSizer_CalcMin(*args, **kwargs) - def GetControl(*args, **kwargs): return _controls.BookCtrlSizer_GetControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _controls.BookCtrlSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _controls.BookCtrlSizer_CalcMin(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> BookCtrl""" + return _controls.BookCtrlSizer_GetControl(*args, **kwargs) + class BookCtrlSizerPtr(BookCtrlSizer): def __init__(self, this): @@ -1052,17 +2096,29 @@ class BookCtrlSizerPtr(BookCtrlSizer): _controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr) class NotebookSizer(core.Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Notebook nb) -> NotebookSizer""" newobj = _controls.new_NotebookSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _controls.NotebookSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _controls.NotebookSizer_CalcMin(*args, **kwargs) - def GetNotebook(*args, **kwargs): return _controls.NotebookSizer_GetNotebook(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _controls.NotebookSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _controls.NotebookSizer_CalcMin(*args, **kwargs) + + def GetNotebook(*args, **kwargs): + """GetNotebook() -> Notebook""" + return _controls.NotebookSizer_GetNotebook(*args, **kwargs) + class NotebookSizerPtr(NotebookSizer): def __init__(self, this): @@ -1088,43 +2144,131 @@ TB_NOALIGN = _controls.TB_NOALIGN TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT TB_HORZ_TEXT = _controls.TB_HORZ_TEXT class ToolBarToolBase(core.Object): - def GetId(*args, **kwargs): return _controls.ToolBarToolBase_GetId(*args, **kwargs) - def GetControl(*args, **kwargs): return _controls.ToolBarToolBase_GetControl(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _controls.ToolBarToolBase_GetToolBar(*args, **kwargs) - def IsButton(*args, **kwargs): return _controls.ToolBarToolBase_IsButton(*args, **kwargs) - def IsControl(*args, **kwargs): return _controls.ToolBarToolBase_IsControl(*args, **kwargs) - def IsSeparator(*args, **kwargs): return _controls.ToolBarToolBase_IsSeparator(*args, **kwargs) - def GetStyle(*args, **kwargs): return _controls.ToolBarToolBase_GetStyle(*args, **kwargs) - def GetKind(*args, **kwargs): return _controls.ToolBarToolBase_GetKind(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _controls.ToolBarToolBase_IsEnabled(*args, **kwargs) - def IsToggled(*args, **kwargs): return _controls.ToolBarToolBase_IsToggled(*args, **kwargs) - def CanBeToggled(*args, **kwargs): return _controls.ToolBarToolBase_CanBeToggled(*args, **kwargs) - def GetNormalBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetNormalBitmap(*args, **kwargs) - def GetDisabledBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetDisabledBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _controls.ToolBarToolBase_GetBitmap(*args, **kwargs) - def GetLabel(*args, **kwargs): return _controls.ToolBarToolBase_GetLabel(*args, **kwargs) - def GetShortHelp(*args, **kwargs): return _controls.ToolBarToolBase_GetShortHelp(*args, **kwargs) - def GetLongHelp(*args, **kwargs): return _controls.ToolBarToolBase_GetLongHelp(*args, **kwargs) - def Enable(*args, **kwargs): return _controls.ToolBarToolBase_Enable(*args, **kwargs) - def Toggle(*args, **kwargs): return _controls.ToolBarToolBase_Toggle(*args, **kwargs) - def SetToggle(*args, **kwargs): return _controls.ToolBarToolBase_SetToggle(*args, **kwargs) - def SetShortHelp(*args, **kwargs): return _controls.ToolBarToolBase_SetShortHelp(*args, **kwargs) - def SetLongHelp(*args, **kwargs): return _controls.ToolBarToolBase_SetLongHelp(*args, **kwargs) - def SetNormalBitmap(*args, **kwargs): return _controls.ToolBarToolBase_SetNormalBitmap(*args, **kwargs) - def SetDisabledBitmap(*args, **kwargs): return _controls.ToolBarToolBase_SetDisabledBitmap(*args, **kwargs) - def SetLabel(*args, **kwargs): return _controls.ToolBarToolBase_SetLabel(*args, **kwargs) - def Detach(*args, **kwargs): return _controls.ToolBarToolBase_Detach(*args, **kwargs) - def Attach(*args, **kwargs): return _controls.ToolBarToolBase_Attach(*args, **kwargs) - def GetClientData(*args, **kwargs): return _controls.ToolBarToolBase_GetClientData(*args, **kwargs) - def SetClientData(*args, **kwargs): return _controls.ToolBarToolBase_SetClientData(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetId(*args, **kwargs): + """GetId() -> int""" + return _controls.ToolBarToolBase_GetId(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _controls.ToolBarToolBase_GetControl(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> ToolBarBase""" + return _controls.ToolBarToolBase_GetToolBar(*args, **kwargs) + + def IsButton(*args, **kwargs): + """IsButton() -> int""" + return _controls.ToolBarToolBase_IsButton(*args, **kwargs) + + def IsControl(*args, **kwargs): + """IsControl() -> int""" + return _controls.ToolBarToolBase_IsControl(*args, **kwargs) + + def IsSeparator(*args, **kwargs): + """IsSeparator() -> int""" + return _controls.ToolBarToolBase_IsSeparator(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _controls.ToolBarToolBase_GetStyle(*args, **kwargs) + + def GetKind(*args, **kwargs): + """GetKind() -> wxItemKind""" + return _controls.ToolBarToolBase_GetKind(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _controls.ToolBarToolBase_IsEnabled(*args, **kwargs) + + def IsToggled(*args, **kwargs): + """IsToggled() -> bool""" + return _controls.ToolBarToolBase_IsToggled(*args, **kwargs) + + def CanBeToggled(*args, **kwargs): + """CanBeToggled() -> bool""" + return _controls.ToolBarToolBase_CanBeToggled(*args, **kwargs) + + def GetNormalBitmap(*args, **kwargs): + """GetNormalBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetNormalBitmap(*args, **kwargs) + + def GetDisabledBitmap(*args, **kwargs): + """GetDisabledBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetDisabledBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _controls.ToolBarToolBase_GetBitmap(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.ToolBarToolBase_GetLabel(*args, **kwargs) + + def GetShortHelp(*args, **kwargs): + """GetShortHelp() -> wxString""" + return _controls.ToolBarToolBase_GetShortHelp(*args, **kwargs) + + def GetLongHelp(*args, **kwargs): + """GetLongHelp() -> wxString""" + return _controls.ToolBarToolBase_GetLongHelp(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable) -> bool""" + return _controls.ToolBarToolBase_Enable(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle()""" + return _controls.ToolBarToolBase_Toggle(*args, **kwargs) + + def SetToggle(*args, **kwargs): + """SetToggle(bool toggle) -> bool""" + return _controls.ToolBarToolBase_SetToggle(*args, **kwargs) + + def SetShortHelp(*args, **kwargs): + """SetShortHelp(wxString help) -> bool""" + return _controls.ToolBarToolBase_SetShortHelp(*args, **kwargs) + + def SetLongHelp(*args, **kwargs): + """SetLongHelp(wxString help) -> bool""" + return _controls.ToolBarToolBase_SetLongHelp(*args, **kwargs) + + def SetNormalBitmap(*args, **kwargs): + """SetNormalBitmap(wxBitmap bmp)""" + return _controls.ToolBarToolBase_SetNormalBitmap(*args, **kwargs) + + def SetDisabledBitmap(*args, **kwargs): + """SetDisabledBitmap(wxBitmap bmp)""" + return _controls.ToolBarToolBase_SetDisabledBitmap(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _controls.ToolBarToolBase_SetLabel(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _controls.ToolBarToolBase_Detach(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(ToolBarBase tbar)""" + return _controls.ToolBarToolBase_Attach(*args, **kwargs) + + def GetClientData(*args, **kwargs): + """GetClientData() -> PyObject""" + return _controls.ToolBarToolBase_GetClientData(*args, **kwargs) + + def SetClientData(*args, **kwargs): + """SetClientData(PyObject clientData)""" + return _controls.ToolBarToolBase_SetClientData(*args, **kwargs) + GetBitmap1 = GetNormalBitmap GetBitmap2 = GetDisabledBitmap SetBitmap1 = SetNormalBitmap SetBitmap2 = SetDisabledBitmap - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ToolBarToolBasePtr(ToolBarToolBase): def __init__(self, this): @@ -1134,8 +2278,25 @@ class ToolBarToolBasePtr(ToolBarToolBase): _controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr) class ToolBarBase(core.Control): - def DoAddTool(*args, **kwargs): return _controls.ToolBarBase_DoAddTool(*args, **kwargs) - def DoInsertTool(*args, **kwargs): return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def DoAddTool(*args, **kwargs): + """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, + wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase""" + return _controls.ToolBarBase_DoAddTool(*args, **kwargs) + + def DoInsertTool(*args, **kwargs): + """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, + wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, + PyObject clientData=None) -> ToolBarToolBase""" + return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) + # These match the original Add methods for this class, kept for # backwards compatibility with versions < 2.3.3. @@ -1259,48 +2420,162 @@ class ToolBarBase(core.Control): return self.DoAddTool(id, '', bitmap, bmpDisabled, wx.ITEM_RADIO, shortHelp, longHelp, clientData) - def AddControl(*args, **kwargs): return _controls.ToolBarBase_AddControl(*args, **kwargs) - def InsertControl(*args, **kwargs): return _controls.ToolBarBase_InsertControl(*args, **kwargs) - def FindControl(*args, **kwargs): return _controls.ToolBarBase_FindControl(*args, **kwargs) - def AddSeparator(*args, **kwargs): return _controls.ToolBarBase_AddSeparator(*args, **kwargs) - def InsertSeparator(*args, **kwargs): return _controls.ToolBarBase_InsertSeparator(*args, **kwargs) - def RemoveTool(*args, **kwargs): return _controls.ToolBarBase_RemoveTool(*args, **kwargs) - def DeleteToolByPos(*args, **kwargs): return _controls.ToolBarBase_DeleteToolByPos(*args, **kwargs) - def DeleteTool(*args, **kwargs): return _controls.ToolBarBase_DeleteTool(*args, **kwargs) - def ClearTools(*args, **kwargs): return _controls.ToolBarBase_ClearTools(*args, **kwargs) - def Realize(*args, **kwargs): return _controls.ToolBarBase_Realize(*args, **kwargs) - def EnableTool(*args, **kwargs): return _controls.ToolBarBase_EnableTool(*args, **kwargs) - def ToggleTool(*args, **kwargs): return _controls.ToolBarBase_ToggleTool(*args, **kwargs) - def SetToggle(*args, **kwargs): return _controls.ToolBarBase_SetToggle(*args, **kwargs) - def GetToolClientData(*args, **kwargs): return _controls.ToolBarBase_GetToolClientData(*args, **kwargs) - def SetToolClientData(*args, **kwargs): return _controls.ToolBarBase_SetToolClientData(*args, **kwargs) - def GetToolPos(*args, **kwargs): return _controls.ToolBarBase_GetToolPos(*args, **kwargs) - def GetToolState(*args, **kwargs): return _controls.ToolBarBase_GetToolState(*args, **kwargs) - def GetToolEnabled(*args, **kwargs): return _controls.ToolBarBase_GetToolEnabled(*args, **kwargs) - def SetToolShortHelp(*args, **kwargs): return _controls.ToolBarBase_SetToolShortHelp(*args, **kwargs) - def GetToolShortHelp(*args, **kwargs): return _controls.ToolBarBase_GetToolShortHelp(*args, **kwargs) - def SetToolLongHelp(*args, **kwargs): return _controls.ToolBarBase_SetToolLongHelp(*args, **kwargs) - def GetToolLongHelp(*args, **kwargs): return _controls.ToolBarBase_GetToolLongHelp(*args, **kwargs) - def SetMarginsXY(*args, **kwargs): return _controls.ToolBarBase_SetMarginsXY(*args, **kwargs) - def SetMargins(*args, **kwargs): return _controls.ToolBarBase_SetMargins(*args, **kwargs) - def SetToolPacking(*args, **kwargs): return _controls.ToolBarBase_SetToolPacking(*args, **kwargs) - def SetToolSeparation(*args, **kwargs): return _controls.ToolBarBase_SetToolSeparation(*args, **kwargs) - def GetToolMargins(*args, **kwargs): return _controls.ToolBarBase_GetToolMargins(*args, **kwargs) - def GetMargins(*args, **kwargs): return _controls.ToolBarBase_GetMargins(*args, **kwargs) - def GetToolPacking(*args, **kwargs): return _controls.ToolBarBase_GetToolPacking(*args, **kwargs) - def GetToolSeparation(*args, **kwargs): return _controls.ToolBarBase_GetToolSeparation(*args, **kwargs) - def SetRows(*args, **kwargs): return _controls.ToolBarBase_SetRows(*args, **kwargs) - def SetMaxRowsCols(*args, **kwargs): return _controls.ToolBarBase_SetMaxRowsCols(*args, **kwargs) - def GetMaxRows(*args, **kwargs): return _controls.ToolBarBase_GetMaxRows(*args, **kwargs) - def GetMaxCols(*args, **kwargs): return _controls.ToolBarBase_GetMaxCols(*args, **kwargs) - def SetToolBitmapSize(*args, **kwargs): return _controls.ToolBarBase_SetToolBitmapSize(*args, **kwargs) - def GetToolBitmapSize(*args, **kwargs): return _controls.ToolBarBase_GetToolBitmapSize(*args, **kwargs) - def GetToolSize(*args, **kwargs): return _controls.ToolBarBase_GetToolSize(*args, **kwargs) - def FindToolForPosition(*args, **kwargs): return _controls.ToolBarBase_FindToolForPosition(*args, **kwargs) - def IsVertical(*args, **kwargs): return _controls.ToolBarBase_IsVertical(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddControl(*args, **kwargs): + """AddControl(Control control) -> ToolBarToolBase""" + return _controls.ToolBarBase_AddControl(*args, **kwargs) + + def InsertControl(*args, **kwargs): + """InsertControl(size_t pos, Control control) -> ToolBarToolBase""" + return _controls.ToolBarBase_InsertControl(*args, **kwargs) + + def FindControl(*args, **kwargs): + """FindControl(int id) -> Control""" + return _controls.ToolBarBase_FindControl(*args, **kwargs) + + def AddSeparator(*args, **kwargs): + """AddSeparator() -> ToolBarToolBase""" + return _controls.ToolBarBase_AddSeparator(*args, **kwargs) + + def InsertSeparator(*args, **kwargs): + """InsertSeparator(size_t pos) -> ToolBarToolBase""" + return _controls.ToolBarBase_InsertSeparator(*args, **kwargs) + + def RemoveTool(*args, **kwargs): + """RemoveTool(int id) -> ToolBarToolBase""" + return _controls.ToolBarBase_RemoveTool(*args, **kwargs) + + def DeleteToolByPos(*args, **kwargs): + """DeleteToolByPos(size_t pos) -> bool""" + return _controls.ToolBarBase_DeleteToolByPos(*args, **kwargs) + + def DeleteTool(*args, **kwargs): + """DeleteTool(int id) -> bool""" + return _controls.ToolBarBase_DeleteTool(*args, **kwargs) + + def ClearTools(*args, **kwargs): + """ClearTools()""" + return _controls.ToolBarBase_ClearTools(*args, **kwargs) + + def Realize(*args, **kwargs): + """Realize() -> bool""" + return _controls.ToolBarBase_Realize(*args, **kwargs) + + def EnableTool(*args, **kwargs): + """EnableTool(int id, bool enable)""" + return _controls.ToolBarBase_EnableTool(*args, **kwargs) + + def ToggleTool(*args, **kwargs): + """ToggleTool(int id, bool toggle)""" + return _controls.ToolBarBase_ToggleTool(*args, **kwargs) + + def SetToggle(*args, **kwargs): + """SetToggle(int id, bool toggle)""" + return _controls.ToolBarBase_SetToggle(*args, **kwargs) + + def GetToolClientData(*args, **kwargs): + """GetToolClientData(int id) -> PyObject""" + return _controls.ToolBarBase_GetToolClientData(*args, **kwargs) + + def SetToolClientData(*args, **kwargs): + """SetToolClientData(int id, PyObject clientData)""" + return _controls.ToolBarBase_SetToolClientData(*args, **kwargs) + + def GetToolPos(*args, **kwargs): + """GetToolPos(int id) -> int""" + return _controls.ToolBarBase_GetToolPos(*args, **kwargs) + + def GetToolState(*args, **kwargs): + """GetToolState(int id) -> bool""" + return _controls.ToolBarBase_GetToolState(*args, **kwargs) + + def GetToolEnabled(*args, **kwargs): + """GetToolEnabled(int id) -> bool""" + return _controls.ToolBarBase_GetToolEnabled(*args, **kwargs) + + def SetToolShortHelp(*args, **kwargs): + """SetToolShortHelp(int id, wxString helpString)""" + return _controls.ToolBarBase_SetToolShortHelp(*args, **kwargs) + + def GetToolShortHelp(*args, **kwargs): + """GetToolShortHelp(int id) -> wxString""" + return _controls.ToolBarBase_GetToolShortHelp(*args, **kwargs) + + def SetToolLongHelp(*args, **kwargs): + """SetToolLongHelp(int id, wxString helpString)""" + return _controls.ToolBarBase_SetToolLongHelp(*args, **kwargs) + + def GetToolLongHelp(*args, **kwargs): + """GetToolLongHelp(int id) -> wxString""" + return _controls.ToolBarBase_GetToolLongHelp(*args, **kwargs) + + def SetMarginsXY(*args, **kwargs): + """SetMarginsXY(int x, int y)""" + return _controls.ToolBarBase_SetMarginsXY(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(Size size)""" + return _controls.ToolBarBase_SetMargins(*args, **kwargs) + + def SetToolPacking(*args, **kwargs): + """SetToolPacking(int packing)""" + return _controls.ToolBarBase_SetToolPacking(*args, **kwargs) + + def SetToolSeparation(*args, **kwargs): + """SetToolSeparation(int separation)""" + return _controls.ToolBarBase_SetToolSeparation(*args, **kwargs) + + def GetToolMargins(*args, **kwargs): + """GetToolMargins() -> Size""" + return _controls.ToolBarBase_GetToolMargins(*args, **kwargs) + + def GetMargins(*args, **kwargs): + """GetMargins() -> Size""" + return _controls.ToolBarBase_GetMargins(*args, **kwargs) + + def GetToolPacking(*args, **kwargs): + """GetToolPacking() -> int""" + return _controls.ToolBarBase_GetToolPacking(*args, **kwargs) + + def GetToolSeparation(*args, **kwargs): + """GetToolSeparation() -> int""" + return _controls.ToolBarBase_GetToolSeparation(*args, **kwargs) + + def SetRows(*args, **kwargs): + """SetRows(int nRows)""" + return _controls.ToolBarBase_SetRows(*args, **kwargs) + + def SetMaxRowsCols(*args, **kwargs): + """SetMaxRowsCols(int rows, int cols)""" + return _controls.ToolBarBase_SetMaxRowsCols(*args, **kwargs) + + def GetMaxRows(*args, **kwargs): + """GetMaxRows() -> int""" + return _controls.ToolBarBase_GetMaxRows(*args, **kwargs) + + def GetMaxCols(*args, **kwargs): + """GetMaxCols() -> int""" + return _controls.ToolBarBase_GetMaxCols(*args, **kwargs) + + def SetToolBitmapSize(*args, **kwargs): + """SetToolBitmapSize(Size size)""" + return _controls.ToolBarBase_SetToolBitmapSize(*args, **kwargs) + + def GetToolBitmapSize(*args, **kwargs): + """GetToolBitmapSize() -> Size""" + return _controls.ToolBarBase_GetToolBitmapSize(*args, **kwargs) + + def GetToolSize(*args, **kwargs): + """GetToolSize() -> Size""" + return _controls.ToolBarBase_GetToolSize(*args, **kwargs) + + def FindToolForPosition(*args, **kwargs): + """FindToolForPosition(int x, int y) -> ToolBarToolBase""" + return _controls.ToolBarBase_FindToolForPosition(*args, **kwargs) + + def IsVertical(*args, **kwargs): + """IsVertical() -> bool""" + return _controls.ToolBarBase_IsVertical(*args, **kwargs) + class ToolBarBasePtr(ToolBarBase): def __init__(self, this): @@ -1310,16 +2585,29 @@ class ToolBarBasePtr(ToolBarBase): _controls.ToolBarBase_swigregister(ToolBarBasePtr) class ToolBar(ToolBarBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> ToolBar""" newobj = _controls.new_ToolBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ToolBar_Create(*args, **kwargs) - def FindToolForPosition(*args, **kwargs): return _controls.ToolBar_FindToolForPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> bool""" + return _controls.ToolBar_Create(*args, **kwargs) + + def FindToolForPosition(*args, **kwargs): + """FindToolForPosition(int x, int y) -> ToolBarToolBase""" + return _controls.ToolBar_FindToolForPosition(*args, **kwargs) + class ToolBarPtr(ToolBar): def __init__(self, this): @@ -1329,6 +2617,7 @@ class ToolBarPtr(ToolBar): _controls.ToolBar_swigregister(ToolBarPtr) def PreToolBar(*args, **kwargs): + """PreToolBar() -> ToolBar""" val = _controls.new_PreToolBar(*args, **kwargs) val.thisown = 1 return val @@ -1406,26 +2695,59 @@ LIST_FIND_RIGHT = _controls.LIST_FIND_RIGHT #--------------------------------------------------------------------------- class ListItemAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, + wxFont font=wxNullFont) -> ListItemAttr""" newobj = _controls.new_ListItemAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTextColour(*args, **kwargs): return _controls.ListItemAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.ListItemAttr_SetFont(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _controls.ListItemAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _controls.ListItemAttr_HasFont(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListItemAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.ListItemAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.ListItemAttr_GetFont(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.ListItemAttr_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.ListItemAttr_SetTextColour(*args, **kwargs) -class ListItemAttrPtr(ListItemAttr): - def __init__(self, this): + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.ListItemAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _controls.ListItemAttr_SetFont(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _controls.ListItemAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _controls.ListItemAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _controls.ListItemAttr_HasFont(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListItemAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.ListItemAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.ListItemAttr_GetFont(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.ListItemAttr_Destroy(*args, **kwargs) + + +class ListItemAttrPtr(ListItemAttr): + def __init__(self, this): self.this = this if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = ListItemAttr @@ -1434,44 +2756,137 @@ _controls.ListItemAttr_swigregister(ListItemAttrPtr) #--------------------------------------------------------------------------- class ListItem(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ListItem""" newobj = _controls.new_ListItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_ListItem): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Clear(*args, **kwargs): return _controls.ListItem_Clear(*args, **kwargs) - def ClearAttributes(*args, **kwargs): return _controls.ListItem_ClearAttributes(*args, **kwargs) - def SetMask(*args, **kwargs): return _controls.ListItem_SetMask(*args, **kwargs) - def SetId(*args, **kwargs): return _controls.ListItem_SetId(*args, **kwargs) - def SetColumn(*args, **kwargs): return _controls.ListItem_SetColumn(*args, **kwargs) - def SetState(*args, **kwargs): return _controls.ListItem_SetState(*args, **kwargs) - def SetStateMask(*args, **kwargs): return _controls.ListItem_SetStateMask(*args, **kwargs) - def SetText(*args, **kwargs): return _controls.ListItem_SetText(*args, **kwargs) - def SetImage(*args, **kwargs): return _controls.ListItem_SetImage(*args, **kwargs) - def SetData(*args, **kwargs): return _controls.ListItem_SetData(*args, **kwargs) - def SetWidth(*args, **kwargs): return _controls.ListItem_SetWidth(*args, **kwargs) - def SetAlign(*args, **kwargs): return _controls.ListItem_SetAlign(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.ListItem_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListItem_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _controls.ListItem_SetFont(*args, **kwargs) - def GetMask(*args, **kwargs): return _controls.ListItem_GetMask(*args, **kwargs) - def GetId(*args, **kwargs): return _controls.ListItem_GetId(*args, **kwargs) - def GetColumn(*args, **kwargs): return _controls.ListItem_GetColumn(*args, **kwargs) - def GetState(*args, **kwargs): return _controls.ListItem_GetState(*args, **kwargs) - def GetText(*args, **kwargs): return _controls.ListItem_GetText(*args, **kwargs) - def GetImage(*args, **kwargs): return _controls.ListItem_GetImage(*args, **kwargs) - def GetData(*args, **kwargs): return _controls.ListItem_GetData(*args, **kwargs) - def GetWidth(*args, **kwargs): return _controls.ListItem_GetWidth(*args, **kwargs) - def GetAlign(*args, **kwargs): return _controls.ListItem_GetAlign(*args, **kwargs) - def GetAttributes(*args, **kwargs): return _controls.ListItem_GetAttributes(*args, **kwargs) - def HasAttributes(*args, **kwargs): return _controls.ListItem_HasAttributes(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListItem_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _controls.ListItem_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _controls.ListItem_GetFont(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _controls.ListItem_Clear(*args, **kwargs) + + def ClearAttributes(*args, **kwargs): + """ClearAttributes()""" + return _controls.ListItem_ClearAttributes(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(long mask)""" + return _controls.ListItem_SetMask(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(long id)""" + return _controls.ListItem_SetId(*args, **kwargs) + + def SetColumn(*args, **kwargs): + """SetColumn(int col)""" + return _controls.ListItem_SetColumn(*args, **kwargs) + + def SetState(*args, **kwargs): + """SetState(long state)""" + return _controls.ListItem_SetState(*args, **kwargs) + + def SetStateMask(*args, **kwargs): + """SetStateMask(long stateMask)""" + return _controls.ListItem_SetStateMask(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _controls.ListItem_SetText(*args, **kwargs) + + def SetImage(*args, **kwargs): + """SetImage(int image)""" + return _controls.ListItem_SetImage(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(long data)""" + return _controls.ListItem_SetData(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _controls.ListItem_SetWidth(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(wxListColumnFormat align)""" + return _controls.ListItem_SetAlign(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _controls.ListItem_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _controls.ListItem_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _controls.ListItem_SetFont(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> long""" + return _controls.ListItem_GetMask(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> long""" + return _controls.ListItem_GetId(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn() -> int""" + return _controls.ListItem_GetColumn(*args, **kwargs) + + def GetState(*args, **kwargs): + """GetState() -> long""" + return _controls.ListItem_GetState(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _controls.ListItem_GetText(*args, **kwargs) + + def GetImage(*args, **kwargs): + """GetImage() -> int""" + return _controls.ListItem_GetImage(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> long""" + return _controls.ListItem_GetData(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _controls.ListItem_GetWidth(*args, **kwargs) + + def GetAlign(*args, **kwargs): + """GetAlign() -> wxListColumnFormat""" + return _controls.ListItem_GetAlign(*args, **kwargs) + + def GetAttributes(*args, **kwargs): + """GetAttributes() -> ListItemAttr""" + return _controls.ListItem_GetAttributes(*args, **kwargs) + + def HasAttributes(*args, **kwargs): + """HasAttributes() -> bool""" + return _controls.ListItem_HasAttributes(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListItem_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _controls.ListItem_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _controls.ListItem_GetFont(*args, **kwargs) + m_mask = property(_controls.ListItem_m_mask_get, _controls.ListItem_m_mask_set) m_itemId = property(_controls.ListItem_m_itemId_get, _controls.ListItem_m_itemId_set) m_col = property(_controls.ListItem_m_col_get, _controls.ListItem_m_col_set) @@ -1482,8 +2897,6 @@ class ListItem(core.Object): m_data = property(_controls.ListItem_m_data_get, _controls.ListItem_m_data_set) m_format = property(_controls.ListItem_m_format_get, _controls.ListItem_m_format_set) m_width = property(_controls.ListItem_m_width_get, _controls.ListItem_m_width_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ListItemPtr(ListItem): def __init__(self, this): @@ -1495,7 +2908,11 @@ _controls.ListItem_swigregister(ListItemPtr) #--------------------------------------------------------------------------- class ListEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent""" newobj = _controls.new_ListEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1506,24 +2923,64 @@ class ListEvent(core.NotifyEvent): m_col = property(_controls.ListEvent_m_col_get, _controls.ListEvent_m_col_set) m_pointDrag = property(_controls.ListEvent_m_pointDrag_get, _controls.ListEvent_m_pointDrag_set) m_item = property(_controls.ListEvent_m_item_get) - def GetKeyCode(*args, **kwargs): return _controls.ListEvent_GetKeyCode(*args, **kwargs) + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _controls.ListEvent_GetKeyCode(*args, **kwargs) + GetCode = GetKeyCode - def GetIndex(*args, **kwargs): return _controls.ListEvent_GetIndex(*args, **kwargs) - def GetColumn(*args, **kwargs): return _controls.ListEvent_GetColumn(*args, **kwargs) - def GetPoint(*args, **kwargs): return _controls.ListEvent_GetPoint(*args, **kwargs) + def GetIndex(*args, **kwargs): + """GetIndex() -> long""" + return _controls.ListEvent_GetIndex(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn() -> int""" + return _controls.ListEvent_GetColumn(*args, **kwargs) + + def GetPoint(*args, **kwargs): + """GetPoint() -> Point""" + return _controls.ListEvent_GetPoint(*args, **kwargs) + GetPostiion = GetPoint - def GetLabel(*args, **kwargs): return _controls.ListEvent_GetLabel(*args, **kwargs) - def GetText(*args, **kwargs): return _controls.ListEvent_GetText(*args, **kwargs) - def GetImage(*args, **kwargs): return _controls.ListEvent_GetImage(*args, **kwargs) - def GetData(*args, **kwargs): return _controls.ListEvent_GetData(*args, **kwargs) - def GetMask(*args, **kwargs): return _controls.ListEvent_GetMask(*args, **kwargs) - def GetItem(*args, **kwargs): return _controls.ListEvent_GetItem(*args, **kwargs) - def GetCacheFrom(*args, **kwargs): return _controls.ListEvent_GetCacheFrom(*args, **kwargs) - def GetCacheTo(*args, **kwargs): return _controls.ListEvent_GetCacheTo(*args, **kwargs) - def IsEditCancelled(*args, **kwargs): return _controls.ListEvent_IsEditCancelled(*args, **kwargs) - def SetEditCanceled(*args, **kwargs): return _controls.ListEvent_SetEditCanceled(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.ListEvent_GetLabel(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _controls.ListEvent_GetText(*args, **kwargs) + + def GetImage(*args, **kwargs): + """GetImage() -> int""" + return _controls.ListEvent_GetImage(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> long""" + return _controls.ListEvent_GetData(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> long""" + return _controls.ListEvent_GetMask(*args, **kwargs) + + def GetItem(*args, **kwargs): + """GetItem() -> ListItem""" + return _controls.ListEvent_GetItem(*args, **kwargs) + + def GetCacheFrom(*args, **kwargs): + """GetCacheFrom() -> long""" + return _controls.ListEvent_GetCacheFrom(*args, **kwargs) + + def GetCacheTo(*args, **kwargs): + """GetCacheTo() -> long""" + return _controls.ListEvent_GetCacheTo(*args, **kwargs) + + def IsEditCancelled(*args, **kwargs): + """IsEditCancelled() -> bool""" + return _controls.ListEvent_IsEditCancelled(*args, **kwargs) + + def SetEditCanceled(*args, **kwargs): + """SetEditCanceled(bool editCancelled)""" + return _controls.ListEvent_SetEditCanceled(*args, **kwargs) + class ListEventPtr(ListEvent): def __init__(self, this): @@ -1580,102 +3037,304 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- class ListCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl""" newobj = _controls.new_ListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl) - def Create(*args, **kwargs): return _controls.ListCtrl_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _controls.ListCtrl__setCallbackInfo(*args, **kwargs) - def SetForegroundColour(*args, **kwargs): return _controls.ListCtrl_SetForegroundColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _controls.ListCtrl_SetBackgroundColour(*args, **kwargs) - def GetColumn(*args, **kwargs): + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + return _controls.ListCtrl_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.ListCtrl__setCallbackInfo(*args, **kwargs) + + def SetForegroundColour(*args, **kwargs): + """SetForegroundColour(wxColour col) -> bool""" + return _controls.ListCtrl_SetForegroundColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour col) -> bool""" + return _controls.ListCtrl_SetBackgroundColour(*args, **kwargs) + + def GetColumn(*args, **kwargs): + """GetColumn(int col) -> ListItem""" val = _controls.ListCtrl_GetColumn(*args, **kwargs) if val is not None: val.thisown = 1 return val - def SetColumn(*args, **kwargs): return _controls.ListCtrl_SetColumn(*args, **kwargs) - def GetColumnWidth(*args, **kwargs): return _controls.ListCtrl_GetColumnWidth(*args, **kwargs) - def SetColumnWidth(*args, **kwargs): return _controls.ListCtrl_SetColumnWidth(*args, **kwargs) - def GetCountPerPage(*args, **kwargs): return _controls.ListCtrl_GetCountPerPage(*args, **kwargs) - def GetViewRect(*args, **kwargs): return _controls.ListCtrl_GetViewRect(*args, **kwargs) - def GetEditControl(*args, **kwargs): return _controls.ListCtrl_GetEditControl(*args, **kwargs) - def GetItem(*args, **kwargs): + + def SetColumn(*args, **kwargs): + """SetColumn(int col, ListItem item) -> bool""" + return _controls.ListCtrl_SetColumn(*args, **kwargs) + + def GetColumnWidth(*args, **kwargs): + """GetColumnWidth(int col) -> int""" + return _controls.ListCtrl_GetColumnWidth(*args, **kwargs) + + def SetColumnWidth(*args, **kwargs): + """SetColumnWidth(int col, int width) -> bool""" + return _controls.ListCtrl_SetColumnWidth(*args, **kwargs) + + def GetCountPerPage(*args, **kwargs): + """GetCountPerPage() -> int""" + return _controls.ListCtrl_GetCountPerPage(*args, **kwargs) + + def GetViewRect(*args, **kwargs): + """GetViewRect() -> Rect""" + return _controls.ListCtrl_GetViewRect(*args, **kwargs) + + def GetEditControl(*args, **kwargs): + """GetEditControl() -> TextCtrl""" + return _controls.ListCtrl_GetEditControl(*args, **kwargs) + + def GetItem(*args, **kwargs): + """GetItem(long itemId, int col=0) -> ListItem""" val = _controls.ListCtrl_GetItem(*args, **kwargs) if val is not None: val.thisown = 1 return val - def SetItem(*args, **kwargs): return _controls.ListCtrl_SetItem(*args, **kwargs) - def SetStringItem(*args, **kwargs): return _controls.ListCtrl_SetStringItem(*args, **kwargs) - def GetItemState(*args, **kwargs): return _controls.ListCtrl_GetItemState(*args, **kwargs) - def SetItemState(*args, **kwargs): return _controls.ListCtrl_SetItemState(*args, **kwargs) - def SetItemImage(*args, **kwargs): return _controls.ListCtrl_SetItemImage(*args, **kwargs) - def GetItemText(*args, **kwargs): return _controls.ListCtrl_GetItemText(*args, **kwargs) - def SetItemText(*args, **kwargs): return _controls.ListCtrl_SetItemText(*args, **kwargs) - def GetItemData(*args, **kwargs): return _controls.ListCtrl_GetItemData(*args, **kwargs) - def SetItemData(*args, **kwargs): return _controls.ListCtrl_SetItemData(*args, **kwargs) - def GetItemPosition(*args, **kwargs): return _controls.ListCtrl_GetItemPosition(*args, **kwargs) - def GetItemRect(*args, **kwargs): return _controls.ListCtrl_GetItemRect(*args, **kwargs) - def SetItemPosition(*args, **kwargs): return _controls.ListCtrl_SetItemPosition(*args, **kwargs) - def GetItemCount(*args, **kwargs): return _controls.ListCtrl_GetItemCount(*args, **kwargs) - def GetColumnCount(*args, **kwargs): return _controls.ListCtrl_GetColumnCount(*args, **kwargs) - def GetItemSpacing(*args, **kwargs): return _controls.ListCtrl_GetItemSpacing(*args, **kwargs) - def GetSelectedItemCount(*args, **kwargs): return _controls.ListCtrl_GetSelectedItemCount(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _controls.ListCtrl_GetTextColour(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _controls.ListCtrl_SetTextColour(*args, **kwargs) - def GetTopItem(*args, **kwargs): return _controls.ListCtrl_GetTopItem(*args, **kwargs) - def SetSingleStyle(*args, **kwargs): return _controls.ListCtrl_SetSingleStyle(*args, **kwargs) - def SetWindowStyleFlag(*args, **kwargs): return _controls.ListCtrl_SetWindowStyleFlag(*args, **kwargs) - def GetNextItem(*args, **kwargs): return _controls.ListCtrl_GetNextItem(*args, **kwargs) - def GetImageList(*args, **kwargs): return _controls.ListCtrl_GetImageList(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.ListCtrl_SetImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): + + def SetItem(*args, **kwargs): + """SetItem(ListItem info) -> bool""" + return _controls.ListCtrl_SetItem(*args, **kwargs) + + def SetStringItem(*args, **kwargs): + """SetStringItem(long index, int col, wxString label, int imageId=-1) -> long""" + return _controls.ListCtrl_SetStringItem(*args, **kwargs) + + def GetItemState(*args, **kwargs): + """GetItemState(long item, long stateMask) -> int""" + return _controls.ListCtrl_GetItemState(*args, **kwargs) + + def SetItemState(*args, **kwargs): + """SetItemState(long item, long state, long stateMask) -> bool""" + return _controls.ListCtrl_SetItemState(*args, **kwargs) + + def SetItemImage(*args, **kwargs): + """SetItemImage(long item, int image, int selImage) -> bool""" + return _controls.ListCtrl_SetItemImage(*args, **kwargs) + + def GetItemText(*args, **kwargs): + """GetItemText(long item) -> wxString""" + return _controls.ListCtrl_GetItemText(*args, **kwargs) + + def SetItemText(*args, **kwargs): + """SetItemText(long item, wxString str)""" + return _controls.ListCtrl_SetItemText(*args, **kwargs) + + def GetItemData(*args, **kwargs): + """GetItemData(long item) -> long""" + return _controls.ListCtrl_GetItemData(*args, **kwargs) + + def SetItemData(*args, **kwargs): + """SetItemData(long item, long data) -> bool""" + return _controls.ListCtrl_SetItemData(*args, **kwargs) + + def GetItemPosition(*args, **kwargs): + """GetItemPosition(long item) -> Point""" + return _controls.ListCtrl_GetItemPosition(*args, **kwargs) + + def GetItemRect(*args, **kwargs): + """GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect""" + return _controls.ListCtrl_GetItemRect(*args, **kwargs) + + def SetItemPosition(*args, **kwargs): + """SetItemPosition(long item, Point pos) -> bool""" + return _controls.ListCtrl_SetItemPosition(*args, **kwargs) + + def GetItemCount(*args, **kwargs): + """GetItemCount() -> int""" + return _controls.ListCtrl_GetItemCount(*args, **kwargs) + + def GetColumnCount(*args, **kwargs): + """GetColumnCount() -> int""" + return _controls.ListCtrl_GetColumnCount(*args, **kwargs) + + def GetItemSpacing(*args, **kwargs): + """GetItemSpacing() -> Size""" + return _controls.ListCtrl_GetItemSpacing(*args, **kwargs) + + def GetSelectedItemCount(*args, **kwargs): + """GetSelectedItemCount() -> int""" + return _controls.ListCtrl_GetSelectedItemCount(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _controls.ListCtrl_GetTextColour(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour col)""" + return _controls.ListCtrl_SetTextColour(*args, **kwargs) + + def GetTopItem(*args, **kwargs): + """GetTopItem() -> long""" + return _controls.ListCtrl_GetTopItem(*args, **kwargs) + + def SetSingleStyle(*args, **kwargs): + """SetSingleStyle(long style, bool add=True)""" + return _controls.ListCtrl_SetSingleStyle(*args, **kwargs) + + def SetWindowStyleFlag(*args, **kwargs): + """SetWindowStyleFlag(long style)""" + return _controls.ListCtrl_SetWindowStyleFlag(*args, **kwargs) + + def GetNextItem(*args, **kwargs): + """GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long""" + return _controls.ListCtrl_GetNextItem(*args, **kwargs) + + def GetImageList(*args, **kwargs): + """GetImageList(int which) -> wxImageList""" + return _controls.ListCtrl_GetImageList(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList, int which)""" + return _controls.ListCtrl_SetImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList, int which)""" val = _controls.ListCtrl_AssignImageList(*args, **kwargs) args[1].thisown = 0 return val - def IsVirtual(*args, **kwargs): return _controls.ListCtrl_IsVirtual(*args, **kwargs) - def RefreshItem(*args, **kwargs): return _controls.ListCtrl_RefreshItem(*args, **kwargs) - def RefreshItems(*args, **kwargs): return _controls.ListCtrl_RefreshItems(*args, **kwargs) - def Arrange(*args, **kwargs): return _controls.ListCtrl_Arrange(*args, **kwargs) - def DeleteItem(*args, **kwargs): return _controls.ListCtrl_DeleteItem(*args, **kwargs) - def DeleteAllItems(*args, **kwargs): return _controls.ListCtrl_DeleteAllItems(*args, **kwargs) - def DeleteColumn(*args, **kwargs): return _controls.ListCtrl_DeleteColumn(*args, **kwargs) - def DeleteAllColumns(*args, **kwargs): return _controls.ListCtrl_DeleteAllColumns(*args, **kwargs) - def ClearAll(*args, **kwargs): return _controls.ListCtrl_ClearAll(*args, **kwargs) - def EditLabel(*args, **kwargs): return _controls.ListCtrl_EditLabel(*args, **kwargs) - def EndEditLabel(*args, **kwargs): return _controls.ListCtrl_EndEditLabel(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.ListCtrl_EnsureVisible(*args, **kwargs) - def FindItem(*args, **kwargs): return _controls.ListCtrl_FindItem(*args, **kwargs) - def FindItemData(*args, **kwargs): return _controls.ListCtrl_FindItemData(*args, **kwargs) - def FindItemAtPos(*args, **kwargs): return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.ListCtrl_HitTest(*args, **kwargs) - def InsertItem(*args, **kwargs): return _controls.ListCtrl_InsertItem(*args, **kwargs) - def InsertStringItem(*args, **kwargs): return _controls.ListCtrl_InsertStringItem(*args, **kwargs) - def InsertImageItem(*args, **kwargs): return _controls.ListCtrl_InsertImageItem(*args, **kwargs) - def InsertImageStringItem(*args, **kwargs): return _controls.ListCtrl_InsertImageStringItem(*args, **kwargs) - def InsertColumnInfo(*args, **kwargs): return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) - def InsertColumn(*args, **kwargs): return _controls.ListCtrl_InsertColumn(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _controls.ListCtrl_SetItemCount(*args, **kwargs) - def ScrollList(*args, **kwargs): return _controls.ListCtrl_ScrollList(*args, **kwargs) - def SetItemTextColour(*args, **kwargs): return _controls.ListCtrl_SetItemTextColour(*args, **kwargs) - def GetItemTextColour(*args, **kwargs): return _controls.ListCtrl_GetItemTextColour(*args, **kwargs) - def SetItemBackgroundColour(*args, **kwargs): return _controls.ListCtrl_SetItemBackgroundColour(*args, **kwargs) - def GetItemBackgroundColour(*args, **kwargs): return _controls.ListCtrl_GetItemBackgroundColour(*args, **kwargs) + + def IsVirtual(*args, **kwargs): + """IsVirtual() -> bool""" + return _controls.ListCtrl_IsVirtual(*args, **kwargs) + + def RefreshItem(*args, **kwargs): + """RefreshItem(long item)""" + return _controls.ListCtrl_RefreshItem(*args, **kwargs) + + def RefreshItems(*args, **kwargs): + """RefreshItems(long itemFrom, long itemTo)""" + return _controls.ListCtrl_RefreshItems(*args, **kwargs) + + def Arrange(*args, **kwargs): + """Arrange(int flag=LIST_ALIGN_DEFAULT) -> bool""" + return _controls.ListCtrl_Arrange(*args, **kwargs) + + def DeleteItem(*args, **kwargs): + """DeleteItem(long item) -> bool""" + return _controls.ListCtrl_DeleteItem(*args, **kwargs) + + def DeleteAllItems(*args, **kwargs): + """DeleteAllItems() -> bool""" + return _controls.ListCtrl_DeleteAllItems(*args, **kwargs) + + def DeleteColumn(*args, **kwargs): + """DeleteColumn(int col) -> bool""" + return _controls.ListCtrl_DeleteColumn(*args, **kwargs) + + def DeleteAllColumns(*args, **kwargs): + """DeleteAllColumns() -> bool""" + return _controls.ListCtrl_DeleteAllColumns(*args, **kwargs) + + def ClearAll(*args, **kwargs): + """ClearAll()""" + return _controls.ListCtrl_ClearAll(*args, **kwargs) + + def EditLabel(*args, **kwargs): + """EditLabel(long item) -> TextCtrl""" + return _controls.ListCtrl_EditLabel(*args, **kwargs) + + def EndEditLabel(*args, **kwargs): + """EndEditLabel(bool cancel) -> bool""" + return _controls.ListCtrl_EndEditLabel(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(long item) -> bool""" + return _controls.ListCtrl_EnsureVisible(*args, **kwargs) + + def FindItem(*args, **kwargs): + """FindItem(long start, wxString str, bool partial=False) -> long""" + return _controls.ListCtrl_FindItem(*args, **kwargs) + + def FindItemData(*args, **kwargs): + """FindItemData(long start, long data) -> long""" + return _controls.ListCtrl_FindItemData(*args, **kwargs) + + def FindItemAtPos(*args, **kwargs): + """FindItemAtPos(long start, Point pt, int direction) -> long""" + return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point point, int OUTPUT) -> long""" + return _controls.ListCtrl_HitTest(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(ListItem info) -> long""" + return _controls.ListCtrl_InsertItem(*args, **kwargs) + + def InsertStringItem(*args, **kwargs): + """InsertStringItem(long index, wxString label) -> long""" + return _controls.ListCtrl_InsertStringItem(*args, **kwargs) + + def InsertImageItem(*args, **kwargs): + """InsertImageItem(long index, int imageIndex) -> long""" + return _controls.ListCtrl_InsertImageItem(*args, **kwargs) + + def InsertImageStringItem(*args, **kwargs): + """InsertImageStringItem(long index, wxString label, int imageIndex) -> long""" + return _controls.ListCtrl_InsertImageStringItem(*args, **kwargs) + + def InsertColumnInfo(*args, **kwargs): + """InsertColumnInfo(long col, ListItem info) -> long""" + return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) + + def InsertColumn(*args, **kwargs): + """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, + int width=-1) -> long""" + return _controls.ListCtrl_InsertColumn(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(long count)""" + return _controls.ListCtrl_SetItemCount(*args, **kwargs) + + def ScrollList(*args, **kwargs): + """ScrollList(int dx, int dy) -> bool""" + return _controls.ListCtrl_ScrollList(*args, **kwargs) + + def SetItemTextColour(*args, **kwargs): + """SetItemTextColour(long item, wxColour col)""" + return _controls.ListCtrl_SetItemTextColour(*args, **kwargs) + + def GetItemTextColour(*args, **kwargs): + """GetItemTextColour(long item) -> wxColour""" + return _controls.ListCtrl_GetItemTextColour(*args, **kwargs) + + def SetItemBackgroundColour(*args, **kwargs): + """SetItemBackgroundColour(long item, wxColour col)""" + return _controls.ListCtrl_SetItemBackgroundColour(*args, **kwargs) + + def GetItemBackgroundColour(*args, **kwargs): + """GetItemBackgroundColour(long item) -> wxColour""" + return _controls.ListCtrl_GetItemBackgroundColour(*args, **kwargs) + # # Some helpers... def Select(self, idx, on=1): '''[de]select an item''' - if on: state = wxLIST_STATE_SELECTED + if on: state = wx.LIST_STATE_SELECTED else: state = 0 - self.SetItemState(idx, state, wxLIST_STATE_SELECTED) + self.SetItemState(idx, state, wx.LIST_STATE_SELECTED) def Focus(self, idx): '''Focus and show the given item''' - self.SetItemState(idx, wxLIST_STATE_FOCUSED, wxLIST_STATE_FOCUSED) + self.SetItemState(idx, wx.LIST_STATE_FOCUSED, wx.LIST_STATE_FOCUSED) self.EnsureVisible(idx) def GetFocusedItem(self): '''get the currently focused item or -1 if none''' - return self.GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_FOCUSED) + return self.GetNextItem(-1, wx.LIST_NEXT_ALL, wx.LIST_STATE_FOCUSED) def GetFirstSelected(self, *args): '''return first selected item, or -1 when none''' @@ -1683,22 +3342,22 @@ class ListCtrl(core.Control): def GetNextSelected(self, item): '''return subsequent selected items, or -1 when no more''' - return self.GetNextItem(item, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED) + return self.GetNextItem(item, wx.LIST_NEXT_ALL, wx.LIST_STATE_SELECTED) def IsSelected(self, idx): - '''return TRUE if the item is selected''' - return self.GetItemState(idx, wxLIST_STATE_SELECTED) != 0 + '''return True if the item is selected''' + return self.GetItemState(idx, wx.LIST_STATE_SELECTED) != 0 def SetColumnImage(self, col, image): item = self.GetColumn(col) - - item.SetMask( wxLIST_MASK_STATE | - wxLIST_MASK_TEXT | - wxLIST_MASK_IMAGE | - wxLIST_MASK_DATA | - wxLIST_SET_ITEM | - wxLIST_MASK_WIDTH | - wxLIST_MASK_FORMAT ) + # preserve all other attributes too + item.SetMask( wx.LIST_MASK_STATE | + wx.LIST_MASK_TEXT | + wx.LIST_MASK_IMAGE | + wx.LIST_MASK_DATA | + wx.LIST_SET_ITEM | + wx.LIST_MASK_WIDTH | + wx.LIST_MASK_FORMAT ) item.SetImage(image) self.SetColumn(col, item) @@ -1709,7 +3368,7 @@ class ListCtrl(core.Control): '''Append an item to the list control. The entry parameter should be a sequence with an item for each column''' if len(entry): - if wx.wxUSE_UNICODE: + if wx.USE_UNICODE: cvtfunc = unicode else: cvtfunc = str @@ -1719,10 +3378,14 @@ class ListCtrl(core.Control): self.SetStringItem(pos, i, cvtfunc(entry[i])) return pos - def SortItems(*args, **kwargs): return _controls.ListCtrl_SortItems(*args, **kwargs) - def GetMainWindow(*args, **kwargs): return _controls.ListCtrl_GetMainWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SortItems(*args, **kwargs): + """SortItems(PyObject func) -> bool""" + return _controls.ListCtrl_SortItems(*args, **kwargs) + + def GetMainWindow(*args, **kwargs): + """GetMainWindow() -> Window""" + return _controls.ListCtrl_GetMainWindow(*args, **kwargs) + class ListCtrlPtr(ListCtrl): def __init__(self, this): @@ -1732,6 +3395,7 @@ class ListCtrlPtr(ListCtrl): _controls.ListCtrl_swigregister(ListCtrlPtr) def PreListCtrl(*args, **kwargs): + """PreListCtrl() -> ListCtrl""" val = _controls.new_PreListCtrl(*args, **kwargs) val.thisown = 1 return val @@ -1739,23 +3403,57 @@ def PreListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class ListView(ListCtrl): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView""" newobj = _controls.new_ListView(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.ListView_Create(*args, **kwargs) - def Select(*args, **kwargs): return _controls.ListView_Select(*args, **kwargs) - def Focus(*args, **kwargs): return _controls.ListView_Focus(*args, **kwargs) - def GetFocusedItem(*args, **kwargs): return _controls.ListView_GetFocusedItem(*args, **kwargs) - def GetNextSelected(*args, **kwargs): return _controls.ListView_GetNextSelected(*args, **kwargs) - def GetFirstSelected(*args, **kwargs): return _controls.ListView_GetFirstSelected(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.ListView_IsSelected(*args, **kwargs) - def SetColumnImage(*args, **kwargs): return _controls.ListView_SetColumnImage(*args, **kwargs) - def ClearColumnImage(*args, **kwargs): return _controls.ListView_ClearColumnImage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + return _controls.ListView_Create(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(long n, bool on=True)""" + return _controls.ListView_Select(*args, **kwargs) + + def Focus(*args, **kwargs): + """Focus(long index)""" + return _controls.ListView_Focus(*args, **kwargs) + + def GetFocusedItem(*args, **kwargs): + """GetFocusedItem() -> long""" + return _controls.ListView_GetFocusedItem(*args, **kwargs) + + def GetNextSelected(*args, **kwargs): + """GetNextSelected(long item) -> long""" + return _controls.ListView_GetNextSelected(*args, **kwargs) + + def GetFirstSelected(*args, **kwargs): + """GetFirstSelected() -> long""" + return _controls.ListView_GetFirstSelected(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(long index) -> bool""" + return _controls.ListView_IsSelected(*args, **kwargs) + + def SetColumnImage(*args, **kwargs): + """SetColumnImage(int col, int image)""" + return _controls.ListView_SetColumnImage(*args, **kwargs) + + def ClearColumnImage(*args, **kwargs): + """ClearColumnImage(int col)""" + return _controls.ListView_ClearColumnImage(*args, **kwargs) + class ListViewPtr(ListView): def __init__(self, this): @@ -1765,6 +3463,7 @@ class ListViewPtr(ListView): _controls.ListView_swigregister(ListViewPtr) def PreListView(*args, **kwargs): + """PreListView() -> ListView""" val = _controls.new_PreListView(*args, **kwargs) val.thisown = 1 return val @@ -1809,23 +3508,36 @@ TREE_HITTEST_ONITEM = _controls.TREE_HITTEST_ONITEM #--------------------------------------------------------------------------- class TreeItemId(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TreeItemId""" newobj = _controls.new_TreeItemId(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_TreeItemId): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _controls.TreeItemId_IsOk(*args, **kwargs) - def __eq__(*args, **kwargs): return _controls.TreeItemId___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _controls.TreeItemId___ne__(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _controls.TreeItemId_IsOk(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(TreeItemId other) -> bool""" + return _controls.TreeItemId___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(TreeItemId other) -> bool""" + return _controls.TreeItemId___ne__(*args, **kwargs) + m_pItem = property(_controls.TreeItemId_m_pItem_get, _controls.TreeItemId_m_pItem_set) Ok = IsOk def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TreeItemIdPtr(TreeItemId): def __init__(self, this): @@ -1835,18 +3547,35 @@ class TreeItemIdPtr(TreeItemId): _controls.TreeItemId_swigregister(TreeItemIdPtr) class TreeItemData(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PyObject obj=None) -> TreeItemData""" newobj = _controls.new_TreeItemData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetData(*args, **kwargs): return _controls.TreeItemData_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _controls.TreeItemData_SetData(*args, **kwargs) - def GetId(*args, **kwargs): return _controls.TreeItemData_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _controls.TreeItemData_SetId(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.TreeItemData_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _controls.TreeItemData_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject obj)""" + return _controls.TreeItemData_SetData(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> TreeItemId""" + return _controls.TreeItemData_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(TreeItemId id)""" + return _controls.TreeItemData_SetId(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.TreeItemData_Destroy(*args, **kwargs) + class TreeItemDataPtr(TreeItemData): def __init__(self, this): @@ -1898,26 +3627,67 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI class TreeEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent""" newobj = _controls.new_TreeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetItem(*args, **kwargs): return _controls.TreeEvent_GetItem(*args, **kwargs) - def SetItem(*args, **kwargs): return _controls.TreeEvent_SetItem(*args, **kwargs) - def GetOldItem(*args, **kwargs): return _controls.TreeEvent_GetOldItem(*args, **kwargs) - def SetOldItem(*args, **kwargs): return _controls.TreeEvent_SetOldItem(*args, **kwargs) - def GetPoint(*args, **kwargs): return _controls.TreeEvent_GetPoint(*args, **kwargs) - def SetPoint(*args, **kwargs): return _controls.TreeEvent_SetPoint(*args, **kwargs) - def GetKeyEvent(*args, **kwargs): return _controls.TreeEvent_GetKeyEvent(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _controls.TreeEvent_GetKeyCode(*args, **kwargs) - def SetKeyEvent(*args, **kwargs): return _controls.TreeEvent_SetKeyEvent(*args, **kwargs) - def GetLabel(*args, **kwargs): return _controls.TreeEvent_GetLabel(*args, **kwargs) - def SetLabel(*args, **kwargs): return _controls.TreeEvent_SetLabel(*args, **kwargs) - def IsEditCancelled(*args, **kwargs): return _controls.TreeEvent_IsEditCancelled(*args, **kwargs) - def SetEditCanceled(*args, **kwargs): return _controls.TreeEvent_SetEditCanceled(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetItem(*args, **kwargs): + """GetItem() -> TreeItemId""" + return _controls.TreeEvent_GetItem(*args, **kwargs) + + def SetItem(*args, **kwargs): + """SetItem(TreeItemId item)""" + return _controls.TreeEvent_SetItem(*args, **kwargs) + + def GetOldItem(*args, **kwargs): + """GetOldItem() -> TreeItemId""" + return _controls.TreeEvent_GetOldItem(*args, **kwargs) + + def SetOldItem(*args, **kwargs): + """SetOldItem(TreeItemId item)""" + return _controls.TreeEvent_SetOldItem(*args, **kwargs) + + def GetPoint(*args, **kwargs): + """GetPoint() -> Point""" + return _controls.TreeEvent_GetPoint(*args, **kwargs) + + def SetPoint(*args, **kwargs): + """SetPoint(Point pt)""" + return _controls.TreeEvent_SetPoint(*args, **kwargs) + + def GetKeyEvent(*args, **kwargs): + """GetKeyEvent() -> KeyEvent""" + return _controls.TreeEvent_GetKeyEvent(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _controls.TreeEvent_GetKeyCode(*args, **kwargs) + + def SetKeyEvent(*args, **kwargs): + """SetKeyEvent(KeyEvent evt)""" + return _controls.TreeEvent_SetKeyEvent(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _controls.TreeEvent_GetLabel(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _controls.TreeEvent_SetLabel(*args, **kwargs) + + def IsEditCancelled(*args, **kwargs): + """IsEditCancelled() -> bool""" + return _controls.TreeEvent_IsEditCancelled(*args, **kwargs) + + def SetEditCanceled(*args, **kwargs): + """SetEditCanceled(bool editCancelled)""" + return _controls.TreeEvent_SetEditCanceled(*args, **kwargs) + class TreeEventPtr(TreeEvent): def __init__(self, this): @@ -1929,93 +3699,318 @@ _controls.TreeEvent_swigregister(TreeEventPtr) #--------------------------------------------------------------------------- class TreeCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl""" newobj = _controls.new_TreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl) - def Create(*args, **kwargs): return _controls.TreeCtrl_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _controls.TreeCtrl__setCallbackInfo(*args, **kwargs) - def GetCount(*args, **kwargs): return _controls.TreeCtrl_GetCount(*args, **kwargs) - def GetIndent(*args, **kwargs): return _controls.TreeCtrl_GetIndent(*args, **kwargs) - def SetIndent(*args, **kwargs): return _controls.TreeCtrl_SetIndent(*args, **kwargs) - def GetSpacing(*args, **kwargs): return _controls.TreeCtrl_GetSpacing(*args, **kwargs) - def SetSpacing(*args, **kwargs): return _controls.TreeCtrl_SetSpacing(*args, **kwargs) - def GetImageList(*args, **kwargs): return _controls.TreeCtrl_GetImageList(*args, **kwargs) - def GetStateImageList(*args, **kwargs): return _controls.TreeCtrl_GetStateImageList(*args, **kwargs) - def SetImageList(*args, **kwargs): return _controls.TreeCtrl_SetImageList(*args, **kwargs) - def SetStateImageList(*args, **kwargs): return _controls.TreeCtrl_SetStateImageList(*args, **kwargs) - def AssignImageList(*args, **kwargs): + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> bool""" + return _controls.TreeCtrl_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.TreeCtrl__setCallbackInfo(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> size_t""" + return _controls.TreeCtrl_GetCount(*args, **kwargs) + + def GetIndent(*args, **kwargs): + """GetIndent() -> unsigned int""" + return _controls.TreeCtrl_GetIndent(*args, **kwargs) + + def SetIndent(*args, **kwargs): + """SetIndent(unsigned int indent)""" + return _controls.TreeCtrl_SetIndent(*args, **kwargs) + + def GetSpacing(*args, **kwargs): + """GetSpacing() -> unsigned int""" + return _controls.TreeCtrl_GetSpacing(*args, **kwargs) + + def SetSpacing(*args, **kwargs): + """SetSpacing(unsigned int spacing)""" + return _controls.TreeCtrl_SetSpacing(*args, **kwargs) + + def GetImageList(*args, **kwargs): + """GetImageList() -> wxImageList""" + return _controls.TreeCtrl_GetImageList(*args, **kwargs) + + def GetStateImageList(*args, **kwargs): + """GetStateImageList() -> wxImageList""" + return _controls.TreeCtrl_GetStateImageList(*args, **kwargs) + + def SetImageList(*args, **kwargs): + """SetImageList(wxImageList imageList)""" + return _controls.TreeCtrl_SetImageList(*args, **kwargs) + + def SetStateImageList(*args, **kwargs): + """SetStateImageList(wxImageList imageList)""" + return _controls.TreeCtrl_SetStateImageList(*args, **kwargs) + + def AssignImageList(*args, **kwargs): + """AssignImageList(wxImageList imageList)""" val = _controls.TreeCtrl_AssignImageList(*args, **kwargs) args[1].thisown = 0 return val - def AssignStateImageList(*args, **kwargs): + + def AssignStateImageList(*args, **kwargs): + """AssignStateImageList(wxImageList imageList)""" val = _controls.TreeCtrl_AssignStateImageList(*args, **kwargs) args[1].thisown = 0 return val - def GetItemText(*args, **kwargs): return _controls.TreeCtrl_GetItemText(*args, **kwargs) - def GetItemImage(*args, **kwargs): return _controls.TreeCtrl_GetItemImage(*args, **kwargs) - def GetItemData(*args, **kwargs): return _controls.TreeCtrl_GetItemData(*args, **kwargs) - def GetItemPyData(*args, **kwargs): return _controls.TreeCtrl_GetItemPyData(*args, **kwargs) + + def GetItemText(*args, **kwargs): + """GetItemText(TreeItemId item) -> wxString""" + return _controls.TreeCtrl_GetItemText(*args, **kwargs) + + def GetItemImage(*args, **kwargs): + """GetItemImage(TreeItemId item, wxTreeItemIcon which=TreeItemIcon_Normal) -> int""" + return _controls.TreeCtrl_GetItemImage(*args, **kwargs) + + def GetItemData(*args, **kwargs): + """GetItemData(TreeItemId item) -> TreeItemData""" + return _controls.TreeCtrl_GetItemData(*args, **kwargs) + + def GetItemPyData(*args, **kwargs): + """GetItemPyData(TreeItemId item) -> PyObject""" + return _controls.TreeCtrl_GetItemPyData(*args, **kwargs) + GetPyData = GetItemPyData - def GetItemTextColour(*args, **kwargs): return _controls.TreeCtrl_GetItemTextColour(*args, **kwargs) - def GetItemBackgroundColour(*args, **kwargs): return _controls.TreeCtrl_GetItemBackgroundColour(*args, **kwargs) - def GetItemFont(*args, **kwargs): return _controls.TreeCtrl_GetItemFont(*args, **kwargs) - def SetItemText(*args, **kwargs): return _controls.TreeCtrl_SetItemText(*args, **kwargs) - def SetItemImage(*args, **kwargs): return _controls.TreeCtrl_SetItemImage(*args, **kwargs) - def SetItemData(*args, **kwargs): return _controls.TreeCtrl_SetItemData(*args, **kwargs) - def SetItemPyData(*args, **kwargs): return _controls.TreeCtrl_SetItemPyData(*args, **kwargs) + def GetItemTextColour(*args, **kwargs): + """GetItemTextColour(TreeItemId item) -> wxColour""" + return _controls.TreeCtrl_GetItemTextColour(*args, **kwargs) + + def GetItemBackgroundColour(*args, **kwargs): + """GetItemBackgroundColour(TreeItemId item) -> wxColour""" + return _controls.TreeCtrl_GetItemBackgroundColour(*args, **kwargs) + + def GetItemFont(*args, **kwargs): + """GetItemFont(TreeItemId item) -> wxFont""" + return _controls.TreeCtrl_GetItemFont(*args, **kwargs) + + def SetItemText(*args, **kwargs): + """SetItemText(TreeItemId item, wxString text)""" + return _controls.TreeCtrl_SetItemText(*args, **kwargs) + + def SetItemImage(*args, **kwargs): + """SetItemImage(TreeItemId item, int image, wxTreeItemIcon which=TreeItemIcon_Normal)""" + return _controls.TreeCtrl_SetItemImage(*args, **kwargs) + + def SetItemData(*args, **kwargs): + """SetItemData(TreeItemId item, TreeItemData data)""" + return _controls.TreeCtrl_SetItemData(*args, **kwargs) + + def SetItemPyData(*args, **kwargs): + """SetItemPyData(TreeItemId item, PyObject obj)""" + return _controls.TreeCtrl_SetItemPyData(*args, **kwargs) + SetPyData = SetItemPyData - def SetItemHasChildren(*args, **kwargs): return _controls.TreeCtrl_SetItemHasChildren(*args, **kwargs) - def SetItemBold(*args, **kwargs): return _controls.TreeCtrl_SetItemBold(*args, **kwargs) - def SetItemDropHighlight(*args, **kwargs): return _controls.TreeCtrl_SetItemDropHighlight(*args, **kwargs) - def SetItemTextColour(*args, **kwargs): return _controls.TreeCtrl_SetItemTextColour(*args, **kwargs) - def SetItemBackgroundColour(*args, **kwargs): return _controls.TreeCtrl_SetItemBackgroundColour(*args, **kwargs) - def SetItemFont(*args, **kwargs): return _controls.TreeCtrl_SetItemFont(*args, **kwargs) - def IsVisible(*args, **kwargs): return _controls.TreeCtrl_IsVisible(*args, **kwargs) - def ItemHasChildren(*args, **kwargs): return _controls.TreeCtrl_ItemHasChildren(*args, **kwargs) - def IsExpanded(*args, **kwargs): return _controls.TreeCtrl_IsExpanded(*args, **kwargs) - def IsSelected(*args, **kwargs): return _controls.TreeCtrl_IsSelected(*args, **kwargs) - def IsBold(*args, **kwargs): return _controls.TreeCtrl_IsBold(*args, **kwargs) - def GetChildrenCount(*args, **kwargs): return _controls.TreeCtrl_GetChildrenCount(*args, **kwargs) - def GetRootItem(*args, **kwargs): return _controls.TreeCtrl_GetRootItem(*args, **kwargs) - def GetSelection(*args, **kwargs): return _controls.TreeCtrl_GetSelection(*args, **kwargs) - def GetSelections(*args, **kwargs): return _controls.TreeCtrl_GetSelections(*args, **kwargs) - def GetItemParent(*args, **kwargs): return _controls.TreeCtrl_GetItemParent(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _controls.TreeCtrl_GetFirstChild(*args, **kwargs) - def GetNextChild(*args, **kwargs): return _controls.TreeCtrl_GetNextChild(*args, **kwargs) - def GetLastChild(*args, **kwargs): return _controls.TreeCtrl_GetLastChild(*args, **kwargs) - def GetNextSibling(*args, **kwargs): return _controls.TreeCtrl_GetNextSibling(*args, **kwargs) - def GetPrevSibling(*args, **kwargs): return _controls.TreeCtrl_GetPrevSibling(*args, **kwargs) - def GetFirstVisibleItem(*args, **kwargs): return _controls.TreeCtrl_GetFirstVisibleItem(*args, **kwargs) - def GetNextVisible(*args, **kwargs): return _controls.TreeCtrl_GetNextVisible(*args, **kwargs) - def GetPrevVisible(*args, **kwargs): return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) - def AddRoot(*args, **kwargs): return _controls.TreeCtrl_AddRoot(*args, **kwargs) - def PrependItem(*args, **kwargs): return _controls.TreeCtrl_PrependItem(*args, **kwargs) - def InsertItem(*args, **kwargs): return _controls.TreeCtrl_InsertItem(*args, **kwargs) - def InsertItemBefore(*args, **kwargs): return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) - def AppendItem(*args, **kwargs): return _controls.TreeCtrl_AppendItem(*args, **kwargs) - def Delete(*args, **kwargs): return _controls.TreeCtrl_Delete(*args, **kwargs) - def DeleteChildren(*args, **kwargs): return _controls.TreeCtrl_DeleteChildren(*args, **kwargs) - def DeleteAllItems(*args, **kwargs): return _controls.TreeCtrl_DeleteAllItems(*args, **kwargs) - def Expand(*args, **kwargs): return _controls.TreeCtrl_Expand(*args, **kwargs) - def Collapse(*args, **kwargs): return _controls.TreeCtrl_Collapse(*args, **kwargs) - def CollapseAndReset(*args, **kwargs): return _controls.TreeCtrl_CollapseAndReset(*args, **kwargs) - def Toggle(*args, **kwargs): return _controls.TreeCtrl_Toggle(*args, **kwargs) - def Unselect(*args, **kwargs): return _controls.TreeCtrl_Unselect(*args, **kwargs) - def UnselectAll(*args, **kwargs): return _controls.TreeCtrl_UnselectAll(*args, **kwargs) - def SelectItem(*args, **kwargs): return _controls.TreeCtrl_SelectItem(*args, **kwargs) - def EnsureVisible(*args, **kwargs): return _controls.TreeCtrl_EnsureVisible(*args, **kwargs) - def ScrollTo(*args, **kwargs): return _controls.TreeCtrl_ScrollTo(*args, **kwargs) - def EditLabel(*args, **kwargs): return _controls.TreeCtrl_EditLabel(*args, **kwargs) - def GetEditControl(*args, **kwargs): return _controls.TreeCtrl_GetEditControl(*args, **kwargs) - def EndEditLabel(*args, **kwargs): return _controls.TreeCtrl_EndEditLabel(*args, **kwargs) - def SortChildren(*args, **kwargs): return _controls.TreeCtrl_SortChildren(*args, **kwargs) - def HitTest(*args, **kwargs): return _controls.TreeCtrl_HitTest(*args, **kwargs) - def GetBoundingRect(*args, **kwargs): return _controls.TreeCtrl_GetBoundingRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetItemHasChildren(*args, **kwargs): + """SetItemHasChildren(TreeItemId item, bool has=True)""" + return _controls.TreeCtrl_SetItemHasChildren(*args, **kwargs) + + def SetItemBold(*args, **kwargs): + """SetItemBold(TreeItemId item, bool bold=True)""" + return _controls.TreeCtrl_SetItemBold(*args, **kwargs) + + def SetItemDropHighlight(*args, **kwargs): + """SetItemDropHighlight(TreeItemId item, bool highlight=True)""" + return _controls.TreeCtrl_SetItemDropHighlight(*args, **kwargs) + + def SetItemTextColour(*args, **kwargs): + """SetItemTextColour(TreeItemId item, wxColour col)""" + return _controls.TreeCtrl_SetItemTextColour(*args, **kwargs) + + def SetItemBackgroundColour(*args, **kwargs): + """SetItemBackgroundColour(TreeItemId item, wxColour col)""" + return _controls.TreeCtrl_SetItemBackgroundColour(*args, **kwargs) + + def SetItemFont(*args, **kwargs): + """SetItemFont(TreeItemId item, wxFont font)""" + return _controls.TreeCtrl_SetItemFont(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsVisible(*args, **kwargs) + + def ItemHasChildren(*args, **kwargs): + """ItemHasChildren(TreeItemId item) -> bool""" + return _controls.TreeCtrl_ItemHasChildren(*args, **kwargs) + + def IsExpanded(*args, **kwargs): + """IsExpanded(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsExpanded(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsSelected(*args, **kwargs) + + def IsBold(*args, **kwargs): + """IsBold(TreeItemId item) -> bool""" + return _controls.TreeCtrl_IsBold(*args, **kwargs) + + def GetChildrenCount(*args, **kwargs): + """GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t""" + return _controls.TreeCtrl_GetChildrenCount(*args, **kwargs) + + def GetRootItem(*args, **kwargs): + """GetRootItem() -> TreeItemId""" + return _controls.TreeCtrl_GetRootItem(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> TreeItemId""" + return _controls.TreeCtrl_GetSelection(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _controls.TreeCtrl_GetSelections(*args, **kwargs) + + def GetItemParent(*args, **kwargs): + """GetItemParent(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetItemParent(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild(TreeItemId item) -> PyObject""" + return _controls.TreeCtrl_GetFirstChild(*args, **kwargs) + + def GetNextChild(*args, **kwargs): + """GetNextChild(TreeItemId item, wxTreeItemIdValue cookie) -> PyObject""" + return _controls.TreeCtrl_GetNextChild(*args, **kwargs) + + def GetLastChild(*args, **kwargs): + """GetLastChild(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetLastChild(*args, **kwargs) + + def GetNextSibling(*args, **kwargs): + """GetNextSibling(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetNextSibling(*args, **kwargs) + + def GetPrevSibling(*args, **kwargs): + """GetPrevSibling(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetPrevSibling(*args, **kwargs) + + def GetFirstVisibleItem(*args, **kwargs): + """GetFirstVisibleItem() -> TreeItemId""" + return _controls.TreeCtrl_GetFirstVisibleItem(*args, **kwargs) + + def GetNextVisible(*args, **kwargs): + """GetNextVisible(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetNextVisible(*args, **kwargs) + + def GetPrevVisible(*args, **kwargs): + """GetPrevVisible(TreeItemId item) -> TreeItemId""" + return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) + + def AddRoot(*args, **kwargs): + """AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_AddRoot(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_PrependItem(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_InsertItem(*args, **kwargs) + + def InsertItemBefore(*args, **kwargs): + """InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) + + def AppendItem(*args, **kwargs): + """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId""" + return _controls.TreeCtrl_AppendItem(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(TreeItemId item)""" + return _controls.TreeCtrl_Delete(*args, **kwargs) + + def DeleteChildren(*args, **kwargs): + """DeleteChildren(TreeItemId item)""" + return _controls.TreeCtrl_DeleteChildren(*args, **kwargs) + + def DeleteAllItems(*args, **kwargs): + """DeleteAllItems()""" + return _controls.TreeCtrl_DeleteAllItems(*args, **kwargs) + + def Expand(*args, **kwargs): + """Expand(TreeItemId item)""" + return _controls.TreeCtrl_Expand(*args, **kwargs) + + def Collapse(*args, **kwargs): + """Collapse(TreeItemId item)""" + return _controls.TreeCtrl_Collapse(*args, **kwargs) + + def CollapseAndReset(*args, **kwargs): + """CollapseAndReset(TreeItemId item)""" + return _controls.TreeCtrl_CollapseAndReset(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle(TreeItemId item)""" + return _controls.TreeCtrl_Toggle(*args, **kwargs) + + def Unselect(*args, **kwargs): + """Unselect()""" + return _controls.TreeCtrl_Unselect(*args, **kwargs) + + def UnselectAll(*args, **kwargs): + """UnselectAll()""" + return _controls.TreeCtrl_UnselectAll(*args, **kwargs) + + def SelectItem(*args, **kwargs): + """SelectItem(TreeItemId item)""" + return _controls.TreeCtrl_SelectItem(*args, **kwargs) + + def EnsureVisible(*args, **kwargs): + """EnsureVisible(TreeItemId item)""" + return _controls.TreeCtrl_EnsureVisible(*args, **kwargs) + + def ScrollTo(*args, **kwargs): + """ScrollTo(TreeItemId item)""" + return _controls.TreeCtrl_ScrollTo(*args, **kwargs) + + def EditLabel(*args, **kwargs): + """EditLabel(TreeItemId item)""" + return _controls.TreeCtrl_EditLabel(*args, **kwargs) + + def GetEditControl(*args, **kwargs): + """GetEditControl() -> TextCtrl""" + return _controls.TreeCtrl_GetEditControl(*args, **kwargs) + + def EndEditLabel(*args, **kwargs): + """EndEditLabel(TreeItemId item, bool discardChanges=False)""" + return _controls.TreeCtrl_EndEditLabel(*args, **kwargs) + + def SortChildren(*args, **kwargs): + """SortChildren(TreeItemId item)""" + return _controls.TreeCtrl_SortChildren(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point point, int OUTPUT) -> TreeItemId""" + return _controls.TreeCtrl_HitTest(*args, **kwargs) + + def GetBoundingRect(*args, **kwargs): + """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject""" + return _controls.TreeCtrl_GetBoundingRect(*args, **kwargs) + class TreeCtrlPtr(TreeCtrl): def __init__(self, this): @@ -2025,6 +4020,7 @@ class TreeCtrlPtr(TreeCtrl): _controls.TreeCtrl_swigregister(TreeCtrlPtr) def PreTreeCtrl(*args, **kwargs): + """PreTreeCtrl() -> TreeCtrl""" val = _controls.new_PreTreeCtrl(*args, **kwargs) val.thisown = 1 return val @@ -2037,33 +4033,101 @@ DIRCTRL_SHOW_FILTERS = _controls.DIRCTRL_SHOW_FILTERS DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS class GenericDirCtrl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl""" newobj = _controls.new_GenericDirCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.GenericDirCtrl_Create(*args, **kwargs) - def ExpandPath(*args, **kwargs): return _controls.GenericDirCtrl_ExpandPath(*args, **kwargs) - def GetDefaultPath(*args, **kwargs): return _controls.GenericDirCtrl_GetDefaultPath(*args, **kwargs) - def SetDefaultPath(*args, **kwargs): return _controls.GenericDirCtrl_SetDefaultPath(*args, **kwargs) - def GetPath(*args, **kwargs): return _controls.GenericDirCtrl_GetPath(*args, **kwargs) - def GetFilePath(*args, **kwargs): return _controls.GenericDirCtrl_GetFilePath(*args, **kwargs) - def SetPath(*args, **kwargs): return _controls.GenericDirCtrl_SetPath(*args, **kwargs) - def ShowHidden(*args, **kwargs): return _controls.GenericDirCtrl_ShowHidden(*args, **kwargs) - def GetShowHidden(*args, **kwargs): return _controls.GenericDirCtrl_GetShowHidden(*args, **kwargs) - def GetFilter(*args, **kwargs): return _controls.GenericDirCtrl_GetFilter(*args, **kwargs) - def SetFilter(*args, **kwargs): return _controls.GenericDirCtrl_SetFilter(*args, **kwargs) - def GetFilterIndex(*args, **kwargs): return _controls.GenericDirCtrl_GetFilterIndex(*args, **kwargs) - def SetFilterIndex(*args, **kwargs): return _controls.GenericDirCtrl_SetFilterIndex(*args, **kwargs) - def GetRootId(*args, **kwargs): return _controls.GenericDirCtrl_GetRootId(*args, **kwargs) - def GetTreeCtrl(*args, **kwargs): return _controls.GenericDirCtrl_GetTreeCtrl(*args, **kwargs) - def GetFilterListCtrl(*args, **kwargs): return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) - def FindChild(*args, **kwargs): return _controls.GenericDirCtrl_FindChild(*args, **kwargs) - def DoResize(*args, **kwargs): return _controls.GenericDirCtrl_DoResize(*args, **kwargs) - def ReCreateTree(*args, **kwargs): return _controls.GenericDirCtrl_ReCreateTree(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool""" + return _controls.GenericDirCtrl_Create(*args, **kwargs) + + def ExpandPath(*args, **kwargs): + """ExpandPath(wxString path) -> bool""" + return _controls.GenericDirCtrl_ExpandPath(*args, **kwargs) + + def GetDefaultPath(*args, **kwargs): + """GetDefaultPath() -> wxString""" + return _controls.GenericDirCtrl_GetDefaultPath(*args, **kwargs) + + def SetDefaultPath(*args, **kwargs): + """SetDefaultPath(wxString path)""" + return _controls.GenericDirCtrl_SetDefaultPath(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _controls.GenericDirCtrl_GetPath(*args, **kwargs) + + def GetFilePath(*args, **kwargs): + """GetFilePath() -> wxString""" + return _controls.GenericDirCtrl_GetFilePath(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _controls.GenericDirCtrl_SetPath(*args, **kwargs) + + def ShowHidden(*args, **kwargs): + """ShowHidden(bool show)""" + return _controls.GenericDirCtrl_ShowHidden(*args, **kwargs) + + def GetShowHidden(*args, **kwargs): + """GetShowHidden() -> bool""" + return _controls.GenericDirCtrl_GetShowHidden(*args, **kwargs) + + def GetFilter(*args, **kwargs): + """GetFilter() -> wxString""" + return _controls.GenericDirCtrl_GetFilter(*args, **kwargs) + + def SetFilter(*args, **kwargs): + """SetFilter(wxString filter)""" + return _controls.GenericDirCtrl_SetFilter(*args, **kwargs) + + def GetFilterIndex(*args, **kwargs): + """GetFilterIndex() -> int""" + return _controls.GenericDirCtrl_GetFilterIndex(*args, **kwargs) + + def SetFilterIndex(*args, **kwargs): + """SetFilterIndex(int n)""" + return _controls.GenericDirCtrl_SetFilterIndex(*args, **kwargs) + + def GetRootId(*args, **kwargs): + """GetRootId() -> TreeItemId""" + return _controls.GenericDirCtrl_GetRootId(*args, **kwargs) + + def GetTreeCtrl(*args, **kwargs): + """GetTreeCtrl() -> wxTreeCtrl""" + return _controls.GenericDirCtrl_GetTreeCtrl(*args, **kwargs) + + def GetFilterListCtrl(*args, **kwargs): + """GetFilterListCtrl() -> DirFilterListCtrl""" + return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) + + def FindChild(*args, **kwargs): + """FindChild(TreeItemId parentId, wxString path, bool OUTPUT) -> TreeItemId""" + return _controls.GenericDirCtrl_FindChild(*args, **kwargs) + + def DoResize(*args, **kwargs): + """DoResize()""" + return _controls.GenericDirCtrl_DoResize(*args, **kwargs) + + def ReCreateTree(*args, **kwargs): + """ReCreateTree()""" + return _controls.GenericDirCtrl_ReCreateTree(*args, **kwargs) + class GenericDirCtrlPtr(GenericDirCtrl): def __init__(self, this): @@ -2073,21 +4137,33 @@ class GenericDirCtrlPtr(GenericDirCtrl): _controls.GenericDirCtrl_swigregister(GenericDirCtrlPtr) def PreGenericDirCtrl(*args, **kwargs): + """PreGenericDirCtrl() -> GenericDirCtrl""" val = _controls.new_PreGenericDirCtrl(*args, **kwargs) val.thisown = 1 return val class DirFilterListCtrl(Choice): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> DirFilterListCtrl""" newobj = _controls.new_DirFilterListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _controls.DirFilterListCtrl_Create(*args, **kwargs) - def FillFilterList(*args, **kwargs): return _controls.DirFilterListCtrl_FillFilterList(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> bool""" + return _controls.DirFilterListCtrl_Create(*args, **kwargs) + + def FillFilterList(*args, **kwargs): + """FillFilterList(wxString filter, int defaultFilter)""" + return _controls.DirFilterListCtrl_FillFilterList(*args, **kwargs) + class DirFilterListCtrlPtr(DirFilterListCtrl): def __init__(self, this): @@ -2097,6 +4173,7 @@ class DirFilterListCtrlPtr(DirFilterListCtrl): _controls.DirFilterListCtrl_swigregister(DirFilterListCtrlPtr) def PreDirFilterListCtrl(*args, **kwargs): + """PreDirFilterListCtrl() -> DirFilterListCtrl""" val = _controls.new_PreDirFilterListCtrl(*args, **kwargs) val.thisown = 1 return val @@ -2104,33 +4181,95 @@ def PreDirFilterListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class PyControl(core.Control): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> PyControl""" newobj = _controls.new_PyControl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyControl) - def _setCallbackInfo(*args, **kwargs): return _controls.PyControl__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _controls.PyControl_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _controls.PyControl_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _controls.PyControl_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _controls.PyControl_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _controls.PyControl_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _controls.PyControl_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _controls.PyControl_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _controls.PyControl_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _controls.PyControl_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _controls.PyControl_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _controls.PyControl_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _controls.PyControl_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _controls.PyControl_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _controls.PyControl_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _controls.PyControl_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _controls.PyControl_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _controls.PyControl_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _controls.PyControl_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _controls.PyControl__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _controls.PyControl_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _controls.PyControl_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _controls.PyControl_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _controls.PyControl_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _controls.PyControl_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _controls.PyControl_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _controls.PyControl_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _controls.PyControl_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _controls.PyControl_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _controls.PyControl_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _controls.PyControl_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _controls.PyControl_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _controls.PyControl_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _controls.PyControl_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _controls.PyControl_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _controls.PyControl_base_RemoveChild(*args, **kwargs) + class PyControlPtr(PyControl): def __init__(self, this): @@ -2151,19 +4290,39 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) class HelpEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent""" newobj = _controls.new_HelpEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _controls.HelpEvent_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _controls.HelpEvent_SetPosition(*args, **kwargs) - def GetLink(*args, **kwargs): return _controls.HelpEvent_GetLink(*args, **kwargs) - def SetLink(*args, **kwargs): return _controls.HelpEvent_SetLink(*args, **kwargs) - def GetTarget(*args, **kwargs): return _controls.HelpEvent_GetTarget(*args, **kwargs) - def SetTarget(*args, **kwargs): return _controls.HelpEvent_SetTarget(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _controls.HelpEvent_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _controls.HelpEvent_SetPosition(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink() -> wxString""" + return _controls.HelpEvent_GetLink(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(wxString link)""" + return _controls.HelpEvent_SetLink(*args, **kwargs) + + def GetTarget(*args, **kwargs): + """GetTarget() -> wxString""" + return _controls.HelpEvent_GetTarget(*args, **kwargs) + + def SetTarget(*args, **kwargs): + """SetTarget(wxString target)""" + return _controls.HelpEvent_SetTarget(*args, **kwargs) + class HelpEventPtr(HelpEvent): def __init__(self, this): @@ -2173,19 +4332,29 @@ class HelpEventPtr(HelpEvent): _controls.HelpEvent_swigregister(HelpEventPtr) class ContextHelp(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window=None, bool doNow=True) -> ContextHelp""" newobj = _controls.new_ContextHelp(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_controls.delete_ContextHelp): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def BeginContextHelp(*args, **kwargs): return _controls.ContextHelp_BeginContextHelp(*args, **kwargs) - def EndContextHelp(*args, **kwargs): return _controls.ContextHelp_EndContextHelp(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def BeginContextHelp(*args, **kwargs): + """BeginContextHelp(Window window=None) -> bool""" + return _controls.ContextHelp_BeginContextHelp(*args, **kwargs) + + def EndContextHelp(*args, **kwargs): + """EndContextHelp() -> bool""" + return _controls.ContextHelp_EndContextHelp(*args, **kwargs) + class ContextHelpPtr(ContextHelp): def __init__(self, this): @@ -2195,14 +4364,18 @@ class ContextHelpPtr(ContextHelp): _controls.ContextHelp_swigregister(ContextHelpPtr) class ContextHelpButton(BitmapButton): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton""" newobj = _controls.new_ContextHelpButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class ContextHelpButtonPtr(ContextHelpButton): def __init__(self, this): @@ -2212,16 +4385,40 @@ class ContextHelpButtonPtr(ContextHelpButton): _controls.ContextHelpButton_swigregister(ContextHelpButtonPtr) class HelpProvider(object): - Set = staticmethod(_controls.HelpProvider_Set) - Get = staticmethod(_controls.HelpProvider_Get) - def GetHelp(*args, **kwargs): return _controls.HelpProvider_GetHelp(*args, **kwargs) - def ShowHelp(*args, **kwargs): return _controls.HelpProvider_ShowHelp(*args, **kwargs) - def AddHelp(*args, **kwargs): return _controls.HelpProvider_AddHelp(*args, **kwargs) - def AddHelpById(*args, **kwargs): return _controls.HelpProvider_AddHelpById(*args, **kwargs) - def Destroy(*args, **kwargs): return _controls.HelpProvider_Destroy(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider""" + return _controls.HelpProvider_Set(*args, **kwargs) + + Set = staticmethod(Set) + def Get(*args, **kwargs): + """HelpProvider.Get() -> HelpProvider""" + return _controls.HelpProvider_Get(*args, **kwargs) + + Get = staticmethod(Get) + def GetHelp(*args, **kwargs): + """GetHelp(Window window) -> wxString""" + return _controls.HelpProvider_GetHelp(*args, **kwargs) + + def ShowHelp(*args, **kwargs): + """ShowHelp(Window window) -> bool""" + return _controls.HelpProvider_ShowHelp(*args, **kwargs) + + def AddHelp(*args, **kwargs): + """AddHelp(Window window, wxString text)""" + return _controls.HelpProvider_AddHelp(*args, **kwargs) + + def AddHelpById(*args, **kwargs): + """AddHelpById(int id, wxString text)""" + return _controls.HelpProvider_AddHelpById(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _controls.HelpProvider_Destroy(*args, **kwargs) + class HelpProviderPtr(HelpProvider): def __init__(self, this): @@ -2230,18 +4427,24 @@ class HelpProviderPtr(HelpProvider): self.__class__ = HelpProvider _controls.HelpProvider_swigregister(HelpProviderPtr) -HelpProvider_Set = _controls.HelpProvider_Set +def HelpProvider_Set(*args, **kwargs): + """HelpProvider_Set(HelpProvider helpProvider) -> HelpProvider""" + return _controls.HelpProvider_Set(*args, **kwargs) -HelpProvider_Get = _controls.HelpProvider_Get +def HelpProvider_Get(*args, **kwargs): + """HelpProvider_Get() -> HelpProvider""" + return _controls.HelpProvider_Get(*args, **kwargs) class SimpleHelpProvider(HelpProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SimpleHelpProvider""" newobj = _controls.new_SimpleHelpProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SimpleHelpProviderPtr(SimpleHelpProvider): def __init__(self, this): @@ -2250,4 +4453,100 @@ class SimpleHelpProviderPtr(SimpleHelpProvider): self.__class__ = SimpleHelpProvider _controls.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr) +#--------------------------------------------------------------------------- + +class DragImage(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(wxBitmap image, wxCursor cursor=wxNullCursor) -> DragImage""" + newobj = _controls.new_DragImage(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_controls.delete_DragImage): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def SetBackingBitmap(*args, **kwargs): + """SetBackingBitmap(wxBitmap bitmap)""" + return _controls.DragImage_SetBackingBitmap(*args, **kwargs) + + def BeginDrag(*args, **kwargs): + """BeginDrag(Point hotspot, Window window, bool fullScreen=False, + Rect rect=None) -> bool""" + return _controls.DragImage_BeginDrag(*args, **kwargs) + + def BeginDragBounded(*args, **kwargs): + """BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool""" + return _controls.DragImage_BeginDragBounded(*args, **kwargs) + + def EndDrag(*args, **kwargs): + """EndDrag() -> bool""" + return _controls.DragImage_EndDrag(*args, **kwargs) + + def Move(*args, **kwargs): + """Move(Point pt) -> bool""" + return _controls.DragImage_Move(*args, **kwargs) + + def Show(*args, **kwargs): + """Show() -> bool""" + return _controls.DragImage_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide() -> bool""" + return _controls.DragImage_Hide(*args, **kwargs) + + def GetImageRect(*args, **kwargs): + """GetImageRect(Point pos) -> Rect""" + return _controls.DragImage_GetImageRect(*args, **kwargs) + + def DoDrawImage(*args, **kwargs): + """DoDrawImage(wxDC dc, Point pos) -> bool""" + return _controls.DragImage_DoDrawImage(*args, **kwargs) + + def UpdateBackingFromWindow(*args, **kwargs): + """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, + Rect destRect) -> bool""" + return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs) + + def RedrawImage(*args, **kwargs): + """RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool""" + return _controls.DragImage_RedrawImage(*args, **kwargs) + + +class DragImagePtr(DragImage): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DragImage +_controls.DragImage_swigregister(DragImagePtr) + +def DragIcon(*args, **kwargs): + """DragIcon(wxIcon image, wxCursor cursor=wxNullCursor) -> DragImage""" + val = _controls.new_DragIcon(*args, **kwargs) + val.thisown = 1 + return val + +def DragString(*args, **kwargs): + """DragString(wxString str, wxCursor cursor=wxNullCursor) -> DragImage""" + val = _controls.new_DragString(*args, **kwargs) + val.thisown = 1 + return val + +def DragTreeItem(*args, **kwargs): + """DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage""" + val = _controls.new_DragTreeItem(*args, **kwargs) + val.thisown = 1 + return val + +def DragListItem(*args, **kwargs): + """DragListItem(ListCtrl listCtrl, long id) -> DragImage""" + val = _controls.new_DragListItem(*args, **kwargs) + val.thisown = 1 + return val + diff --git a/wxPython/src/msw/controls_wrap.cpp b/wxPython/src/msw/controls_wrap.cpp index 4823d5cbb2..6c27b4796e 100644 --- a/wxPython/src/msw/controls_wrap.cpp +++ b/wxPython/src/msw/controls_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -244,63 +238,67 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #define SWIGTYPE_p_wxToggleButton swig_types[20] #define SWIGTYPE_p_wxRadioButton swig_types[21] #define SWIGTYPE_p_wxChoice swig_types[22] -#define SWIGTYPE_p_wxListItemAttr swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -#define SWIGTYPE_p_wxSize swig_types[25] -#define SWIGTYPE_p_wxListView swig_types[26] -#define SWIGTYPE_p_wxIcon swig_types[27] -#define SWIGTYPE_p_wxTextCtrl swig_types[28] -#define SWIGTYPE_p_wxNotebook swig_types[29] -#define SWIGTYPE_p_wxNotifyEvent swig_types[30] -#define SWIGTYPE_p_wxArrayString swig_types[31] -#define SWIGTYPE_p_wxListbook swig_types[32] -#define SWIGTYPE_p_wxStaticBitmap swig_types[33] -#define SWIGTYPE_p_wxSlider swig_types[34] -#define SWIGTYPE_p_wxStaticBox swig_types[35] -#define SWIGTYPE_p_wxArrayInt swig_types[36] -#define SWIGTYPE_p_wxContextHelp swig_types[37] -#define SWIGTYPE_p_long swig_types[38] -#define SWIGTYPE_p_wxEvtHandler swig_types[39] -#define SWIGTYPE_p_wxListEvent swig_types[40] -#define SWIGTYPE_p_wxListBox swig_types[41] -#define SWIGTYPE_p_wxCheckListBox swig_types[42] -#define SWIGTYPE_p_wxBookCtrl swig_types[43] -#define SWIGTYPE_p_wxSpinButton swig_types[44] -#define SWIGTYPE_p_wxButton swig_types[45] -#define SWIGTYPE_p_wxBitmapButton swig_types[46] -#define SWIGTYPE_p_wxRect swig_types[47] -#define SWIGTYPE_p_wxContextHelpButton swig_types[48] -#define SWIGTYPE_p_wxRadioBox swig_types[49] -#define SWIGTYPE_p_wxScrollBar swig_types[50] -#define SWIGTYPE_p_wxTreeItemId swig_types[51] -#define SWIGTYPE_p_wxComboBox swig_types[52] -#define SWIGTYPE_p_wxHelpEvent swig_types[53] -#define SWIGTYPE_p_wxListItem swig_types[54] -#define SWIGTYPE_p_wxNotebookSizer swig_types[55] -#define SWIGTYPE_p_wxSpinCtrl swig_types[56] -#define SWIGTYPE_p_wxImageList swig_types[57] -#define SWIGTYPE_p_wxHelpProvider swig_types[58] -#define SWIGTYPE_p_wxTextAttr swig_types[59] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[60] -#define SWIGTYPE_p_wxPoint swig_types[61] -#define SWIGTYPE_p_wxListbookEvent swig_types[62] -#define SWIGTYPE_p_wxNotebookEvent swig_types[63] -#define SWIGTYPE_p_wxObject swig_types[64] -#define SWIGTYPE_p_wxKeyEvent swig_types[65] -#define SWIGTYPE_p_wxWindow swig_types[66] -#define SWIGTYPE_p_wxString swig_types[67] -#define SWIGTYPE_p_wxBitmap swig_types[68] -#define SWIGTYPE_p_wxTreeEvent swig_types[69] -#define SWIGTYPE_p_wxMouseEvent swig_types[70] -#define SWIGTYPE_p_wxCommandEvent swig_types[71] -#define SWIGTYPE_p_wxStaticText swig_types[72] -#define SWIGTYPE_p_wxControlWithItems swig_types[73] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[74] -#define SWIGTYPE_p_wxColour swig_types[75] -#define SWIGTYPE_p_wxToolBar swig_types[76] -#define SWIGTYPE_p_wxBookCtrlSizer swig_types[77] -#define SWIGTYPE_p_wxValidator swig_types[78] -static swig_type_info *swig_types[80]; +#define SWIGTYPE_p_wxMemoryDC swig_types[23] +#define SWIGTYPE_p_wxListItemAttr swig_types[24] +#define SWIGTYPE_p_int swig_types[25] +#define SWIGTYPE_p_wxSize swig_types[26] +#define SWIGTYPE_p_wxDC swig_types[27] +#define SWIGTYPE_p_wxListView swig_types[28] +#define SWIGTYPE_p_wxIcon swig_types[29] +#define SWIGTYPE_p_wxTextCtrl swig_types[30] +#define SWIGTYPE_p_wxNotebook swig_types[31] +#define SWIGTYPE_p_wxNotifyEvent swig_types[32] +#define SWIGTYPE_p_wxArrayString swig_types[33] +#define SWIGTYPE_p_wxListbook swig_types[34] +#define SWIGTYPE_p_wxStaticBitmap swig_types[35] +#define SWIGTYPE_p_wxSlider swig_types[36] +#define SWIGTYPE_p_wxStaticBox swig_types[37] +#define SWIGTYPE_p_wxArrayInt swig_types[38] +#define SWIGTYPE_p_wxContextHelp swig_types[39] +#define SWIGTYPE_p_long swig_types[40] +#define SWIGTYPE_p_wxEvtHandler swig_types[41] +#define SWIGTYPE_p_wxListEvent swig_types[42] +#define SWIGTYPE_p_wxListBox swig_types[43] +#define SWIGTYPE_p_wxCheckListBox swig_types[44] +#define SWIGTYPE_p_wxBookCtrl swig_types[45] +#define SWIGTYPE_p_wxSpinButton swig_types[46] +#define SWIGTYPE_p_wxButton swig_types[47] +#define SWIGTYPE_p_wxBitmapButton swig_types[48] +#define SWIGTYPE_p_wxRect swig_types[49] +#define SWIGTYPE_p_wxContextHelpButton swig_types[50] +#define SWIGTYPE_p_wxRadioBox swig_types[51] +#define SWIGTYPE_p_wxScrollBar swig_types[52] +#define SWIGTYPE_p_wxTreeItemId swig_types[53] +#define SWIGTYPE_p_wxComboBox swig_types[54] +#define SWIGTYPE_p_wxHelpEvent swig_types[55] +#define SWIGTYPE_p_wxListItem swig_types[56] +#define SWIGTYPE_p_wxNotebookSizer swig_types[57] +#define SWIGTYPE_p_wxGenericDragImage swig_types[58] +#define SWIGTYPE_p_wxSpinCtrl swig_types[59] +#define SWIGTYPE_p_wxImageList swig_types[60] +#define SWIGTYPE_p_wxHelpProvider swig_types[61] +#define SWIGTYPE_p_wxTextAttr swig_types[62] +#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63] +#define SWIGTYPE_p_wxPoint swig_types[64] +#define SWIGTYPE_p_wxListbookEvent swig_types[65] +#define SWIGTYPE_p_wxNotebookEvent swig_types[66] +#define SWIGTYPE_p_wxObject swig_types[67] +#define SWIGTYPE_p_wxCursor swig_types[68] +#define SWIGTYPE_p_wxKeyEvent swig_types[69] +#define SWIGTYPE_p_wxWindow swig_types[70] +#define SWIGTYPE_p_wxString swig_types[71] +#define SWIGTYPE_p_wxBitmap swig_types[72] +#define SWIGTYPE_p_wxTreeEvent swig_types[73] +#define SWIGTYPE_p_wxMouseEvent swig_types[74] +#define SWIGTYPE_p_wxCommandEvent swig_types[75] +#define SWIGTYPE_p_wxStaticText swig_types[76] +#define SWIGTYPE_p_wxControlWithItems swig_types[77] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[78] +#define SWIGTYPE_p_wxColour swig_types[79] +#define SWIGTYPE_p_wxToolBar swig_types[80] +#define SWIGTYPE_p_wxBookCtrlSizer swig_types[81] +#define SWIGTYPE_p_wxValidator swig_types[82] +static swig_type_info *swig_types[84]; /* -------- TYPES TABLE (END) -------- */ @@ -578,7 +576,7 @@ wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){ } bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){ if (!PyCallable_Check(func)) - return FALSE; + return False; return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func); } wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ @@ -596,11 +594,11 @@ wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ DECLARE_DEF_STRING(_TreeCtrlNameStr); bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){ - if (!other) return false; + if (!other) return False; return *self == *other; } bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){ - if (!other) return true; + if (!other) return True; return *self != *other; } void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } @@ -633,8 +631,8 @@ public: bool found; wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { - PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false); - PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false); + PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False); + PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False); rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); Py_DECREF(o1); Py_DECREF(o2); @@ -689,7 +687,7 @@ PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){ num = self->GetSelections(array); for (x=0; x < num; x++) { wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); - PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); + PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True); PyList_Append(rval, item); } wxPyEndBlockThreads(); @@ -700,8 +698,8 @@ PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item wxTreeItemId ritem = self->GetFirstChild(item, cookie); wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); - PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True)); wxPyEndBlockThreads(); return tup; } @@ -709,8 +707,8 @@ PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item, wxTreeItemId ritem = self->GetNextChild(item, cookie); wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); - PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True)); wxPyEndBlockThreads(); return tup; } @@ -719,7 +717,7 @@ PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &it if (self->GetBoundingRect(item, rect, textOnly)) { wxPyBeginBlockThreads(); wxRect* r = new wxRect(rect); - PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true); + PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True); wxPyEndBlockThreads(); return val; } @@ -801,13 +799,16 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild); void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; } + +#include + #ifdef __cplusplus extern "C" { #endif static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -819,10 +820,10 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar wxString const &arg8_defvalue = wxPyButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -838,7 +839,7 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -862,7 +863,7 @@ static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwar { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -925,7 +926,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxButton *arg1 = (wxButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -937,10 +938,10 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k wxString const &arg9_defvalue = wxPyButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -958,7 +959,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -982,7 +983,7 @@ static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *k { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -1072,8 +1073,8 @@ static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxButton *arg1 = (wxButton *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -1131,7 +1132,7 @@ static PyObject * Button_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxBitmap *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -1145,7 +1146,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject wxBitmapButton *result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1184,7 +1185,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1239,7 +1240,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxBitmap *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -1253,7 +1254,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1294,7 +1295,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObj { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -1641,7 +1642,7 @@ static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -1653,10 +1654,10 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyCheckBoxNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxCheckBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1672,7 +1673,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -1696,7 +1697,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -1755,7 +1756,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -1767,10 +1768,10 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg9_defvalue = wxPyCheckBoxNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1788,7 +1789,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -1812,7 +1813,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -2033,7 +2034,7 @@ static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -2048,7 +2049,7 @@ static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwar wxChoice *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2090,7 +2091,7 @@ static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwar { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -2147,7 +2148,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxChoice *arg1 = (wxChoice *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -2162,7 +2163,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2206,7 +2207,7 @@ static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *k { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -2316,7 +2317,7 @@ static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *resultobj; wxChoice *arg1 = (wxChoice *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2328,7 +2329,7 @@ static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2357,7 +2358,7 @@ static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject wxChoice *arg1 = (wxChoice *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -2369,7 +2370,7 @@ static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2403,7 +2404,7 @@ static PyObject * Choice_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -2418,10 +2419,10 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg10_defvalue = wxPyComboBoxNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; wxComboBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2439,7 +2440,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2471,7 +2472,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kw { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -2536,7 +2537,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxComboBox *arg1 = (wxComboBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -2551,10 +2552,10 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg11_defvalue = wxPyComboBoxNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2574,7 +2575,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -2606,7 +2607,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject { arg11 = wxString_in_helper(obj9); if (arg11 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -2680,7 +2681,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2692,7 +2693,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2869,7 +2870,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject long arg2 ; long arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -2881,7 +2882,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3019,7 +3020,7 @@ static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3033,7 +3034,7 @@ static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwarg wxGauge *result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; @@ -3067,7 +3068,7 @@ static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwarg { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3118,7 +3119,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxGauge *arg1 = (wxGauge *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; int arg4 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3132,7 +3133,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -3168,7 +3169,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kw { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -3428,7 +3429,7 @@ static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3438,10 +3439,10 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyStaticBoxNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxStaticBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3456,7 +3457,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3474,7 +3475,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3537,7 +3538,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxStaticBox *arg1 = (wxStaticBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3547,10 +3548,10 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyStaticBoxNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3567,7 +3568,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3585,7 +3586,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3628,7 +3629,7 @@ static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -3639,7 +3640,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject * wxStaticLine *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3666,7 +3667,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -3717,7 +3718,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxStaticLine *arg1 = (wxStaticLine *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -3728,7 +3729,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3757,7 +3758,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3839,7 +3840,7 @@ static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3849,10 +3850,10 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * wxString const &arg7_defvalue = wxPyStaticTextNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxStaticText *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3867,7 +3868,7 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3885,7 +3886,7 @@ static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject * { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3944,7 +3945,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxStaticText *arg1 = (wxStaticText *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3954,10 +3955,10 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec wxString const &arg8_defvalue = wxPyStaticTextNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3974,7 +3975,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3992,7 +3993,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObjec { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4035,7 +4036,7 @@ static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxBitmap *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -4047,7 +4048,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject wxStaticBitmap *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4079,7 +4080,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -4130,7 +4131,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxBitmap *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -4142,7 +4143,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4176,7 +4177,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObj { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4300,7 +4301,7 @@ static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -4315,7 +4316,7 @@ static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwa wxListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4357,7 +4358,7 @@ static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwa { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4414,7 +4415,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -4429,7 +4430,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4473,7 +4474,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject * { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -4510,7 +4511,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject * wxString *arg2 = 0 ; int arg3 ; PyObject *arg4 = (PyObject *) NULL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4523,7 +4524,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { arg4 = obj3; @@ -4683,7 +4684,7 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -4789,9 +4790,9 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -4804,7 +4805,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -4886,7 +4887,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, P PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4898,7 +4899,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4951,7 +4952,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject * PyObject *resultobj; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4963,7 +4964,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5022,7 +5023,7 @@ static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -5037,7 +5038,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject wxCheckListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5079,7 +5080,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj7); if (arg9 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -5136,7 +5137,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -5151,7 +5152,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5195,7 +5196,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObj { arg10 = wxString_in_helper(obj8); if (arg10 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -5256,7 +5257,7 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; - int arg3 = (int) TRUE ; + int arg3 = (int) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "index",(char *) "check", NULL @@ -5338,8 +5339,8 @@ static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6252,7 +6253,7 @@ static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -6265,10 +6266,10 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyTextCtrlNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxTextCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -6285,7 +6286,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6310,7 +6311,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -6373,7 +6374,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -6386,10 +6387,10 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject wxString const &arg9_defvalue = wxPyTextCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -6408,7 +6409,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -6433,7 +6434,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -6501,7 +6502,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6513,7 +6514,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6852,7 +6853,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject long arg2 ; long arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -6864,7 +6865,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6919,7 +6920,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObjec wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6931,7 +6932,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6961,7 +6962,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObjec wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6974,7 +6975,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -7079,7 +7080,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7091,7 +7092,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7119,7 +7120,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7131,7 +7132,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7826,7 +7827,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; - bool arg2 = (bool) true ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7883,7 +7884,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7895,7 +7896,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8078,7 +8079,7 @@ static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8091,7 +8092,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *k wxScrollBar *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8125,7 +8126,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8176,7 +8177,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxScrollBar *arg1 = (wxScrollBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8189,7 +8190,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8225,7 +8226,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -8407,7 +8408,7 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, Py int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) TRUE ; + bool arg6 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -8444,7 +8445,7 @@ static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8455,7 +8456,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject * wxSpinButton *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8482,7 +8483,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -8533,7 +8534,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxSpinButton *arg1 = (wxSpinButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8544,7 +8545,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8573,7 +8574,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8809,7 +8810,7 @@ static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -8823,10 +8824,10 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw wxString const &arg10_defvalue = wxPySpinCtrlNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; wxSpinCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8842,7 +8843,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -8861,7 +8862,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kw { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -8920,7 +8921,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -8934,10 +8935,10 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject wxString const &arg11_defvalue = wxPySpinCtrlNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8955,7 +8956,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -8974,7 +8975,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject { arg11 = wxString_in_helper(obj10); if (arg11 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -9061,7 +9062,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, P PyObject *resultobj; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9073,7 +9074,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9209,7 +9210,7 @@ static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -9224,10 +9225,10 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw wxString const &arg11_defvalue = wxPyRadioBoxNameStr ; wxString *arg11 = (wxString *) &arg11_defvalue ; wxRadioBox *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9244,7 +9245,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -9275,7 +9276,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kw { arg11 = wxString_in_helper(obj9); if (arg11 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -9340,7 +9341,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -9355,10 +9356,10 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject wxString const &arg12_defvalue = wxPyRadioBoxNameStr ; wxString *arg12 = (wxString *) &arg12_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -9377,7 +9378,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -9408,7 +9409,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject { arg12 = wxString_in_helper(obj10); if (arg12 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -9533,7 +9534,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *arg wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9545,7 +9546,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9599,7 +9600,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObj wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9611,7 +9612,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9672,7 +9673,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObje wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9684,7 +9685,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9712,7 +9713,7 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9743,7 +9744,7 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9858,7 +9859,7 @@ static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -9870,10 +9871,10 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyRadioButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxRadioButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9889,7 +9890,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -9913,7 +9914,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -9972,7 +9973,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxRadioButton *arg1 = (wxRadioButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -9984,10 +9985,10 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje wxString const &arg9_defvalue = wxPyRadioButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -10005,7 +10006,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -10029,7 +10030,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObje { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -10125,7 +10126,7 @@ static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; int arg3 ; int arg4 ; int arg5 ; @@ -10141,7 +10142,7 @@ static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwar wxSlider *result; wxPoint temp6 ; wxSize temp7 ; - bool temp10 = false ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; @@ -10175,7 +10176,7 @@ static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwar { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -10226,7 +10227,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxSlider *arg1 = (wxSlider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; int arg4 ; int arg5 ; int arg6 ; @@ -10242,7 +10243,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp7 ; wxSize temp8 ; - bool temp11 = false ; + bool temp11 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj6 = 0 ; @@ -10278,7 +10279,7 @@ static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *k { arg11 = wxString_in_helper(obj10); if (arg11 == NULL) SWIG_fail; - temp11 = true; + temp11 = True; } } { @@ -10839,7 +10840,7 @@ static PyObject * Slider_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -10851,10 +10852,10 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyToggleButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxToggleButton *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -10870,7 +10871,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -10894,7 +10895,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -10953,7 +10954,7 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -10965,10 +10966,10 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObj wxString const &arg9_defvalue = wxPyToggleButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = false ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -10986,7 +10987,7 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -11010,7 +11011,7 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObj { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -11100,7 +11101,7 @@ static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11112,7 +11113,7 @@ static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11230,7 +11231,7 @@ static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyOb size_t arg2 ; wxString *arg3 = 0 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11245,7 +11246,7 @@ static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11599,10 +11600,10 @@ static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject wxBookCtrl *arg1 = (wxBookCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; - bool arg4 = (bool) false ; + bool arg4 = (bool) False ; int arg5 = (int) -1 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11617,7 +11618,7 @@ static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -11651,10 +11652,10 @@ static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObj size_t arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; wxString *arg4 = 0 ; - bool arg5 = (bool) false ; + bool arg5 = (bool) False ; int arg6 = (int) -1 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11672,7 +11673,7 @@ static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { arg5 = PyInt_AsLong(obj4) ? true : false; @@ -11732,7 +11733,7 @@ static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyO static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxBookCtrl *arg1 = (wxBookCtrl *) 0 ; - bool arg2 = (bool) true ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11902,7 +11903,7 @@ static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -11913,7 +11914,7 @@ static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kw wxNotebook *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -11940,7 +11941,7 @@ static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -11995,7 +11996,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxNotebook *arg1 = (wxNotebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -12006,7 +12007,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -12035,7 +12036,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -12299,7 +12300,7 @@ static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -12310,7 +12311,7 @@ static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kw wxListbook *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -12337,7 +12338,7 @@ static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -12388,7 +12389,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListbook *arg1 = (wxListbook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -12399,7 +12400,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -12428,7 +12429,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -13284,7 +13285,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *ar wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13296,7 +13297,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13325,7 +13326,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *arg wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13337,7 +13338,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13425,7 +13426,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *resultobj; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13437,7 +13438,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13586,9 +13587,9 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO wxString *arg8 = (wxString *) &arg8_defvalue ; PyObject *arg9 = (PyObject *) NULL ; wxToolBarToolBase *result; - bool temp3 = false ; - bool temp7 = false ; - bool temp8 = false ; + bool temp3 = False ; + bool temp7 = False ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13605,7 +13606,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg4 == NULL) { @@ -13621,14 +13622,14 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj7) { { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj8) { @@ -13690,9 +13691,9 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, wxString *arg9 = (wxString *) &arg9_defvalue ; PyObject *arg10 = (PyObject *) NULL ; wxToolBarToolBase *result; - bool temp4 = false ; - bool temp8 = false ; - bool temp9 = false ; + bool temp4 = False ; + bool temp8 = False ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -13712,7 +13713,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg5 == NULL) { @@ -13728,14 +13729,14 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj8) { { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } if (obj9) { @@ -14287,7 +14288,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *ar wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -14299,7 +14300,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14360,7 +14361,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *arg wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -14372,7 +14373,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *arg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14836,8 +14837,8 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, P static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14897,7 +14898,7 @@ static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -14908,7 +14909,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwa wxToolBar *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -14935,7 +14936,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwa { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -14990,7 +14991,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxToolBar *arg1 = (wxToolBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -15001,7 +15002,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -15030,7 +15031,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -15058,8 +15059,8 @@ static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxToolBar *arg1 = (wxToolBar *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15652,7 +15653,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15664,7 +15665,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16449,7 +16450,6 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxListItem *arg1 = (wxListItem *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16458,8 +16458,12 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->m_text = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -17286,7 +17290,7 @@ static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -17299,7 +17303,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kw wxPyListCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -17333,7 +17337,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -17384,7 +17388,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -17397,7 +17401,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -17433,7 +17437,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -17814,7 +17818,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, Py wxString *arg4 = 0 ; int arg5 = (int) -1 ; long result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -17826,7 +17830,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, Py { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17970,7 +17974,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyOb wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -17982,7 +17986,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18346,7 +18350,7 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, P PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -18826,9 +18830,9 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObjec wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool arg4 = (bool) FALSE ; + bool arg4 = (bool) False ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -18841,7 +18845,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -19006,7 +19010,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, long arg2 ; wxString *arg3 = 0 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -19018,7 +19022,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19076,7 +19080,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject * wxString *arg3 = 0 ; int arg4 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -19088,7 +19092,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19152,7 +19156,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyO int arg4 = (int) wxLIST_FORMAT_LEFT ; int arg5 = (int) -1 ; long result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -19164,7 +19168,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19429,7 +19433,7 @@ static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -19442,7 +19446,7 @@ static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kw wxListView *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -19476,7 +19480,7 @@ static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -19527,7 +19531,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListView *arg1 = (wxListView *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -19540,7 +19544,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -19576,7 +19580,7 @@ static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -19605,7 +19609,7 @@ static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -20478,7 +20482,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -20490,7 +20494,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -20577,7 +20581,7 @@ static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -20590,7 +20594,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kw wxPyTreeCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -20624,7 +20628,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20675,7 +20679,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -20688,7 +20692,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -20724,7 +20728,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -21313,7 +21317,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyOb wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21330,7 +21334,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21456,7 +21460,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *arg PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21492,7 +21496,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21528,7 +21532,7 @@ static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *a PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21829,7 +21833,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22260,7 +22264,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject int arg4 = (int) -1 ; wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -22273,7 +22277,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj4) { if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22313,7 +22317,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyOb int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22331,7 +22335,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj5) { if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22372,7 +22376,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObj int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22395,7 +22399,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22436,7 +22440,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22457,7 +22461,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22497,7 +22501,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObj int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22515,7 +22519,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObj { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj5) { if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22949,7 +22953,7 @@ static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23058,7 +23062,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -23101,7 +23105,7 @@ static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; @@ -23115,11 +23119,11 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; wxGenericDirCtrl *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; - bool temp9 = false ; + bool temp7 = False ; + bool temp9 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -23136,7 +23140,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -23155,14 +23159,14 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } if (obj8) { { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = true; + temp9 = True; } } { @@ -23229,7 +23233,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; @@ -23243,11 +23247,11 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; - bool temp10 = false ; + bool temp8 = False ; + bool temp10 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -23266,7 +23270,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -23285,14 +23289,14 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyO { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } if (obj9) { { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = true; + temp10 = True; } } { @@ -23338,7 +23342,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23350,7 +23354,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23409,7 +23413,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *a PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23421,7 +23425,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23511,7 +23515,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23523,7 +23527,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23635,7 +23639,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23647,7 +23651,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23810,7 +23814,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, bool *arg4 = 0 ; wxTreeItemId result; wxTreeItemId *argp2 ; - bool temp3 = false ; + bool temp3 = False ; bool temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -23827,7 +23831,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23917,7 +23921,7 @@ static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -23987,7 +23991,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *resultobj; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -24038,7 +24042,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24050,7 +24054,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24084,7 +24088,7 @@ static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -24097,7 +24101,7 @@ static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *k wxPyControl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24131,7 +24135,7 @@ static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -24709,7 +24713,7 @@ static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - wxWindowID arg2 = (wxWindowID) 0 ; + int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxHelpEvent *result; @@ -24831,7 +24835,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24843,7 +24847,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24899,7 +24903,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24911,7 +24915,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24945,7 +24949,7 @@ static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) NULL ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxContextHelp *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -25064,7 +25068,7 @@ static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_CONTEXT_HELP ; + int arg2 = (int) wxID_CONTEXT_HELP ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -25229,7 +25233,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -25243,7 +25247,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25270,9 +25274,9 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -25284,7 +25288,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25368,192 +25372,797 @@ static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyMethodDef SwigMethods[] = { - { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS }, - { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS }, - { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS }, - { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS }, - { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS }, - { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS }, - { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS }, - { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS }, - { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS }, - { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, - { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS }, - { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS }, - { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS }, - { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS }, - { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS }, - { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS }, - { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, - { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, +static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxBitmap *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "image",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxIcon *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "image",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxString *arg1 = 0 ; + wxCursor const &arg2_defvalue = wxNullCursor ; + wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; + wxGenericDragImage *result; + bool temp1 = False ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "str",(char *) "cursor", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = True; + } + if (obj1) { + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyTreeCtrl *arg1 = 0 ; + wxTreeItemId *arg2 = 0 ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "treeCtrl",(char *) "id", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyListCtrl *arg1 = 0 ; + long arg2 ; + wxGenericDragImage *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "listCtrl",(char *) "id", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg1 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,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_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxBitmap *arg2 = (wxBitmap *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "bitmap", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetBackingBitmap(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxWindow *arg3 = (wxWindow *) 0 ; + bool arg4 = (bool) False ; + wxRect *arg5 = (wxRect *) NULL ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (obj3) { + arg4 = PyInt_AsLong(obj3) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + } + if (obj4) { + if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxWindow *arg4 = (wxWindow *) 0 ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->EndDrag(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + bool result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Move((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Show(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Hide(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxRect result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxRect * resultptr; + resultptr = new wxRect((wxRect &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool result; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "dc",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxDC *arg2 = 0 ; + wxMemoryDC *arg3 = 0 ; + wxRect *arg4 = 0 ; + wxRect *arg5 = 0 ; + bool result; + wxRect temp4 ; + wxRect temp5 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg2 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (arg3 == NULL) { + PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; + } + { + arg4 = &temp4; + if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; + } + { + arg5 = &temp5; + if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; + wxPoint *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool arg4 ; + bool arg5 ; + bool result; + wxPoint temp2 ; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + arg4 = PyInt_AsLong(obj3) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + arg5 = PyInt_AsLong(obj4) ? true : false; + if (PyErr_Occurred()) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyMethodDef SwigMethods[] = { + { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS }, + { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS }, + { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS }, + { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS }, + { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS }, + { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS }, + { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS }, + { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS }, + { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS }, + { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS }, + { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS }, + { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS }, + { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS }, + { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS }, + { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS }, @@ -26151,6 +26760,24 @@ static PyMethodDef SwigMethods[] = { { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS }, { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS }, { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS }, + { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS }, + { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS }, { NULL, NULL } }; @@ -26859,6 +27486,9 @@ static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } +static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxGenericDragImage *) x)); +} static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); } @@ -27137,9 +27767,11 @@ static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}}; static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}}; static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}}; +static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}}; static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}}; static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; +static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}}; static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}}; @@ -27170,6 +27802,7 @@ static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}}; static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}}; static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}}; +static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}}; static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}}; static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}}; static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}}; @@ -27178,7 +27811,8 @@ static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvi static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}}; static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; @@ -27218,9 +27852,11 @@ _swigt__p_wxFont, _swigt__p_wxToggleButton, _swigt__p_wxRadioButton, _swigt__p_wxChoice, +_swigt__p_wxMemoryDC, _swigt__p_wxListItemAttr, _swigt__p_int, _swigt__p_wxSize, +_swigt__p_wxDC, _swigt__p_wxListView, _swigt__p_wxIcon, _swigt__p_wxTextCtrl, @@ -27251,6 +27887,7 @@ _swigt__p_wxComboBox, _swigt__p_wxHelpEvent, _swigt__p_wxListItem, _swigt__p_wxNotebookSizer, +_swigt__p_wxGenericDragImage, _swigt__p_wxSpinCtrl, _swigt__p_wxImageList, _swigt__p_wxHelpProvider, @@ -27260,6 +27897,7 @@ _swigt__p_wxPoint, _swigt__p_wxListbookEvent, _swigt__p_wxNotebookEvent, _swigt__p_wxObject, +_swigt__p_wxCursor, _swigt__p_wxKeyEvent, _swigt__p_wxWindow, _swigt__p_wxString, @@ -27618,5 +28256,8 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP)); PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP)); + + wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage"); + } diff --git a/wxPython/src/msw/core.py b/wxPython/src/msw/core.py index d6dcbf3274..20984a1c55 100644 --- a/wxPython/src/msw/core.py +++ b/wxPython/src/msw/core.py @@ -552,11 +552,23 @@ UPDATE_UI_FROMIDLE = _core.UPDATE_UI_FROMIDLE #--------------------------------------------------------------------------- class Object(object): - def GetClassName(*args, **kwargs): return _core.Object_GetClassName(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Object_Destroy(*args, **kwargs) + """The base class for most wx objects, although in wxPython not +much functionality is needed nor exposed.""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetClassName(*args, **kwargs): + """GetClassName() -> wxString + +Returns the class name of the C++ object using wxRTTI.""" + return _core.Object_GetClassName(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Object_Destroy(*args, **kwargs) + class ObjectPtr(Object): def __init__(self, this): @@ -636,42 +648,106 @@ CURSOR_MAX = _core.CURSOR_MAX #--------------------------------------------------------------------------- class Size(object): + """wx.Size is a useful data structure used to represent the size of something. +It simply contians integer width and height proprtites. In most places in +wxPython where a wx.Size is expected a (width,height) tuple can be used +instead.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) width = property(_core.Size_width_get, _core.Size_width_set) height = property(_core.Size_height_get, _core.Size_height_set) def __init__(self, *args, **kwargs): + """__init__(int w=0, int h=0) -> Size + +Creates a size object.""" newobj = _core.new_Size(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Size): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args, **kwargs): return _core.Size___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Size___ne__(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Size___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.Size___sub__(*args, **kwargs) - def IncTo(*args, **kwargs): return _core.Size_IncTo(*args, **kwargs) - def DecTo(*args, **kwargs): return _core.Size_DecTo(*args, **kwargs) - def Set(*args, **kwargs): return _core.Size_Set(*args, **kwargs) - def SetWidth(*args, **kwargs): return _core.Size_SetWidth(*args, **kwargs) - def SetHeight(*args, **kwargs): return _core.Size_SetHeight(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Size_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Size_GetHeight(*args, **kwargs) - def GetX(*args, **kwargs): return _core.Size_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.Size_GetY(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Size_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxSize'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(Size sz) -> bool + +Test for equality of wx.Size objects.""" + return _core.Size___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Size sz) -> bool + +Test for inequality.""" + return _core.Size___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Size sz) -> Size + +Add sz's proprties to this and return the result.""" + return _core.Size___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(Size sz) -> Size + +Subtract sz's properties from this and return the result.""" + return _core.Size___sub__(*args, **kwargs) + + def IncTo(*args, **kwargs): + """IncTo(Size sz) + +Increments this object so that both of its dimensions are not less +than the corresponding dimensions of the size.""" + return _core.Size_IncTo(*args, **kwargs) + + def DecTo(*args, **kwargs): + """DecTo(Size sz) + +Decrements this object so that both of its dimensions are not greater +than the corresponding dimensions of the size.""" + return _core.Size_DecTo(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int w, int h) + +Set both width and height.""" + return _core.Size_Set(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _core.Size_SetWidth(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _core.Size_SetHeight(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Size_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Size_GetHeight(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (width,height) + +Returns the width and height properties as a tuple.""" + return _core.Size_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Size'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.width = val elif index == 1: self.height = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -685,34 +761,75 @@ _core.Size_swigregister(SizePtr) #--------------------------------------------------------------------------- class RealPoint(object): + """A data structure for representing a point or position with floating point x +and y properties. In wxPython most places that expect a wx.RealPoint can also +accept a (x,y) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.RealPoint_x_get, _core.RealPoint_x_set) y = property(_core.RealPoint_y_get, _core.RealPoint_y_set) def __init__(self, *args, **kwargs): + """__init__(double x=0.0, double y=0.0) -> RealPoint + +Create a wx.RealPoint object""" newobj = _core.new_RealPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_RealPoint): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __add__(*args, **kwargs): return _core.RealPoint___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.RealPoint___sub__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.RealPoint___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.RealPoint___ne__(*args, **kwargs) - def Set(*args, **kwargs): return _core.RealPoint_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.RealPoint_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxRealPoint'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(RealPoint pt) -> bool + +Test for equality of wx.RealPoint objects.""" + return _core.RealPoint___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(RealPoint pt) -> bool + +Test for inequality of wx.RealPoint objects.""" + return _core.RealPoint___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(RealPoint pt) -> RealPoint + +Add pt's proprties to this and return the result.""" + return _core.RealPoint___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(RealPoint pt) -> RealPoint + +Subtract pt's proprties from this and return the result""" + return _core.RealPoint___sub__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(double x, double y) + +Set both the x and y properties""" + return _core.RealPoint_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return the x and y properties as a tuple. """ + return _core.RealPoint_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.RealPoint'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): - if index == 0: self.width = val - elif index == 1: self.height = val + if index == 0: self.x = val + elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0.0, 0.0) + def __nonzero__(self): return self.Get() != (0.0, 0.0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -726,36 +843,87 @@ _core.RealPoint_swigregister(RealPointPtr) #--------------------------------------------------------------------------- class Point(object): + """A data structure for representing a point or position with integer x and y +properties. Most places in wxPython that expect a wx.Point can also accept a +(x,y) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.Point_x_get, _core.Point_x_set) y = property(_core.Point_y_get, _core.Point_y_set) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0) -> Point + +Create a wx.Point object""" newobj = _core.new_Point(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Point): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args, **kwargs): return _core.Point___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Point___ne__(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Point___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _core.Point___sub__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Point___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _core.Point___isub__(*args, **kwargs) - def Set(*args, **kwargs): return _core.Point_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Point_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxPoint'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + + def __eq__(*args, **kwargs): + """__eq__(Point pt) -> bool + +Test for equality of wx.Point objects.""" + return _core.Point___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Point pt) -> bool + +Test for inequality of wx.Point objects.""" + return _core.Point___ne__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Point pt) -> Point + +Add pt's proprties to this and return the result.""" + return _core.Point___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(Point pt) -> Point + +Subtract pt's proprties from this and return the result""" + return _core.Point___sub__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Point pt) -> Point + +Add pt to this object.""" + return _core.Point___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(Point pt) -> Point + +Subtract pt from this object.""" + return _core.Point___isub__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(long x, long y) + +Set both the x and y properties""" + return _core.Point_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return the x and y properties as a tuple. """ + return _core.Point_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Point'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.x = val elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -769,66 +937,219 @@ _core.Point_swigregister(PointPtr) #--------------------------------------------------------------------------- class Rect(object): + """A class for representing and manipulating rectangles. It has x, y, width and +height properties. In wxPython most palces that expect a wx.Rect can also +accept a (x,y,width,height) tuple.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0, int width=0, int height=0) -> Rect + +Create a new Rect object.""" newobj = _core.new_Rect(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Rect): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetX(*args, **kwargs): return _core.Rect_GetX(*args, **kwargs) - def SetX(*args, **kwargs): return _core.Rect_SetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.Rect_GetY(*args, **kwargs) - def SetY(*args, **kwargs): return _core.Rect_SetY(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Rect_GetWidth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _core.Rect_SetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Rect_GetHeight(*args, **kwargs) - def SetHeight(*args, **kwargs): return _core.Rect_SetHeight(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Rect_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.Rect_SetPosition(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Rect_GetSize(*args, **kwargs) - def SetSize(*args, **kwargs): return _core.Rect_SetSize(*args, **kwargs) - def GetLeft(*args, **kwargs): return _core.Rect_GetLeft(*args, **kwargs) - def GetTop(*args, **kwargs): return _core.Rect_GetTop(*args, **kwargs) - def GetBottom(*args, **kwargs): return _core.Rect_GetBottom(*args, **kwargs) - def GetRight(*args, **kwargs): return _core.Rect_GetRight(*args, **kwargs) - def SetLeft(*args, **kwargs): return _core.Rect_SetLeft(*args, **kwargs) - def SetRight(*args, **kwargs): return _core.Rect_SetRight(*args, **kwargs) - def SetTop(*args, **kwargs): return _core.Rect_SetTop(*args, **kwargs) - def SetBottom(*args, **kwargs): return _core.Rect_SetBottom(*args, **kwargs) - def Inflate(*args, **kwargs): return _core.Rect_Inflate(*args, **kwargs) - def Deflate(*args, **kwargs): return _core.Rect_Deflate(*args, **kwargs) - def OffsetXY(*args, **kwargs): return _core.Rect_OffsetXY(*args, **kwargs) - def Offset(*args, **kwargs): return _core.Rect_Offset(*args, **kwargs) - def Intersect(*args, **kwargs): return _core.Rect_Intersect(*args, **kwargs) - def __add__(*args, **kwargs): return _core.Rect___add__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Rect___iadd__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.Rect___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Rect___ne__(*args, **kwargs) - def InsideXY(*args, **kwargs): return _core.Rect_InsideXY(*args, **kwargs) - def Inside(*args, **kwargs): return _core.Rect_Inside(*args, **kwargs) - def Intersects(*args, **kwargs): return _core.Rect_Intersects(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.Rect_GetX(*args, **kwargs) + + def SetX(*args, **kwargs): + """SetX(int x)""" + return _core.Rect_SetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.Rect_GetY(*args, **kwargs) + + def SetY(*args, **kwargs): + """SetY(int y)""" + return _core.Rect_SetY(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Rect_GetWidth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _core.Rect_SetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Rect_GetHeight(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _core.Rect_SetHeight(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.Rect_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point p)""" + return _core.Rect_SetPosition(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.Rect_GetSize(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size s)""" + return _core.Rect_SetSize(*args, **kwargs) + + def GetLeft(*args, **kwargs): + """GetLeft() -> int""" + return _core.Rect_GetLeft(*args, **kwargs) + + def GetTop(*args, **kwargs): + """GetTop() -> int""" + return _core.Rect_GetTop(*args, **kwargs) + + def GetBottom(*args, **kwargs): + """GetBottom() -> int""" + return _core.Rect_GetBottom(*args, **kwargs) + + def GetRight(*args, **kwargs): + """GetRight() -> int""" + return _core.Rect_GetRight(*args, **kwargs) + + def SetLeft(*args, **kwargs): + """SetLeft(int left)""" + return _core.Rect_SetLeft(*args, **kwargs) + + def SetRight(*args, **kwargs): + """SetRight(int right)""" + return _core.Rect_SetRight(*args, **kwargs) + + def SetTop(*args, **kwargs): + """SetTop(int top)""" + return _core.Rect_SetTop(*args, **kwargs) + + def SetBottom(*args, **kwargs): + """SetBottom(int bottom)""" + return _core.Rect_SetBottom(*args, **kwargs) + + position = property(GetPosition, SetPosition) + size = property(GetSize, SetSize) + left = property(GetLeft, SetLeft) + right = property(GetRight, SetRight) + top = property(GetTop, SetTop) + bottom = property(GetBottom, SetBottom) + + def Inflate(*args, **kwargs): + """Inflate(int dx, int dy) -> Rect + +Increase the rectangle size by dx in x direction and dy in y direction. Both +(or one of) parameters may be negative to decrease the rectangle size.""" + return _core.Rect_Inflate(*args, **kwargs) + + def Deflate(*args, **kwargs): + """Deflate(int dx, int dy) -> Rect + +Decrease the rectangle size by dx in x direction and dy in y direction. Both +(or one of) parameters may be negative to increase the rectngle size. This +method is the opposite of Inflate.""" + return _core.Rect_Deflate(*args, **kwargs) + + def OffsetXY(*args, **kwargs): + """OffsetXY(int dx, int dy) + +Moves the rectangle by the specified offset. If dx is positive, the rectangle +is moved to the right, if dy is positive, it is moved to the bottom, otherwise +it is moved to the left or top respectively.""" + return _core.Rect_OffsetXY(*args, **kwargs) + + def Offset(*args, **kwargs): + """Offset(Point pt) + +Same as OffsetXY but uses dx,dy from Point""" + return _core.Rect_Offset(*args, **kwargs) + + def Intersect(*args, **kwargs): + """Intersect(Rect rect) -> Rect + +Return the intersectsion of this rectangle and rect.""" + return _core.Rect_Intersect(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(Rect rect) -> Rect + +Add the properties of rect to this rectangle and return the result.""" + return _core.Rect___add__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Rect rect) -> Rect + +Add the properties of rect to this rectangle, updating this rectangle.""" + return _core.Rect___iadd__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Rect rect) -> bool + +Test for equality.""" + return _core.Rect___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Rect rect) -> bool + +Test for inequality.""" + return _core.Rect___ne__(*args, **kwargs) + + def InsideXY(*args, **kwargs): + """InsideXY(int x, int y) -> bool + +Return True if the point is (not strcitly) inside the rect.""" + return _core.Rect_InsideXY(*args, **kwargs) + + def Inside(*args, **kwargs): + """Inside(Point pt) -> bool + +Return True if the point is (not strcitly) inside the rect.""" + return _core.Rect_Inside(*args, **kwargs) + + def Intersects(*args, **kwargs): + """Intersects(Rect rect) -> bool + +Returns True if the rectangles have a non empty intersection.""" + return _core.Rect_Intersects(*args, **kwargs) + x = property(_core.Rect_x_get, _core.Rect_x_set) y = property(_core.Rect_y_get, _core.Rect_y_set) width = property(_core.Rect_width_get, _core.Rect_width_set) height = property(_core.Rect_height_get, _core.Rect_height_set) - def Set(*args, **kwargs): return _core.Rect_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Rect_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxRect'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def Set(*args, **kwargs): + """Set(int x=0, int y=0, int width=0, int height=0) + +Set all rectangle properties.""" + return _core.Rect_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y,width,height) + +Return the rectangle properties as a tuple.""" + return _core.Rect_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Rect'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.x = val elif index == 1: self.y = val elif index == 2: self.width = val elif index == 3: self.height = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0,0,0) + def __nonzero__(self): return self.Get() != (0,0,0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -840,65 +1161,149 @@ class RectPtr(Rect): _core.Rect_swigregister(RectPtr) def RectPP(*args, **kwargs): + """RectPP(Point topLeft, Point bottomRight) -> Rect + +Create a new Rect object from Points representing two corners.""" val = _core.new_RectPP(*args, **kwargs) val.thisown = 1 return val def RectPS(*args, **kwargs): + """RectPS(Point pos, Size size) -> Rect + +Create a new Rect from a position and size.""" val = _core.new_RectPS(*args, **kwargs) val.thisown = 1 return val -IntersectRect = _core.IntersectRect +def IntersectRect(*args, **kwargs): + """IntersectRect(Rect r1, Rect r2) -> Rect + +Calculate and return the intersection of r1 and r2.""" + return _core.IntersectRect(*args, **kwargs) #--------------------------------------------------------------------------- class Point2D(object): + """wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(double x=0.0, double y=0.0) -> Point2D + +Create a w.Point2D object.""" newobj = _core.new_Point2D(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFloor(*args, **kwargs): return _core.Point2D_GetFloor(*args, **kwargs) - def GetRounded(*args, **kwargs): return _core.Point2D_GetRounded(*args, **kwargs) - def GetVectorLength(*args, **kwargs): return _core.Point2D_GetVectorLength(*args, **kwargs) - def GetVectorAngle(*args, **kwargs): return _core.Point2D_GetVectorAngle(*args, **kwargs) - def SetVectorLength(*args, **kwargs): return _core.Point2D_SetVectorLength(*args, **kwargs) - def SetVectorAngle(*args, **kwargs): return _core.Point2D_SetVectorAngle(*args, **kwargs) + def GetFloor(*args, **kwargs): + """GetFloor() -> (x,y) + +Convert to integer""" + return _core.Point2D_GetFloor(*args, **kwargs) + + def GetRounded(*args, **kwargs): + """GetRounded() -> (x,y) + +Convert to integer""" + return _core.Point2D_GetRounded(*args, **kwargs) + + def GetVectorLength(*args, **kwargs): + """GetVectorLength() -> double""" + return _core.Point2D_GetVectorLength(*args, **kwargs) + + def GetVectorAngle(*args, **kwargs): + """GetVectorAngle() -> double""" + return _core.Point2D_GetVectorAngle(*args, **kwargs) + + def SetVectorLength(*args, **kwargs): + """SetVectorLength(double length)""" + return _core.Point2D_SetVectorLength(*args, **kwargs) + + def SetVectorAngle(*args, **kwargs): + """SetVectorAngle(double degrees)""" + return _core.Point2D_SetVectorAngle(*args, **kwargs) + def SetPolarCoordinates(self, angle, length): self.SetVectorLength(length) self.SetVectorAngle(angle) def Normalize(self): self.SetVectorLength(1.0) - def GetDistance(*args, **kwargs): return _core.Point2D_GetDistance(*args, **kwargs) - def GetDistanceSquare(*args, **kwargs): return _core.Point2D_GetDistanceSquare(*args, **kwargs) - def GetDotProduct(*args, **kwargs): return _core.Point2D_GetDotProduct(*args, **kwargs) - def GetCrossProduct(*args, **kwargs): return _core.Point2D_GetCrossProduct(*args, **kwargs) - def __neg__(*args, **kwargs): return _core.Point2D___neg__(*args, **kwargs) - def __iadd__(*args, **kwargs): return _core.Point2D___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _core.Point2D___isub__(*args, **kwargs) - def __imul__(*args, **kwargs): return _core.Point2D___imul__(*args, **kwargs) - def __idiv__(*args, **kwargs): return _core.Point2D___idiv__(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.Point2D___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.Point2D___ne__(*args, **kwargs) - m_x = property(_core.Point2D_m_x_get, _core.Point2D_m_x_set) - m_y = property(_core.Point2D_m_y_get, _core.Point2D_m_y_set) + def GetDistance(*args, **kwargs): + """GetDistance(Point2D pt) -> double""" + return _core.Point2D_GetDistance(*args, **kwargs) + + def GetDistanceSquare(*args, **kwargs): + """GetDistanceSquare(Point2D pt) -> double""" + return _core.Point2D_GetDistanceSquare(*args, **kwargs) + + def GetDotProduct(*args, **kwargs): + """GetDotProduct(Point2D vec) -> double""" + return _core.Point2D_GetDotProduct(*args, **kwargs) + + def GetCrossProduct(*args, **kwargs): + """GetCrossProduct(Point2D vec) -> double""" + return _core.Point2D_GetCrossProduct(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> Point2D + +the reflection of this point""" + return _core.Point2D___neg__(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(Point2D pt) -> Point2D""" + return _core.Point2D___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(Point2D pt) -> Point2D""" + return _core.Point2D___isub__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(Point2D pt) -> Point2D""" + return _core.Point2D___imul__(*args, **kwargs) + + def __idiv__(*args, **kwargs): + """__idiv__(Point2D pt) -> Point2D""" + return _core.Point2D___idiv__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Point2D pt) -> bool + +Test for equality""" + return _core.Point2D___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Point2D pt) -> bool + +Test for inequality""" + return _core.Point2D___ne__(*args, **kwargs) + x = property(_core.Point2D_x_get, _core.Point2D_x_set) y = property(_core.Point2D_y_get, _core.Point2D_y_set) - def Set(*args, **kwargs): return _core.Point2D_Set(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.Point2D_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxPoint2D'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def Set(*args, **kwargs): + """Set(double x=0, double y=0)""" + return _core.Point2D_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> (x,y) + +Return x and y properties as a tuple.""" + return _core.Point2D_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.Point2D'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): - if index == 0: self.m_x = val - elif index == 1: self.m_yt = val + if index == 0: self.x = val + elif index == 1: self.y = val else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0.0, 0.0) + def __nonzero__(self): return self.Get() != (0.0, 0.0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) @@ -911,11 +1316,17 @@ class Point2DPtr(Point2D): _core.Point2D_swigregister(Point2DPtr) def Point2DCopy(*args, **kwargs): + """Point2DCopy(Point2D pt) -> Point2D + +Create a w.Point2D object.""" val = _core.new_Point2DCopy(*args, **kwargs) val.thisown = 1 return val def Point2DFromPoint(*args, **kwargs): + """Point2DFromPoint(Point pt) -> Point2D + +Create a w.Point2D object.""" val = _core.new_Point2DFromPoint(*args, **kwargs) val.thisown = 1 return val @@ -926,29 +1337,79 @@ FromStart = _core.FromStart FromCurrent = _core.FromCurrent FromEnd = _core.FromEnd class InputStream(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PyObject p) -> InputStream""" newobj = _core.new_InputStream(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def close(*args, **kwargs): return _core.InputStream_close(*args, **kwargs) - def flush(*args, **kwargs): return _core.InputStream_flush(*args, **kwargs) - def eof(*args, **kwargs): return _core.InputStream_eof(*args, **kwargs) - def read(*args, **kwargs): return _core.InputStream_read(*args, **kwargs) - def readline(*args, **kwargs): return _core.InputStream_readline(*args, **kwargs) - def readlines(*args, **kwargs): return _core.InputStream_readlines(*args, **kwargs) - def seek(*args, **kwargs): return _core.InputStream_seek(*args, **kwargs) - def tell(*args, **kwargs): return _core.InputStream_tell(*args, **kwargs) - def Peek(*args, **kwargs): return _core.InputStream_Peek(*args, **kwargs) - def GetC(*args, **kwargs): return _core.InputStream_GetC(*args, **kwargs) - def LastRead(*args, **kwargs): return _core.InputStream_LastRead(*args, **kwargs) - def CanRead(*args, **kwargs): return _core.InputStream_CanRead(*args, **kwargs) - def Eof(*args, **kwargs): return _core.InputStream_Eof(*args, **kwargs) - def Ungetch(*args, **kwargs): return _core.InputStream_Ungetch(*args, **kwargs) - def SeekI(*args, **kwargs): return _core.InputStream_SeekI(*args, **kwargs) - def TellI(*args, **kwargs): return _core.InputStream_TellI(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def close(*args, **kwargs): + """close()""" + return _core.InputStream_close(*args, **kwargs) + + def flush(*args, **kwargs): + """flush()""" + return _core.InputStream_flush(*args, **kwargs) + + def eof(*args, **kwargs): + """eof() -> bool""" + return _core.InputStream_eof(*args, **kwargs) + + def read(*args, **kwargs): + """read(int size=-1) -> PyObject""" + return _core.InputStream_read(*args, **kwargs) + + def readline(*args, **kwargs): + """readline(int size=-1) -> PyObject""" + return _core.InputStream_readline(*args, **kwargs) + + def readlines(*args, **kwargs): + """readlines(int sizehint=-1) -> PyObject""" + return _core.InputStream_readlines(*args, **kwargs) + + def seek(*args, **kwargs): + """seek(int offset, int whence=0)""" + return _core.InputStream_seek(*args, **kwargs) + + def tell(*args, **kwargs): + """tell() -> int""" + return _core.InputStream_tell(*args, **kwargs) + + def Peek(*args, **kwargs): + """Peek() -> char""" + return _core.InputStream_Peek(*args, **kwargs) + + def GetC(*args, **kwargs): + """GetC() -> char""" + return _core.InputStream_GetC(*args, **kwargs) + + def LastRead(*args, **kwargs): + """LastRead() -> size_t""" + return _core.InputStream_LastRead(*args, **kwargs) + + def CanRead(*args, **kwargs): + """CanRead() -> bool""" + return _core.InputStream_CanRead(*args, **kwargs) + + def Eof(*args, **kwargs): + """Eof() -> bool""" + return _core.InputStream_Eof(*args, **kwargs) + + def Ungetch(*args, **kwargs): + """Ungetch(char c) -> bool""" + return _core.InputStream_Ungetch(*args, **kwargs) + + def SeekI(*args, **kwargs): + """SeekI(long pos, wxSeekMode mode=FromStart) -> long""" + return _core.InputStream_SeekI(*args, **kwargs) + + def TellI(*args, **kwargs): + """TellI() -> long""" + return _core.InputStream_TellI(*args, **kwargs) + class InputStreamPtr(InputStream): def __init__(self, this): @@ -961,10 +1422,14 @@ DefaultPosition = cvar.DefaultPosition DefaultSize = cvar.DefaultSize class OutputStream(object): - def write(*args, **kwargs): return _core.OutputStream_write(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def write(*args, **kwargs): + """write(PyObject obj)""" + return _core.OutputStream_write(*args, **kwargs) + class OutputStreamPtr(OutputStream): def __init__(self, this): @@ -976,22 +1441,42 @@ _core.OutputStream_swigregister(OutputStreamPtr) #--------------------------------------------------------------------------- class FSFile(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxInputStream stream, wxString loc, wxString mimetype, + wxString anchor, wxDateTime modif) -> FSFile""" newobj = _core.new_FSFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_FSFile): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetStream(*args, **kwargs): return _core.FSFile_GetStream(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _core.FSFile_GetMimeType(*args, **kwargs) - def GetLocation(*args, **kwargs): return _core.FSFile_GetLocation(*args, **kwargs) - def GetAnchor(*args, **kwargs): return _core.FSFile_GetAnchor(*args, **kwargs) - def GetModificationTime(*args, **kwargs): return _core.FSFile_GetModificationTime(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetStream(*args, **kwargs): + """GetStream() -> wxInputStream""" + return _core.FSFile_GetStream(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _core.FSFile_GetMimeType(*args, **kwargs) + + def GetLocation(*args, **kwargs): + """GetLocation() -> wxString""" + return _core.FSFile_GetLocation(*args, **kwargs) + + def GetAnchor(*args, **kwargs): + """GetAnchor() -> wxString""" + return _core.FSFile_GetAnchor(*args, **kwargs) + + def GetModificationTime(*args, **kwargs): + """GetModificationTime() -> wxDateTime""" + return _core.FSFile_GetModificationTime(*args, **kwargs) + class FSFilePtr(FSFile): def __init__(self, this): @@ -1001,6 +1486,7 @@ class FSFilePtr(FSFile): _core.FSFile_swigregister(FSFilePtr) class CPPFileSystemHandler(object): + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1013,24 +1499,57 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler): _core.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr) class FileSystemHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileSystemHandler""" newobj = _core.new_FileSystemHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FileSystemHandler) - def _setCallbackInfo(*args, **kwargs): return _core.FileSystemHandler__setCallbackInfo(*args, **kwargs) - def CanOpen(*args, **kwargs): return _core.FileSystemHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.FileSystemHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.FileSystemHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.FileSystemHandler_FindNext(*args, **kwargs) - def GetProtocol(*args, **kwargs): return _core.FileSystemHandler_GetProtocol(*args, **kwargs) - def GetLeftLocation(*args, **kwargs): return _core.FileSystemHandler_GetLeftLocation(*args, **kwargs) - def GetAnchor(*args, **kwargs): return _core.FileSystemHandler_GetAnchor(*args, **kwargs) - def GetRightLocation(*args, **kwargs): return _core.FileSystemHandler_GetRightLocation(*args, **kwargs) - def GetMimeTypeFromExt(*args, **kwargs): return _core.FileSystemHandler_GetMimeTypeFromExt(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.FileSystemHandler__setCallbackInfo(*args, **kwargs) + + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.FileSystemHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.FileSystemHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.FileSystemHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.FileSystemHandler_FindNext(*args, **kwargs) + + def GetProtocol(*args, **kwargs): + """GetProtocol(wxString location) -> wxString""" + return _core.FileSystemHandler_GetProtocol(*args, **kwargs) + + def GetLeftLocation(*args, **kwargs): + """GetLeftLocation(wxString location) -> wxString""" + return _core.FileSystemHandler_GetLeftLocation(*args, **kwargs) + + def GetAnchor(*args, **kwargs): + """GetAnchor(wxString location) -> wxString""" + return _core.FileSystemHandler_GetAnchor(*args, **kwargs) + + def GetRightLocation(*args, **kwargs): + """GetRightLocation(wxString location) -> wxString""" + return _core.FileSystemHandler_GetRightLocation(*args, **kwargs) + + def GetMimeTypeFromExt(*args, **kwargs): + """GetMimeTypeFromExt(wxString location) -> wxString""" + return _core.FileSystemHandler_GetMimeTypeFromExt(*args, **kwargs) + class FileSystemHandlerPtr(FileSystemHandler): def __init__(self, this): @@ -1040,25 +1559,56 @@ class FileSystemHandlerPtr(FileSystemHandler): _core.FileSystemHandler_swigregister(FileSystemHandlerPtr) class FileSystem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileSystem""" newobj = _core.new_FileSystem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_FileSystem): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def ChangePathTo(*args, **kwargs): return _core.FileSystem_ChangePathTo(*args, **kwargs) - def GetPath(*args, **kwargs): return _core.FileSystem_GetPath(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.FileSystem_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.FileSystem_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.FileSystem_FindNext(*args, **kwargs) - AddHandler = staticmethod(_core.FileSystem_AddHandler) - CleanUpHandlers = staticmethod(_core.FileSystem_CleanUpHandlers) - FileNameToURL = staticmethod(_core.FileSystem_FileNameToURL) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def ChangePathTo(*args, **kwargs): + """ChangePathTo(wxString location, bool is_dir=False)""" + return _core.FileSystem_ChangePathTo(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _core.FileSystem_GetPath(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(wxString location) -> FSFile""" + return _core.FileSystem_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.FileSystem_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.FileSystem_FindNext(*args, **kwargs) + + def AddHandler(*args, **kwargs): + """FileSystem.AddHandler(CPPFileSystemHandler handler)""" + return _core.FileSystem_AddHandler(*args, **kwargs) + + AddHandler = staticmethod(AddHandler) + def CleanUpHandlers(*args, **kwargs): + """FileSystem.CleanUpHandlers()""" + return _core.FileSystem_CleanUpHandlers(*args, **kwargs) + + CleanUpHandlers = staticmethod(CleanUpHandlers) + def FileNameToURL(*args, **kwargs): + """FileSystem.FileNameToURL(wxString filename) -> wxString""" + return _core.FileSystem_FileNameToURL(*args, **kwargs) + + FileNameToURL = staticmethod(FileNameToURL) class FileSystemPtr(FileSystem): def __init__(self, this): @@ -1067,24 +1617,40 @@ class FileSystemPtr(FileSystem): self.__class__ = FileSystem _core.FileSystem_swigregister(FileSystemPtr) -FileSystem_AddHandler = _core.FileSystem_AddHandler +def FileSystem_AddHandler(*args, **kwargs): + """FileSystem_AddHandler(CPPFileSystemHandler handler)""" + return _core.FileSystem_AddHandler(*args, **kwargs) -FileSystem_CleanUpHandlers = _core.FileSystem_CleanUpHandlers +def FileSystem_CleanUpHandlers(*args, **kwargs): + """FileSystem_CleanUpHandlers()""" + return _core.FileSystem_CleanUpHandlers(*args, **kwargs) -FileSystem_FileNameToURL = _core.FileSystem_FileNameToURL +def FileSystem_FileNameToURL(*args, **kwargs): + """FileSystem_FileNameToURL(wxString filename) -> wxString""" + return _core.FileSystem_FileNameToURL(*args, **kwargs) -FileSystem_URLToFileName = _core.FileSystem_URLToFileName +def FileSystem_URLToFileName(*args, **kwargs): + """FileSystem_URLToFileName(wxString url) -> wxString""" + return _core.FileSystem_URLToFileName(*args, **kwargs) class InternetFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> InternetFSHandler""" newobj = _core.new_InternetFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def CanOpen(*args, **kwargs): return _core.InternetFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.InternetFSHandler_OpenFile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.InternetFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.InternetFSHandler_OpenFile(*args, **kwargs) + class InternetFSHandlerPtr(InternetFSHandler): def __init__(self, this): @@ -1094,17 +1660,31 @@ class InternetFSHandlerPtr(InternetFSHandler): _core.InternetFSHandler_swigregister(InternetFSHandlerPtr) class ZipFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ZipFSHandler""" newobj = _core.new_ZipFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def CanOpen(*args, **kwargs): return _core.ZipFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.ZipFSHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.ZipFSHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.ZipFSHandler_FindNext(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.ZipFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.ZipFSHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.ZipFSHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.ZipFSHandler_FindNext(*args, **kwargs) + class ZipFSHandlerPtr(ZipFSHandler): def __init__(self, this): @@ -1114,11 +1694,17 @@ class ZipFSHandlerPtr(ZipFSHandler): _core.ZipFSHandler_swigregister(ZipFSHandlerPtr) -__wxMemoryFSHandler_AddFile_wxImage = _core.__wxMemoryFSHandler_AddFile_wxImage +def __wxMemoryFSHandler_AddFile_wxImage(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_wxImage(wxString filename, Image image, long type)""" + return _core.__wxMemoryFSHandler_AddFile_wxImage(*args, **kwargs) -__wxMemoryFSHandler_AddFile_wxBitmap = _core.__wxMemoryFSHandler_AddFile_wxBitmap +def __wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_wxBitmap(wxString filename, wxBitmap bitmap, long type)""" + return _core.__wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs) -__wxMemoryFSHandler_AddFile_Data = _core.__wxMemoryFSHandler_AddFile_Data +def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs): + """__wxMemoryFSHandler_AddFile_Data(wxString filename, PyObject data)""" + return _core.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs) def MemoryFSHandler_AddFile(filename, a, b=''): if isinstance(a, wx.Image): __wxMemoryFSHandler_AddFile_wxImage(filename, a, b) @@ -1129,19 +1715,37 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' class MemoryFSHandler(CPPFileSystemHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MemoryFSHandler""" newobj = _core.new_MemoryFSHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - RemoveFile = staticmethod(_core.MemoryFSHandler_RemoveFile) + def RemoveFile(*args, **kwargs): + """MemoryFSHandler.RemoveFile(wxString filename)""" + return _core.MemoryFSHandler_RemoveFile(*args, **kwargs) + + RemoveFile = staticmethod(RemoveFile) AddFile = staticmethod(MemoryFSHandler_AddFile) - def CanOpen(*args, **kwargs): return _core.MemoryFSHandler_CanOpen(*args, **kwargs) - def OpenFile(*args, **kwargs): return _core.MemoryFSHandler_OpenFile(*args, **kwargs) - def FindFirst(*args, **kwargs): return _core.MemoryFSHandler_FindFirst(*args, **kwargs) - def FindNext(*args, **kwargs): return _core.MemoryFSHandler_FindNext(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CanOpen(*args, **kwargs): + """CanOpen(wxString location) -> bool""" + return _core.MemoryFSHandler_CanOpen(*args, **kwargs) + + def OpenFile(*args, **kwargs): + """OpenFile(FileSystem fs, wxString location) -> FSFile""" + return _core.MemoryFSHandler_OpenFile(*args, **kwargs) + + def FindFirst(*args, **kwargs): + """FindFirst(wxString spec, int flags=0) -> wxString""" + return _core.MemoryFSHandler_FindFirst(*args, **kwargs) + + def FindNext(*args, **kwargs): + """FindNext() -> wxString""" + return _core.MemoryFSHandler_FindNext(*args, **kwargs) + class MemoryFSHandlerPtr(MemoryFSHandler): def __init__(self, this): @@ -1150,23 +1754,53 @@ class MemoryFSHandlerPtr(MemoryFSHandler): self.__class__ = MemoryFSHandler _core.MemoryFSHandler_swigregister(MemoryFSHandlerPtr) -MemoryFSHandler_RemoveFile = _core.MemoryFSHandler_RemoveFile +def MemoryFSHandler_RemoveFile(*args, **kwargs): + """MemoryFSHandler_RemoveFile(wxString filename)""" + return _core.MemoryFSHandler_RemoveFile(*args, **kwargs) #--------------------------------------------------------------------------- class ImageHandler(Object): - def GetName(*args, **kwargs): return _core.ImageHandler_GetName(*args, **kwargs) - def GetExtension(*args, **kwargs): return _core.ImageHandler_GetExtension(*args, **kwargs) - def GetType(*args, **kwargs): return _core.ImageHandler_GetType(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _core.ImageHandler_GetMimeType(*args, **kwargs) - def CanRead(*args, **kwargs): return _core.ImageHandler_CanRead(*args, **kwargs) - def SetName(*args, **kwargs): return _core.ImageHandler_SetName(*args, **kwargs) - def SetExtension(*args, **kwargs): return _core.ImageHandler_SetExtension(*args, **kwargs) - def SetType(*args, **kwargs): return _core.ImageHandler_SetType(*args, **kwargs) - def SetMimeType(*args, **kwargs): return _core.ImageHandler_SetMimeType(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _core.ImageHandler_GetName(*args, **kwargs) + + def GetExtension(*args, **kwargs): + """GetExtension() -> wxString""" + return _core.ImageHandler_GetExtension(*args, **kwargs) + + def GetType(*args, **kwargs): + """GetType() -> long""" + return _core.ImageHandler_GetType(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _core.ImageHandler_GetMimeType(*args, **kwargs) + + def CanRead(*args, **kwargs): + """CanRead(wxString name) -> bool""" + return _core.ImageHandler_CanRead(*args, **kwargs) + + def SetName(*args, **kwargs): + """SetName(wxString name)""" + return _core.ImageHandler_SetName(*args, **kwargs) + + def SetExtension(*args, **kwargs): + """SetExtension(wxString extension)""" + return _core.ImageHandler_SetExtension(*args, **kwargs) + + def SetType(*args, **kwargs): + """SetType(long type)""" + return _core.ImageHandler_SetType(*args, **kwargs) + + def SetMimeType(*args, **kwargs): + """SetMimeType(wxString mimetype)""" + return _core.ImageHandler_SetMimeType(*args, **kwargs) + class ImageHandlerPtr(ImageHandler): def __init__(self, this): @@ -1176,15 +1810,30 @@ class ImageHandlerPtr(ImageHandler): _core.ImageHandler_swigregister(ImageHandlerPtr) class ImageHistogram(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ImageHistogram""" newobj = _core.new_ImageHistogram(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - MakeKey = staticmethod(_core.ImageHistogram_MakeKey) - def FindFirstUnusedColour(*args, **kwargs): return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def MakeKey(*args, **kwargs): + """ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + +Get the key in the histogram for the given RGB values""" + return _core.ImageHistogram_MakeKey(*args, **kwargs) + + MakeKey = staticmethod(MakeKey) + def FindFirstUnusedColour(*args, **kwargs): + """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + +Find first colour that is not used in the image and has higher RGB values than +startR, startG, startB. Returns a tuple consisting of a success flag and rgb +values.""" + return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) + class ImageHistogramPtr(ImageHistogram): def __init__(self, this): @@ -1193,82 +1842,288 @@ class ImageHistogramPtr(ImageHistogram): self.__class__ = ImageHistogram _core.ImageHistogram_swigregister(ImageHistogramPtr) -ImageHistogram_MakeKey = _core.ImageHistogram_MakeKey +def ImageHistogram_MakeKey(*args, **kwargs): + """ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + +Get the key in the histogram for the given RGB values""" + return _core.ImageHistogram_MakeKey(*args, **kwargs) class Image(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" newobj = _core.new_Image(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_Image): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Create(*args, **kwargs): return _core.Image_Create(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Image_Destroy(*args, **kwargs) - def Scale(*args, **kwargs): return _core.Image_Scale(*args, **kwargs) - def ShrinkBy(*args, **kwargs): return _core.Image_ShrinkBy(*args, **kwargs) - def Rescale(*args, **kwargs): return _core.Image_Rescale(*args, **kwargs) - def SetRGB(*args, **kwargs): return _core.Image_SetRGB(*args, **kwargs) - def GetRed(*args, **kwargs): return _core.Image_GetRed(*args, **kwargs) - def GetGreen(*args, **kwargs): return _core.Image_GetGreen(*args, **kwargs) - def GetBlue(*args, **kwargs): return _core.Image_GetBlue(*args, **kwargs) - def SetAlpha(*args, **kwargs): return _core.Image_SetAlpha(*args, **kwargs) - def GetAlpha(*args, **kwargs): return _core.Image_GetAlpha(*args, **kwargs) - def HasAlpha(*args, **kwargs): return _core.Image_HasAlpha(*args, **kwargs) - def FindFirstUnusedColour(*args, **kwargs): return _core.Image_FindFirstUnusedColour(*args, **kwargs) - def SetMaskFromImage(*args, **kwargs): return _core.Image_SetMaskFromImage(*args, **kwargs) - CanRead = staticmethod(_core.Image_CanRead) - GetImageCount = staticmethod(_core.Image_GetImageCount) - def LoadFile(*args, **kwargs): return _core.Image_LoadFile(*args, **kwargs) - def LoadMimeFile(*args, **kwargs): return _core.Image_LoadMimeFile(*args, **kwargs) - def SaveFile(*args, **kwargs): return _core.Image_SaveFile(*args, **kwargs) - def SaveMimeFile(*args, **kwargs): return _core.Image_SaveMimeFile(*args, **kwargs) - CanReadStream = staticmethod(_core.Image_CanReadStream) - def LoadStream(*args, **kwargs): return _core.Image_LoadStream(*args, **kwargs) - def LoadMimeStream(*args, **kwargs): return _core.Image_LoadMimeStream(*args, **kwargs) - def Ok(*args, **kwargs): return _core.Image_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _core.Image_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _core.Image_GetHeight(*args, **kwargs) - def GetSubImage(*args, **kwargs): return _core.Image_GetSubImage(*args, **kwargs) - def Copy(*args, **kwargs): return _core.Image_Copy(*args, **kwargs) - def Paste(*args, **kwargs): return _core.Image_Paste(*args, **kwargs) - def GetData(*args, **kwargs): return _core.Image_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _core.Image_SetData(*args, **kwargs) - def GetDataBuffer(*args, **kwargs): return _core.Image_GetDataBuffer(*args, **kwargs) - def SetDataBuffer(*args, **kwargs): return _core.Image_SetDataBuffer(*args, **kwargs) - def GetAlphaData(*args, **kwargs): return _core.Image_GetAlphaData(*args, **kwargs) - def SetAlphaData(*args, **kwargs): return _core.Image_SetAlphaData(*args, **kwargs) - def GetAlphaBuffer(*args, **kwargs): return _core.Image_GetAlphaBuffer(*args, **kwargs) - def SetAlphaBuffer(*args, **kwargs): return _core.Image_SetAlphaBuffer(*args, **kwargs) - def SetMaskColour(*args, **kwargs): return _core.Image_SetMaskColour(*args, **kwargs) - def GetMaskRed(*args, **kwargs): return _core.Image_GetMaskRed(*args, **kwargs) - def GetMaskGreen(*args, **kwargs): return _core.Image_GetMaskGreen(*args, **kwargs) - def GetMaskBlue(*args, **kwargs): return _core.Image_GetMaskBlue(*args, **kwargs) - def SetMask(*args, **kwargs): return _core.Image_SetMask(*args, **kwargs) - def HasMask(*args, **kwargs): return _core.Image_HasMask(*args, **kwargs) - def Rotate(*args, **kwargs): return _core.Image_Rotate(*args, **kwargs) - def Rotate90(*args, **kwargs): return _core.Image_Rotate90(*args, **kwargs) - def Mirror(*args, **kwargs): return _core.Image_Mirror(*args, **kwargs) - def Replace(*args, **kwargs): return _core.Image_Replace(*args, **kwargs) - def ConvertToMono(*args, **kwargs): return _core.Image_ConvertToMono(*args, **kwargs) - def SetOption(*args, **kwargs): return _core.Image_SetOption(*args, **kwargs) - def SetOptionInt(*args, **kwargs): return _core.Image_SetOptionInt(*args, **kwargs) - def GetOption(*args, **kwargs): return _core.Image_GetOption(*args, **kwargs) - def GetOptionInt(*args, **kwargs): return _core.Image_GetOptionInt(*args, **kwargs) - def HasOption(*args, **kwargs): return _core.Image_HasOption(*args, **kwargs) - def CountColours(*args, **kwargs): return _core.Image_CountColours(*args, **kwargs) - def ComputeHistogram(*args, **kwargs): return _core.Image_ComputeHistogram(*args, **kwargs) - AddHandler = staticmethod(_core.Image_AddHandler) - InsertHandler = staticmethod(_core.Image_InsertHandler) - RemoveHandler = staticmethod(_core.Image_RemoveHandler) - GetImageExtWildcard = staticmethod(_core.Image_GetImageExtWildcard) - def ConvertToBitmap(*args, **kwargs): return _core.Image_ConvertToBitmap(*args, **kwargs) - def ConvertToMonoBitmap(*args, **kwargs): return _core.Image_ConvertToMonoBitmap(*args, **kwargs) - def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(int width, int height)""" + return _core.Image_Create(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Image_Destroy(*args, **kwargs) + + def Scale(*args, **kwargs): + """Scale(int width, int height) -> Image""" + return _core.Image_Scale(*args, **kwargs) + + def ShrinkBy(*args, **kwargs): + """ShrinkBy(int xFactor, int yFactor) -> Image""" + return _core.Image_ShrinkBy(*args, **kwargs) + + def Rescale(*args, **kwargs): + """Rescale(int width, int height) -> Image""" + return _core.Image_Rescale(*args, **kwargs) + + def SetRGB(*args, **kwargs): + """SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)""" + return _core.Image_SetRGB(*args, **kwargs) + + def GetRed(*args, **kwargs): + """GetRed(int x, int y) -> unsigned char""" + return _core.Image_GetRed(*args, **kwargs) + + def GetGreen(*args, **kwargs): + """GetGreen(int x, int y) -> unsigned char""" + return _core.Image_GetGreen(*args, **kwargs) + + def GetBlue(*args, **kwargs): + """GetBlue(int x, int y) -> unsigned char""" + return _core.Image_GetBlue(*args, **kwargs) + + def SetAlpha(*args, **kwargs): + """SetAlpha(int x, int y, unsigned char alpha)""" + return _core.Image_SetAlpha(*args, **kwargs) + + def GetAlpha(*args, **kwargs): + """GetAlpha(int x, int y) -> unsigned char""" + return _core.Image_GetAlpha(*args, **kwargs) + + def HasAlpha(*args, **kwargs): + """HasAlpha() -> bool""" + return _core.Image_HasAlpha(*args, **kwargs) + + def FindFirstUnusedColour(*args, **kwargs): + """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + +Find first colour that is not used in the image and has higher RGB values than +startR, startG, startB. Returns a tuple consisting of a success flag and rgb +values.""" + return _core.Image_FindFirstUnusedColour(*args, **kwargs) + + def SetMaskFromImage(*args, **kwargs): + """SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool""" + return _core.Image_SetMaskFromImage(*args, **kwargs) + + def CanRead(*args, **kwargs): + """Image.CanRead(wxString name) -> bool""" + return _core.Image_CanRead(*args, **kwargs) + + CanRead = staticmethod(CanRead) + def GetImageCount(*args, **kwargs): + """Image.GetImageCount(wxString name, long type=BITMAP_TYPE_ANY) -> int""" + return _core.Image_GetImageCount(*args, **kwargs) + + GetImageCount = staticmethod(GetImageCount) + def LoadFile(*args, **kwargs): + """LoadFile(wxString name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" + return _core.Image_LoadFile(*args, **kwargs) + + def LoadMimeFile(*args, **kwargs): + """LoadMimeFile(wxString name, wxString mimetype, int index=-1) -> bool""" + return _core.Image_LoadMimeFile(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString name, int type) -> bool""" + return _core.Image_SaveFile(*args, **kwargs) + + def SaveMimeFile(*args, **kwargs): + """SaveMimeFile(wxString name, wxString mimetype) -> bool""" + return _core.Image_SaveMimeFile(*args, **kwargs) + + def CanReadStream(*args, **kwargs): + """Image.CanReadStream(wxInputStream stream) -> bool""" + return _core.Image_CanReadStream(*args, **kwargs) + + CanReadStream = staticmethod(CanReadStream) + def LoadStream(*args, **kwargs): + """LoadStream(wxInputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" + return _core.Image_LoadStream(*args, **kwargs) + + def LoadMimeStream(*args, **kwargs): + """LoadMimeStream(wxInputStream stream, wxString mimetype, int index=-1) -> bool""" + return _core.Image_LoadMimeStream(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _core.Image_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _core.Image_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _core.Image_GetHeight(*args, **kwargs) + + def GetSubImage(*args, **kwargs): + """GetSubImage(Rect rect) -> Image""" + return _core.Image_GetSubImage(*args, **kwargs) + + def Copy(*args, **kwargs): + """Copy() -> Image""" + return _core.Image_Copy(*args, **kwargs) + + def Paste(*args, **kwargs): + """Paste(Image image, int x, int y)""" + return _core.Image_Paste(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _core.Image_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject data)""" + return _core.Image_SetData(*args, **kwargs) + + def GetDataBuffer(*args, **kwargs): + """GetDataBuffer() -> PyObject""" + return _core.Image_GetDataBuffer(*args, **kwargs) + + def SetDataBuffer(*args, **kwargs): + """SetDataBuffer(PyObject data)""" + return _core.Image_SetDataBuffer(*args, **kwargs) + + def GetAlphaData(*args, **kwargs): + """GetAlphaData() -> PyObject""" + return _core.Image_GetAlphaData(*args, **kwargs) + + def SetAlphaData(*args, **kwargs): + """SetAlphaData(PyObject data)""" + return _core.Image_SetAlphaData(*args, **kwargs) + + def GetAlphaBuffer(*args, **kwargs): + """GetAlphaBuffer() -> PyObject""" + return _core.Image_GetAlphaBuffer(*args, **kwargs) + + def SetAlphaBuffer(*args, **kwargs): + """SetAlphaBuffer(PyObject data)""" + return _core.Image_SetAlphaBuffer(*args, **kwargs) + + def SetMaskColour(*args, **kwargs): + """SetMaskColour(unsigned char r, unsigned char g, unsigned char b)""" + return _core.Image_SetMaskColour(*args, **kwargs) + + def GetMaskRed(*args, **kwargs): + """GetMaskRed() -> unsigned char""" + return _core.Image_GetMaskRed(*args, **kwargs) + + def GetMaskGreen(*args, **kwargs): + """GetMaskGreen() -> unsigned char""" + return _core.Image_GetMaskGreen(*args, **kwargs) + + def GetMaskBlue(*args, **kwargs): + """GetMaskBlue() -> unsigned char""" + return _core.Image_GetMaskBlue(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(bool mask=True)""" + return _core.Image_SetMask(*args, **kwargs) + + def HasMask(*args, **kwargs): + """HasMask() -> bool""" + return _core.Image_HasMask(*args, **kwargs) + + def Rotate(*args, **kwargs): + """Rotate(double angle, Point centre_of_rotation, bool interpolating=True, + Point offset_after_rotation=None) -> Image""" + return _core.Image_Rotate(*args, **kwargs) + + def Rotate90(*args, **kwargs): + """Rotate90(bool clockwise=True) -> Image""" + return _core.Image_Rotate90(*args, **kwargs) + + def Mirror(*args, **kwargs): + """Mirror(bool horizontally=True) -> Image""" + return _core.Image_Mirror(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(unsigned char r1, unsigned char g1, unsigned char b1, + unsigned char r2, unsigned char g2, unsigned char b2)""" + return _core.Image_Replace(*args, **kwargs) + + def ConvertToMono(*args, **kwargs): + """ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image""" + return _core.Image_ConvertToMono(*args, **kwargs) + + def SetOption(*args, **kwargs): + """SetOption(wxString name, wxString value)""" + return _core.Image_SetOption(*args, **kwargs) + + def SetOptionInt(*args, **kwargs): + """SetOptionInt(wxString name, int value)""" + return _core.Image_SetOptionInt(*args, **kwargs) + + def GetOption(*args, **kwargs): + """GetOption(wxString name) -> wxString""" + return _core.Image_GetOption(*args, **kwargs) + + def GetOptionInt(*args, **kwargs): + """GetOptionInt(wxString name) -> int""" + return _core.Image_GetOptionInt(*args, **kwargs) + + def HasOption(*args, **kwargs): + """HasOption(wxString name) -> bool""" + return _core.Image_HasOption(*args, **kwargs) + + def CountColours(*args, **kwargs): + """CountColours(unsigned long stopafter=(unsigned long) -1) -> unsigned long""" + return _core.Image_CountColours(*args, **kwargs) + + def ComputeHistogram(*args, **kwargs): + """ComputeHistogram(ImageHistogram h) -> unsigned long""" + return _core.Image_ComputeHistogram(*args, **kwargs) + + def AddHandler(*args, **kwargs): + """Image.AddHandler(ImageHandler handler)""" + return _core.Image_AddHandler(*args, **kwargs) + + AddHandler = staticmethod(AddHandler) + def InsertHandler(*args, **kwargs): + """Image.InsertHandler(ImageHandler handler)""" + return _core.Image_InsertHandler(*args, **kwargs) + + InsertHandler = staticmethod(InsertHandler) + def RemoveHandler(*args, **kwargs): + """Image.RemoveHandler(wxString name) -> bool""" + return _core.Image_RemoveHandler(*args, **kwargs) + + RemoveHandler = staticmethod(RemoveHandler) + def GetImageExtWildcard(*args, **kwargs): + """Image.GetImageExtWildcard() -> wxString""" + return _core.Image_GetImageExtWildcard(*args, **kwargs) + + GetImageExtWildcard = staticmethod(GetImageExtWildcard) + def ConvertToBitmap(*args, **kwargs): + """ConvertToBitmap() -> wxBitmap""" + return _core.Image_ConvertToBitmap(*args, **kwargs) + + def ConvertToMonoBitmap(*args, **kwargs): + """ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -> wxBitmap""" + return _core.Image_ConvertToMonoBitmap(*args, **kwargs) + + def __nonzero__(self): return self.Ok() class ImagePtr(Image): def __init__(self, this): @@ -1278,51 +2133,73 @@ class ImagePtr(Image): _core.Image_swigregister(ImagePtr) def ImageFromMime(*args, **kwargs): + """ImageFromMime(wxString name, wxString mimetype, int index=-1) -> Image""" val = _core.new_ImageFromMime(*args, **kwargs) val.thisown = 1 return val def ImageFromStream(*args, **kwargs): + """ImageFromStream(wxInputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" val = _core.new_ImageFromStream(*args, **kwargs) val.thisown = 1 return val def ImageFromStreamMime(*args, **kwargs): + """ImageFromStreamMime(wxInputStream stream, wxString mimetype, int index=-1) -> Image""" val = _core.new_ImageFromStreamMime(*args, **kwargs) val.thisown = 1 return val def EmptyImage(*args, **kwargs): + """EmptyImage(int width=0, int height=0, bool clear=True) -> Image""" val = _core.new_EmptyImage(*args, **kwargs) val.thisown = 1 return val def ImageFromBitmap(*args, **kwargs): + """ImageFromBitmap(wxBitmap bitmap) -> Image""" val = _core.new_ImageFromBitmap(*args, **kwargs) val.thisown = 1 return val def ImageFromData(*args, **kwargs): + """ImageFromData(int width, int height, unsigned char data) -> Image""" val = _core.new_ImageFromData(*args, **kwargs) val.thisown = 1 return val -Image_CanRead = _core.Image_CanRead +def Image_CanRead(*args, **kwargs): + """Image_CanRead(wxString name) -> bool""" + return _core.Image_CanRead(*args, **kwargs) -Image_GetImageCount = _core.Image_GetImageCount +def Image_GetImageCount(*args, **kwargs): + """Image_GetImageCount(wxString name, long type=BITMAP_TYPE_ANY) -> int""" + return _core.Image_GetImageCount(*args, **kwargs) -Image_CanReadStream = _core.Image_CanReadStream +def Image_CanReadStream(*args, **kwargs): + """Image_CanReadStream(wxInputStream stream) -> bool""" + return _core.Image_CanReadStream(*args, **kwargs) -Image_AddHandler = _core.Image_AddHandler +def Image_AddHandler(*args, **kwargs): + """Image_AddHandler(ImageHandler handler)""" + return _core.Image_AddHandler(*args, **kwargs) -Image_InsertHandler = _core.Image_InsertHandler +def Image_InsertHandler(*args, **kwargs): + """Image_InsertHandler(ImageHandler handler)""" + return _core.Image_InsertHandler(*args, **kwargs) -Image_RemoveHandler = _core.Image_RemoveHandler +def Image_RemoveHandler(*args, **kwargs): + """Image_RemoveHandler(wxString name) -> bool""" + return _core.Image_RemoveHandler(*args, **kwargs) -Image_GetImageExtWildcard = _core.Image_GetImageExtWildcard +def Image_GetImageExtWildcard(*args, **kwargs): + """Image_GetImageExtWildcard() -> wxString""" + return _core.Image_GetImageExtWildcard(*args, **kwargs) -InitAllImageHandlers = _core.InitAllImageHandlers +def InitAllImageHandlers(*args, **kwargs): + """InitAllImageHandlers()""" + return _core.InitAllImageHandlers(*args, **kwargs) IMAGE_RESOLUTION_INCHES = _core.IMAGE_RESOLUTION_INCHES IMAGE_RESOLUTION_CM = _core.IMAGE_RESOLUTION_CM BMP_24BPP = _core.BMP_24BPP @@ -1335,13 +2212,15 @@ BMP_4BPP = _core.BMP_4BPP BMP_1BPP = _core.BMP_1BPP BMP_1BPP_BW = _core.BMP_1BPP_BW class BMPHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> BMPHandler""" newobj = _core.new_BMPHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BMPHandlerPtr(BMPHandler): def __init__(self, this): @@ -1357,13 +2236,15 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT class ICOHandler(BMPHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ICOHandler""" newobj = _core.new_ICOHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ICOHandlerPtr(ICOHandler): def __init__(self, this): @@ -1373,13 +2254,15 @@ class ICOHandlerPtr(ICOHandler): _core.ICOHandler_swigregister(ICOHandlerPtr) class CURHandler(ICOHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> CURHandler""" newobj = _core.new_CURHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class CURHandlerPtr(CURHandler): def __init__(self, this): @@ -1389,13 +2272,15 @@ class CURHandlerPtr(CURHandler): _core.CURHandler_swigregister(CURHandlerPtr) class ANIHandler(CURHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ANIHandler""" newobj = _core.new_ANIHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ANIHandlerPtr(ANIHandler): def __init__(self, this): @@ -1405,13 +2290,15 @@ class ANIHandlerPtr(ANIHandler): _core.ANIHandler_swigregister(ANIHandlerPtr) class PNGHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PNGHandler""" newobj = _core.new_PNGHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PNGHandlerPtr(PNGHandler): def __init__(self, this): @@ -1421,13 +2308,15 @@ class PNGHandlerPtr(PNGHandler): _core.PNGHandler_swigregister(PNGHandlerPtr) class GIFHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GIFHandler""" newobj = _core.new_GIFHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class GIFHandlerPtr(GIFHandler): def __init__(self, this): @@ -1437,13 +2326,15 @@ class GIFHandlerPtr(GIFHandler): _core.GIFHandler_swigregister(GIFHandlerPtr) class PCXHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PCXHandler""" newobj = _core.new_PCXHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PCXHandlerPtr(PCXHandler): def __init__(self, this): @@ -1453,13 +2344,15 @@ class PCXHandlerPtr(PCXHandler): _core.PCXHandler_swigregister(PCXHandlerPtr) class JPEGHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> JPEGHandler""" newobj = _core.new_JPEGHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class JPEGHandlerPtr(JPEGHandler): def __init__(self, this): @@ -1469,13 +2362,15 @@ class JPEGHandlerPtr(JPEGHandler): _core.JPEGHandler_swigregister(JPEGHandlerPtr) class PNMHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PNMHandler""" newobj = _core.new_PNMHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PNMHandlerPtr(PNMHandler): def __init__(self, this): @@ -1485,13 +2380,15 @@ class PNMHandlerPtr(PNMHandler): _core.PNMHandler_swigregister(PNMHandlerPtr) class XPMHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> XPMHandler""" newobj = _core.new_XPMHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class XPMHandlerPtr(XPMHandler): def __init__(self, this): @@ -1501,13 +2398,15 @@ class XPMHandlerPtr(XPMHandler): _core.XPMHandler_swigregister(XPMHandlerPtr) class TIFFHandler(ImageHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TIFFHandler""" newobj = _core.new_TIFFHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TIFFHandlerPtr(TIFFHandler): def __init__(self, this): @@ -1519,23 +2418,63 @@ _core.TIFFHandler_swigregister(TIFFHandlerPtr) #--------------------------------------------------------------------------- class EvtHandler(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> EvtHandler""" newobj = _core.new_EvtHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetNextHandler(*args, **kwargs): return _core.EvtHandler_GetNextHandler(*args, **kwargs) - def GetPreviousHandler(*args, **kwargs): return _core.EvtHandler_GetPreviousHandler(*args, **kwargs) - def SetNextHandler(*args, **kwargs): return _core.EvtHandler_SetNextHandler(*args, **kwargs) - def SetPreviousHandler(*args, **kwargs): return _core.EvtHandler_SetPreviousHandler(*args, **kwargs) - def GetEvtHandlerEnabled(*args, **kwargs): return _core.EvtHandler_GetEvtHandlerEnabled(*args, **kwargs) - def SetEvtHandlerEnabled(*args, **kwargs): return _core.EvtHandler_SetEvtHandlerEnabled(*args, **kwargs) - def ProcessEvent(*args, **kwargs): return _core.EvtHandler_ProcessEvent(*args, **kwargs) - def AddPendingEvent(*args, **kwargs): return _core.EvtHandler_AddPendingEvent(*args, **kwargs) - def ProcessPendingEvents(*args, **kwargs): return _core.EvtHandler_ProcessPendingEvents(*args, **kwargs) - def Connect(*args, **kwargs): return _core.EvtHandler_Connect(*args, **kwargs) - def Disconnect(*args, **kwargs): return _core.EvtHandler_Disconnect(*args, **kwargs) - def _setOORInfo(*args, **kwargs): return _core.EvtHandler__setOORInfo(*args, **kwargs) + def GetNextHandler(*args, **kwargs): + """GetNextHandler() -> EvtHandler""" + return _core.EvtHandler_GetNextHandler(*args, **kwargs) + + def GetPreviousHandler(*args, **kwargs): + """GetPreviousHandler() -> EvtHandler""" + return _core.EvtHandler_GetPreviousHandler(*args, **kwargs) + + def SetNextHandler(*args, **kwargs): + """SetNextHandler(EvtHandler handler)""" + return _core.EvtHandler_SetNextHandler(*args, **kwargs) + + def SetPreviousHandler(*args, **kwargs): + """SetPreviousHandler(EvtHandler handler)""" + return _core.EvtHandler_SetPreviousHandler(*args, **kwargs) + + def GetEvtHandlerEnabled(*args, **kwargs): + """GetEvtHandlerEnabled() -> bool""" + return _core.EvtHandler_GetEvtHandlerEnabled(*args, **kwargs) + + def SetEvtHandlerEnabled(*args, **kwargs): + """SetEvtHandlerEnabled(bool enabled)""" + return _core.EvtHandler_SetEvtHandlerEnabled(*args, **kwargs) + + def ProcessEvent(*args, **kwargs): + """ProcessEvent(Event event) -> bool""" + return _core.EvtHandler_ProcessEvent(*args, **kwargs) + + def AddPendingEvent(*args, **kwargs): + """AddPendingEvent(Event event)""" + return _core.EvtHandler_AddPendingEvent(*args, **kwargs) + + def ProcessPendingEvents(*args, **kwargs): + """ProcessPendingEvents()""" + return _core.EvtHandler_ProcessPendingEvents(*args, **kwargs) + + def Connect(*args, **kwargs): + """Connect(int id, int lastId, int eventType, PyObject func)""" + return _core.EvtHandler_Connect(*args, **kwargs) + + def Disconnect(*args, **kwargs): + """Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool""" + return _core.EvtHandler_Disconnect(*args, **kwargs) + + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _core.EvtHandler__setOORInfo(*args, **kwargs) + def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY): """ Bind an event to an event handler. @@ -1562,8 +2501,6 @@ class EvtHandler(Object): event.Bind(self, id, id2, handler) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class EvtHandlerPtr(EvtHandler): def __init__(self, this): @@ -1636,7 +2573,9 @@ def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): EVENT_PROPAGATE_NONE = _core.EVENT_PROPAGATE_NONE EVENT_PROPAGATE_MAX = _core.EVENT_PROPAGATE_MAX -NewEventType = _core.NewEventType +def NewEventType(*args, **kwargs): + """NewEventType() -> wxEventType""" + return _core.NewEventType(*args, **kwargs) wxEVT_NULL = _core.wxEVT_NULL wxEVT_FIRST = _core.wxEVT_FIRST wxEVT_USER_FIRST = _core.wxEVT_USER_FIRST @@ -1934,28 +2873,76 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- class Event(Object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_core.delete_Event): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetEventType(*args, **kwargs): return _core.Event_SetEventType(*args, **kwargs) - def GetEventType(*args, **kwargs): return _core.Event_GetEventType(*args, **kwargs) - def GetEventObject(*args, **kwargs): return _core.Event_GetEventObject(*args, **kwargs) - def SetEventObject(*args, **kwargs): return _core.Event_SetEventObject(*args, **kwargs) - def GetTimestamp(*args, **kwargs): return _core.Event_GetTimestamp(*args, **kwargs) - def SetTimestamp(*args, **kwargs): return _core.Event_SetTimestamp(*args, **kwargs) - def GetId(*args, **kwargs): return _core.Event_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _core.Event_SetId(*args, **kwargs) - def IsCommandEvent(*args, **kwargs): return _core.Event_IsCommandEvent(*args, **kwargs) - def Skip(*args, **kwargs): return _core.Event_Skip(*args, **kwargs) - def GetSkipped(*args, **kwargs): return _core.Event_GetSkipped(*args, **kwargs) - def ShouldPropagate(*args, **kwargs): return _core.Event_ShouldPropagate(*args, **kwargs) - def StopPropagation(*args, **kwargs): return _core.Event_StopPropagation(*args, **kwargs) - def ResumePropagation(*args, **kwargs): return _core.Event_ResumePropagation(*args, **kwargs) - def Clone(*args, **kwargs): return _core.Event_Clone(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetEventType(*args, **kwargs): + """SetEventType(wxEventType typ)""" + return _core.Event_SetEventType(*args, **kwargs) + + def GetEventType(*args, **kwargs): + """GetEventType() -> wxEventType""" + return _core.Event_GetEventType(*args, **kwargs) + + def GetEventObject(*args, **kwargs): + """GetEventObject() -> Object""" + return _core.Event_GetEventObject(*args, **kwargs) + + def SetEventObject(*args, **kwargs): + """SetEventObject(Object obj)""" + return _core.Event_SetEventObject(*args, **kwargs) + + def GetTimestamp(*args, **kwargs): + """GetTimestamp() -> long""" + return _core.Event_GetTimestamp(*args, **kwargs) + + def SetTimestamp(*args, **kwargs): + """SetTimestamp(long ts=0)""" + return _core.Event_SetTimestamp(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.Event_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int Id)""" + return _core.Event_SetId(*args, **kwargs) + + def IsCommandEvent(*args, **kwargs): + """IsCommandEvent() -> bool""" + return _core.Event_IsCommandEvent(*args, **kwargs) + + def Skip(*args, **kwargs): + """Skip(bool skip=True)""" + return _core.Event_Skip(*args, **kwargs) + + def GetSkipped(*args, **kwargs): + """GetSkipped() -> bool""" + return _core.Event_GetSkipped(*args, **kwargs) + + def ShouldPropagate(*args, **kwargs): + """ShouldPropagate() -> bool""" + return _core.Event_ShouldPropagate(*args, **kwargs) + + def StopPropagation(*args, **kwargs): + """StopPropagation() -> int""" + return _core.Event_StopPropagation(*args, **kwargs) + + def ResumePropagation(*args, **kwargs): + """ResumePropagation(int propagationLevel)""" + return _core.Event_ResumePropagation(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Event""" + return _core.Event_Clone(*args, **kwargs) + class EventPtr(Event): def __init__(self, this): @@ -1967,17 +2954,21 @@ _core.Event_swigregister(EventPtr) #--------------------------------------------------------------------------- class PropagationDisabler(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Event event) -> PropagationDisabler""" newobj = _core.new_PropagationDisabler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_PropagationDisabler): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PropagationDisablerPtr(PropagationDisabler): def __init__(self, this): @@ -1987,17 +2978,21 @@ class PropagationDisablerPtr(PropagationDisabler): _core.PropagationDisabler_swigregister(PropagationDisablerPtr) class PropagateOnce(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Event event) -> PropagateOnce""" newobj = _core.new_PropagateOnce(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_core.delete_PropagateOnce): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PropagateOncePtr(PropagateOnce): def __init__(self, this): @@ -2009,23 +3004,55 @@ _core.PropagateOnce_swigregister(PropagateOncePtr) #--------------------------------------------------------------------------- class CommandEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent""" newobj = _core.new_CommandEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSelection(*args, **kwargs): return _core.CommandEvent_GetSelection(*args, **kwargs) - def SetString(*args, **kwargs): return _core.CommandEvent_SetString(*args, **kwargs) - def GetString(*args, **kwargs): return _core.CommandEvent_GetString(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.CommandEvent_IsChecked(*args, **kwargs) - def IsSelection(*args, **kwargs): return _core.CommandEvent_IsSelection(*args, **kwargs) - def SetExtraLong(*args, **kwargs): return _core.CommandEvent_SetExtraLong(*args, **kwargs) - def GetExtraLong(*args, **kwargs): return _core.CommandEvent_GetExtraLong(*args, **kwargs) - def SetInt(*args, **kwargs): return _core.CommandEvent_SetInt(*args, **kwargs) - def GetInt(*args, **kwargs): return _core.CommandEvent_GetInt(*args, **kwargs) - def Clone(*args, **kwargs): return _core.CommandEvent_Clone(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _core.CommandEvent_GetSelection(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(wxString s)""" + return _core.CommandEvent_SetString(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString() -> wxString""" + return _core.CommandEvent_GetString(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _core.CommandEvent_IsChecked(*args, **kwargs) + + def IsSelection(*args, **kwargs): + """IsSelection() -> bool""" + return _core.CommandEvent_IsSelection(*args, **kwargs) + + def SetExtraLong(*args, **kwargs): + """SetExtraLong(long extraLong)""" + return _core.CommandEvent_SetExtraLong(*args, **kwargs) + + def GetExtraLong(*args, **kwargs): + """GetExtraLong() -> long""" + return _core.CommandEvent_GetExtraLong(*args, **kwargs) + + def SetInt(*args, **kwargs): + """SetInt(int i)""" + return _core.CommandEvent_SetInt(*args, **kwargs) + + def GetInt(*args, **kwargs): + """GetInt() -> long""" + return _core.CommandEvent_GetInt(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Event""" + return _core.CommandEvent_Clone(*args, **kwargs) + class CommandEventPtr(CommandEvent): def __init__(self, this): @@ -2037,16 +3064,27 @@ _core.CommandEvent_swigregister(CommandEventPtr) #--------------------------------------------------------------------------- class NotifyEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent""" newobj = _core.new_NotifyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Veto(*args, **kwargs): return _core.NotifyEvent_Veto(*args, **kwargs) - def Allow(*args, **kwargs): return _core.NotifyEvent_Allow(*args, **kwargs) - def IsAllowed(*args, **kwargs): return _core.NotifyEvent_IsAllowed(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Veto(*args, **kwargs): + """Veto()""" + return _core.NotifyEvent_Veto(*args, **kwargs) + + def Allow(*args, **kwargs): + """Allow()""" + return _core.NotifyEvent_Allow(*args, **kwargs) + + def IsAllowed(*args, **kwargs): + """IsAllowed() -> bool""" + return _core.NotifyEvent_IsAllowed(*args, **kwargs) + class NotifyEventPtr(NotifyEvent): def __init__(self, this): @@ -2058,17 +3096,32 @@ _core.NotifyEvent_swigregister(NotifyEventPtr) #--------------------------------------------------------------------------- class ScrollEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, + int orient=0) -> ScrollEvent""" newobj = _core.new_ScrollEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetOrientation(*args, **kwargs): return _core.ScrollEvent_GetOrientation(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.ScrollEvent_GetPosition(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.ScrollEvent_SetOrientation(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ScrollEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.ScrollEvent_GetOrientation(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> int""" + return _core.ScrollEvent_GetPosition(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.ScrollEvent_SetOrientation(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(int pos)""" + return _core.ScrollEvent_SetPosition(*args, **kwargs) + class ScrollEventPtr(ScrollEvent): def __init__(self, this): @@ -2080,17 +3133,31 @@ _core.ScrollEvent_swigregister(ScrollEventPtr) #--------------------------------------------------------------------------- class ScrollWinEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent""" newobj = _core.new_ScrollWinEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetOrientation(*args, **kwargs): return _core.ScrollWinEvent_GetOrientation(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.ScrollWinEvent_GetPosition(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.ScrollWinEvent_SetOrientation(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ScrollWinEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.ScrollWinEvent_GetOrientation(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> int""" + return _core.ScrollWinEvent_GetPosition(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.ScrollWinEvent_SetOrientation(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(int pos)""" + return _core.ScrollWinEvent_SetPosition(*args, **kwargs) + class ScrollWinEventPtr(ScrollWinEvent): def __init__(self, this): @@ -2107,47 +3174,163 @@ MOUSE_BTN_LEFT = _core.MOUSE_BTN_LEFT MOUSE_BTN_MIDDLE = _core.MOUSE_BTN_MIDDLE MOUSE_BTN_RIGHT = _core.MOUSE_BTN_RIGHT class MouseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent""" newobj = _core.new_MouseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def IsButton(*args, **kwargs): return _core.MouseEvent_IsButton(*args, **kwargs) - def ButtonDown(*args, **kwargs): return _core.MouseEvent_ButtonDown(*args, **kwargs) - def ButtonDClick(*args, **kwargs): return _core.MouseEvent_ButtonDClick(*args, **kwargs) - def ButtonUp(*args, **kwargs): return _core.MouseEvent_ButtonUp(*args, **kwargs) - def Button(*args, **kwargs): return _core.MouseEvent_Button(*args, **kwargs) - def ButtonIsDown(*args, **kwargs): return _core.MouseEvent_ButtonIsDown(*args, **kwargs) - def GetButton(*args, **kwargs): return _core.MouseEvent_GetButton(*args, **kwargs) - def ControlDown(*args, **kwargs): return _core.MouseEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _core.MouseEvent_MetaDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _core.MouseEvent_AltDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _core.MouseEvent_ShiftDown(*args, **kwargs) - def LeftDown(*args, **kwargs): return _core.MouseEvent_LeftDown(*args, **kwargs) - def MiddleDown(*args, **kwargs): return _core.MouseEvent_MiddleDown(*args, **kwargs) - def RightDown(*args, **kwargs): return _core.MouseEvent_RightDown(*args, **kwargs) - def LeftUp(*args, **kwargs): return _core.MouseEvent_LeftUp(*args, **kwargs) - def MiddleUp(*args, **kwargs): return _core.MouseEvent_MiddleUp(*args, **kwargs) - def RightUp(*args, **kwargs): return _core.MouseEvent_RightUp(*args, **kwargs) - def LeftDClick(*args, **kwargs): return _core.MouseEvent_LeftDClick(*args, **kwargs) - def MiddleDClick(*args, **kwargs): return _core.MouseEvent_MiddleDClick(*args, **kwargs) - def RightDClick(*args, **kwargs): return _core.MouseEvent_RightDClick(*args, **kwargs) - def LeftIsDown(*args, **kwargs): return _core.MouseEvent_LeftIsDown(*args, **kwargs) - def MiddleIsDown(*args, **kwargs): return _core.MouseEvent_MiddleIsDown(*args, **kwargs) - def RightIsDown(*args, **kwargs): return _core.MouseEvent_RightIsDown(*args, **kwargs) - def Dragging(*args, **kwargs): return _core.MouseEvent_Dragging(*args, **kwargs) - def Moving(*args, **kwargs): return _core.MouseEvent_Moving(*args, **kwargs) - def Entering(*args, **kwargs): return _core.MouseEvent_Entering(*args, **kwargs) - def Leaving(*args, **kwargs): return _core.MouseEvent_Leaving(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.MouseEvent_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.MouseEvent_GetPositionTuple(*args, **kwargs) - def GetLogicalPosition(*args, **kwargs): return _core.MouseEvent_GetLogicalPosition(*args, **kwargs) - def GetX(*args, **kwargs): return _core.MouseEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.MouseEvent_GetY(*args, **kwargs) - def GetWheelRotation(*args, **kwargs): return _core.MouseEvent_GetWheelRotation(*args, **kwargs) - def GetWheelDelta(*args, **kwargs): return _core.MouseEvent_GetWheelDelta(*args, **kwargs) - def GetLinesPerAction(*args, **kwargs): return _core.MouseEvent_GetLinesPerAction(*args, **kwargs) - def IsPageScroll(*args, **kwargs): return _core.MouseEvent_IsPageScroll(*args, **kwargs) + def IsButton(*args, **kwargs): + """IsButton() -> bool""" + return _core.MouseEvent_IsButton(*args, **kwargs) + + def ButtonDown(*args, **kwargs): + """ButtonDown(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonDown(*args, **kwargs) + + def ButtonDClick(*args, **kwargs): + """ButtonDClick(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonDClick(*args, **kwargs) + + def ButtonUp(*args, **kwargs): + """ButtonUp(int but=MOUSE_BTN_ANY) -> bool""" + return _core.MouseEvent_ButtonUp(*args, **kwargs) + + def Button(*args, **kwargs): + """Button(int but) -> bool""" + return _core.MouseEvent_Button(*args, **kwargs) + + def ButtonIsDown(*args, **kwargs): + """ButtonIsDown(int but) -> bool""" + return _core.MouseEvent_ButtonIsDown(*args, **kwargs) + + def GetButton(*args, **kwargs): + """GetButton() -> int""" + return _core.MouseEvent_GetButton(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _core.MouseEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _core.MouseEvent_MetaDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _core.MouseEvent_AltDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _core.MouseEvent_ShiftDown(*args, **kwargs) + + def LeftDown(*args, **kwargs): + """LeftDown() -> bool""" + return _core.MouseEvent_LeftDown(*args, **kwargs) + + def MiddleDown(*args, **kwargs): + """MiddleDown() -> bool""" + return _core.MouseEvent_MiddleDown(*args, **kwargs) + + def RightDown(*args, **kwargs): + """RightDown() -> bool""" + return _core.MouseEvent_RightDown(*args, **kwargs) + + def LeftUp(*args, **kwargs): + """LeftUp() -> bool""" + return _core.MouseEvent_LeftUp(*args, **kwargs) + + def MiddleUp(*args, **kwargs): + """MiddleUp() -> bool""" + return _core.MouseEvent_MiddleUp(*args, **kwargs) + + def RightUp(*args, **kwargs): + """RightUp() -> bool""" + return _core.MouseEvent_RightUp(*args, **kwargs) + + def LeftDClick(*args, **kwargs): + """LeftDClick() -> bool""" + return _core.MouseEvent_LeftDClick(*args, **kwargs) + + def MiddleDClick(*args, **kwargs): + """MiddleDClick() -> bool""" + return _core.MouseEvent_MiddleDClick(*args, **kwargs) + + def RightDClick(*args, **kwargs): + """RightDClick() -> bool""" + return _core.MouseEvent_RightDClick(*args, **kwargs) + + def LeftIsDown(*args, **kwargs): + """LeftIsDown() -> bool""" + return _core.MouseEvent_LeftIsDown(*args, **kwargs) + + def MiddleIsDown(*args, **kwargs): + """MiddleIsDown() -> bool""" + return _core.MouseEvent_MiddleIsDown(*args, **kwargs) + + def RightIsDown(*args, **kwargs): + """RightIsDown() -> bool""" + return _core.MouseEvent_RightIsDown(*args, **kwargs) + + def Dragging(*args, **kwargs): + """Dragging() -> bool""" + return _core.MouseEvent_Dragging(*args, **kwargs) + + def Moving(*args, **kwargs): + """Moving() -> bool""" + return _core.MouseEvent_Moving(*args, **kwargs) + + def Entering(*args, **kwargs): + """Entering() -> bool""" + return _core.MouseEvent_Entering(*args, **kwargs) + + def Leaving(*args, **kwargs): + """Leaving() -> bool""" + return _core.MouseEvent_Leaving(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Returns the position of the mouse in window coordinates when the event happened.""" + return _core.MouseEvent_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Returns the position of the mouse in window coordinates when the event happened.""" + return _core.MouseEvent_GetPositionTuple(*args, **kwargs) + + def GetLogicalPosition(*args, **kwargs): + """GetLogicalPosition(wxDC dc) -> Point""" + return _core.MouseEvent_GetLogicalPosition(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.MouseEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.MouseEvent_GetY(*args, **kwargs) + + def GetWheelRotation(*args, **kwargs): + """GetWheelRotation() -> int""" + return _core.MouseEvent_GetWheelRotation(*args, **kwargs) + + def GetWheelDelta(*args, **kwargs): + """GetWheelDelta() -> int""" + return _core.MouseEvent_GetWheelDelta(*args, **kwargs) + + def GetLinesPerAction(*args, **kwargs): + """GetLinesPerAction() -> int""" + return _core.MouseEvent_GetLinesPerAction(*args, **kwargs) + + def IsPageScroll(*args, **kwargs): + """IsPageScroll() -> bool""" + return _core.MouseEvent_IsPageScroll(*args, **kwargs) + m_x = property(_core.MouseEvent_m_x_get, _core.MouseEvent_m_x_set) m_y = property(_core.MouseEvent_m_y_get, _core.MouseEvent_m_y_set) m_leftDown = property(_core.MouseEvent_m_leftDown_get, _core.MouseEvent_m_leftDown_set) @@ -2160,8 +3343,6 @@ class MouseEvent(Event): m_wheelRotation = property(_core.MouseEvent_m_wheelRotation_get, _core.MouseEvent_m_wheelRotation_set) m_wheelDelta = property(_core.MouseEvent_m_wheelDelta_get, _core.MouseEvent_m_wheelDelta_set) m_linesPerAction = property(_core.MouseEvent_m_linesPerAction_get, _core.MouseEvent_m_linesPerAction_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MouseEventPtr(MouseEvent): def __init__(self, this): @@ -2173,18 +3354,35 @@ _core.MouseEvent_swigregister(MouseEventPtr) #--------------------------------------------------------------------------- class SetCursorEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0) -> SetCursorEvent""" newobj = _core.new_SetCursorEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetX(*args, **kwargs): return _core.SetCursorEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.SetCursorEvent_GetY(*args, **kwargs) - def SetCursor(*args, **kwargs): return _core.SetCursorEvent_SetCursor(*args, **kwargs) - def GetCursor(*args, **kwargs): return _core.SetCursorEvent_GetCursor(*args, **kwargs) - def HasCursor(*args, **kwargs): return _core.SetCursorEvent_HasCursor(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.SetCursorEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.SetCursorEvent_GetY(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor)""" + return _core.SetCursorEvent_SetCursor(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _core.SetCursorEvent_GetCursor(*args, **kwargs) + + def HasCursor(*args, **kwargs): + """HasCursor() -> bool""" + return _core.SetCursorEvent_HasCursor(*args, **kwargs) + class SetCursorEventPtr(SetCursorEvent): def __init__(self, this): @@ -2196,25 +3394,72 @@ _core.SetCursorEvent_swigregister(SetCursorEventPtr) #--------------------------------------------------------------------------- class KeyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent""" newobj = _core.new_KeyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def ControlDown(*args, **kwargs): return _core.KeyEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _core.KeyEvent_MetaDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _core.KeyEvent_AltDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _core.KeyEvent_ShiftDown(*args, **kwargs) - def HasModifiers(*args, **kwargs): return _core.KeyEvent_HasModifiers(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _core.KeyEvent_GetKeyCode(*args, **kwargs) + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _core.KeyEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _core.KeyEvent_MetaDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _core.KeyEvent_AltDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _core.KeyEvent_ShiftDown(*args, **kwargs) + + def HasModifiers(*args, **kwargs): + """HasModifiers() -> bool""" + return _core.KeyEvent_HasModifiers(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _core.KeyEvent_GetKeyCode(*args, **kwargs) + KeyCode = GetKeyCode - def GetUniChar(*args, **kwargs): return _core.KeyEvent_GetUniChar(*args, **kwargs) - def GetRawKeyCode(*args, **kwargs): return _core.KeyEvent_GetRawKeyCode(*args, **kwargs) - def GetRawKeyFlags(*args, **kwargs): return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.KeyEvent_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.KeyEvent_GetPositionTuple(*args, **kwargs) - def GetX(*args, **kwargs): return _core.KeyEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _core.KeyEvent_GetY(*args, **kwargs) + def GetUniChar(*args, **kwargs): + """GetUniChar() -> int""" + return _core.KeyEvent_GetUniChar(*args, **kwargs) + + def GetRawKeyCode(*args, **kwargs): + """GetRawKeyCode() -> unsigned int""" + return _core.KeyEvent_GetRawKeyCode(*args, **kwargs) + + def GetRawKeyFlags(*args, **kwargs): + """GetRawKeyFlags() -> unsigned int""" + return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Find the position of the event.""" + return _core.KeyEvent_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Find the position of the event.""" + return _core.KeyEvent_GetPositionTuple(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _core.KeyEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _core.KeyEvent_GetY(*args, **kwargs) + m_x = property(_core.KeyEvent_m_x_get, _core.KeyEvent_m_x_set) m_y = property(_core.KeyEvent_m_y_get, _core.KeyEvent_m_y_set) m_keyCode = property(_core.KeyEvent_m_keyCode_get, _core.KeyEvent_m_keyCode_set) @@ -2225,8 +3470,6 @@ class KeyEvent(Event): m_scanCode = property(_core.KeyEvent_m_scanCode_get, _core.KeyEvent_m_scanCode_set) m_rawCode = property(_core.KeyEvent_m_rawCode_get, _core.KeyEvent_m_rawCode_set) m_rawFlags = property(_core.KeyEvent_m_rawFlags_get, _core.KeyEvent_m_rawFlags_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class KeyEventPtr(KeyEvent): def __init__(self, this): @@ -2238,19 +3481,33 @@ _core.KeyEvent_swigregister(KeyEventPtr) #--------------------------------------------------------------------------- class SizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Size sz=DefaultSize, int winid=0) -> SizeEvent""" newobj = _core.new_SizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetSize(*args, **kwargs): return _core.SizeEvent_GetSize(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.SizeEvent_GetRect(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.SizeEvent_SetRect(*args, **kwargs) - def SetSize(*args, **kwargs): return _core.SizeEvent_SetSize(*args, **kwargs) + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.SizeEvent_GetSize(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.SizeEvent_GetRect(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _core.SizeEvent_SetRect(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _core.SizeEvent_SetSize(*args, **kwargs) + m_size = property(_core.SizeEvent_m_size_get, _core.SizeEvent_m_size_set) m_rect = property(_core.SizeEvent_m_rect_get, _core.SizeEvent_m_rect_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SizeEventPtr(SizeEvent): def __init__(self, this): @@ -2262,19 +3519,33 @@ _core.SizeEvent_swigregister(SizeEventPtr) #--------------------------------------------------------------------------- class MoveEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent""" newobj = _core.new_MoveEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _core.MoveEvent_GetPosition(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.MoveEvent_GetRect(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.MoveEvent_SetRect(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.MoveEvent_SetPosition(*args, **kwargs) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.MoveEvent_GetPosition(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.MoveEvent_GetRect(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _core.MoveEvent_SetRect(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _core.MoveEvent_SetPosition(*args, **kwargs) + m_pos = property(_core.MoveEvent_m_pos_get, _core.MoveEvent_m_pos_set) m_rect = property(_core.MoveEvent_m_rect_get, _core.MoveEvent_m_rect_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MoveEventPtr(MoveEvent): def __init__(self, this): @@ -2286,13 +3557,15 @@ _core.MoveEvent_swigregister(MoveEventPtr) #--------------------------------------------------------------------------- class PaintEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0) -> PaintEvent""" newobj = _core.new_PaintEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PaintEventPtr(PaintEvent): def __init__(self, this): @@ -2302,13 +3575,15 @@ class PaintEventPtr(PaintEvent): _core.PaintEvent_swigregister(PaintEventPtr) class NcPaintEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0) -> NcPaintEvent""" newobj = _core.new_NcPaintEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class NcPaintEventPtr(NcPaintEvent): def __init__(self, this): @@ -2320,14 +3595,19 @@ _core.NcPaintEvent_swigregister(NcPaintEventPtr) #--------------------------------------------------------------------------- class EraseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0, wxDC dc=(wxDC *) NULL) -> EraseEvent""" newobj = _core.new_EraseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDC(*args, **kwargs): return _core.EraseEvent_GetDC(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _core.EraseEvent_GetDC(*args, **kwargs) + class EraseEventPtr(EraseEvent): def __init__(self, this): @@ -2339,15 +3619,23 @@ _core.EraseEvent_swigregister(EraseEventPtr) #--------------------------------------------------------------------------- class FocusEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent""" newobj = _core.new_FocusEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.FocusEvent_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.FocusEvent_SetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.FocusEvent_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window win)""" + return _core.FocusEvent_SetWindow(*args, **kwargs) + class FocusEventPtr(FocusEvent): def __init__(self, this): @@ -2359,14 +3647,19 @@ _core.FocusEvent_swigregister(FocusEventPtr) #--------------------------------------------------------------------------- class ChildFocusEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> ChildFocusEvent""" newobj = _core.new_ChildFocusEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.ChildFocusEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.ChildFocusEvent_GetWindow(*args, **kwargs) + class ChildFocusEventPtr(ChildFocusEvent): def __init__(self, this): @@ -2378,14 +3671,19 @@ _core.ChildFocusEvent_swigregister(ChildFocusEventPtr) #--------------------------------------------------------------------------- class ActivateEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent""" newobj = _core.new_ActivateEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetActive(*args, **kwargs): return _core.ActivateEvent_GetActive(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetActive(*args, **kwargs): + """GetActive() -> bool""" + return _core.ActivateEvent_GetActive(*args, **kwargs) + class ActivateEventPtr(ActivateEvent): def __init__(self, this): @@ -2397,13 +3695,15 @@ _core.ActivateEvent_swigregister(ActivateEventPtr) #--------------------------------------------------------------------------- class InitDialogEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int Id=0) -> InitDialogEvent""" newobj = _core.new_InitDialogEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class InitDialogEventPtr(InitDialogEvent): def __init__(self, this): @@ -2415,16 +3715,27 @@ _core.InitDialogEvent_swigregister(InitDialogEventPtr) #--------------------------------------------------------------------------- class MenuEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent""" newobj = _core.new_MenuEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMenuId(*args, **kwargs): return _core.MenuEvent_GetMenuId(*args, **kwargs) - def IsPopup(*args, **kwargs): return _core.MenuEvent_IsPopup(*args, **kwargs) - def GetMenu(*args, **kwargs): return _core.MenuEvent_GetMenu(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMenuId(*args, **kwargs): + """GetMenuId() -> int""" + return _core.MenuEvent_GetMenuId(*args, **kwargs) + + def IsPopup(*args, **kwargs): + """IsPopup() -> bool""" + return _core.MenuEvent_IsPopup(*args, **kwargs) + + def GetMenu(*args, **kwargs): + """GetMenu() -> Menu""" + return _core.MenuEvent_GetMenu(*args, **kwargs) + class MenuEventPtr(MenuEvent): def __init__(self, this): @@ -2436,19 +3747,39 @@ _core.MenuEvent_swigregister(MenuEventPtr) #--------------------------------------------------------------------------- class CloseEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent""" newobj = _core.new_CloseEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetLoggingOff(*args, **kwargs): return _core.CloseEvent_SetLoggingOff(*args, **kwargs) - def GetLoggingOff(*args, **kwargs): return _core.CloseEvent_GetLoggingOff(*args, **kwargs) - def Veto(*args, **kwargs): return _core.CloseEvent_Veto(*args, **kwargs) - def SetCanVeto(*args, **kwargs): return _core.CloseEvent_SetCanVeto(*args, **kwargs) - def CanVeto(*args, **kwargs): return _core.CloseEvent_CanVeto(*args, **kwargs) - def GetVeto(*args, **kwargs): return _core.CloseEvent_GetVeto(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetLoggingOff(*args, **kwargs): + """SetLoggingOff(bool logOff)""" + return _core.CloseEvent_SetLoggingOff(*args, **kwargs) + + def GetLoggingOff(*args, **kwargs): + """GetLoggingOff() -> bool""" + return _core.CloseEvent_GetLoggingOff(*args, **kwargs) + + def Veto(*args, **kwargs): + """Veto(bool veto=True)""" + return _core.CloseEvent_Veto(*args, **kwargs) + + def SetCanVeto(*args, **kwargs): + """SetCanVeto(bool canVeto)""" + return _core.CloseEvent_SetCanVeto(*args, **kwargs) + + def CanVeto(*args, **kwargs): + """CanVeto() -> bool""" + return _core.CloseEvent_CanVeto(*args, **kwargs) + + def GetVeto(*args, **kwargs): + """GetVeto() -> bool""" + return _core.CloseEvent_GetVeto(*args, **kwargs) + class CloseEventPtr(CloseEvent): def __init__(self, this): @@ -2460,15 +3791,23 @@ _core.CloseEvent_swigregister(CloseEventPtr) #--------------------------------------------------------------------------- class ShowEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, bool show=False) -> ShowEvent""" newobj = _core.new_ShowEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetShow(*args, **kwargs): return _core.ShowEvent_SetShow(*args, **kwargs) - def GetShow(*args, **kwargs): return _core.ShowEvent_GetShow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetShow(*args, **kwargs): + """SetShow(bool show)""" + return _core.ShowEvent_SetShow(*args, **kwargs) + + def GetShow(*args, **kwargs): + """GetShow() -> bool""" + return _core.ShowEvent_GetShow(*args, **kwargs) + class ShowEventPtr(ShowEvent): def __init__(self, this): @@ -2480,14 +3819,19 @@ _core.ShowEvent_swigregister(ShowEventPtr) #--------------------------------------------------------------------------- class IconizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, bool iconized=True) -> IconizeEvent""" newobj = _core.new_IconizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Iconized(*args, **kwargs): return _core.IconizeEvent_Iconized(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Iconized(*args, **kwargs): + """Iconized() -> bool""" + return _core.IconizeEvent_Iconized(*args, **kwargs) + class IconizeEventPtr(IconizeEvent): def __init__(self, this): @@ -2499,13 +3843,15 @@ _core.IconizeEvent_swigregister(IconizeEventPtr) #--------------------------------------------------------------------------- class MaximizeEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> MaximizeEvent""" newobj = _core.new_MaximizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MaximizeEventPtr(MaximizeEvent): def __init__(self, this): @@ -2517,12 +3863,22 @@ _core.MaximizeEvent_swigregister(MaximizeEventPtr) #--------------------------------------------------------------------------- class DropFilesEvent(Event): - def GetPosition(*args, **kwargs): return _core.DropFilesEvent_GetPosition(*args, **kwargs) - def GetNumberOfFiles(*args, **kwargs): return _core.DropFilesEvent_GetNumberOfFiles(*args, **kwargs) - def GetFiles(*args, **kwargs): return _core.DropFilesEvent_GetFiles(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.DropFilesEvent_GetPosition(*args, **kwargs) + + def GetNumberOfFiles(*args, **kwargs): + """GetNumberOfFiles() -> int""" + return _core.DropFilesEvent_GetNumberOfFiles(*args, **kwargs) + + def GetFiles(*args, **kwargs): + """GetFiles() -> PyObject""" + return _core.DropFilesEvent_GetFiles(*args, **kwargs) + class DropFilesEventPtr(DropFilesEvent): def __init__(self, this): @@ -2536,28 +3892,81 @@ _core.DropFilesEvent_swigregister(DropFilesEventPtr) UPDATE_UI_PROCESS_ALL = _core.UPDATE_UI_PROCESS_ALL UPDATE_UI_PROCESS_SPECIFIED = _core.UPDATE_UI_PROCESS_SPECIFIED class UpdateUIEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int commandId=0) -> UpdateUIEvent""" newobj = _core.new_UpdateUIEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetChecked(*args, **kwargs): return _core.UpdateUIEvent_GetChecked(*args, **kwargs) - def GetEnabled(*args, **kwargs): return _core.UpdateUIEvent_GetEnabled(*args, **kwargs) - def GetText(*args, **kwargs): return _core.UpdateUIEvent_GetText(*args, **kwargs) - def GetSetText(*args, **kwargs): return _core.UpdateUIEvent_GetSetText(*args, **kwargs) - def GetSetChecked(*args, **kwargs): return _core.UpdateUIEvent_GetSetChecked(*args, **kwargs) - def GetSetEnabled(*args, **kwargs): return _core.UpdateUIEvent_GetSetEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.UpdateUIEvent_Check(*args, **kwargs) - def Enable(*args, **kwargs): return _core.UpdateUIEvent_Enable(*args, **kwargs) - def SetText(*args, **kwargs): return _core.UpdateUIEvent_SetText(*args, **kwargs) - SetUpdateInterval = staticmethod(_core.UpdateUIEvent_SetUpdateInterval) - GetUpdateInterval = staticmethod(_core.UpdateUIEvent_GetUpdateInterval) - CanUpdate = staticmethod(_core.UpdateUIEvent_CanUpdate) - ResetUpdateTime = staticmethod(_core.UpdateUIEvent_ResetUpdateTime) - SetMode = staticmethod(_core.UpdateUIEvent_SetMode) - GetMode = staticmethod(_core.UpdateUIEvent_GetMode) - def __repr__(self): - return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetChecked(*args, **kwargs): + """GetChecked() -> bool""" + return _core.UpdateUIEvent_GetChecked(*args, **kwargs) + + def GetEnabled(*args, **kwargs): + """GetEnabled() -> bool""" + return _core.UpdateUIEvent_GetEnabled(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _core.UpdateUIEvent_GetText(*args, **kwargs) + + def GetSetText(*args, **kwargs): + """GetSetText() -> bool""" + return _core.UpdateUIEvent_GetSetText(*args, **kwargs) + + def GetSetChecked(*args, **kwargs): + """GetSetChecked() -> bool""" + return _core.UpdateUIEvent_GetSetChecked(*args, **kwargs) + + def GetSetEnabled(*args, **kwargs): + """GetSetEnabled() -> bool""" + return _core.UpdateUIEvent_GetSetEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(bool check)""" + return _core.UpdateUIEvent_Check(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable)""" + return _core.UpdateUIEvent_Enable(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _core.UpdateUIEvent_SetText(*args, **kwargs) + + def SetUpdateInterval(*args, **kwargs): + """UpdateUIEvent.SetUpdateInterval(long updateInterval)""" + return _core.UpdateUIEvent_SetUpdateInterval(*args, **kwargs) + + SetUpdateInterval = staticmethod(SetUpdateInterval) + def GetUpdateInterval(*args, **kwargs): + """UpdateUIEvent.GetUpdateInterval() -> long""" + return _core.UpdateUIEvent_GetUpdateInterval(*args, **kwargs) + + GetUpdateInterval = staticmethod(GetUpdateInterval) + def CanUpdate(*args, **kwargs): + """UpdateUIEvent.CanUpdate(Window win) -> bool""" + return _core.UpdateUIEvent_CanUpdate(*args, **kwargs) + + CanUpdate = staticmethod(CanUpdate) + def ResetUpdateTime(*args, **kwargs): + """UpdateUIEvent.ResetUpdateTime()""" + return _core.UpdateUIEvent_ResetUpdateTime(*args, **kwargs) + + ResetUpdateTime = staticmethod(ResetUpdateTime) + def SetMode(*args, **kwargs): + """UpdateUIEvent.SetMode(wxUpdateUIMode mode)""" + return _core.UpdateUIEvent_SetMode(*args, **kwargs) + + SetMode = staticmethod(SetMode) + def GetMode(*args, **kwargs): + """UpdateUIEvent.GetMode() -> wxUpdateUIMode""" + return _core.UpdateUIEvent_GetMode(*args, **kwargs) + + GetMode = staticmethod(GetMode) class UpdateUIEventPtr(UpdateUIEvent): def __init__(self, this): @@ -2566,28 +3975,42 @@ class UpdateUIEventPtr(UpdateUIEvent): self.__class__ = UpdateUIEvent _core.UpdateUIEvent_swigregister(UpdateUIEventPtr) -UpdateUIEvent_SetUpdateInterval = _core.UpdateUIEvent_SetUpdateInterval +def UpdateUIEvent_SetUpdateInterval(*args, **kwargs): + """UpdateUIEvent_SetUpdateInterval(long updateInterval)""" + return _core.UpdateUIEvent_SetUpdateInterval(*args, **kwargs) -UpdateUIEvent_GetUpdateInterval = _core.UpdateUIEvent_GetUpdateInterval +def UpdateUIEvent_GetUpdateInterval(*args, **kwargs): + """UpdateUIEvent_GetUpdateInterval() -> long""" + return _core.UpdateUIEvent_GetUpdateInterval(*args, **kwargs) -UpdateUIEvent_CanUpdate = _core.UpdateUIEvent_CanUpdate +def UpdateUIEvent_CanUpdate(*args, **kwargs): + """UpdateUIEvent_CanUpdate(Window win) -> bool""" + return _core.UpdateUIEvent_CanUpdate(*args, **kwargs) -UpdateUIEvent_ResetUpdateTime = _core.UpdateUIEvent_ResetUpdateTime +def UpdateUIEvent_ResetUpdateTime(*args, **kwargs): + """UpdateUIEvent_ResetUpdateTime()""" + return _core.UpdateUIEvent_ResetUpdateTime(*args, **kwargs) -UpdateUIEvent_SetMode = _core.UpdateUIEvent_SetMode +def UpdateUIEvent_SetMode(*args, **kwargs): + """UpdateUIEvent_SetMode(wxUpdateUIMode mode)""" + return _core.UpdateUIEvent_SetMode(*args, **kwargs) -UpdateUIEvent_GetMode = _core.UpdateUIEvent_GetMode +def UpdateUIEvent_GetMode(*args, **kwargs): + """UpdateUIEvent_GetMode() -> wxUpdateUIMode""" + return _core.UpdateUIEvent_GetMode(*args, **kwargs) #--------------------------------------------------------------------------- class SysColourChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SysColourChangedEvent""" newobj = _core.new_SysColourChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class SysColourChangedEventPtr(SysColourChangedEvent): def __init__(self, this): @@ -2599,14 +4022,19 @@ _core.SysColourChangedEvent_swigregister(SysColourChangedEventPtr) #--------------------------------------------------------------------------- class MouseCaptureChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent""" newobj = _core.new_MouseCaptureChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetCapturedWindow(*args, **kwargs): return _core.MouseCaptureChangedEvent_GetCapturedWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetCapturedWindow(*args, **kwargs): + """GetCapturedWindow() -> Window""" + return _core.MouseCaptureChangedEvent_GetCapturedWindow(*args, **kwargs) + class MouseCaptureChangedEventPtr(MouseCaptureChangedEvent): def __init__(self, this): @@ -2618,13 +4046,15 @@ _core.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr) #--------------------------------------------------------------------------- class DisplayChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> DisplayChangedEvent""" newobj = _core.new_DisplayChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class DisplayChangedEventPtr(DisplayChangedEvent): def __init__(self, this): @@ -2636,15 +4066,23 @@ _core.DisplayChangedEvent_swigregister(DisplayChangedEventPtr) #--------------------------------------------------------------------------- class PaletteChangedEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> PaletteChangedEvent""" newobj = _core.new_PaletteChangedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetChangedWindow(*args, **kwargs): return _core.PaletteChangedEvent_SetChangedWindow(*args, **kwargs) - def GetChangedWindow(*args, **kwargs): return _core.PaletteChangedEvent_GetChangedWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetChangedWindow(*args, **kwargs): + """SetChangedWindow(Window win)""" + return _core.PaletteChangedEvent_SetChangedWindow(*args, **kwargs) + + def GetChangedWindow(*args, **kwargs): + """GetChangedWindow() -> Window""" + return _core.PaletteChangedEvent_GetChangedWindow(*args, **kwargs) + class PaletteChangedEventPtr(PaletteChangedEvent): def __init__(self, this): @@ -2656,15 +4094,23 @@ _core.PaletteChangedEvent_swigregister(PaletteChangedEventPtr) #--------------------------------------------------------------------------- class QueryNewPaletteEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0) -> QueryNewPaletteEvent""" newobj = _core.new_QueryNewPaletteEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetPaletteRealized(*args, **kwargs): return _core.QueryNewPaletteEvent_SetPaletteRealized(*args, **kwargs) - def GetPaletteRealized(*args, **kwargs): return _core.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetPaletteRealized(*args, **kwargs): + """SetPaletteRealized(bool realized)""" + return _core.QueryNewPaletteEvent_SetPaletteRealized(*args, **kwargs) + + def GetPaletteRealized(*args, **kwargs): + """GetPaletteRealized() -> bool""" + return _core.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs) + class QueryNewPaletteEventPtr(QueryNewPaletteEvent): def __init__(self, this): @@ -2676,19 +4122,39 @@ _core.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr) #--------------------------------------------------------------------------- class NavigationKeyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> NavigationKeyEvent""" newobj = _core.new_NavigationKeyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDirection(*args, **kwargs): return _core.NavigationKeyEvent_GetDirection(*args, **kwargs) - def SetDirection(*args, **kwargs): return _core.NavigationKeyEvent_SetDirection(*args, **kwargs) - def IsWindowChange(*args, **kwargs): return _core.NavigationKeyEvent_IsWindowChange(*args, **kwargs) - def SetWindowChange(*args, **kwargs): return _core.NavigationKeyEvent_SetWindowChange(*args, **kwargs) - def GetCurrentFocus(*args, **kwargs): return _core.NavigationKeyEvent_GetCurrentFocus(*args, **kwargs) - def SetCurrentFocus(*args, **kwargs): return _core.NavigationKeyEvent_SetCurrentFocus(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDirection(*args, **kwargs): + """GetDirection() -> bool""" + return _core.NavigationKeyEvent_GetDirection(*args, **kwargs) + + def SetDirection(*args, **kwargs): + """SetDirection(bool bForward)""" + return _core.NavigationKeyEvent_SetDirection(*args, **kwargs) + + def IsWindowChange(*args, **kwargs): + """IsWindowChange() -> bool""" + return _core.NavigationKeyEvent_IsWindowChange(*args, **kwargs) + + def SetWindowChange(*args, **kwargs): + """SetWindowChange(bool bIs)""" + return _core.NavigationKeyEvent_SetWindowChange(*args, **kwargs) + + def GetCurrentFocus(*args, **kwargs): + """GetCurrentFocus() -> Window""" + return _core.NavigationKeyEvent_GetCurrentFocus(*args, **kwargs) + + def SetCurrentFocus(*args, **kwargs): + """SetCurrentFocus(Window win)""" + return _core.NavigationKeyEvent_SetCurrentFocus(*args, **kwargs) + class NavigationKeyEventPtr(NavigationKeyEvent): def __init__(self, this): @@ -2700,14 +4166,19 @@ _core.NavigationKeyEvent_swigregister(NavigationKeyEventPtr) #--------------------------------------------------------------------------- class WindowCreateEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> WindowCreateEvent""" newobj = _core.new_WindowCreateEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.WindowCreateEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.WindowCreateEvent_GetWindow(*args, **kwargs) + class WindowCreateEventPtr(WindowCreateEvent): def __init__(self, this): @@ -2717,14 +4188,19 @@ class WindowCreateEventPtr(WindowCreateEvent): _core.WindowCreateEvent_swigregister(WindowCreateEventPtr) class WindowDestroyEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None) -> WindowDestroyEvent""" newobj = _core.new_WindowDestroyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetWindow(*args, **kwargs): return _core.WindowDestroyEvent_GetWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.WindowDestroyEvent_GetWindow(*args, **kwargs) + class WindowDestroyEventPtr(WindowDestroyEvent): def __init__(self, this): @@ -2736,15 +4212,23 @@ _core.WindowDestroyEvent_swigregister(WindowDestroyEventPtr) #--------------------------------------------------------------------------- class ContextMenuEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent""" newobj = _core.new_ContextMenuEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _core.ContextMenuEvent_GetPosition(*args, **kwargs) - def SetPosition(*args, **kwargs): return _core.ContextMenuEvent_SetPosition(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.ContextMenuEvent_GetPosition(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _core.ContextMenuEvent_SetPosition(*args, **kwargs) + class ContextMenuEventPtr(ContextMenuEvent): def __init__(self, this): @@ -2758,18 +4242,38 @@ _core.ContextMenuEvent_swigregister(ContextMenuEventPtr) IDLE_PROCESS_ALL = _core.IDLE_PROCESS_ALL IDLE_PROCESS_SPECIFIED = _core.IDLE_PROCESS_SPECIFIED class IdleEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> IdleEvent""" newobj = _core.new_IdleEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def RequestMore(*args, **kwargs): return _core.IdleEvent_RequestMore(*args, **kwargs) - def MoreRequested(*args, **kwargs): return _core.IdleEvent_MoreRequested(*args, **kwargs) - SetMode = staticmethod(_core.IdleEvent_SetMode) - GetMode = staticmethod(_core.IdleEvent_GetMode) - CanSend = staticmethod(_core.IdleEvent_CanSend) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def RequestMore(*args, **kwargs): + """RequestMore(bool needMore=True)""" + return _core.IdleEvent_RequestMore(*args, **kwargs) + + def MoreRequested(*args, **kwargs): + """MoreRequested() -> bool""" + return _core.IdleEvent_MoreRequested(*args, **kwargs) + + def SetMode(*args, **kwargs): + """IdleEvent.SetMode(wxIdleMode mode)""" + return _core.IdleEvent_SetMode(*args, **kwargs) + + SetMode = staticmethod(SetMode) + def GetMode(*args, **kwargs): + """IdleEvent.GetMode() -> wxIdleMode""" + return _core.IdleEvent_GetMode(*args, **kwargs) + + GetMode = staticmethod(GetMode) + def CanSend(*args, **kwargs): + """IdleEvent.CanSend(Window win) -> bool""" + return _core.IdleEvent_CanSend(*args, **kwargs) + + CanSend = staticmethod(CanSend) class IdleEventPtr(IdleEvent): def __init__(self, this): @@ -2778,29 +4282,46 @@ class IdleEventPtr(IdleEvent): self.__class__ = IdleEvent _core.IdleEvent_swigregister(IdleEventPtr) -IdleEvent_SetMode = _core.IdleEvent_SetMode +def IdleEvent_SetMode(*args, **kwargs): + """IdleEvent_SetMode(wxIdleMode mode)""" + return _core.IdleEvent_SetMode(*args, **kwargs) -IdleEvent_GetMode = _core.IdleEvent_GetMode +def IdleEvent_GetMode(*args, **kwargs): + """IdleEvent_GetMode() -> wxIdleMode""" + return _core.IdleEvent_GetMode(*args, **kwargs) -IdleEvent_CanSend = _core.IdleEvent_CanSend +def IdleEvent_CanSend(*args, **kwargs): + """IdleEvent_CanSend(Window win) -> bool""" + return _core.IdleEvent_CanSend(*args, **kwargs) #--------------------------------------------------------------------------- class PyEvent(Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent""" newobj = _core.new_PyEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self.SetSelf(self) + def __del__(self, destroy=_core.delete_PyEvent): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelf(*args, **kwargs): return _core.PyEvent_SetSelf(*args, **kwargs) - def GetSelf(*args, **kwargs): return _core.PyEvent_GetSelf(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelf(*args, **kwargs): + """SetSelf(PyObject self)""" + return _core.PyEvent_SetSelf(*args, **kwargs) + + def GetSelf(*args, **kwargs): + """GetSelf() -> PyObject""" + return _core.PyEvent_GetSelf(*args, **kwargs) + class PyEventPtr(PyEvent): def __init__(self, this): @@ -2810,20 +4331,31 @@ class PyEventPtr(PyEvent): _core.PyEvent_swigregister(PyEventPtr) class PyCommandEvent(CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent""" newobj = _core.new_PyCommandEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self.SetSelf(self) + def __del__(self, destroy=_core.delete_PyCommandEvent): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelf(*args, **kwargs): return _core.PyCommandEvent_SetSelf(*args, **kwargs) - def GetSelf(*args, **kwargs): return _core.PyCommandEvent_GetSelf(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelf(*args, **kwargs): + """SetSelf(PyObject self)""" + return _core.PyCommandEvent_SetSelf(*args, **kwargs) + + def GetSelf(*args, **kwargs): + """GetSelf() -> PyObject""" + return _core.PyCommandEvent_GetSelf(*args, **kwargs) + class PyCommandEventPtr(PyCommandEvent): def __init__(self, this): @@ -2841,61 +4373,205 @@ PYAPP_ASSERT_LOG = _core.PYAPP_ASSERT_LOG PRINT_WINDOWS = _core.PRINT_WINDOWS PRINT_POSTSCRIPT = _core.PRINT_POSTSCRIPT class PyApp(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyApp""" newobj = _core.new_PyApp(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyApp) self._setOORInfo(self) + def __del__(self, destroy=_core.delete_PyApp): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _core.PyApp__setCallbackInfo(*args, **kwargs) - def GetAppName(*args, **kwargs): return _core.PyApp_GetAppName(*args, **kwargs) - def SetAppName(*args, **kwargs): return _core.PyApp_SetAppName(*args, **kwargs) - def GetClassName(*args, **kwargs): return _core.PyApp_GetClassName(*args, **kwargs) - def SetClassName(*args, **kwargs): return _core.PyApp_SetClassName(*args, **kwargs) - def GetVendorName(*args, **kwargs): return _core.PyApp_GetVendorName(*args, **kwargs) - def SetVendorName(*args, **kwargs): return _core.PyApp_SetVendorName(*args, **kwargs) - def GetTraits(*args, **kwargs): return _core.PyApp_GetTraits(*args, **kwargs) - def ProcessPendingEvents(*args, **kwargs): return _core.PyApp_ProcessPendingEvents(*args, **kwargs) - def Yield(*args, **kwargs): return _core.PyApp_Yield(*args, **kwargs) - def WakeUpIdle(*args, **kwargs): return _core.PyApp_WakeUpIdle(*args, **kwargs) - def MainLoop(*args, **kwargs): return _core.PyApp_MainLoop(*args, **kwargs) - def Exit(*args, **kwargs): return _core.PyApp_Exit(*args, **kwargs) - def ExitMainLoop(*args, **kwargs): return _core.PyApp_ExitMainLoop(*args, **kwargs) - def Pending(*args, **kwargs): return _core.PyApp_Pending(*args, **kwargs) - def Dispatch(*args, **kwargs): return _core.PyApp_Dispatch(*args, **kwargs) - def ProcessIdle(*args, **kwargs): return _core.PyApp_ProcessIdle(*args, **kwargs) - def SendIdleEvents(*args, **kwargs): return _core.PyApp_SendIdleEvents(*args, **kwargs) - def OnIdle(*args, **kwargs): return _core.PyApp_OnIdle(*args, **kwargs) - def IsActive(*args, **kwargs): return _core.PyApp_IsActive(*args, **kwargs) - def SetTopWindow(*args, **kwargs): return _core.PyApp_SetTopWindow(*args, **kwargs) - def GetTopWindow(*args, **kwargs): return _core.PyApp_GetTopWindow(*args, **kwargs) - def SetExitOnFrameDelete(*args, **kwargs): return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) - def GetExitOnFrameDelete(*args, **kwargs): return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) - def SetUseBestVisual(*args, **kwargs): return _core.PyApp_SetUseBestVisual(*args, **kwargs) - def GetUseBestVisual(*args, **kwargs): return _core.PyApp_GetUseBestVisual(*args, **kwargs) - def SetPrintMode(*args, **kwargs): return _core.PyApp_SetPrintMode(*args, **kwargs) - def GetPrintMode(*args, **kwargs): return _core.PyApp_GetPrintMode(*args, **kwargs) - def GetAssertMode(*args, **kwargs): return _core.PyApp_GetAssertMode(*args, **kwargs) - def SetAssertMode(*args, **kwargs): return _core.PyApp_SetAssertMode(*args, **kwargs) - GetMacSupportPCMenuShortcuts = staticmethod(_core.PyApp_GetMacSupportPCMenuShortcuts) - GetMacAboutMenuItemId = staticmethod(_core.PyApp_GetMacAboutMenuItemId) - GetMacPreferencesMenuItemId = staticmethod(_core.PyApp_GetMacPreferencesMenuItemId) - GetMacExitMenuItemId = staticmethod(_core.PyApp_GetMacExitMenuItemId) - GetMacHelpMenuTitleName = staticmethod(_core.PyApp_GetMacHelpMenuTitleName) - SetMacSupportPCMenuShortcuts = staticmethod(_core.PyApp_SetMacSupportPCMenuShortcuts) - SetMacAboutMenuItemId = staticmethod(_core.PyApp_SetMacAboutMenuItemId) - SetMacPreferencesMenuItemId = staticmethod(_core.PyApp_SetMacPreferencesMenuItemId) - SetMacExitMenuItemId = staticmethod(_core.PyApp_SetMacExitMenuItemId) - SetMacHelpMenuTitleName = staticmethod(_core.PyApp_SetMacHelpMenuTitleName) - def _BootstrapApp(*args, **kwargs): return _core.PyApp__BootstrapApp(*args, **kwargs) - GetComCtl32Version = staticmethod(_core.PyApp_GetComCtl32Version) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.PyApp__setCallbackInfo(*args, **kwargs) + + def GetAppName(*args, **kwargs): + """GetAppName() -> wxString""" + return _core.PyApp_GetAppName(*args, **kwargs) + + def SetAppName(*args, **kwargs): + """SetAppName(wxString name)""" + return _core.PyApp_SetAppName(*args, **kwargs) + + def GetClassName(*args, **kwargs): + """GetClassName() -> wxString + +Returns the class name of the C++ object using wxRTTI.""" + return _core.PyApp_GetClassName(*args, **kwargs) + + def SetClassName(*args, **kwargs): + """SetClassName(wxString name)""" + return _core.PyApp_SetClassName(*args, **kwargs) + + def GetVendorName(*args, **kwargs): + """GetVendorName() -> wxString""" + return _core.PyApp_GetVendorName(*args, **kwargs) + + def SetVendorName(*args, **kwargs): + """SetVendorName(wxString name)""" + return _core.PyApp_SetVendorName(*args, **kwargs) + + def GetTraits(*args, **kwargs): + """GetTraits() -> wxAppTraits""" + return _core.PyApp_GetTraits(*args, **kwargs) + + def ProcessPendingEvents(*args, **kwargs): + """ProcessPendingEvents()""" + return _core.PyApp_ProcessPendingEvents(*args, **kwargs) + + def Yield(*args, **kwargs): + """Yield(bool onlyIfNeeded=False) -> bool""" + return _core.PyApp_Yield(*args, **kwargs) + + def WakeUpIdle(*args, **kwargs): + """WakeUpIdle()""" + return _core.PyApp_WakeUpIdle(*args, **kwargs) + + def MainLoop(*args, **kwargs): + """MainLoop() -> int""" + return _core.PyApp_MainLoop(*args, **kwargs) + + def Exit(*args, **kwargs): + """Exit()""" + return _core.PyApp_Exit(*args, **kwargs) + + def ExitMainLoop(*args, **kwargs): + """ExitMainLoop()""" + return _core.PyApp_ExitMainLoop(*args, **kwargs) + + def Pending(*args, **kwargs): + """Pending() -> bool""" + return _core.PyApp_Pending(*args, **kwargs) + + def Dispatch(*args, **kwargs): + """Dispatch() -> bool""" + return _core.PyApp_Dispatch(*args, **kwargs) + + def ProcessIdle(*args, **kwargs): + """ProcessIdle() -> bool""" + return _core.PyApp_ProcessIdle(*args, **kwargs) + + def SendIdleEvents(*args, **kwargs): + """SendIdleEvents(Window win, IdleEvent event) -> bool""" + return _core.PyApp_SendIdleEvents(*args, **kwargs) + + def OnIdle(*args, **kwargs): + """OnIdle(IdleEvent event)""" + return _core.PyApp_OnIdle(*args, **kwargs) + + def IsActive(*args, **kwargs): + """IsActive() -> bool""" + return _core.PyApp_IsActive(*args, **kwargs) + + def SetTopWindow(*args, **kwargs): + """SetTopWindow(Window win)""" + return _core.PyApp_SetTopWindow(*args, **kwargs) + + def GetTopWindow(*args, **kwargs): + """GetTopWindow() -> Window""" + return _core.PyApp_GetTopWindow(*args, **kwargs) + + def SetExitOnFrameDelete(*args, **kwargs): + """SetExitOnFrameDelete(bool flag)""" + return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) + + def GetExitOnFrameDelete(*args, **kwargs): + """GetExitOnFrameDelete() -> bool""" + return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) + + def SetUseBestVisual(*args, **kwargs): + """SetUseBestVisual(bool flag)""" + return _core.PyApp_SetUseBestVisual(*args, **kwargs) + + def GetUseBestVisual(*args, **kwargs): + """GetUseBestVisual() -> bool""" + return _core.PyApp_GetUseBestVisual(*args, **kwargs) + + def SetPrintMode(*args, **kwargs): + """SetPrintMode(int mode)""" + return _core.PyApp_SetPrintMode(*args, **kwargs) + + def GetPrintMode(*args, **kwargs): + """GetPrintMode() -> int""" + return _core.PyApp_GetPrintMode(*args, **kwargs) + + def GetAssertMode(*args, **kwargs): + """GetAssertMode() -> int""" + return _core.PyApp_GetAssertMode(*args, **kwargs) + + def SetAssertMode(*args, **kwargs): + """SetAssertMode(int mode)""" + return _core.PyApp_SetAssertMode(*args, **kwargs) + + def GetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp.GetMacSupportPCMenuShortcuts() -> bool""" + return _core.PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs) + + GetMacSupportPCMenuShortcuts = staticmethod(GetMacSupportPCMenuShortcuts) + def GetMacAboutMenuItemId(*args, **kwargs): + """PyApp.GetMacAboutMenuItemId() -> long""" + return _core.PyApp_GetMacAboutMenuItemId(*args, **kwargs) + + GetMacAboutMenuItemId = staticmethod(GetMacAboutMenuItemId) + def GetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp.GetMacPreferencesMenuItemId() -> long""" + return _core.PyApp_GetMacPreferencesMenuItemId(*args, **kwargs) + + GetMacPreferencesMenuItemId = staticmethod(GetMacPreferencesMenuItemId) + def GetMacExitMenuItemId(*args, **kwargs): + """PyApp.GetMacExitMenuItemId() -> long""" + return _core.PyApp_GetMacExitMenuItemId(*args, **kwargs) + + GetMacExitMenuItemId = staticmethod(GetMacExitMenuItemId) + def GetMacHelpMenuTitleName(*args, **kwargs): + """PyApp.GetMacHelpMenuTitleName() -> wxString""" + return _core.PyApp_GetMacHelpMenuTitleName(*args, **kwargs) + + GetMacHelpMenuTitleName = staticmethod(GetMacHelpMenuTitleName) + def SetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp.SetMacSupportPCMenuShortcuts(bool val)""" + return _core.PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs) + + SetMacSupportPCMenuShortcuts = staticmethod(SetMacSupportPCMenuShortcuts) + def SetMacAboutMenuItemId(*args, **kwargs): + """PyApp.SetMacAboutMenuItemId(long val)""" + return _core.PyApp_SetMacAboutMenuItemId(*args, **kwargs) + + SetMacAboutMenuItemId = staticmethod(SetMacAboutMenuItemId) + def SetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp.SetMacPreferencesMenuItemId(long val)""" + return _core.PyApp_SetMacPreferencesMenuItemId(*args, **kwargs) + + SetMacPreferencesMenuItemId = staticmethod(SetMacPreferencesMenuItemId) + def SetMacExitMenuItemId(*args, **kwargs): + """PyApp.SetMacExitMenuItemId(long val)""" + return _core.PyApp_SetMacExitMenuItemId(*args, **kwargs) + + SetMacExitMenuItemId = staticmethod(SetMacExitMenuItemId) + def SetMacHelpMenuTitleName(*args, **kwargs): + """PyApp.SetMacHelpMenuTitleName(wxString val)""" + return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) + + SetMacHelpMenuTitleName = staticmethod(SetMacHelpMenuTitleName) + def _BootstrapApp(*args, **kwargs): + """_BootstrapApp()""" + return _core.PyApp__BootstrapApp(*args, **kwargs) + + def GetComCtl32Version(*args, **kwargs): + """PyApp.GetComCtl32Version() -> int""" + return _core.PyApp_GetComCtl32Version(*args, **kwargs) + + GetComCtl32Version = staticmethod(GetComCtl32Version) class PyAppPtr(PyApp): def __init__(self, this): @@ -2904,46 +4580,84 @@ class PyAppPtr(PyApp): self.__class__ = PyApp _core.PyApp_swigregister(PyAppPtr) -PyApp_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts +def PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp_GetMacSupportPCMenuShortcuts() -> bool""" + return _core.PyApp_GetMacSupportPCMenuShortcuts(*args, **kwargs) -PyApp_GetMacAboutMenuItemId = _core.PyApp_GetMacAboutMenuItemId +def PyApp_GetMacAboutMenuItemId(*args, **kwargs): + """PyApp_GetMacAboutMenuItemId() -> long""" + return _core.PyApp_GetMacAboutMenuItemId(*args, **kwargs) -PyApp_GetMacPreferencesMenuItemId = _core.PyApp_GetMacPreferencesMenuItemId +def PyApp_GetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp_GetMacPreferencesMenuItemId() -> long""" + return _core.PyApp_GetMacPreferencesMenuItemId(*args, **kwargs) -PyApp_GetMacExitMenuItemId = _core.PyApp_GetMacExitMenuItemId +def PyApp_GetMacExitMenuItemId(*args, **kwargs): + """PyApp_GetMacExitMenuItemId() -> long""" + return _core.PyApp_GetMacExitMenuItemId(*args, **kwargs) -PyApp_GetMacHelpMenuTitleName = _core.PyApp_GetMacHelpMenuTitleName +def PyApp_GetMacHelpMenuTitleName(*args, **kwargs): + """PyApp_GetMacHelpMenuTitleName() -> wxString""" + return _core.PyApp_GetMacHelpMenuTitleName(*args, **kwargs) -PyApp_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts +def PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs): + """PyApp_SetMacSupportPCMenuShortcuts(bool val)""" + return _core.PyApp_SetMacSupportPCMenuShortcuts(*args, **kwargs) -PyApp_SetMacAboutMenuItemId = _core.PyApp_SetMacAboutMenuItemId +def PyApp_SetMacAboutMenuItemId(*args, **kwargs): + """PyApp_SetMacAboutMenuItemId(long val)""" + return _core.PyApp_SetMacAboutMenuItemId(*args, **kwargs) -PyApp_SetMacPreferencesMenuItemId = _core.PyApp_SetMacPreferencesMenuItemId +def PyApp_SetMacPreferencesMenuItemId(*args, **kwargs): + """PyApp_SetMacPreferencesMenuItemId(long val)""" + return _core.PyApp_SetMacPreferencesMenuItemId(*args, **kwargs) -PyApp_SetMacExitMenuItemId = _core.PyApp_SetMacExitMenuItemId +def PyApp_SetMacExitMenuItemId(*args, **kwargs): + """PyApp_SetMacExitMenuItemId(long val)""" + return _core.PyApp_SetMacExitMenuItemId(*args, **kwargs) -PyApp_SetMacHelpMenuTitleName = _core.PyApp_SetMacHelpMenuTitleName +def PyApp_SetMacHelpMenuTitleName(*args, **kwargs): + """PyApp_SetMacHelpMenuTitleName(wxString val)""" + return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) -PyApp_GetComCtl32Version = _core.PyApp_GetComCtl32Version +def PyApp_GetComCtl32Version(*args, **kwargs): + """PyApp_GetComCtl32Version() -> int""" + return _core.PyApp_GetComCtl32Version(*args, **kwargs) #--------------------------------------------------------------------------- -Exit = _core.Exit +def Exit(*args, **kwargs): + """Exit()""" + return _core.Exit(*args, **kwargs) -Yield = _core.Yield +def Yield(*args, **kwargs): + """Yield() -> bool""" + return _core.Yield(*args, **kwargs) -YieldIfNeeded = _core.YieldIfNeeded +def YieldIfNeeded(*args, **kwargs): + """YieldIfNeeded() -> bool""" + return _core.YieldIfNeeded(*args, **kwargs) -SafeYield = _core.SafeYield +def SafeYield(*args, **kwargs): + """SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool""" + return _core.SafeYield(*args, **kwargs) -WakeUpIdle = _core.WakeUpIdle +def WakeUpIdle(*args, **kwargs): + """WakeUpIdle()""" + return _core.WakeUpIdle(*args, **kwargs) -PostEvent = _core.PostEvent +def PostEvent(*args, **kwargs): + """PostEvent(EvtHandler dest, Event event)""" + return _core.PostEvent(*args, **kwargs) -App_CleanUp = _core.App_CleanUp +def App_CleanUp(*args, **kwargs): + """App_CleanUp()""" + return _core.App_CleanUp(*args, **kwargs) -GetApp = _core.GetApp +def GetApp(*args, **kwargs): + """GetApp() -> PyApp""" + return _core.GetApp(*args, **kwargs) #---------------------------------------------------------------------- class PyOnDemandOutputWindow: @@ -3130,419 +4844,1331 @@ _sys.__wxPythonCleanup = __wxPyCleanup() #--------------------------------------------------------------------------- class Window(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> Window""" newobj = _core.new_Window(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _core.Window_Create(*args, **kwargs) - def Close(*args, **kwargs): return _core.Window_Close(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Window_Destroy(*args, **kwargs) - def DestroyChildren(*args, **kwargs): return _core.Window_DestroyChildren(*args, **kwargs) - def IsBeingDeleted(*args, **kwargs): return _core.Window_IsBeingDeleted(*args, **kwargs) - def SetTitle(*args, **kwargs): return _core.Window_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _core.Window_GetTitle(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Window_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Window_GetLabel(*args, **kwargs) - def SetName(*args, **kwargs): return _core.Window_SetName(*args, **kwargs) - def GetName(*args, **kwargs): return _core.Window_GetName(*args, **kwargs) - def SetId(*args, **kwargs): return _core.Window_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _core.Window_GetId(*args, **kwargs) - NewControlId = staticmethod(_core.Window_NewControlId) - NextControlId = staticmethod(_core.Window_NextControlId) - PrevControlId = staticmethod(_core.Window_PrevControlId) - def SetSize(*args, **kwargs): return _core.Window_SetSize(*args, **kwargs) - def SetDimensions(*args, **kwargs): return _core.Window_SetDimensions(*args, **kwargs) - def SetRect(*args, **kwargs): return _core.Window_SetRect(*args, **kwargs) - def SetSizeWH(*args, **kwargs): return _core.Window_SetSizeWH(*args, **kwargs) - def Move(*args, **kwargs): return _core.Window_Move(*args, **kwargs) - SetPosition = Move - def MoveXY(*args, **kwargs): return _core.Window_MoveXY(*args, **kwargs) - def Raise(*args, **kwargs): return _core.Window_Raise(*args, **kwargs) - def Lower(*args, **kwargs): return _core.Window_Lower(*args, **kwargs) - def SetClientSize(*args, **kwargs): return _core.Window_SetClientSize(*args, **kwargs) - def SetClientSizeWH(*args, **kwargs): return _core.Window_SetClientSizeWH(*args, **kwargs) - def SetClientRect(*args, **kwargs): return _core.Window_SetClientRect(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Window_GetPosition(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _core.Window_GetPositionTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Window_GetSize(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _core.Window_GetSizeTuple(*args, **kwargs) - def GetRect(*args, **kwargs): return _core.Window_GetRect(*args, **kwargs) - def GetClientSize(*args, **kwargs): return _core.Window_GetClientSize(*args, **kwargs) - def GetClientSizeTuple(*args, **kwargs): return _core.Window_GetClientSizeTuple(*args, **kwargs) - def GetClientAreaOrigin(*args, **kwargs): return _core.Window_GetClientAreaOrigin(*args, **kwargs) - def GetClientRect(*args, **kwargs): return _core.Window_GetClientRect(*args, **kwargs) - def GetBestSize(*args, **kwargs): return _core.Window_GetBestSize(*args, **kwargs) - def GetBestSizeTuple(*args, **kwargs): return _core.Window_GetBestSizeTuple(*args, **kwargs) - def GetAdjustedBestSize(*args, **kwargs): return _core.Window_GetAdjustedBestSize(*args, **kwargs) - def Center(*args, **kwargs): return _core.Window_Center(*args, **kwargs) - Centre = Center - def CenterOnScreen(*args, **kwargs): return _core.Window_CenterOnScreen(*args, **kwargs) - CentreOnScreen = CenterOnScreen - def CenterOnParent(*args, **kwargs): return _core.Window_CenterOnParent(*args, **kwargs) - CentreOnParent = CenterOnParent - def Fit(*args, **kwargs): return _core.Window_Fit(*args, **kwargs) - def FitInside(*args, **kwargs): return _core.Window_FitInside(*args, **kwargs) - def SetSizeHints(*args, **kwargs): return _core.Window_SetSizeHints(*args, **kwargs) - def SetVirtualSizeHints(*args, **kwargs): return _core.Window_SetVirtualSizeHints(*args, **kwargs) - def GetMinWidth(*args, **kwargs): return _core.Window_GetMinWidth(*args, **kwargs) - def GetMinHeight(*args, **kwargs): return _core.Window_GetMinHeight(*args, **kwargs) - def GetMaxWidth(*args, **kwargs): return _core.Window_GetMaxWidth(*args, **kwargs) - def GetMaxHeight(*args, **kwargs): return _core.Window_GetMaxHeight(*args, **kwargs) - def GetMaxSize(*args, **kwargs): return _core.Window_GetMaxSize(*args, **kwargs) - def SetVirtualSize(*args, **kwargs): return _core.Window_SetVirtualSize(*args, **kwargs) - def SetVirtualSizeWH(*args, **kwargs): return _core.Window_SetVirtualSizeWH(*args, **kwargs) - def GetVirtualSize(*args, **kwargs): return _core.Window_GetVirtualSize(*args, **kwargs) - def GetVirtualSizeTuple(*args, **kwargs): return _core.Window_GetVirtualSizeTuple(*args, **kwargs) - def GetBestVirtualSize(*args, **kwargs): return _core.Window_GetBestVirtualSize(*args, **kwargs) - def Show(*args, **kwargs): return _core.Window_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _core.Window_Hide(*args, **kwargs) - def Enable(*args, **kwargs): return _core.Window_Enable(*args, **kwargs) - def Disable(*args, **kwargs): return _core.Window_Disable(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.Window_IsShown(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.Window_IsEnabled(*args, **kwargs) - def SetWindowStyleFlag(*args, **kwargs): return _core.Window_SetWindowStyleFlag(*args, **kwargs) - def GetWindowStyleFlag(*args, **kwargs): return _core.Window_GetWindowStyleFlag(*args, **kwargs) - def SetWindowStyle(*args, **kwargs): return _core.Window_SetWindowStyle(*args, **kwargs) - def GetWindowStyle(*args, **kwargs): return _core.Window_GetWindowStyle(*args, **kwargs) - def HasFlag(*args, **kwargs): return _core.Window_HasFlag(*args, **kwargs) - def IsRetained(*args, **kwargs): return _core.Window_IsRetained(*args, **kwargs) - def SetExtraStyle(*args, **kwargs): return _core.Window_SetExtraStyle(*args, **kwargs) - def GetExtraStyle(*args, **kwargs): return _core.Window_GetExtraStyle(*args, **kwargs) - def MakeModal(*args, **kwargs): return _core.Window_MakeModal(*args, **kwargs) - def SetThemeEnabled(*args, **kwargs): return _core.Window_SetThemeEnabled(*args, **kwargs) - def GetThemeEnabled(*args, **kwargs): return _core.Window_GetThemeEnabled(*args, **kwargs) - def ShouldInheritColours(*args, **kwargs): return _core.Window_ShouldInheritColours(*args, **kwargs) - def SetFocus(*args, **kwargs): return _core.Window_SetFocus(*args, **kwargs) - def SetFocusFromKbd(*args, **kwargs): return _core.Window_SetFocusFromKbd(*args, **kwargs) - FindFocus = staticmethod(_core.Window_FindFocus) - def AcceptsFocus(*args, **kwargs): return _core.Window_AcceptsFocus(*args, **kwargs) - def AcceptsFocusFromKeyboard(*args, **kwargs): return _core.Window_AcceptsFocusFromKeyboard(*args, **kwargs) - def GetDefaultItem(*args, **kwargs): return _core.Window_GetDefaultItem(*args, **kwargs) - def SetDefaultItem(*args, **kwargs): return _core.Window_SetDefaultItem(*args, **kwargs) - def SetTmpDefaultItem(*args, **kwargs): return _core.Window_SetTmpDefaultItem(*args, **kwargs) - def GetChildren(*args, **kwargs): return _core.Window_GetChildren(*args, **kwargs) - def GetParent(*args, **kwargs): return _core.Window_GetParent(*args, **kwargs) - def GetGrandParent(*args, **kwargs): return _core.Window_GetGrandParent(*args, **kwargs) - def IsTopLevel(*args, **kwargs): return _core.Window_IsTopLevel(*args, **kwargs) - def Reparent(*args, **kwargs): return _core.Window_Reparent(*args, **kwargs) - def AddChild(*args, **kwargs): return _core.Window_AddChild(*args, **kwargs) - def RemoveChild(*args, **kwargs): return _core.Window_RemoveChild(*args, **kwargs) - def FindWindowById(*args, **kwargs): return _core.Window_FindWindowById(*args, **kwargs) - def FindWindowByName(*args, **kwargs): return _core.Window_FindWindowByName(*args, **kwargs) - def GetEventHandler(*args, **kwargs): return _core.Window_GetEventHandler(*args, **kwargs) - def SetEventHandler(*args, **kwargs): return _core.Window_SetEventHandler(*args, **kwargs) - def PushEventHandler(*args, **kwargs): return _core.Window_PushEventHandler(*args, **kwargs) - def PopEventHandler(*args, **kwargs): return _core.Window_PopEventHandler(*args, **kwargs) - def RemoveEventHandler(*args, **kwargs): return _core.Window_RemoveEventHandler(*args, **kwargs) - def SetValidator(*args, **kwargs): return _core.Window_SetValidator(*args, **kwargs) - def GetValidator(*args, **kwargs): return _core.Window_GetValidator(*args, **kwargs) - def SetAcceleratorTable(*args, **kwargs): return _core.Window_SetAcceleratorTable(*args, **kwargs) - def GetAcceleratorTable(*args, **kwargs): return _core.Window_GetAcceleratorTable(*args, **kwargs) - def RegisterHotKey(*args, **kwargs): return _core.Window_RegisterHotKey(*args, **kwargs) - def UnregisterHotKey(*args, **kwargs): return _core.Window_UnregisterHotKey(*args, **kwargs) - def ConvertDialogPointToPixels(*args, **kwargs): return _core.Window_ConvertDialogPointToPixels(*args, **kwargs) - def ConvertDialogSizeToPixels(*args, **kwargs): return _core.Window_ConvertDialogSizeToPixels(*args, **kwargs) - def DLG_PNT(*args, **kwargs): return _core.Window_DLG_PNT(*args, **kwargs) - def DLG_SZE(*args, **kwargs): return _core.Window_DLG_SZE(*args, **kwargs) - def ConvertPixelPointToDialog(*args, **kwargs): return _core.Window_ConvertPixelPointToDialog(*args, **kwargs) - def ConvertPixelSizeToDialog(*args, **kwargs): return _core.Window_ConvertPixelSizeToDialog(*args, **kwargs) - def WarpPointer(*args, **kwargs): return _core.Window_WarpPointer(*args, **kwargs) - def CaptureMouse(*args, **kwargs): return _core.Window_CaptureMouse(*args, **kwargs) - def ReleaseMouse(*args, **kwargs): return _core.Window_ReleaseMouse(*args, **kwargs) - GetCapture = staticmethod(_core.Window_GetCapture) - def HasCapture(*args, **kwargs): return _core.Window_HasCapture(*args, **kwargs) - def Refresh(*args, **kwargs): return _core.Window_Refresh(*args, **kwargs) - def RefreshRect(*args, **kwargs): return _core.Window_RefreshRect(*args, **kwargs) - def Update(*args, **kwargs): return _core.Window_Update(*args, **kwargs) - def ClearBackground(*args, **kwargs): return _core.Window_ClearBackground(*args, **kwargs) - def Freeze(*args, **kwargs): return _core.Window_Freeze(*args, **kwargs) - def Thaw(*args, **kwargs): return _core.Window_Thaw(*args, **kwargs) - def PrepareDC(*args, **kwargs): return _core.Window_PrepareDC(*args, **kwargs) - def GetUpdateRegion(*args, **kwargs): return _core.Window_GetUpdateRegion(*args, **kwargs) - def GetUpdateClientRect(*args, **kwargs): return _core.Window_GetUpdateClientRect(*args, **kwargs) - def IsExposed(*args, **kwargs): return _core.Window_IsExposed(*args, **kwargs) - def IsExposedPoint(*args, **kwargs): return _core.Window_IsExposedPoint(*args, **kwargs) - def isExposedRect(*args, **kwargs): return _core.Window_isExposedRect(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _core.Window_SetBackgroundColour(*args, **kwargs) - def SetForegroundColour(*args, **kwargs): return _core.Window_SetForegroundColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _core.Window_GetBackgroundColour(*args, **kwargs) - def GetForegroundColour(*args, **kwargs): return _core.Window_GetForegroundColour(*args, **kwargs) - def SetCursor(*args, **kwargs): return _core.Window_SetCursor(*args, **kwargs) - def GetCursor(*args, **kwargs): return _core.Window_GetCursor(*args, **kwargs) - def SetFont(*args, **kwargs): return _core.Window_SetFont(*args, **kwargs) - def GetFont(*args, **kwargs): return _core.Window_GetFont(*args, **kwargs) - def SetCaret(*args, **kwargs): return _core.Window_SetCaret(*args, **kwargs) - def GetCaret(*args, **kwargs): return _core.Window_GetCaret(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _core.Window_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _core.Window_GetCharWidth(*args, **kwargs) - def GetTextExtent(*args, **kwargs): return _core.Window_GetTextExtent(*args, **kwargs) - def GetFullTextExtent(*args, **kwargs): return _core.Window_GetFullTextExtent(*args, **kwargs) - def ClientToScreenXY(*args, **kwargs): return _core.Window_ClientToScreenXY(*args, **kwargs) - def ScreenToClientXY(*args, **kwargs): return _core.Window_ScreenToClientXY(*args, **kwargs) - def ClientToScreen(*args, **kwargs): return _core.Window_ClientToScreen(*args, **kwargs) - def ScreenToClient(*args, **kwargs): return _core.Window_ScreenToClient(*args, **kwargs) - def HitTestXY(*args, **kwargs): return _core.Window_HitTestXY(*args, **kwargs) - def HitTest(*args, **kwargs): return _core.Window_HitTest(*args, **kwargs) - def GetBorderFlags(*args, **kwargs): return _core.Window_GetBorderFlags(*args, **kwargs) - def GetBorder(*args, **kwargs): return _core.Window_GetBorder(*args, **kwargs) - def UpdateWindowUI(*args, **kwargs): return _core.Window_UpdateWindowUI(*args, **kwargs) - def PopupMenuXY(*args, **kwargs): return _core.Window_PopupMenuXY(*args, **kwargs) - def PopupMenu(*args, **kwargs): return _core.Window_PopupMenu(*args, **kwargs) - def GetHandle(*args, **kwargs): return _core.Window_GetHandle(*args, **kwargs) - def OnPaint(*args, **kwargs): return _core.Window_OnPaint(*args, **kwargs) - def HasScrollbar(*args, **kwargs): return _core.Window_HasScrollbar(*args, **kwargs) - def SetScrollbar(*args, **kwargs): return _core.Window_SetScrollbar(*args, **kwargs) - def SetScrollPos(*args, **kwargs): return _core.Window_SetScrollPos(*args, **kwargs) - def GetScrollPos(*args, **kwargs): return _core.Window_GetScrollPos(*args, **kwargs) - def GetScrollThumb(*args, **kwargs): return _core.Window_GetScrollThumb(*args, **kwargs) - def GetScrollRange(*args, **kwargs): return _core.Window_GetScrollRange(*args, **kwargs) - def ScrollWindow(*args, **kwargs): return _core.Window_ScrollWindow(*args, **kwargs) - def ScrollLines(*args, **kwargs): return _core.Window_ScrollLines(*args, **kwargs) - def ScrollPages(*args, **kwargs): return _core.Window_ScrollPages(*args, **kwargs) - def LineUp(*args, **kwargs): return _core.Window_LineUp(*args, **kwargs) - def LineDown(*args, **kwargs): return _core.Window_LineDown(*args, **kwargs) - def PageUp(*args, **kwargs): return _core.Window_PageUp(*args, **kwargs) - def PageDown(*args, **kwargs): return _core.Window_PageDown(*args, **kwargs) - def SetHelpText(*args, **kwargs): return _core.Window_SetHelpText(*args, **kwargs) - def SetHelpTextForId(*args, **kwargs): return _core.Window_SetHelpTextForId(*args, **kwargs) - def GetHelpText(*args, **kwargs): return _core.Window_GetHelpText(*args, **kwargs) - def SetToolTipString(*args, **kwargs): return _core.Window_SetToolTipString(*args, **kwargs) - def SetToolTip(*args, **kwargs): return _core.Window_SetToolTip(*args, **kwargs) - def GetToolTip(*args, **kwargs): return _core.Window_GetToolTip(*args, **kwargs) - def SetDropTarget(*args, **kwargs): - val = _core.Window_SetDropTarget(*args, **kwargs) - args[1].thisown = 0 - return val - def GetDropTarget(*args, **kwargs): return _core.Window_GetDropTarget(*args, **kwargs) - def DragAcceptFiles(*args, **kwargs): return _core.Window_DragAcceptFiles(*args, **kwargs) - def SetConstraints(*args, **kwargs): return _core.Window_SetConstraints(*args, **kwargs) - def GetConstraints(*args, **kwargs): return _core.Window_GetConstraints(*args, **kwargs) - def SetAutoLayout(*args, **kwargs): return _core.Window_SetAutoLayout(*args, **kwargs) - def GetAutoLayout(*args, **kwargs): return _core.Window_GetAutoLayout(*args, **kwargs) - def Layout(*args, **kwargs): return _core.Window_Layout(*args, **kwargs) - def SetSizer(*args, **kwargs): return _core.Window_SetSizer(*args, **kwargs) - def SetSizerAndFit(*args, **kwargs): return _core.Window_SetSizerAndFit(*args, **kwargs) - def GetSizer(*args, **kwargs): return _core.Window_GetSizer(*args, **kwargs) - def SetContainingSizer(*args, **kwargs): return _core.Window_SetContainingSizer(*args, **kwargs) - def GetContainingSizer(*args, **kwargs): return _core.Window_GetContainingSizer(*args, **kwargs) - def PostCreate(self, pre): - """Phase 3 of the 2-phase create - Call this method after precreating the window with the 2-phase create method.""" - self.this = pre.this - self.thisown = pre.thisown - pre.thisown = 0 - if hasattr(self, '_setOORInfo'): - self._setOORInfo(self) - if hasattr(self, '_setCallbackInfo'): - self._setCallbackInfo(self, self.__class__) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> bool""" + return _core.Window_Create(*args, **kwargs) -class WindowPtr(Window): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Window -_core.Window_swigregister(WindowPtr) + def Close(*args, **kwargs): + """Close(bool force=False) -> bool""" + return _core.Window_Close(*args, **kwargs) -def PreWindow(*args, **kwargs): - val = _core.new_PreWindow(*args, **kwargs) - val.thisown = 1 - return val + def Destroy(*args, **kwargs): + """Destroy() -> bool -Window_NewControlId = _core.Window_NewControlId +Deletes the C++ object this Python object is a proxy for.""" + return _core.Window_Destroy(*args, **kwargs) -Window_NextControlId = _core.Window_NextControlId + def DestroyChildren(*args, **kwargs): + """DestroyChildren() -> bool""" + return _core.Window_DestroyChildren(*args, **kwargs) -Window_PrevControlId = _core.Window_PrevControlId + def IsBeingDeleted(*args, **kwargs): + """IsBeingDeleted() -> bool""" + return _core.Window_IsBeingDeleted(*args, **kwargs) -Window_FindFocus = _core.Window_FindFocus + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _core.Window_SetTitle(*args, **kwargs) -Window_GetCapture = _core.Window_GetCapture + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _core.Window_GetTitle(*args, **kwargs) -def DLG_PNT(win, point_or_x, y=None): - if y is None: - return win.ConvertDialogPointToPixels(point_or_x) - else: - return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _core.Window_SetLabel(*args, **kwargs) -def DLG_SZE(win, size_width, height=None): - if height is None: - return win.ConvertDialogSizeToPixels(size_width) - else: - return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.Window_GetLabel(*args, **kwargs) + def SetName(*args, **kwargs): + """SetName(wxString name)""" + return _core.Window_SetName(*args, **kwargs) -FindWindowById = _core.FindWindowById + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _core.Window_GetName(*args, **kwargs) -FindWindowByName = _core.FindWindowByName + def SetId(*args, **kwargs): + """SetId(int winid)""" + return _core.Window_SetId(*args, **kwargs) -FindWindowByLabel = _core.FindWindowByLabel + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.Window_GetId(*args, **kwargs) -Window_FromHWND = _core.Window_FromHWND -#--------------------------------------------------------------------------- + def NewControlId(*args, **kwargs): + """Window.NewControlId() -> int""" + return _core.Window_NewControlId(*args, **kwargs) -class Validator(EvtHandler): - def __init__(self, *args, **kwargs): - newobj = _core.new_Validator(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - self._setOORInfo(self) - def Clone(*args, **kwargs): return _core.Validator_Clone(*args, **kwargs) - def Validate(*args, **kwargs): return _core.Validator_Validate(*args, **kwargs) - def TransferToWindow(*args, **kwargs): return _core.Validator_TransferToWindow(*args, **kwargs) - def TransferFromWindow(*args, **kwargs): return _core.Validator_TransferFromWindow(*args, **kwargs) - def GetWindow(*args, **kwargs): return _core.Validator_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.Validator_SetWindow(*args, **kwargs) - IsSilent = staticmethod(_core.Validator_IsSilent) - SetBellOnError = staticmethod(_core.Validator_SetBellOnError) - def __repr__(self): - return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + NewControlId = staticmethod(NewControlId) + def NextControlId(*args, **kwargs): + """Window.NextControlId(int winid) -> int""" + return _core.Window_NextControlId(*args, **kwargs) -class ValidatorPtr(Validator): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Validator -_core.Validator_swigregister(ValidatorPtr) + NextControlId = staticmethod(NextControlId) + def PrevControlId(*args, **kwargs): + """Window.PrevControlId(int winid) -> int""" + return _core.Window_PrevControlId(*args, **kwargs) -Validator_IsSilent = _core.Validator_IsSilent + PrevControlId = staticmethod(PrevControlId) + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _core.Window_SetSize(*args, **kwargs) -Validator_SetBellOnError = _core.Validator_SetBellOnError + def SetDimensions(*args, **kwargs): + """SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _core.Window_SetDimensions(*args, **kwargs) -class PyValidator(Validator): - def __init__(self, *args, **kwargs): - newobj = _core.new_PyValidator(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - - self._setCallbackInfo(self, PyValidator, 1) - self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _core.PyValidator__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetRect(*args, **kwargs): + """SetRect(Rect rect, int sizeFlags=SIZE_AUTO)""" + return _core.Window_SetRect(*args, **kwargs) -class PyValidatorPtr(PyValidator): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = PyValidator -_core.PyValidator_swigregister(PyValidatorPtr) + def SetSizeWH(*args, **kwargs): + """SetSizeWH(int width, int height)""" + return _core.Window_SetSizeWH(*args, **kwargs) -#--------------------------------------------------------------------------- + def Move(*args, **kwargs): + """Move(Point pt, int flags=SIZE_USE_EXISTING)""" + return _core.Window_Move(*args, **kwargs) -class Menu(EvtHandler): - def __init__(self, *args, **kwargs): - newobj = _core.new_Menu(*args, **kwargs) + SetPosition = Move + def MoveXY(*args, **kwargs): + """MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)""" + return _core.Window_MoveXY(*args, **kwargs) + + def Raise(*args, **kwargs): + """Raise()""" + return _core.Window_Raise(*args, **kwargs) + + def Lower(*args, **kwargs): + """Lower()""" + return _core.Window_Lower(*args, **kwargs) + + def SetClientSize(*args, **kwargs): + """SetClientSize(Size size)""" + return _core.Window_SetClientSize(*args, **kwargs) + + def SetClientSizeWH(*args, **kwargs): + """SetClientSizeWH(int width, int height)""" + return _core.Window_SetClientSizeWH(*args, **kwargs) + + def SetClientRect(*args, **kwargs): + """SetClientRect(Rect rect)""" + return _core.Window_SetClientRect(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point + +Get the window's position.""" + return _core.Window_GetPosition(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple() -> (x,y) + +Get the window's position.""" + return _core.Window_GetPositionTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size + +Get the window size.""" + return _core.Window_GetSize(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple() -> (width, height) + +Get the window size.""" + return _core.Window_GetSizeTuple(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _core.Window_GetRect(*args, **kwargs) + + def GetClientSize(*args, **kwargs): + """GetClientSize() -> Size + +Get the window's client size.""" + return _core.Window_GetClientSize(*args, **kwargs) + + def GetClientSizeTuple(*args, **kwargs): + """GetClientSizeTuple() -> (width, height) + +Get the window's client size.""" + return _core.Window_GetClientSizeTuple(*args, **kwargs) + + def GetClientAreaOrigin(*args, **kwargs): + """GetClientAreaOrigin() -> Point""" + return _core.Window_GetClientAreaOrigin(*args, **kwargs) + + def GetClientRect(*args, **kwargs): + """GetClientRect() -> Rect""" + return _core.Window_GetClientRect(*args, **kwargs) + + def GetBestSize(*args, **kwargs): + """GetBestSize() -> Size + +Get the size best suited for the window (in fact, minimal acceptable size +using which it will still look "nice")""" + return _core.Window_GetBestSize(*args, **kwargs) + + def GetBestSizeTuple(*args, **kwargs): + """GetBestSizeTuple() -> (width, height) + +Get the size best suited for the window (in fact, minimal acceptable size +using which it will still look "nice")""" + return _core.Window_GetBestSizeTuple(*args, **kwargs) + + def GetAdjustedBestSize(*args, **kwargs): + """GetAdjustedBestSize() -> Size""" + return _core.Window_GetAdjustedBestSize(*args, **kwargs) + + def Center(*args, **kwargs): + """Center(int direction=BOTH)""" + return _core.Window_Center(*args, **kwargs) + + Centre = Center + def CenterOnScreen(*args, **kwargs): + """CenterOnScreen(int dir=BOTH)""" + return _core.Window_CenterOnScreen(*args, **kwargs) + + CentreOnScreen = CenterOnScreen + def CenterOnParent(*args, **kwargs): + """CenterOnParent(int dir=BOTH)""" + return _core.Window_CenterOnParent(*args, **kwargs) + + CentreOnParent = CenterOnParent + def Fit(*args, **kwargs): + """Fit()""" + return _core.Window_Fit(*args, **kwargs) + + def FitInside(*args, **kwargs): + """FitInside()""" + return _core.Window_FitInside(*args, **kwargs) + + def SetSizeHints(*args, **kwargs): + """SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, + int incH=-1)""" + return _core.Window_SetSizeHints(*args, **kwargs) + + def SetVirtualSizeHints(*args, **kwargs): + """SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)""" + return _core.Window_SetVirtualSizeHints(*args, **kwargs) + + def GetMinWidth(*args, **kwargs): + """GetMinWidth() -> int""" + return _core.Window_GetMinWidth(*args, **kwargs) + + def GetMinHeight(*args, **kwargs): + """GetMinHeight() -> int""" + return _core.Window_GetMinHeight(*args, **kwargs) + + def GetMaxWidth(*args, **kwargs): + """GetMaxWidth() -> int""" + return _core.Window_GetMaxWidth(*args, **kwargs) + + def GetMaxHeight(*args, **kwargs): + """GetMaxHeight() -> int""" + return _core.Window_GetMaxHeight(*args, **kwargs) + + def GetMaxSize(*args, **kwargs): + """GetMaxSize() -> Size""" + return _core.Window_GetMaxSize(*args, **kwargs) + + def SetVirtualSize(*args, **kwargs): + """SetVirtualSize(Size size) + +Set the the virtual size of a window. For most windows this is just the +client area of the window, but for some like scrolled windows it is more or +less independent of the screen window size.""" + return _core.Window_SetVirtualSize(*args, **kwargs) + + def SetVirtualSizeWH(*args, **kwargs): + """SetVirtualSizeWH(int w, int h) + +Set the the virtual size of a window. For most windows this is just the +client area of the window, but for some like scrolled windows it is more or +less independent of the screen window size.""" + return _core.Window_SetVirtualSizeWH(*args, **kwargs) + + def GetVirtualSize(*args, **kwargs): + """GetVirtualSize() -> Size + +Get the the virtual size of the window. For most windows this is just +the client area of the window, but for some like scrolled windows it is +more or less independent of the screen window size.""" + return _core.Window_GetVirtualSize(*args, **kwargs) + + def GetVirtualSizeTuple(*args, **kwargs): + """GetVirtualSizeTuple() -> (width, height) + +Get the the virtual size of the window. For most windows this is just +the client area of the window, but for some like scrolled windows it is +more or less independent of the screen window size.""" + return _core.Window_GetVirtualSizeTuple(*args, **kwargs) + + def GetBestVirtualSize(*args, **kwargs): + """GetBestVirtualSize() -> Size""" + return _core.Window_GetBestVirtualSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show=True) -> bool""" + return _core.Window_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide() -> bool""" + return _core.Window_Hide(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True) -> bool""" + return _core.Window_Enable(*args, **kwargs) + + def Disable(*args, **kwargs): + """Disable() -> bool""" + return _core.Window_Disable(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown() -> bool""" + return _core.Window_IsShown(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _core.Window_IsEnabled(*args, **kwargs) + + def SetWindowStyleFlag(*args, **kwargs): + """SetWindowStyleFlag(long style)""" + return _core.Window_SetWindowStyleFlag(*args, **kwargs) + + def GetWindowStyleFlag(*args, **kwargs): + """GetWindowStyleFlag() -> long""" + return _core.Window_GetWindowStyleFlag(*args, **kwargs) + + def SetWindowStyle(*args, **kwargs): + """SetWindowStyle(long style)""" + return _core.Window_SetWindowStyle(*args, **kwargs) + + def GetWindowStyle(*args, **kwargs): + """GetWindowStyle() -> long""" + return _core.Window_GetWindowStyle(*args, **kwargs) + + def HasFlag(*args, **kwargs): + """HasFlag(int flag) -> bool""" + return _core.Window_HasFlag(*args, **kwargs) + + def IsRetained(*args, **kwargs): + """IsRetained() -> bool""" + return _core.Window_IsRetained(*args, **kwargs) + + def SetExtraStyle(*args, **kwargs): + """SetExtraStyle(long exStyle)""" + return _core.Window_SetExtraStyle(*args, **kwargs) + + def GetExtraStyle(*args, **kwargs): + """GetExtraStyle() -> long""" + return _core.Window_GetExtraStyle(*args, **kwargs) + + def MakeModal(*args, **kwargs): + """MakeModal(bool modal=True)""" + return _core.Window_MakeModal(*args, **kwargs) + + def SetThemeEnabled(*args, **kwargs): + """SetThemeEnabled(bool enableTheme)""" + return _core.Window_SetThemeEnabled(*args, **kwargs) + + def GetThemeEnabled(*args, **kwargs): + """GetThemeEnabled() -> bool""" + return _core.Window_GetThemeEnabled(*args, **kwargs) + + def ShouldInheritColours(*args, **kwargs): + """ShouldInheritColours() -> bool""" + return _core.Window_ShouldInheritColours(*args, **kwargs) + + def SetFocus(*args, **kwargs): + """SetFocus()""" + return _core.Window_SetFocus(*args, **kwargs) + + def SetFocusFromKbd(*args, **kwargs): + """SetFocusFromKbd()""" + return _core.Window_SetFocusFromKbd(*args, **kwargs) + + def FindFocus(*args, **kwargs): + """Window.FindFocus() -> Window""" + return _core.Window_FindFocus(*args, **kwargs) + + FindFocus = staticmethod(FindFocus) + def AcceptsFocus(*args, **kwargs): + """AcceptsFocus() -> bool""" + return _core.Window_AcceptsFocus(*args, **kwargs) + + def AcceptsFocusFromKeyboard(*args, **kwargs): + """AcceptsFocusFromKeyboard() -> bool""" + return _core.Window_AcceptsFocusFromKeyboard(*args, **kwargs) + + def GetDefaultItem(*args, **kwargs): + """GetDefaultItem() -> Window""" + return _core.Window_GetDefaultItem(*args, **kwargs) + + def SetDefaultItem(*args, **kwargs): + """SetDefaultItem(Window child) -> Window""" + return _core.Window_SetDefaultItem(*args, **kwargs) + + def SetTmpDefaultItem(*args, **kwargs): + """SetTmpDefaultItem(Window win)""" + return _core.Window_SetTmpDefaultItem(*args, **kwargs) + + def GetChildren(*args, **kwargs): + """GetChildren() -> PyObject""" + return _core.Window_GetChildren(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> Window""" + return _core.Window_GetParent(*args, **kwargs) + + def GetGrandParent(*args, **kwargs): + """GetGrandParent() -> Window""" + return _core.Window_GetGrandParent(*args, **kwargs) + + def IsTopLevel(*args, **kwargs): + """IsTopLevel() -> bool""" + return _core.Window_IsTopLevel(*args, **kwargs) + + def Reparent(*args, **kwargs): + """Reparent(Window newParent) -> bool""" + return _core.Window_Reparent(*args, **kwargs) + + def AddChild(*args, **kwargs): + """AddChild(Window child)""" + return _core.Window_AddChild(*args, **kwargs) + + def RemoveChild(*args, **kwargs): + """RemoveChild(Window child)""" + return _core.Window_RemoveChild(*args, **kwargs) + + def FindWindowById(*args, **kwargs): + """FindWindowById(long winid) -> Window""" + return _core.Window_FindWindowById(*args, **kwargs) + + def FindWindowByName(*args, **kwargs): + """FindWindowByName(wxString name) -> Window""" + return _core.Window_FindWindowByName(*args, **kwargs) + + def GetEventHandler(*args, **kwargs): + """GetEventHandler() -> EvtHandler""" + return _core.Window_GetEventHandler(*args, **kwargs) + + def SetEventHandler(*args, **kwargs): + """SetEventHandler(EvtHandler handler)""" + return _core.Window_SetEventHandler(*args, **kwargs) + + def PushEventHandler(*args, **kwargs): + """PushEventHandler(EvtHandler handler)""" + return _core.Window_PushEventHandler(*args, **kwargs) + + def PopEventHandler(*args, **kwargs): + """PopEventHandler(bool deleteHandler=False) -> EvtHandler""" + return _core.Window_PopEventHandler(*args, **kwargs) + + def RemoveEventHandler(*args, **kwargs): + """RemoveEventHandler(EvtHandler handler) -> bool""" + return _core.Window_RemoveEventHandler(*args, **kwargs) + + def SetValidator(*args, **kwargs): + """SetValidator(Validator validator)""" + return _core.Window_SetValidator(*args, **kwargs) + + def GetValidator(*args, **kwargs): + """GetValidator() -> Validator""" + return _core.Window_GetValidator(*args, **kwargs) + + def SetAcceleratorTable(*args, **kwargs): + """SetAcceleratorTable(wxAcceleratorTable accel)""" + return _core.Window_SetAcceleratorTable(*args, **kwargs) + + def GetAcceleratorTable(*args, **kwargs): + """GetAcceleratorTable() -> wxAcceleratorTable""" + return _core.Window_GetAcceleratorTable(*args, **kwargs) + + def RegisterHotKey(*args, **kwargs): + """RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool""" + return _core.Window_RegisterHotKey(*args, **kwargs) + + def UnregisterHotKey(*args, **kwargs): + """UnregisterHotKey(int hotkeyId) -> bool""" + return _core.Window_UnregisterHotKey(*args, **kwargs) + + def ConvertDialogPointToPixels(*args, **kwargs): + """ConvertDialogPointToPixels(Point pt) -> Point""" + return _core.Window_ConvertDialogPointToPixels(*args, **kwargs) + + def ConvertDialogSizeToPixels(*args, **kwargs): + """ConvertDialogSizeToPixels(Size sz) -> Size""" + return _core.Window_ConvertDialogSizeToPixels(*args, **kwargs) + + def DLG_PNT(*args, **kwargs): + """DLG_PNT(Point pt) -> Point""" + return _core.Window_DLG_PNT(*args, **kwargs) + + def DLG_SZE(*args, **kwargs): + """DLG_SZE(Size sz) -> Size""" + return _core.Window_DLG_SZE(*args, **kwargs) + + def ConvertPixelPointToDialog(*args, **kwargs): + """ConvertPixelPointToDialog(Point pt) -> Point""" + return _core.Window_ConvertPixelPointToDialog(*args, **kwargs) + + def ConvertPixelSizeToDialog(*args, **kwargs): + """ConvertPixelSizeToDialog(Size sz) -> Size""" + return _core.Window_ConvertPixelSizeToDialog(*args, **kwargs) + + def WarpPointer(*args, **kwargs): + """WarpPointer(int x, int y)""" + return _core.Window_WarpPointer(*args, **kwargs) + + def CaptureMouse(*args, **kwargs): + """CaptureMouse()""" + return _core.Window_CaptureMouse(*args, **kwargs) + + def ReleaseMouse(*args, **kwargs): + """ReleaseMouse()""" + return _core.Window_ReleaseMouse(*args, **kwargs) + + def GetCapture(*args, **kwargs): + """Window.GetCapture() -> Window""" + return _core.Window_GetCapture(*args, **kwargs) + + GetCapture = staticmethod(GetCapture) + def HasCapture(*args, **kwargs): + """HasCapture() -> bool""" + return _core.Window_HasCapture(*args, **kwargs) + + def Refresh(*args, **kwargs): + """Refresh(bool eraseBackground=True, Rect rect=None)""" + return _core.Window_Refresh(*args, **kwargs) + + def RefreshRect(*args, **kwargs): + """RefreshRect(Rect rect)""" + return _core.Window_RefreshRect(*args, **kwargs) + + def Update(*args, **kwargs): + """Update()""" + return _core.Window_Update(*args, **kwargs) + + def ClearBackground(*args, **kwargs): + """ClearBackground()""" + return _core.Window_ClearBackground(*args, **kwargs) + + def Freeze(*args, **kwargs): + """Freeze()""" + return _core.Window_Freeze(*args, **kwargs) + + def Thaw(*args, **kwargs): + """Thaw()""" + return _core.Window_Thaw(*args, **kwargs) + + def PrepareDC(*args, **kwargs): + """PrepareDC(wxDC dc)""" + return _core.Window_PrepareDC(*args, **kwargs) + + def GetUpdateRegion(*args, **kwargs): + """GetUpdateRegion() -> wxRegion""" + return _core.Window_GetUpdateRegion(*args, **kwargs) + + def GetUpdateClientRect(*args, **kwargs): + """GetUpdateClientRect() -> Rect""" + return _core.Window_GetUpdateClientRect(*args, **kwargs) + + def IsExposed(*args, **kwargs): + """IsExposed(int x, int y, int w=1, int h=1) -> bool""" + return _core.Window_IsExposed(*args, **kwargs) + + def IsExposedPoint(*args, **kwargs): + """IsExposedPoint(Point pt) -> bool""" + return _core.Window_IsExposedPoint(*args, **kwargs) + + def isExposedRect(*args, **kwargs): + """isExposedRect(Rect rect) -> bool""" + return _core.Window_isExposedRect(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colour) -> bool""" + return _core.Window_SetBackgroundColour(*args, **kwargs) + + def SetForegroundColour(*args, **kwargs): + """SetForegroundColour(wxColour colour) -> bool""" + return _core.Window_SetForegroundColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _core.Window_GetBackgroundColour(*args, **kwargs) + + def GetForegroundColour(*args, **kwargs): + """GetForegroundColour() -> wxColour""" + return _core.Window_GetForegroundColour(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor) -> bool""" + return _core.Window_SetCursor(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _core.Window_GetCursor(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font) -> bool""" + return _core.Window_SetFont(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _core.Window_GetFont(*args, **kwargs) + + def SetCaret(*args, **kwargs): + """SetCaret(wxCaret caret)""" + return _core.Window_SetCaret(*args, **kwargs) + + def GetCaret(*args, **kwargs): + """GetCaret() -> wxCaret""" + return _core.Window_GetCaret(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _core.Window_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _core.Window_GetCharWidth(*args, **kwargs) + + def GetTextExtent(*args, **kwargs): + """GetTextExtent(wxString string) -> (width, height) + +Get the width and height of the text using the current font.""" + return _core.Window_GetTextExtent(*args, **kwargs) + + def GetFullTextExtent(*args, **kwargs): + """GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) + +Get the width, height, decent and leading of the text using the current or specified font.""" + return _core.Window_GetFullTextExtent(*args, **kwargs) + + def ClientToScreenXY(*args, **kwargs): + """ClientToScreenXY(int x, int y)""" + return _core.Window_ClientToScreenXY(*args, **kwargs) + + def ScreenToClientXY(*args, **kwargs): + """ScreenToClientXY(int x, int y)""" + return _core.Window_ScreenToClientXY(*args, **kwargs) + + def ClientToScreen(*args, **kwargs): + """ClientToScreen(Point pt) -> Point""" + return _core.Window_ClientToScreen(*args, **kwargs) + + def ScreenToClient(*args, **kwargs): + """ScreenToClient(Point pt) -> Point""" + return _core.Window_ScreenToClient(*args, **kwargs) + + def HitTestXY(*args, **kwargs): + """HitTestXY(int x, int y) -> wxHitTest""" + return _core.Window_HitTestXY(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> wxHitTest""" + return _core.Window_HitTest(*args, **kwargs) + + def GetBorderFlags(*args, **kwargs): + """GetBorderFlags(long flags) -> wxBorder""" + return _core.Window_GetBorderFlags(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> wxBorder""" + return _core.Window_GetBorder(*args, **kwargs) + + def UpdateWindowUI(*args, **kwargs): + """UpdateWindowUI(long flags=UPDATE_UI_NONE)""" + return _core.Window_UpdateWindowUI(*args, **kwargs) + + def PopupMenuXY(*args, **kwargs): + """PopupMenuXY(Menu menu, int x, int y) -> bool""" + return _core.Window_PopupMenuXY(*args, **kwargs) + + def PopupMenu(*args, **kwargs): + """PopupMenu(Menu menu, Point pos) -> bool""" + return _core.Window_PopupMenu(*args, **kwargs) + + def GetHandle(*args, **kwargs): + """GetHandle() -> long""" + return _core.Window_GetHandle(*args, **kwargs) + + def OnPaint(*args, **kwargs): + """OnPaint(PaintEvent event)""" + return _core.Window_OnPaint(*args, **kwargs) + + def HasScrollbar(*args, **kwargs): + """HasScrollbar(int orient) -> bool""" + return _core.Window_HasScrollbar(*args, **kwargs) + + def SetScrollbar(*args, **kwargs): + """SetScrollbar(int orient, int pos, int thumbvisible, int range, bool refresh=True)""" + return _core.Window_SetScrollbar(*args, **kwargs) + + def SetScrollPos(*args, **kwargs): + """SetScrollPos(int orient, int pos, bool refresh=True)""" + return _core.Window_SetScrollPos(*args, **kwargs) + + def GetScrollPos(*args, **kwargs): + """GetScrollPos(int orient) -> int""" + return _core.Window_GetScrollPos(*args, **kwargs) + + def GetScrollThumb(*args, **kwargs): + """GetScrollThumb(int orient) -> int""" + return _core.Window_GetScrollThumb(*args, **kwargs) + + def GetScrollRange(*args, **kwargs): + """GetScrollRange(int orient) -> int""" + return _core.Window_GetScrollRange(*args, **kwargs) + + def ScrollWindow(*args, **kwargs): + """ScrollWindow(int dx, int dy, Rect rect=None)""" + return _core.Window_ScrollWindow(*args, **kwargs) + + def ScrollLines(*args, **kwargs): + """ScrollLines(int lines) -> bool""" + return _core.Window_ScrollLines(*args, **kwargs) + + def ScrollPages(*args, **kwargs): + """ScrollPages(int pages) -> bool""" + return _core.Window_ScrollPages(*args, **kwargs) + + def LineUp(*args, **kwargs): + """LineUp() -> bool""" + return _core.Window_LineUp(*args, **kwargs) + + def LineDown(*args, **kwargs): + """LineDown() -> bool""" + return _core.Window_LineDown(*args, **kwargs) + + def PageUp(*args, **kwargs): + """PageUp() -> bool""" + return _core.Window_PageUp(*args, **kwargs) + + def PageDown(*args, **kwargs): + """PageDown() -> bool""" + return _core.Window_PageDown(*args, **kwargs) + + def SetHelpText(*args, **kwargs): + """SetHelpText(wxString text)""" + return _core.Window_SetHelpText(*args, **kwargs) + + def SetHelpTextForId(*args, **kwargs): + """SetHelpTextForId(wxString text)""" + return _core.Window_SetHelpTextForId(*args, **kwargs) + + def GetHelpText(*args, **kwargs): + """GetHelpText() -> wxString""" + return _core.Window_GetHelpText(*args, **kwargs) + + def SetToolTipString(*args, **kwargs): + """SetToolTipString(wxString tip)""" + return _core.Window_SetToolTipString(*args, **kwargs) + + def SetToolTip(*args, **kwargs): + """SetToolTip(wxToolTip tip)""" + return _core.Window_SetToolTip(*args, **kwargs) + + def GetToolTip(*args, **kwargs): + """GetToolTip() -> wxToolTip""" + return _core.Window_GetToolTip(*args, **kwargs) + + def SetDropTarget(*args, **kwargs): + """SetDropTarget(wxDropTarget dropTarget)""" + val = _core.Window_SetDropTarget(*args, **kwargs) + args[1].thisown = 0 + return val + + def GetDropTarget(*args, **kwargs): + """GetDropTarget() -> wxDropTarget""" + return _core.Window_GetDropTarget(*args, **kwargs) + + def DragAcceptFiles(*args, **kwargs): + """DragAcceptFiles(bool accept)""" + return _core.Window_DragAcceptFiles(*args, **kwargs) + + def SetConstraints(*args, **kwargs): + """SetConstraints(LayoutConstraints constraints)""" + return _core.Window_SetConstraints(*args, **kwargs) + + def GetConstraints(*args, **kwargs): + """GetConstraints() -> LayoutConstraints""" + return _core.Window_GetConstraints(*args, **kwargs) + + def SetAutoLayout(*args, **kwargs): + """SetAutoLayout(bool autoLayout)""" + return _core.Window_SetAutoLayout(*args, **kwargs) + + def GetAutoLayout(*args, **kwargs): + """GetAutoLayout() -> bool""" + return _core.Window_GetAutoLayout(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout() -> bool""" + return _core.Window_Layout(*args, **kwargs) + + def SetSizer(*args, **kwargs): + """SetSizer(Sizer sizer, bool deleteOld=True)""" + return _core.Window_SetSizer(*args, **kwargs) + + def SetSizerAndFit(*args, **kwargs): + """SetSizerAndFit(Sizer sizer, bool deleteOld=True)""" + return _core.Window_SetSizerAndFit(*args, **kwargs) + + def GetSizer(*args, **kwargs): + """GetSizer() -> Sizer""" + return _core.Window_GetSizer(*args, **kwargs) + + def SetContainingSizer(*args, **kwargs): + """SetContainingSizer(Sizer sizer)""" + return _core.Window_SetContainingSizer(*args, **kwargs) + + def GetContainingSizer(*args, **kwargs): + """GetContainingSizer() -> Sizer""" + return _core.Window_GetContainingSizer(*args, **kwargs) + + def PostCreate(self, pre): + """Phase 3 of the 2-phase create + Call this method after precreating the window with the 2-phase create method.""" + self.this = pre.this + self.thisown = pre.thisown + pre.thisown = 0 + if hasattr(self, '_setOORInfo'): + self._setOORInfo(self) + if hasattr(self, '_setCallbackInfo'): + self._setCallbackInfo(self, self.__class__) + + +class WindowPtr(Window): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Window +_core.Window_swigregister(WindowPtr) +PanelNameStr = cvar.PanelNameStr + +def PreWindow(*args, **kwargs): + """PreWindow() -> Window""" + val = _core.new_PreWindow(*args, **kwargs) + val.thisown = 1 + return val + +def Window_NewControlId(*args, **kwargs): + """Window_NewControlId() -> int""" + return _core.Window_NewControlId(*args, **kwargs) + +def Window_NextControlId(*args, **kwargs): + """Window_NextControlId(int winid) -> int""" + return _core.Window_NextControlId(*args, **kwargs) + +def Window_PrevControlId(*args, **kwargs): + """Window_PrevControlId(int winid) -> int""" + return _core.Window_PrevControlId(*args, **kwargs) + +def Window_FindFocus(*args, **kwargs): + """Window_FindFocus() -> Window""" + return _core.Window_FindFocus(*args, **kwargs) + +def Window_GetCapture(*args, **kwargs): + """Window_GetCapture() -> Window""" + return _core.Window_GetCapture(*args, **kwargs) + +def DLG_PNT(win, point_or_x, y=None): + if y is None: + return win.ConvertDialogPointToPixels(point_or_x) + else: + return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) + +def DLG_SZE(win, size_width, height=None): + if height is None: + return win.ConvertDialogSizeToPixels(size_width) + else: + return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) + + +def FindWindowById(*args, **kwargs): + """FindWindowById(long id, Window parent=None) -> Window""" + return _core.FindWindowById(*args, **kwargs) + +def FindWindowByName(*args, **kwargs): + """FindWindowByName(wxString name, Window parent=None) -> Window""" + return _core.FindWindowByName(*args, **kwargs) + +def FindWindowByLabel(*args, **kwargs): + """FindWindowByLabel(wxString label, Window parent=None) -> Window""" + return _core.FindWindowByLabel(*args, **kwargs) + +def Window_FromHWND(*args, **kwargs): + """Window_FromHWND(unsigned long hWnd) -> Window""" + return _core.Window_FromHWND(*args, **kwargs) +#--------------------------------------------------------------------------- + +class Validator(EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__() -> Validator""" + newobj = _core.new_Validator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Append(*args, **kwargs): return _core.Menu_Append(*args, **kwargs) - def AppendSeparator(*args, **kwargs): return _core.Menu_AppendSeparator(*args, **kwargs) - def AppendCheckItem(*args, **kwargs): return _core.Menu_AppendCheckItem(*args, **kwargs) - def AppendRadioItem(*args, **kwargs): return _core.Menu_AppendRadioItem(*args, **kwargs) - def AppendMenu(*args, **kwargs): return _core.Menu_AppendMenu(*args, **kwargs) - def AppendItem(*args, **kwargs): return _core.Menu_AppendItem(*args, **kwargs) - def Break(*args, **kwargs): return _core.Menu_Break(*args, **kwargs) - def InsertItem(*args, **kwargs): return _core.Menu_InsertItem(*args, **kwargs) - def Insert(*args, **kwargs): return _core.Menu_Insert(*args, **kwargs) - def InsertSeparator(*args, **kwargs): return _core.Menu_InsertSeparator(*args, **kwargs) - def InsertCheckItem(*args, **kwargs): return _core.Menu_InsertCheckItem(*args, **kwargs) - def InsertRadioItem(*args, **kwargs): return _core.Menu_InsertRadioItem(*args, **kwargs) - def InsertMenu(*args, **kwargs): return _core.Menu_InsertMenu(*args, **kwargs) - def PrependItem(*args, **kwargs): return _core.Menu_PrependItem(*args, **kwargs) - def Prepend(*args, **kwargs): return _core.Menu_Prepend(*args, **kwargs) - def PrependSeparator(*args, **kwargs): return _core.Menu_PrependSeparator(*args, **kwargs) - def PrependCheckItem(*args, **kwargs): return _core.Menu_PrependCheckItem(*args, **kwargs) - def PrependRadioItem(*args, **kwargs): return _core.Menu_PrependRadioItem(*args, **kwargs) - def PrependMenu(*args, **kwargs): return _core.Menu_PrependMenu(*args, **kwargs) - def Remove(*args, **kwargs): return _core.Menu_Remove(*args, **kwargs) - def RemoveItem(*args, **kwargs): return _core.Menu_RemoveItem(*args, **kwargs) - def Delete(*args, **kwargs): return _core.Menu_Delete(*args, **kwargs) - def DeleteItem(*args, **kwargs): return _core.Menu_DeleteItem(*args, **kwargs) - def Destroy(*args, **kwargs): return _core.Menu_Destroy(*args, **kwargs) - def DestroyId(*args, **kwargs): return _core.Menu_DestroyId(*args, **kwargs) - def DestroyItem(*args, **kwargs): return _core.Menu_DestroyItem(*args, **kwargs) - def GetMenuItemCount(*args, **kwargs): return _core.Menu_GetMenuItemCount(*args, **kwargs) - def GetMenuItems(*args, **kwargs): return _core.Menu_GetMenuItems(*args, **kwargs) - def FindItem(*args, **kwargs): return _core.Menu_FindItem(*args, **kwargs) - def FindItemById(*args, **kwargs): return _core.Menu_FindItemById(*args, **kwargs) - def FindItemByPosition(*args, **kwargs): return _core.Menu_FindItemByPosition(*args, **kwargs) - def Enable(*args, **kwargs): return _core.Menu_Enable(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.Menu_IsEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.Menu_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.Menu_IsChecked(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Menu_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Menu_GetLabel(*args, **kwargs) - def SetHelpString(*args, **kwargs): return _core.Menu_SetHelpString(*args, **kwargs) - def GetHelpString(*args, **kwargs): return _core.Menu_GetHelpString(*args, **kwargs) - def SetTitle(*args, **kwargs): return _core.Menu_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _core.Menu_GetTitle(*args, **kwargs) - def SetEventHandler(*args, **kwargs): return _core.Menu_SetEventHandler(*args, **kwargs) - def GetEventHandler(*args, **kwargs): return _core.Menu_GetEventHandler(*args, **kwargs) - def SetInvokingWindow(*args, **kwargs): return _core.Menu_SetInvokingWindow(*args, **kwargs) - def GetInvokingWindow(*args, **kwargs): return _core.Menu_GetInvokingWindow(*args, **kwargs) - def GetStyle(*args, **kwargs): return _core.Menu_GetStyle(*args, **kwargs) - def UpdateUI(*args, **kwargs): return _core.Menu_UpdateUI(*args, **kwargs) - def GetMenuBar(*args, **kwargs): return _core.Menu_GetMenuBar(*args, **kwargs) - def Attach(*args, **kwargs): return _core.Menu_Attach(*args, **kwargs) - def Detach(*args, **kwargs): return _core.Menu_Detach(*args, **kwargs) - def IsAttached(*args, **kwargs): return _core.Menu_IsAttached(*args, **kwargs) - def SetParent(*args, **kwargs): return _core.Menu_SetParent(*args, **kwargs) - def GetParent(*args, **kwargs): return _core.Menu_GetParent(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> Validator""" + return _core.Validator_Clone(*args, **kwargs) + + def Validate(*args, **kwargs): + """Validate(Window parent) -> bool""" + return _core.Validator_Validate(*args, **kwargs) + + def TransferToWindow(*args, **kwargs): + """TransferToWindow() -> bool""" + return _core.Validator_TransferToWindow(*args, **kwargs) + + def TransferFromWindow(*args, **kwargs): + """TransferFromWindow() -> bool""" + return _core.Validator_TransferFromWindow(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.Validator_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window window)""" + return _core.Validator_SetWindow(*args, **kwargs) + + def IsSilent(*args, **kwargs): + """Validator.IsSilent() -> bool""" + return _core.Validator_IsSilent(*args, **kwargs) + + IsSilent = staticmethod(IsSilent) + def SetBellOnError(*args, **kwargs): + """Validator.SetBellOnError(int doIt=True)""" + return _core.Validator_SetBellOnError(*args, **kwargs) + + SetBellOnError = staticmethod(SetBellOnError) + +class ValidatorPtr(Validator): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Validator +_core.Validator_swigregister(ValidatorPtr) + +def Validator_IsSilent(*args, **kwargs): + """Validator_IsSilent() -> bool""" + return _core.Validator_IsSilent(*args, **kwargs) + +def Validator_SetBellOnError(*args, **kwargs): + """Validator_SetBellOnError(int doIt=True)""" + return _core.Validator_SetBellOnError(*args, **kwargs) + +class PyValidator(Validator): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__() -> PyValidator""" + newobj = _core.new_PyValidator(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + + self._setCallbackInfo(self, PyValidator, 1) + self._setOORInfo(self) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, int incref=True)""" + return _core.PyValidator__setCallbackInfo(*args, **kwargs) + + +class PyValidatorPtr(PyValidator): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyValidator +_core.PyValidator_swigregister(PyValidatorPtr) + +#--------------------------------------------------------------------------- + +class Menu(EvtHandler): + """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyEmptyString, long style=0) -> Menu""" + newobj = _core.new_Menu(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + + def Append(*args, **kwargs): + """Append(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Append(*args, **kwargs) + + def AppendSeparator(*args, **kwargs): + """AppendSeparator()""" + return _core.Menu_AppendSeparator(*args, **kwargs) + + def AppendCheckItem(*args, **kwargs): + """AppendCheckItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendCheckItem(*args, **kwargs) + + def AppendRadioItem(*args, **kwargs): + """AppendRadioItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendRadioItem(*args, **kwargs) + + def AppendMenu(*args, **kwargs): + """AppendMenu(int itemid, wxString text, Menu submenu, wxString help=wxPyEmptyString)""" + return _core.Menu_AppendMenu(*args, **kwargs) + + def AppendItem(*args, **kwargs): + """AppendItem(MenuItem item)""" + return _core.Menu_AppendItem(*args, **kwargs) + + def Break(*args, **kwargs): + """Break()""" + return _core.Menu_Break(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(size_t pos, MenuItem item) -> bool""" + return _core.Menu_InsertItem(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Insert(*args, **kwargs) + + def InsertSeparator(*args, **kwargs): + """InsertSeparator(size_t pos)""" + return _core.Menu_InsertSeparator(*args, **kwargs) + + def InsertCheckItem(*args, **kwargs): + """InsertCheckItem(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_InsertCheckItem(*args, **kwargs) + + def InsertRadioItem(*args, **kwargs): + """InsertRadioItem(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_InsertRadioItem(*args, **kwargs) + + def InsertMenu(*args, **kwargs): + """InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, + wxString help=wxPyEmptyString)""" + return _core.Menu_InsertMenu(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(MenuItem item)""" + return _core.Menu_PrependItem(*args, **kwargs) + + def Prepend(*args, **kwargs): + """Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL)""" + return _core.Menu_Prepend(*args, **kwargs) + + def PrependSeparator(*args, **kwargs): + """PrependSeparator()""" + return _core.Menu_PrependSeparator(*args, **kwargs) + + def PrependCheckItem(*args, **kwargs): + """PrependCheckItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependCheckItem(*args, **kwargs) + + def PrependRadioItem(*args, **kwargs): + """PrependRadioItem(int itemid, wxString text, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependRadioItem(*args, **kwargs) + + def PrependMenu(*args, **kwargs): + """PrependMenu(int itemid, wxString text, Menu submenu, wxString help=wxPyEmptyString)""" + return _core.Menu_PrependMenu(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(int itemid) -> MenuItem""" + return _core.Menu_Remove(*args, **kwargs) + + def RemoveItem(*args, **kwargs): + """RemoveItem(MenuItem item) -> MenuItem""" + return _core.Menu_RemoveItem(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(int itemid) -> bool""" + return _core.Menu_Delete(*args, **kwargs) + + def DeleteItem(*args, **kwargs): + """DeleteItem(MenuItem item) -> bool""" + return _core.Menu_DeleteItem(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_Destroy(*args, **kwargs) + + def DestroyId(*args, **kwargs): + """DestroyId(int itemid) -> bool + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_DestroyId(*args, **kwargs) + + def DestroyItem(*args, **kwargs): + """DestroyItem(MenuItem item) -> bool + +Deletes the C++ object this Python object is a proxy for.""" + return _core.Menu_DestroyItem(*args, **kwargs) + + def GetMenuItemCount(*args, **kwargs): + """GetMenuItemCount() -> size_t""" + return _core.Menu_GetMenuItemCount(*args, **kwargs) + + def GetMenuItems(*args, **kwargs): + """GetMenuItems() -> PyObject""" + return _core.Menu_GetMenuItems(*args, **kwargs) + + def FindItem(*args, **kwargs): + """FindItem(wxString item) -> int""" + return _core.Menu_FindItem(*args, **kwargs) + + def FindItemById(*args, **kwargs): + """FindItemById(int itemid) -> MenuItem""" + return _core.Menu_FindItemById(*args, **kwargs) + + def FindItemByPosition(*args, **kwargs): + """FindItemByPosition(size_t position) -> MenuItem""" + return _core.Menu_FindItemByPosition(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(int itemid, bool enable)""" + return _core.Menu_Enable(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled(int itemid) -> bool""" + return _core.Menu_IsEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(int itemid, bool check)""" + return _core.Menu_Check(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked(int itemid) -> bool""" + return _core.Menu_IsChecked(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(int itemid, wxString label)""" + return _core.Menu_SetLabel(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel(int itemid) -> wxString""" + return _core.Menu_GetLabel(*args, **kwargs) + + def SetHelpString(*args, **kwargs): + """SetHelpString(int itemid, wxString helpString)""" + return _core.Menu_SetHelpString(*args, **kwargs) + + def GetHelpString(*args, **kwargs): + """GetHelpString(int itemid) -> wxString""" + return _core.Menu_GetHelpString(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _core.Menu_SetTitle(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _core.Menu_GetTitle(*args, **kwargs) + + def SetEventHandler(*args, **kwargs): + """SetEventHandler(EvtHandler handler)""" + return _core.Menu_SetEventHandler(*args, **kwargs) + + def GetEventHandler(*args, **kwargs): + """GetEventHandler() -> EvtHandler""" + return _core.Menu_GetEventHandler(*args, **kwargs) + + def SetInvokingWindow(*args, **kwargs): + """SetInvokingWindow(Window win)""" + return _core.Menu_SetInvokingWindow(*args, **kwargs) + + def GetInvokingWindow(*args, **kwargs): + """GetInvokingWindow() -> Window""" + return _core.Menu_GetInvokingWindow(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _core.Menu_GetStyle(*args, **kwargs) + + def UpdateUI(*args, **kwargs): + """UpdateUI(EvtHandler source=None)""" + return _core.Menu_UpdateUI(*args, **kwargs) + + def GetMenuBar(*args, **kwargs): + """GetMenuBar() -> MenuBar""" + return _core.Menu_GetMenuBar(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(wxMenuBarBase menubar)""" + return _core.Menu_Attach(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _core.Menu_Detach(*args, **kwargs) + + def IsAttached(*args, **kwargs): + """IsAttached() -> bool""" + return _core.Menu_IsAttached(*args, **kwargs) + + def SetParent(*args, **kwargs): + """SetParent(Menu parent)""" + return _core.Menu_SetParent(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> Menu""" + return _core.Menu_GetParent(*args, **kwargs) + + +class MenuPtr(Menu): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Menu +_core.Menu_swigregister(MenuPtr) +DefaultValidator = cvar.DefaultValidator + +#--------------------------------------------------------------------------- + +class MenuBar(Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(long style=0) -> MenuBar""" + newobj = _core.new_MenuBar(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + + def Append(*args, **kwargs): + """Append(Menu menu, wxString title) -> bool""" + return _core.MenuBar_Append(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(size_t pos, Menu menu, wxString title) -> bool""" + return _core.MenuBar_Insert(*args, **kwargs) + + def GetMenuCount(*args, **kwargs): + """GetMenuCount() -> size_t""" + return _core.MenuBar_GetMenuCount(*args, **kwargs) + + def GetMenu(*args, **kwargs): + """GetMenu(size_t pos) -> Menu""" + return _core.MenuBar_GetMenu(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(size_t pos, Menu menu, wxString title) -> Menu""" + return _core.MenuBar_Replace(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(size_t pos) -> Menu""" + return _core.MenuBar_Remove(*args, **kwargs) + + def EnableTop(*args, **kwargs): + """EnableTop(size_t pos, bool enable)""" + return _core.MenuBar_EnableTop(*args, **kwargs) + + def IsEnabledTop(*args, **kwargs): + """IsEnabledTop(size_t pos) -> bool""" + return _core.MenuBar_IsEnabledTop(*args, **kwargs) + + def SetLabelTop(*args, **kwargs): + """SetLabelTop(size_t pos, wxString label)""" + return _core.MenuBar_SetLabelTop(*args, **kwargs) + + def GetLabelTop(*args, **kwargs): + """GetLabelTop(size_t pos) -> wxString""" + return _core.MenuBar_GetLabelTop(*args, **kwargs) + + def FindMenuItem(*args, **kwargs): + """FindMenuItem(wxString menu, wxString item) -> int""" + return _core.MenuBar_FindMenuItem(*args, **kwargs) + + def FindItemById(*args, **kwargs): + """FindItemById(int itemid) -> MenuItem""" + return _core.MenuBar_FindItemById(*args, **kwargs) + + def FindMenu(*args, **kwargs): + """FindMenu(wxString title) -> int""" + return _core.MenuBar_FindMenu(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(int itemid, bool enable)""" + return _core.MenuBar_Enable(*args, **kwargs) -class MenuPtr(Menu): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Menu -_core.Menu_swigregister(MenuPtr) -DefaultValidator = cvar.DefaultValidator + def Check(*args, **kwargs): + """Check(int itemid, bool check)""" + return _core.MenuBar_Check(*args, **kwargs) -#--------------------------------------------------------------------------- + def IsChecked(*args, **kwargs): + """IsChecked(int itemid) -> bool""" + return _core.MenuBar_IsChecked(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled(int itemid) -> bool""" + return _core.MenuBar_IsEnabled(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(int itemid, wxString label)""" + return _core.MenuBar_SetLabel(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel(int itemid) -> wxString""" + return _core.MenuBar_GetLabel(*args, **kwargs) + + def SetHelpString(*args, **kwargs): + """SetHelpString(int itemid, wxString helpString)""" + return _core.MenuBar_SetHelpString(*args, **kwargs) + + def GetHelpString(*args, **kwargs): + """GetHelpString(int itemid) -> wxString""" + return _core.MenuBar_GetHelpString(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> wxFrame""" + return _core.MenuBar_GetFrame(*args, **kwargs) + + def IsAttached(*args, **kwargs): + """IsAttached() -> bool""" + return _core.MenuBar_IsAttached(*args, **kwargs) + + def Attach(*args, **kwargs): + """Attach(wxFrame frame)""" + return _core.MenuBar_Attach(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _core.MenuBar_Detach(*args, **kwargs) -class MenuBar(Window): - def __init__(self, *args, **kwargs): - newobj = _core.new_MenuBar(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - self._setOORInfo(self) - def Append(*args, **kwargs): return _core.MenuBar_Append(*args, **kwargs) - def Insert(*args, **kwargs): return _core.MenuBar_Insert(*args, **kwargs) - def GetMenuCount(*args, **kwargs): return _core.MenuBar_GetMenuCount(*args, **kwargs) - def GetMenu(*args, **kwargs): return _core.MenuBar_GetMenu(*args, **kwargs) - def Replace(*args, **kwargs): return _core.MenuBar_Replace(*args, **kwargs) - def Remove(*args, **kwargs): return _core.MenuBar_Remove(*args, **kwargs) - def EnableTop(*args, **kwargs): return _core.MenuBar_EnableTop(*args, **kwargs) - def IsEnabledTop(*args, **kwargs): return _core.MenuBar_IsEnabledTop(*args, **kwargs) - def SetLabelTop(*args, **kwargs): return _core.MenuBar_SetLabelTop(*args, **kwargs) - def GetLabelTop(*args, **kwargs): return _core.MenuBar_GetLabelTop(*args, **kwargs) - def FindMenuItem(*args, **kwargs): return _core.MenuBar_FindMenuItem(*args, **kwargs) - def FindItemById(*args, **kwargs): return _core.MenuBar_FindItemById(*args, **kwargs) - def FindMenu(*args, **kwargs): return _core.MenuBar_FindMenu(*args, **kwargs) - def Enable(*args, **kwargs): return _core.MenuBar_Enable(*args, **kwargs) - def Check(*args, **kwargs): return _core.MenuBar_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.MenuBar_IsChecked(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.MenuBar_IsEnabled(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.MenuBar_SetLabel(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.MenuBar_GetLabel(*args, **kwargs) - def SetHelpString(*args, **kwargs): return _core.MenuBar_SetHelpString(*args, **kwargs) - def GetHelpString(*args, **kwargs): return _core.MenuBar_GetHelpString(*args, **kwargs) - def GetFrame(*args, **kwargs): return _core.MenuBar_GetFrame(*args, **kwargs) - def IsAttached(*args, **kwargs): return _core.MenuBar_IsAttached(*args, **kwargs) - def Attach(*args, **kwargs): return _core.MenuBar_Attach(*args, **kwargs) - def Detach(*args, **kwargs): return _core.MenuBar_Detach(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MenuBarPtr(MenuBar): def __init__(self, this): @@ -3554,54 +6180,183 @@ _core.MenuBar_swigregister(MenuBarPtr) #--------------------------------------------------------------------------- class MenuItem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, + wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem""" newobj = _core.new_MenuItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetMenu(*args, **kwargs): return _core.MenuItem_GetMenu(*args, **kwargs) - def SetMenu(*args, **kwargs): return _core.MenuItem_SetMenu(*args, **kwargs) - def SetId(*args, **kwargs): return _core.MenuItem_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _core.MenuItem_GetId(*args, **kwargs) - def IsSeparator(*args, **kwargs): return _core.MenuItem_IsSeparator(*args, **kwargs) - def SetText(*args, **kwargs): return _core.MenuItem_SetText(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.MenuItem_GetLabel(*args, **kwargs) - def GetText(*args, **kwargs): return _core.MenuItem_GetText(*args, **kwargs) - GetLabelFromText = staticmethod(_core.MenuItem_GetLabelFromText) - def GetKind(*args, **kwargs): return _core.MenuItem_GetKind(*args, **kwargs) - def SetCheckable(*args, **kwargs): return _core.MenuItem_SetCheckable(*args, **kwargs) - def IsCheckable(*args, **kwargs): return _core.MenuItem_IsCheckable(*args, **kwargs) - def IsSubMenu(*args, **kwargs): return _core.MenuItem_IsSubMenu(*args, **kwargs) - def SetSubMenu(*args, **kwargs): return _core.MenuItem_SetSubMenu(*args, **kwargs) - def GetSubMenu(*args, **kwargs): return _core.MenuItem_GetSubMenu(*args, **kwargs) - def Enable(*args, **kwargs): return _core.MenuItem_Enable(*args, **kwargs) - def IsEnabled(*args, **kwargs): return _core.MenuItem_IsEnabled(*args, **kwargs) - def Check(*args, **kwargs): return _core.MenuItem_Check(*args, **kwargs) - def IsChecked(*args, **kwargs): return _core.MenuItem_IsChecked(*args, **kwargs) - def Toggle(*args, **kwargs): return _core.MenuItem_Toggle(*args, **kwargs) - def SetHelp(*args, **kwargs): return _core.MenuItem_SetHelp(*args, **kwargs) - def GetHelp(*args, **kwargs): return _core.MenuItem_GetHelp(*args, **kwargs) - def GetAccel(*args, **kwargs): return _core.MenuItem_GetAccel(*args, **kwargs) - def SetAccel(*args, **kwargs): return _core.MenuItem_SetAccel(*args, **kwargs) - def SetFont(*args, **kwargs): return _core.MenuItem_SetFont(*args, **kwargs) - def GetFont(*args, **kwargs): return _core.MenuItem_GetFont(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _core.MenuItem_SetTextColour(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _core.MenuItem_GetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _core.MenuItem_SetBackgroundColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _core.MenuItem_GetBackgroundColour(*args, **kwargs) - def SetBitmaps(*args, **kwargs): return _core.MenuItem_SetBitmaps(*args, **kwargs) - def SetDisabledBitmap(*args, **kwargs): return _core.MenuItem_SetDisabledBitmap(*args, **kwargs) - def GetDisabledBitmap(*args, **kwargs): return _core.MenuItem_GetDisabledBitmap(*args, **kwargs) - def SetMarginWidth(*args, **kwargs): return _core.MenuItem_SetMarginWidth(*args, **kwargs) - def GetMarginWidth(*args, **kwargs): return _core.MenuItem_GetMarginWidth(*args, **kwargs) - GetDefaultMarginWidth = staticmethod(_core.MenuItem_GetDefaultMarginWidth) - def IsOwnerDrawn(*args, **kwargs): return _core.MenuItem_IsOwnerDrawn(*args, **kwargs) - def SetOwnerDrawn(*args, **kwargs): return _core.MenuItem_SetOwnerDrawn(*args, **kwargs) - def ResetOwnerDrawn(*args, **kwargs): return _core.MenuItem_ResetOwnerDrawn(*args, **kwargs) - def SetBitmap(*args, **kwargs): return _core.MenuItem_SetBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _core.MenuItem_GetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetMenu(*args, **kwargs): + """GetMenu() -> Menu""" + return _core.MenuItem_GetMenu(*args, **kwargs) + + def SetMenu(*args, **kwargs): + """SetMenu(Menu menu)""" + return _core.MenuItem_SetMenu(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int itemid)""" + return _core.MenuItem_SetId(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _core.MenuItem_GetId(*args, **kwargs) + + def IsSeparator(*args, **kwargs): + """IsSeparator() -> bool""" + return _core.MenuItem_IsSeparator(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString str)""" + return _core.MenuItem_SetText(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.MenuItem_GetLabel(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _core.MenuItem_GetText(*args, **kwargs) + + def GetLabelFromText(*args, **kwargs): + """MenuItem.GetLabelFromText(wxString text) -> wxString""" + return _core.MenuItem_GetLabelFromText(*args, **kwargs) + + GetLabelFromText = staticmethod(GetLabelFromText) + def GetKind(*args, **kwargs): + """GetKind() -> wxItemKind""" + return _core.MenuItem_GetKind(*args, **kwargs) + + def SetCheckable(*args, **kwargs): + """SetCheckable(bool checkable)""" + return _core.MenuItem_SetCheckable(*args, **kwargs) + + def IsCheckable(*args, **kwargs): + """IsCheckable() -> bool""" + return _core.MenuItem_IsCheckable(*args, **kwargs) + + def IsSubMenu(*args, **kwargs): + """IsSubMenu() -> bool""" + return _core.MenuItem_IsSubMenu(*args, **kwargs) + + def SetSubMenu(*args, **kwargs): + """SetSubMenu(Menu menu)""" + return _core.MenuItem_SetSubMenu(*args, **kwargs) + + def GetSubMenu(*args, **kwargs): + """GetSubMenu() -> Menu""" + return _core.MenuItem_GetSubMenu(*args, **kwargs) + + def Enable(*args, **kwargs): + """Enable(bool enable=True)""" + return _core.MenuItem_Enable(*args, **kwargs) + + def IsEnabled(*args, **kwargs): + """IsEnabled() -> bool""" + return _core.MenuItem_IsEnabled(*args, **kwargs) + + def Check(*args, **kwargs): + """Check(bool check=True)""" + return _core.MenuItem_Check(*args, **kwargs) + + def IsChecked(*args, **kwargs): + """IsChecked() -> bool""" + return _core.MenuItem_IsChecked(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle()""" + return _core.MenuItem_Toggle(*args, **kwargs) + + def SetHelp(*args, **kwargs): + """SetHelp(wxString str)""" + return _core.MenuItem_SetHelp(*args, **kwargs) + + def GetHelp(*args, **kwargs): + """GetHelp() -> wxString""" + return _core.MenuItem_GetHelp(*args, **kwargs) + + def GetAccel(*args, **kwargs): + """GetAccel() -> wxAcceleratorEntry""" + return _core.MenuItem_GetAccel(*args, **kwargs) + + def SetAccel(*args, **kwargs): + """SetAccel(wxAcceleratorEntry accel)""" + return _core.MenuItem_SetAccel(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _core.MenuItem_SetFont(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _core.MenuItem_GetFont(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _core.MenuItem_SetTextColour(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _core.MenuItem_GetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _core.MenuItem_SetBackgroundColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _core.MenuItem_GetBackgroundColour(*args, **kwargs) + + def SetBitmaps(*args, **kwargs): + """SetBitmaps(wxBitmap bmpChecked, wxBitmap bmpUnchecked=wxNullBitmap)""" + return _core.MenuItem_SetBitmaps(*args, **kwargs) + + def SetDisabledBitmap(*args, **kwargs): + """SetDisabledBitmap(wxBitmap bmpDisabled)""" + return _core.MenuItem_SetDisabledBitmap(*args, **kwargs) + + def GetDisabledBitmap(*args, **kwargs): + """GetDisabledBitmap() -> wxBitmap""" + return _core.MenuItem_GetDisabledBitmap(*args, **kwargs) + + def SetMarginWidth(*args, **kwargs): + """SetMarginWidth(int nWidth)""" + return _core.MenuItem_SetMarginWidth(*args, **kwargs) + + def GetMarginWidth(*args, **kwargs): + """GetMarginWidth() -> int""" + return _core.MenuItem_GetMarginWidth(*args, **kwargs) + + def GetDefaultMarginWidth(*args, **kwargs): + """MenuItem.GetDefaultMarginWidth() -> int""" + return _core.MenuItem_GetDefaultMarginWidth(*args, **kwargs) + + GetDefaultMarginWidth = staticmethod(GetDefaultMarginWidth) + def IsOwnerDrawn(*args, **kwargs): + """IsOwnerDrawn() -> bool""" + return _core.MenuItem_IsOwnerDrawn(*args, **kwargs) + + def SetOwnerDrawn(*args, **kwargs): + """SetOwnerDrawn(bool ownerDrawn=True)""" + return _core.MenuItem_SetOwnerDrawn(*args, **kwargs) + + def ResetOwnerDrawn(*args, **kwargs): + """ResetOwnerDrawn()""" + return _core.MenuItem_ResetOwnerDrawn(*args, **kwargs) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _core.MenuItem_SetBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _core.MenuItem_GetBitmap(*args, **kwargs) + class MenuItemPtr(MenuItem): def __init__(self, this): @@ -3610,25 +6365,48 @@ class MenuItemPtr(MenuItem): self.__class__ = MenuItem _core.MenuItem_swigregister(MenuItemPtr) -MenuItem_GetLabelFromText = _core.MenuItem_GetLabelFromText +def MenuItem_GetLabelFromText(*args, **kwargs): + """MenuItem_GetLabelFromText(wxString text) -> wxString""" + return _core.MenuItem_GetLabelFromText(*args, **kwargs) -MenuItem_GetDefaultMarginWidth = _core.MenuItem_GetDefaultMarginWidth +def MenuItem_GetDefaultMarginWidth(*args, **kwargs): + """MenuItem_GetDefaultMarginWidth() -> int""" + return _core.MenuItem_GetDefaultMarginWidth(*args, **kwargs) #--------------------------------------------------------------------------- class Control(Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> Control""" newobj = _core.new_Control(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _core.Control_Create(*args, **kwargs) - def Command(*args, **kwargs): return _core.Control_Command(*args, **kwargs) - def GetLabel(*args, **kwargs): return _core.Control_GetLabel(*args, **kwargs) - def SetLabel(*args, **kwargs): return _core.Control_SetLabel(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> bool""" + return _core.Control_Create(*args, **kwargs) + + def Command(*args, **kwargs): + """Command(CommandEvent event)""" + return _core.Control_Command(*args, **kwargs) + + def GetLabel(*args, **kwargs): + """GetLabel() -> wxString""" + return _core.Control_GetLabel(*args, **kwargs) + + def SetLabel(*args, **kwargs): + """SetLabel(wxString label)""" + return _core.Control_SetLabel(*args, **kwargs) + class ControlPtr(Control): def __init__(self, this): @@ -3638,6 +6416,7 @@ class ControlPtr(Control): _core.Control_swigregister(ControlPtr) def PreControl(*args, **kwargs): + """PreControl() -> Control""" val = _core.new_PreControl(*args, **kwargs) val.thisown = 1 return val @@ -3645,25 +6424,74 @@ def PreControl(*args, **kwargs): #--------------------------------------------------------------------------- class ItemContainer(object): - def Append(*args, **kwargs): return _core.ItemContainer_Append(*args, **kwargs) - def AppendItems(*args, **kwargs): return _core.ItemContainer_AppendItems(*args, **kwargs) - def Insert(*args, **kwargs): return _core.ItemContainer_Insert(*args, **kwargs) - def Clear(*args, **kwargs): return _core.ItemContainer_Clear(*args, **kwargs) - def Delete(*args, **kwargs): return _core.ItemContainer_Delete(*args, **kwargs) - def GetCount(*args, **kwargs): return _core.ItemContainer_GetCount(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _core.ItemContainer_IsEmpty(*args, **kwargs) - def GetString(*args, **kwargs): return _core.ItemContainer_GetString(*args, **kwargs) - def GetStrings(*args, **kwargs): return _core.ItemContainer_GetStrings(*args, **kwargs) - def SetString(*args, **kwargs): return _core.ItemContainer_SetString(*args, **kwargs) - def FindString(*args, **kwargs): return _core.ItemContainer_FindString(*args, **kwargs) - def Select(*args, **kwargs): return _core.ItemContainer_Select(*args, **kwargs) - def GetSelection(*args, **kwargs): return _core.ItemContainer_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _core.ItemContainer_GetStringSelection(*args, **kwargs) - def GetClientData(*args, **kwargs): return _core.ItemContainer_GetClientData(*args, **kwargs) - def SetClientData(*args, **kwargs): return _core.ItemContainer_SetClientData(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Append(*args, **kwargs): + """Append(wxString item, PyObject clientData=None) -> int""" + return _core.ItemContainer_Append(*args, **kwargs) + + def AppendItems(*args, **kwargs): + """AppendItems(wxArrayString strings)""" + return _core.ItemContainer_AppendItems(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(wxString item, int pos, PyObject clientData=None) -> int""" + return _core.ItemContainer_Insert(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _core.ItemContainer_Clear(*args, **kwargs) + + def Delete(*args, **kwargs): + """Delete(int n)""" + return _core.ItemContainer_Delete(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _core.ItemContainer_GetCount(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _core.ItemContainer_IsEmpty(*args, **kwargs) + + def GetString(*args, **kwargs): + """GetString(int n) -> wxString""" + return _core.ItemContainer_GetString(*args, **kwargs) + + def GetStrings(*args, **kwargs): + """GetStrings() -> wxArrayString""" + return _core.ItemContainer_GetStrings(*args, **kwargs) + + def SetString(*args, **kwargs): + """SetString(int n, wxString s)""" + return _core.ItemContainer_SetString(*args, **kwargs) + + def FindString(*args, **kwargs): + """FindString(wxString s) -> int""" + return _core.ItemContainer_FindString(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(int n)""" + return _core.ItemContainer_Select(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _core.ItemContainer_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _core.ItemContainer_GetStringSelection(*args, **kwargs) + + def GetClientData(*args, **kwargs): + """GetClientData(int n) -> PyObject""" + return _core.ItemContainer_GetClientData(*args, **kwargs) + + def SetClientData(*args, **kwargs): + """SetClientData(int n, PyObject clientData)""" + return _core.ItemContainer_SetClientData(*args, **kwargs) + class ItemContainerPtr(ItemContainer): def __init__(self, this): @@ -3675,6 +6503,7 @@ _core.ItemContainer_swigregister(ItemContainerPtr) #--------------------------------------------------------------------------- class ControlWithItems(Control,ItemContainer): + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3689,43 +6518,135 @@ _core.ControlWithItems_swigregister(ControlWithItemsPtr) #--------------------------------------------------------------------------- class SizerItem(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SizerItem""" newobj = _core.new_SizerItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def DeleteWindows(*args, **kwargs): return _core.SizerItem_DeleteWindows(*args, **kwargs) - def DetachSizer(*args, **kwargs): return _core.SizerItem_DetachSizer(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.SizerItem_GetSize(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.SizerItem_CalcMin(*args, **kwargs) - def SetDimension(*args, **kwargs): return _core.SizerItem_SetDimension(*args, **kwargs) - def GetMinSize(*args, **kwargs): return _core.SizerItem_GetMinSize(*args, **kwargs) - def SetInitSize(*args, **kwargs): return _core.SizerItem_SetInitSize(*args, **kwargs) - def SetRatioWH(*args, **kwargs): return _core.SizerItem_SetRatioWH(*args, **kwargs) - def SetRatioSize(*args, **kwargs): return _core.SizerItem_SetRatioSize(*args, **kwargs) - def SetRatio(*args, **kwargs): return _core.SizerItem_SetRatio(*args, **kwargs) - def GetRatio(*args, **kwargs): return _core.SizerItem_GetRatio(*args, **kwargs) - def IsWindow(*args, **kwargs): return _core.SizerItem_IsWindow(*args, **kwargs) - def IsSizer(*args, **kwargs): return _core.SizerItem_IsSizer(*args, **kwargs) - def IsSpacer(*args, **kwargs): return _core.SizerItem_IsSpacer(*args, **kwargs) - def SetProportion(*args, **kwargs): return _core.SizerItem_SetProportion(*args, **kwargs) - def GetProportion(*args, **kwargs): return _core.SizerItem_GetProportion(*args, **kwargs) - def SetFlag(*args, **kwargs): return _core.SizerItem_SetFlag(*args, **kwargs) - def GetFlag(*args, **kwargs): return _core.SizerItem_GetFlag(*args, **kwargs) - def SetBorder(*args, **kwargs): return _core.SizerItem_SetBorder(*args, **kwargs) - def GetBorder(*args, **kwargs): return _core.SizerItem_GetBorder(*args, **kwargs) - def GetWindow(*args, **kwargs): return _core.SizerItem_GetWindow(*args, **kwargs) - def SetWindow(*args, **kwargs): return _core.SizerItem_SetWindow(*args, **kwargs) - def GetSizer(*args, **kwargs): return _core.SizerItem_GetSizer(*args, **kwargs) - def SetSizer(*args, **kwargs): return _core.SizerItem_SetSizer(*args, **kwargs) - def GetSpacer(*args, **kwargs): return _core.SizerItem_GetSpacer(*args, **kwargs) - def SetSpacer(*args, **kwargs): return _core.SizerItem_SetSpacer(*args, **kwargs) - def Show(*args, **kwargs): return _core.SizerItem_Show(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.SizerItem_IsShown(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.SizerItem_GetPosition(*args, **kwargs) - def GetUserData(*args, **kwargs): return _core.SizerItem_GetUserData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def DeleteWindows(*args, **kwargs): + """DeleteWindows()""" + return _core.SizerItem_DeleteWindows(*args, **kwargs) + + def DetachSizer(*args, **kwargs): + """DetachSizer()""" + return _core.SizerItem_DetachSizer(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.SizerItem_GetSize(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.SizerItem_CalcMin(*args, **kwargs) + + def SetDimension(*args, **kwargs): + """SetDimension(Point pos, Size size)""" + return _core.SizerItem_SetDimension(*args, **kwargs) + + def GetMinSize(*args, **kwargs): + """GetMinSize() -> Size""" + return _core.SizerItem_GetMinSize(*args, **kwargs) + + def SetInitSize(*args, **kwargs): + """SetInitSize(int x, int y)""" + return _core.SizerItem_SetInitSize(*args, **kwargs) + + def SetRatioWH(*args, **kwargs): + """SetRatioWH(int width, int height)""" + return _core.SizerItem_SetRatioWH(*args, **kwargs) + + def SetRatioSize(*args, **kwargs): + """SetRatioSize(Size size)""" + return _core.SizerItem_SetRatioSize(*args, **kwargs) + + def SetRatio(*args, **kwargs): + """SetRatio(float ratio)""" + return _core.SizerItem_SetRatio(*args, **kwargs) + + def GetRatio(*args, **kwargs): + """GetRatio() -> float""" + return _core.SizerItem_GetRatio(*args, **kwargs) + + def IsWindow(*args, **kwargs): + """IsWindow() -> bool""" + return _core.SizerItem_IsWindow(*args, **kwargs) + + def IsSizer(*args, **kwargs): + """IsSizer() -> bool""" + return _core.SizerItem_IsSizer(*args, **kwargs) + + def IsSpacer(*args, **kwargs): + """IsSpacer() -> bool""" + return _core.SizerItem_IsSpacer(*args, **kwargs) + + def SetProportion(*args, **kwargs): + """SetProportion(int proportion)""" + return _core.SizerItem_SetProportion(*args, **kwargs) + + def GetProportion(*args, **kwargs): + """GetProportion() -> int""" + return _core.SizerItem_GetProportion(*args, **kwargs) + + def SetFlag(*args, **kwargs): + """SetFlag(int flag)""" + return _core.SizerItem_SetFlag(*args, **kwargs) + + def GetFlag(*args, **kwargs): + """GetFlag() -> int""" + return _core.SizerItem_GetFlag(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(int border)""" + return _core.SizerItem_SetBorder(*args, **kwargs) + + def GetBorder(*args, **kwargs): + """GetBorder() -> int""" + return _core.SizerItem_GetBorder(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _core.SizerItem_GetWindow(*args, **kwargs) + + def SetWindow(*args, **kwargs): + """SetWindow(Window window)""" + return _core.SizerItem_SetWindow(*args, **kwargs) + + def GetSizer(*args, **kwargs): + """GetSizer() -> Sizer""" + return _core.SizerItem_GetSizer(*args, **kwargs) + + def SetSizer(*args, **kwargs): + """SetSizer(Sizer sizer)""" + return _core.SizerItem_SetSizer(*args, **kwargs) + + def GetSpacer(*args, **kwargs): + """GetSpacer() -> Size""" + return _core.SizerItem_GetSpacer(*args, **kwargs) + + def SetSpacer(*args, **kwargs): + """SetSpacer(Size size)""" + return _core.SizerItem_SetSpacer(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show)""" + return _core.SizerItem_Show(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown() -> bool""" + return _core.SizerItem_IsShown(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.SizerItem_GetPosition(*args, **kwargs) + + def GetUserData(*args, **kwargs): + """GetUserData() -> PyObject""" + return _core.SizerItem_GetUserData(*args, **kwargs) + class SizerItemPtr(SizerItem): def __init__(self, this): @@ -3735,33 +6656,73 @@ class SizerItemPtr(SizerItem): _core.SizerItem_swigregister(SizerItemPtr) def SizerItemSpacer(*args, **kwargs): + """SizerItemSpacer(int width, int height, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemSpacer(*args, **kwargs) val.thisown = 1 return val def SizerItemWindow(*args, **kwargs): + """SizerItemWindow(Window window, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemWindow(*args, **kwargs) val.thisown = 1 return val def SizerItemSizer(*args, **kwargs): + """SizerItemSizer(Sizer sizer, int proportion, int flag, int border, + Object userData) -> SizerItem""" val = _core.new_SizerItemSizer(*args, **kwargs) val.thisown = 1 return val class Sizer(Object): - def _setOORInfo(*args, **kwargs): return _core.Sizer__setOORInfo(*args, **kwargs) - def Add(*args, **kwargs): return _core.Sizer_Add(*args, **kwargs) - def Insert(*args, **kwargs): return _core.Sizer_Insert(*args, **kwargs) - def Prepend(*args, **kwargs): return _core.Sizer_Prepend(*args, **kwargs) - def Remove(*args, **kwargs): return _core.Sizer_Remove(*args, **kwargs) - def _SetItemMinSize(*args, **kwargs): return _core.Sizer__SetItemMinSize(*args, **kwargs) - def AddItem(*args, **kwargs): return _core.Sizer_AddItem(*args, **kwargs) - def InsertItem(*args, **kwargs): return _core.Sizer_InsertItem(*args, **kwargs) - def PrependItem(*args, **kwargs): return _core.Sizer_PrependItem(*args, **kwargs) + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _core.Sizer__setOORInfo(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None)""" + return _core.Sizer_Add(*args, **kwargs) + + def Insert(*args, **kwargs): + """Insert(int before, PyObject item, int proportion=0, int flag=0, + int border=0, PyObject userData=None)""" + return _core.Sizer_Insert(*args, **kwargs) + + def Prepend(*args, **kwargs): + """Prepend(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None)""" + return _core.Sizer_Prepend(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(PyObject item) -> bool""" + return _core.Sizer_Remove(*args, **kwargs) + + def _SetItemMinSize(*args, **kwargs): + """_SetItemMinSize(PyObject item, Size size)""" + return _core.Sizer__SetItemMinSize(*args, **kwargs) + + def AddItem(*args, **kwargs): + """AddItem(SizerItem item)""" + return _core.Sizer_AddItem(*args, **kwargs) + + def InsertItem(*args, **kwargs): + """InsertItem(size_t index, SizerItem item)""" + return _core.Sizer_InsertItem(*args, **kwargs) + + def PrependItem(*args, **kwargs): + """PrependItem(SizerItem item)""" + return _core.Sizer_PrependItem(*args, **kwargs) + def AddMany(self, widgets): for childinfo in widgets: - if type(childinfo) != type(()): + if type(childinfo) != type(()) or (len(childinfo) == 2 and type(childinfo[0]) == type(1)): childinfo = (childinfo, ) self.Add(*childinfo) @@ -3778,11 +6739,26 @@ class Sizer(Object): else: return self._SetItemMinSize(item, args[0]) - def SetDimension(*args, **kwargs): return _core.Sizer_SetDimension(*args, **kwargs) - def SetMinSize(*args, **kwargs): return _core.Sizer_SetMinSize(*args, **kwargs) - def GetSize(*args, **kwargs): return _core.Sizer_GetSize(*args, **kwargs) - def GetPosition(*args, **kwargs): return _core.Sizer_GetPosition(*args, **kwargs) - def GetMinSize(*args, **kwargs): return _core.Sizer_GetMinSize(*args, **kwargs) + def SetDimension(*args, **kwargs): + """SetDimension(int x, int y, int width, int height)""" + return _core.Sizer_SetDimension(*args, **kwargs) + + def SetMinSize(*args, **kwargs): + """SetMinSize(Size size)""" + return _core.Sizer_SetMinSize(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _core.Sizer_GetSize(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _core.Sizer_GetPosition(*args, **kwargs) + + def GetMinSize(*args, **kwargs): + """GetMinSize() -> Size""" + return _core.Sizer_GetMinSize(*args, **kwargs) + def GetSizeTuple(self): return self.GetSize().asTuple() def GetPositionTuple(self): @@ -3790,23 +6766,62 @@ class Sizer(Object): def GetMinSizeTuple(self): return self.GetMinSize().asTuple() - def RecalcSizes(*args, **kwargs): return _core.Sizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.Sizer_CalcMin(*args, **kwargs) - def Layout(*args, **kwargs): return _core.Sizer_Layout(*args, **kwargs) - def Fit(*args, **kwargs): return _core.Sizer_Fit(*args, **kwargs) - def FitInside(*args, **kwargs): return _core.Sizer_FitInside(*args, **kwargs) - def SetSizeHints(*args, **kwargs): return _core.Sizer_SetSizeHints(*args, **kwargs) - def SetVirtualSizeHints(*args, **kwargs): return _core.Sizer_SetVirtualSizeHints(*args, **kwargs) - def Clear(*args, **kwargs): return _core.Sizer_Clear(*args, **kwargs) - def DeleteWindows(*args, **kwargs): return _core.Sizer_DeleteWindows(*args, **kwargs) - def GetChildren(*args, **kwargs): return _core.Sizer_GetChildren(*args, **kwargs) - def Show(*args, **kwargs): return _core.Sizer_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _core.Sizer_Hide(*args, **kwargs) - def IsShown(*args, **kwargs): return _core.Sizer_IsShown(*args, **kwargs) - def ShowItems(*args, **kwargs): return _core.Sizer_ShowItems(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.Sizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.Sizer_CalcMin(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout()""" + return _core.Sizer_Layout(*args, **kwargs) + + def Fit(*args, **kwargs): + """Fit(Window window) -> Size""" + return _core.Sizer_Fit(*args, **kwargs) + + def FitInside(*args, **kwargs): + """FitInside(Window window)""" + return _core.Sizer_FitInside(*args, **kwargs) + + def SetSizeHints(*args, **kwargs): + """SetSizeHints(Window window)""" + return _core.Sizer_SetSizeHints(*args, **kwargs) + + def SetVirtualSizeHints(*args, **kwargs): + """SetVirtualSizeHints(Window window)""" + return _core.Sizer_SetVirtualSizeHints(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear(bool delete_windows=False)""" + return _core.Sizer_Clear(*args, **kwargs) + + def DeleteWindows(*args, **kwargs): + """DeleteWindows()""" + return _core.Sizer_DeleteWindows(*args, **kwargs) + + def GetChildren(*args, **kwargs): + """GetChildren() -> PyObject""" + return _core.Sizer_GetChildren(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(PyObject item, bool show=True)""" + return _core.Sizer_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide(PyObject item)""" + return _core.Sizer_Hide(*args, **kwargs) + + def IsShown(*args, **kwargs): + """IsShown(PyObject item) -> bool""" + return _core.Sizer_IsShown(*args, **kwargs) + + def ShowItems(*args, **kwargs): + """ShowItems(bool show)""" + return _core.Sizer_ShowItems(*args, **kwargs) + class SizerPtr(Sizer): def __init__(self, this): @@ -3816,15 +6831,21 @@ class SizerPtr(Sizer): _core.Sizer_swigregister(SizerPtr) class PySizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PySizer""" newobj = _core.new_PySizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PySizer);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _core.PySizer__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _core.PySizer__setCallbackInfo(*args, **kwargs) + class PySizerPtr(PySizer): def __init__(self, this): @@ -3836,18 +6857,33 @@ _core.PySizer_swigregister(PySizerPtr) #--------------------------------------------------------------------------- class BoxSizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int orient=HORIZONTAL) -> BoxSizer""" newobj = _core.new_BoxSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetOrientation(*args, **kwargs): return _core.BoxSizer_GetOrientation(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _core.BoxSizer_SetOrientation(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.BoxSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.BoxSizer_CalcMin(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _core.BoxSizer_GetOrientation(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _core.BoxSizer_SetOrientation(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.BoxSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.BoxSizer_CalcMin(*args, **kwargs) + class BoxSizerPtr(BoxSizer): def __init__(self, this): @@ -3859,17 +6895,29 @@ _core.BoxSizer_swigregister(BoxSizerPtr) #--------------------------------------------------------------------------- class StaticBoxSizer(BoxSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer""" newobj = _core.new_StaticBoxSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetStaticBox(*args, **kwargs): return _core.StaticBoxSizer_GetStaticBox(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.StaticBoxSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.StaticBoxSizer_CalcMin(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetStaticBox(*args, **kwargs): + """GetStaticBox() -> wxStaticBox""" + return _core.StaticBoxSizer_GetStaticBox(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.StaticBoxSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.StaticBoxSizer_CalcMin(*args, **kwargs) + class StaticBoxSizerPtr(StaticBoxSizer): def __init__(self, this): @@ -3881,24 +6929,57 @@ _core.StaticBoxSizer_swigregister(StaticBoxSizerPtr) #--------------------------------------------------------------------------- class GridSizer(Sizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer""" newobj = _core.new_GridSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _core.GridSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.GridSizer_CalcMin(*args, **kwargs) - def SetCols(*args, **kwargs): return _core.GridSizer_SetCols(*args, **kwargs) - def SetRows(*args, **kwargs): return _core.GridSizer_SetRows(*args, **kwargs) - def SetVGap(*args, **kwargs): return _core.GridSizer_SetVGap(*args, **kwargs) - def SetHGap(*args, **kwargs): return _core.GridSizer_SetHGap(*args, **kwargs) - def GetCols(*args, **kwargs): return _core.GridSizer_GetCols(*args, **kwargs) - def GetRows(*args, **kwargs): return _core.GridSizer_GetRows(*args, **kwargs) - def GetVGap(*args, **kwargs): return _core.GridSizer_GetVGap(*args, **kwargs) - def GetHGap(*args, **kwargs): return _core.GridSizer_GetHGap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.GridSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.GridSizer_CalcMin(*args, **kwargs) + + def SetCols(*args, **kwargs): + """SetCols(int cols)""" + return _core.GridSizer_SetCols(*args, **kwargs) + + def SetRows(*args, **kwargs): + """SetRows(int rows)""" + return _core.GridSizer_SetRows(*args, **kwargs) + + def SetVGap(*args, **kwargs): + """SetVGap(int gap)""" + return _core.GridSizer_SetVGap(*args, **kwargs) + + def SetHGap(*args, **kwargs): + """SetHGap(int gap)""" + return _core.GridSizer_SetHGap(*args, **kwargs) + + def GetCols(*args, **kwargs): + """GetCols() -> int""" + return _core.GridSizer_GetCols(*args, **kwargs) + + def GetRows(*args, **kwargs): + """GetRows() -> int""" + return _core.GridSizer_GetRows(*args, **kwargs) + + def GetVGap(*args, **kwargs): + """GetVGap() -> int""" + return _core.GridSizer_GetVGap(*args, **kwargs) + + def GetHGap(*args, **kwargs): + """GetHGap() -> int""" + return _core.GridSizer_GetHGap(*args, **kwargs) + class GridSizerPtr(GridSizer): def __init__(self, this): @@ -3913,24 +6994,65 @@ FLEX_GROWMODE_NONE = _core.FLEX_GROWMODE_NONE FLEX_GROWMODE_SPECIFIED = _core.FLEX_GROWMODE_SPECIFIED FLEX_GROWMODE_ALL = _core.FLEX_GROWMODE_ALL class FlexGridSizer(GridSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer""" newobj = _core.new_FlexGridSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def RecalcSizes(*args, **kwargs): return _core.FlexGridSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.FlexGridSizer_CalcMin(*args, **kwargs) - def AddGrowableRow(*args, **kwargs): return _core.FlexGridSizer_AddGrowableRow(*args, **kwargs) - def RemoveGrowableRow(*args, **kwargs): return _core.FlexGridSizer_RemoveGrowableRow(*args, **kwargs) - def AddGrowableCol(*args, **kwargs): return _core.FlexGridSizer_AddGrowableCol(*args, **kwargs) - def RemoveGrowableCol(*args, **kwargs): return _core.FlexGridSizer_RemoveGrowableCol(*args, **kwargs) - def SetFlexibleDirection(*args, **kwargs): return _core.FlexGridSizer_SetFlexibleDirection(*args, **kwargs) - def GetFlexibleDirection(*args, **kwargs): return _core.FlexGridSizer_GetFlexibleDirection(*args, **kwargs) - def SetNonFlexibleGrowMode(*args, **kwargs): return _core.FlexGridSizer_SetNonFlexibleGrowMode(*args, **kwargs) - def GetNonFlexibleGrowMode(*args, **kwargs): return _core.FlexGridSizer_GetNonFlexibleGrowMode(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.FlexGridSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.FlexGridSizer_CalcMin(*args, **kwargs) + + def AddGrowableRow(*args, **kwargs): + """AddGrowableRow(size_t idx, int proportion=0)""" + return _core.FlexGridSizer_AddGrowableRow(*args, **kwargs) + + def RemoveGrowableRow(*args, **kwargs): + """RemoveGrowableRow(size_t idx)""" + return _core.FlexGridSizer_RemoveGrowableRow(*args, **kwargs) + + def AddGrowableCol(*args, **kwargs): + """AddGrowableCol(size_t idx, int proportion=0)""" + return _core.FlexGridSizer_AddGrowableCol(*args, **kwargs) + + def RemoveGrowableCol(*args, **kwargs): + """RemoveGrowableCol(size_t idx)""" + return _core.FlexGridSizer_RemoveGrowableCol(*args, **kwargs) + + def SetFlexibleDirection(*args, **kwargs): + """SetFlexibleDirection(int direction)""" + return _core.FlexGridSizer_SetFlexibleDirection(*args, **kwargs) + + def GetFlexibleDirection(*args, **kwargs): + """GetFlexibleDirection() -> int""" + return _core.FlexGridSizer_GetFlexibleDirection(*args, **kwargs) + + def SetNonFlexibleGrowMode(*args, **kwargs): + """SetNonFlexibleGrowMode(wxFlexSizerGrowMode mode)""" + return _core.FlexGridSizer_SetNonFlexibleGrowMode(*args, **kwargs) + + def GetNonFlexibleGrowMode(*args, **kwargs): + """GetNonFlexibleGrowMode() -> wxFlexSizerGrowMode""" + return _core.FlexGridSizer_GetNonFlexibleGrowMode(*args, **kwargs) + + def GetRowHeights(*args, **kwargs): + """GetRowHeights() -> wxArrayInt""" + return _core.FlexGridSizer_GetRowHeights(*args, **kwargs) + + def GetColWidths(*args, **kwargs): + """GetColWidths() -> wxArrayInt""" + return _core.FlexGridSizer_GetColWidths(*args, **kwargs) + class FlexGridSizerPtr(FlexGridSizer): def __init__(self, this): @@ -3942,29 +7064,59 @@ _core.FlexGridSizer_swigregister(FlexGridSizerPtr) #--------------------------------------------------------------------------- class GBPosition(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int row=0, int col=0) -> GBPosition""" newobj = _core.new_GBPosition(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _core.GBPosition_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _core.GBPosition_GetCol(*args, **kwargs) - def SetRow(*args, **kwargs): return _core.GBPosition_SetRow(*args, **kwargs) - def SetCol(*args, **kwargs): return _core.GBPosition_SetCol(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.GBPosition___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.GBPosition___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.GBPosition_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxGBPosition'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _core.GBPosition_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _core.GBPosition_GetCol(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int row)""" + return _core.GBPosition_SetRow(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int col)""" + return _core.GBPosition_SetCol(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GBPosition p) -> bool""" + return _core.GBPosition___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GBPosition p) -> bool""" + return _core.GBPosition___ne__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int row=0, int col=0)""" + return _core.GBPosition_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _core.GBPosition_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.GBPosition'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.SetRow(val) elif index == 1: self.SetCol(val) else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) row = property(GetRow, SetRow) @@ -3979,29 +7131,59 @@ class GBPositionPtr(GBPosition): _core.GBPosition_swigregister(GBPositionPtr) class GBSpan(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int rowspan=1, int colspan=1) -> GBSpan""" newobj = _core.new_GBSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRowspan(*args, **kwargs): return _core.GBSpan_GetRowspan(*args, **kwargs) - def GetColspan(*args, **kwargs): return _core.GBSpan_GetColspan(*args, **kwargs) - def SetRowspan(*args, **kwargs): return _core.GBSpan_SetRowspan(*args, **kwargs) - def SetColspan(*args, **kwargs): return _core.GBSpan_SetColspan(*args, **kwargs) - def __eq__(*args, **kwargs): return _core.GBSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _core.GBSpan___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _core.GBSpan_asTuple(*args, **kwargs) - def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxGBSpan'+str(self.asTuple()) - def __len__(self): return len(self.asTuple()) - def __getitem__(self, index): return self.asTuple()[index] + def GetRowspan(*args, **kwargs): + """GetRowspan() -> int""" + return _core.GBSpan_GetRowspan(*args, **kwargs) + + def GetColspan(*args, **kwargs): + """GetColspan() -> int""" + return _core.GBSpan_GetColspan(*args, **kwargs) + + def SetRowspan(*args, **kwargs): + """SetRowspan(int rowspan)""" + return _core.GBSpan_SetRowspan(*args, **kwargs) + + def SetColspan(*args, **kwargs): + """SetColspan(int colspan)""" + return _core.GBSpan_SetColspan(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GBSpan o) -> bool""" + return _core.GBSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GBSpan o) -> bool""" + return _core.GBSpan___ne__(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int rowspan=1, int colspan=1)""" + return _core.GBSpan_Set(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _core.GBSpan_Get(*args, **kwargs) + + asTuple = Get + def __str__(self): return str(self.Get()) + def __repr__(self): return 'wx.GBSpan'+str(self.Get()) + def __len__(self): return len(self.Get()) + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.SetRowspan(val) elif index == 1: self.SetColspan(val) else: raise IndexError - def __nonzero__(self): return self.asTuple() != (0,0) + def __nonzero__(self): return self.Get() != (0,0) def __getinitargs__(self): return () - def __getstate__(self): return self.asTuple() + def __getstate__(self): return self.Get() def __setstate__(self, state): self.Set(*state) rowspan = property(GetRowspan, SetRowspan) @@ -4016,23 +7198,50 @@ class GBSpanPtr(GBSpan): _core.GBSpan_swigregister(GBSpanPtr) class GBSizerItem(SizerItem): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GBSizerItem""" newobj = _core.new_GBSizerItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPos(*args, **kwargs): return _core.GBSizerItem_GetPos(*args, **kwargs) - def GetPosTuple(self): return self.GetPos().asTuple() - def GetSpan(*args, **kwargs): return _core.GBSizerItem_GetSpan(*args, **kwargs) - def GetSpanTuple(self): return self.GetSpan().asTuple() - def SetPos(*args, **kwargs): return _core.GBSizerItem_SetPos(*args, **kwargs) - def SetSpan(*args, **kwargs): return _core.GBSizerItem_SetSpan(*args, **kwargs) - def Intersects(*args): return _core.GBSizerItem_Intersects(*args) - def GetEndPos(*args, **kwargs): return _core.GBSizerItem_GetEndPos(*args, **kwargs) - def GetGBSizer(*args, **kwargs): return _core.GBSizerItem_GetGBSizer(*args, **kwargs) - def SetGBSizer(*args, **kwargs): return _core.GBSizerItem_SetGBSizer(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPos(*args, **kwargs): + """GetPos() -> GBPosition""" + return _core.GBSizerItem_GetPos(*args, **kwargs) + + def GetPosTuple(self): return self.GetPos().Get() + def GetSpan(*args, **kwargs): + """GetSpan() -> GBSpan""" + return _core.GBSizerItem_GetSpan(*args, **kwargs) + + def GetSpanTuple(self): return self.GetSpan().Get() + def SetPos(*args, **kwargs): + """SetPos(GBPosition pos) -> bool""" + return _core.GBSizerItem_SetPos(*args, **kwargs) + + def SetSpan(*args, **kwargs): + """SetSpan(GBSpan span) -> bool""" + return _core.GBSizerItem_SetSpan(*args, **kwargs) + + def Intersects(*args): + """Intersects(GBSizerItem other) -> bool +Intersects(GBPosition pos, GBSpan span) -> bool""" + return _core.GBSizerItem_Intersects(*args) + + def GetEndPos(*args, **kwargs): + """GetEndPos(int row, int col)""" + return _core.GBSizerItem_GetEndPos(*args, **kwargs) + + def GetGBSizer(*args, **kwargs): + """GetGBSizer() -> GridBagSizer""" + return _core.GBSizerItem_GetGBSizer(*args, **kwargs) + + def SetGBSizer(*args, **kwargs): + """SetGBSizer(GridBagSizer sizer)""" + return _core.GBSizerItem_SetGBSizer(*args, **kwargs) + class GBSizerItemPtr(GBSizerItem): def __init__(self, this): @@ -4043,42 +7252,107 @@ _core.GBSizerItem_swigregister(GBSizerItemPtr) DefaultSpan = cvar.DefaultSpan def GBSizerItemWindow(*args, **kwargs): + """GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemWindow(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSizer(*args, **kwargs): + """GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemSizer(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSpacer(*args, **kwargs): + """GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, + int flag, int border, Object userData) -> GBSizerItem""" val = _core.new_GBSizerItemSpacer(*args, **kwargs) val.thisown = 1 return val class GridBagSizer(FlexGridSizer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int vgap=0, int hgap=0) -> GridBagSizer""" newobj = _core.new_GridBagSizer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Add(*args, **kwargs): return _core.GridBagSizer_Add(*args, **kwargs) - def AddItem(*args, **kwargs): return _core.GridBagSizer_AddItem(*args, **kwargs) - def GetEmptyCellSize(*args, **kwargs): return _core.GridBagSizer_GetEmptyCellSize(*args, **kwargs) - def SetEmptyCellSize(*args, **kwargs): return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) - def GetItemPosition(*args): return _core.GridBagSizer_GetItemPosition(*args) - def SetItemPosition(*args): return _core.GridBagSizer_SetItemPosition(*args) - def GetItemSpan(*args): return _core.GridBagSizer_GetItemSpan(*args) - def SetItemSpan(*args): return _core.GridBagSizer_SetItemSpan(*args) - def FindItem(*args): return _core.GridBagSizer_FindItem(*args) - def FindItemAtPosition(*args, **kwargs): return _core.GridBagSizer_FindItemAtPosition(*args, **kwargs) - def FindItemWithData(*args, **kwargs): return _core.GridBagSizer_FindItemWithData(*args, **kwargs) - def RecalcSizes(*args, **kwargs): return _core.GridBagSizer_RecalcSizes(*args, **kwargs) - def CalcMin(*args, **kwargs): return _core.GridBagSizer_CalcMin(*args, **kwargs) - def CheckForIntersection(*args): return _core.GridBagSizer_CheckForIntersection(*args) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Add(*args, **kwargs): + """Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, + int flag=0, int border=0, PyObject userData=None) -> bool""" + return _core.GridBagSizer_Add(*args, **kwargs) + + def AddItem(*args, **kwargs): + """AddItem(GBSizerItem item) -> bool""" + return _core.GridBagSizer_AddItem(*args, **kwargs) + + def GetEmptyCellSize(*args, **kwargs): + """GetEmptyCellSize() -> Size""" + return _core.GridBagSizer_GetEmptyCellSize(*args, **kwargs) + + def SetEmptyCellSize(*args, **kwargs): + """SetEmptyCellSize(Size sz)""" + return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) + + def GetItemPosition(*args): + """GetItemPosition(Window window) -> GBPosition +GetItemPosition(Sizer sizer) -> GBPosition +GetItemPosition(size_t index) -> GBPosition""" + return _core.GridBagSizer_GetItemPosition(*args) + + def SetItemPosition(*args): + """SetItemPosition(Window window, GBPosition pos) -> bool +SetItemPosition(Sizer sizer, GBPosition pos) -> bool +SetItemPosition(size_t index, GBPosition pos) -> bool""" + return _core.GridBagSizer_SetItemPosition(*args) + + def GetItemSpan(*args): + """GetItemSpan(Window window) -> GBSpan +GetItemSpan(Sizer sizer) -> GBSpan +GetItemSpan(size_t index) -> GBSpan""" + return _core.GridBagSizer_GetItemSpan(*args) + + def SetItemSpan(*args): + """SetItemSpan(Window window, GBSpan span) -> bool +SetItemSpan(Sizer sizer, GBSpan span) -> bool +SetItemSpan(size_t index, GBSpan span) -> bool""" + return _core.GridBagSizer_SetItemSpan(*args) + + def FindItem(*args): + """FindItem(Window window) -> GBSizerItem +FindItem(Sizer sizer) -> GBSizerItem""" + return _core.GridBagSizer_FindItem(*args) + + def FindItemAtPosition(*args, **kwargs): + """FindItemAtPosition(GBPosition pos) -> GBSizerItem""" + return _core.GridBagSizer_FindItemAtPosition(*args, **kwargs) + + def FindItemAtPoint(*args, **kwargs): + """FindItemAtPoint(Point pt) -> GBSizerItem""" + return _core.GridBagSizer_FindItemAtPoint(*args, **kwargs) + + def FindItemWithData(*args, **kwargs): + """FindItemWithData(Object userData) -> GBSizerItem""" + return _core.GridBagSizer_FindItemWithData(*args, **kwargs) + + def RecalcSizes(*args, **kwargs): + """RecalcSizes()""" + return _core.GridBagSizer_RecalcSizes(*args, **kwargs) + + def CalcMin(*args, **kwargs): + """CalcMin() -> Size""" + return _core.GridBagSizer_CalcMin(*args, **kwargs) + + def CheckForIntersection(*args): + """CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool +CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool""" + return _core.GridBagSizer_CheckForIntersection(*args) + class GridBagSizerPtr(GridBagSizer): def __init__(self, this): @@ -4109,35 +7383,115 @@ RightOf = _core.RightOf SameAs = _core.SameAs Absolute = _core.Absolute class IndividualLayoutConstraint(Object): - def Set(*args, **kwargs): return _core.IndividualLayoutConstraint_Set(*args, **kwargs) - def LeftOf(*args, **kwargs): return _core.IndividualLayoutConstraint_LeftOf(*args, **kwargs) - def RightOf(*args, **kwargs): return _core.IndividualLayoutConstraint_RightOf(*args, **kwargs) - def Above(*args, **kwargs): return _core.IndividualLayoutConstraint_Above(*args, **kwargs) - def Below(*args, **kwargs): return _core.IndividualLayoutConstraint_Below(*args, **kwargs) - def SameAs(*args, **kwargs): return _core.IndividualLayoutConstraint_SameAs(*args, **kwargs) - def PercentOf(*args, **kwargs): return _core.IndividualLayoutConstraint_PercentOf(*args, **kwargs) - def Absolute(*args, **kwargs): return _core.IndividualLayoutConstraint_Absolute(*args, **kwargs) - def Unconstrained(*args, **kwargs): return _core.IndividualLayoutConstraint_Unconstrained(*args, **kwargs) - def AsIs(*args, **kwargs): return _core.IndividualLayoutConstraint_AsIs(*args, **kwargs) - def GetOtherWindow(*args, **kwargs): return _core.IndividualLayoutConstraint_GetOtherWindow(*args, **kwargs) - def GetMyEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetMyEdge(*args, **kwargs) - def SetEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_SetEdge(*args, **kwargs) - def SetValue(*args, **kwargs): return _core.IndividualLayoutConstraint_SetValue(*args, **kwargs) - def GetMargin(*args, **kwargs): return _core.IndividualLayoutConstraint_GetMargin(*args, **kwargs) - def SetMargin(*args, **kwargs): return _core.IndividualLayoutConstraint_SetMargin(*args, **kwargs) - def GetValue(*args, **kwargs): return _core.IndividualLayoutConstraint_GetValue(*args, **kwargs) - def GetPercent(*args, **kwargs): return _core.IndividualLayoutConstraint_GetPercent(*args, **kwargs) - def GetOtherEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetOtherEdge(*args, **kwargs) - def GetDone(*args, **kwargs): return _core.IndividualLayoutConstraint_GetDone(*args, **kwargs) - def SetDone(*args, **kwargs): return _core.IndividualLayoutConstraint_SetDone(*args, **kwargs) - def GetRelationship(*args, **kwargs): return _core.IndividualLayoutConstraint_GetRelationship(*args, **kwargs) - def SetRelationship(*args, **kwargs): return _core.IndividualLayoutConstraint_SetRelationship(*args, **kwargs) - def ResetIfWin(*args, **kwargs): return _core.IndividualLayoutConstraint_ResetIfWin(*args, **kwargs) - def SatisfyConstraint(*args, **kwargs): return _core.IndividualLayoutConstraint_SatisfyConstraint(*args, **kwargs) - def GetEdge(*args, **kwargs): return _core.IndividualLayoutConstraint_GetEdge(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, + int marg=wxLAYOUT_DEFAULT_MARGIN)""" + return _core.IndividualLayoutConstraint_Set(*args, **kwargs) + + def LeftOf(*args, **kwargs): + """LeftOf(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_LeftOf(*args, **kwargs) + + def RightOf(*args, **kwargs): + """RightOf(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_RightOf(*args, **kwargs) + + def Above(*args, **kwargs): + """Above(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_Above(*args, **kwargs) + + def Below(*args, **kwargs): + """Below(Window sibling, int marg=0)""" + return _core.IndividualLayoutConstraint_Below(*args, **kwargs) + + def SameAs(*args, **kwargs): + """SameAs(Window otherW, wxEdge edge, int marg=0)""" + return _core.IndividualLayoutConstraint_SameAs(*args, **kwargs) + + def PercentOf(*args, **kwargs): + """PercentOf(Window otherW, wxEdge wh, int per)""" + return _core.IndividualLayoutConstraint_PercentOf(*args, **kwargs) + + def Absolute(*args, **kwargs): + """Absolute(int val)""" + return _core.IndividualLayoutConstraint_Absolute(*args, **kwargs) + + def Unconstrained(*args, **kwargs): + """Unconstrained()""" + return _core.IndividualLayoutConstraint_Unconstrained(*args, **kwargs) + + def AsIs(*args, **kwargs): + """AsIs()""" + return _core.IndividualLayoutConstraint_AsIs(*args, **kwargs) + + def GetOtherWindow(*args, **kwargs): + """GetOtherWindow() -> Window""" + return _core.IndividualLayoutConstraint_GetOtherWindow(*args, **kwargs) + + def GetMyEdge(*args, **kwargs): + """GetMyEdge() -> wxEdge""" + return _core.IndividualLayoutConstraint_GetMyEdge(*args, **kwargs) + + def SetEdge(*args, **kwargs): + """SetEdge(wxEdge which)""" + return _core.IndividualLayoutConstraint_SetEdge(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int v)""" + return _core.IndividualLayoutConstraint_SetValue(*args, **kwargs) + + def GetMargin(*args, **kwargs): + """GetMargin() -> int""" + return _core.IndividualLayoutConstraint_GetMargin(*args, **kwargs) + + def SetMargin(*args, **kwargs): + """SetMargin(int m)""" + return _core.IndividualLayoutConstraint_SetMargin(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue() -> int""" + return _core.IndividualLayoutConstraint_GetValue(*args, **kwargs) + + def GetPercent(*args, **kwargs): + """GetPercent() -> int""" + return _core.IndividualLayoutConstraint_GetPercent(*args, **kwargs) + + def GetOtherEdge(*args, **kwargs): + """GetOtherEdge() -> int""" + return _core.IndividualLayoutConstraint_GetOtherEdge(*args, **kwargs) + + def GetDone(*args, **kwargs): + """GetDone() -> bool""" + return _core.IndividualLayoutConstraint_GetDone(*args, **kwargs) + + def SetDone(*args, **kwargs): + """SetDone(bool d)""" + return _core.IndividualLayoutConstraint_SetDone(*args, **kwargs) + + def GetRelationship(*args, **kwargs): + """GetRelationship() -> wxRelationship""" + return _core.IndividualLayoutConstraint_GetRelationship(*args, **kwargs) + + def SetRelationship(*args, **kwargs): + """SetRelationship(wxRelationship r)""" + return _core.IndividualLayoutConstraint_SetRelationship(*args, **kwargs) + + def ResetIfWin(*args, **kwargs): + """ResetIfWin(Window otherW) -> bool""" + return _core.IndividualLayoutConstraint_ResetIfWin(*args, **kwargs) + + def SatisfyConstraint(*args, **kwargs): + """SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool""" + return _core.IndividualLayoutConstraint_SatisfyConstraint(*args, **kwargs) + + def GetEdge(*args, **kwargs): + """GetEdge(wxEdge which, Window thisWin, Window other) -> int""" + return _core.IndividualLayoutConstraint_GetEdge(*args, **kwargs) + class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): def __init__(self, this): @@ -4147,6 +7501,9 @@ class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): _core.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr) class LayoutConstraints(Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) left = property(_core.LayoutConstraints_left_get) top = property(_core.LayoutConstraints_top_get) right = property(_core.LayoutConstraints_right_get) @@ -4156,14 +7513,19 @@ class LayoutConstraints(Object): centreX = property(_core.LayoutConstraints_centreX_get) centreY = property(_core.LayoutConstraints_centreY_get) def __init__(self, *args, **kwargs): + """__init__() -> LayoutConstraints""" newobj = _core.new_LayoutConstraints(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SatisfyConstraints(*args, **kwargs): return _core.LayoutConstraints_SatisfyConstraints(*args, **kwargs) - def AreSatisfied(*args, **kwargs): return _core.LayoutConstraints_AreSatisfied(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SatisfyConstraints(*args, **kwargs): + """SatisfyConstraints(Window win, int OUTPUT) -> bool""" + return _core.LayoutConstraints_SatisfyConstraints(*args, **kwargs) + + def AreSatisfied(*args, **kwargs): + """AreSatisfied() -> bool""" + return _core.LayoutConstraints_AreSatisfied(*args, **kwargs) + class LayoutConstraintsPtr(LayoutConstraints): def __init__(self, this): diff --git a/wxPython/src/msw/core_wrap.cpp b/wxPython/src/msw/core_wrap.cpp index d44415c7bd..9420c5837c 100644 --- a/wxPython/src/msw/core_wrap.cpp +++ b/wxPython/src/msw/core_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -425,12 +419,12 @@ PyObject* wxPyConstructObject(void* ptr, // Extract a pointer to the wrapped C++ object from a Python proxy object. // Ensures that the proxy object is of the specified (or derived) type. If // not able to perform the conversion then a Python exception is set and the -// error should be handled properly in the caller. Returns true on success. +// error should be handled properly in the caller. Returns True on success. bool wxPyConvertSwigPtr(PyObject* obj, void **ptr, const wxChar* className) { swig_type_info* swigType = wxPyFindSwigType(className); - wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr")); + wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr")); return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1; } @@ -550,7 +544,7 @@ static wxPyCoreAPI API = { DECLARE_DEF_STRING(EmptyString); - DECLARE_DEF_STRING(PanelNameStr); +// DECLARE_DEF_STRING(PanelNameStr); #if ! wxUSE_HOTKEY @@ -576,7 +570,7 @@ void wxObject_Destroy(wxObject *self){ #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW #endif -PyObject *wxSize_asTuple(wxSize *self){ +PyObject *wxSize_Get(wxSize *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -588,7 +582,7 @@ void wxRealPoint_Set(wxRealPoint *self,double x,double y){ self->x = x; self->y = y; } -PyObject *wxRealPoint_asTuple(wxRealPoint *self){ +PyObject *wxRealPoint_Get(wxRealPoint *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x)); @@ -600,7 +594,7 @@ void wxPoint_Set(wxPoint *self,long x,long y){ self->x = x; self->y = y; } -PyObject *wxPoint_asTuple(wxPoint *self){ +PyObject *wxPoint_Get(wxPoint *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -614,7 +608,7 @@ void wxRect_Set(wxRect *self,int x,int y,int width,int height){ self->width = width; self->height = height; } -PyObject *wxRect_asTuple(wxRect *self){ +PyObject *wxRect_Get(wxRect *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(4); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); @@ -637,7 +631,7 @@ PyObject *wxRect_asTuple(wxRect *self){ if (dest != wxRect(0,0,0,0)) { wxPyBeginBlockThreads(); wxRect* newRect = new wxRect(dest); - obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true); + obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True); wxPyEndBlockThreads(); return obj; } @@ -676,7 +670,7 @@ void wxPoint2D_Set(wxPoint2D *self,double x,double y){ self->m_x = x; self->m_y = y; } -PyObject *wxPoint2D_asTuple(wxPoint2D *self){ +PyObject *wxPoint2D_Get(wxPoint2D *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x)); @@ -795,7 +789,7 @@ wxImage *new_wxImage(int width,int height,unsigned char *data){ return NULL; } memcpy(copy, data, width*height*3); - return new wxImage(width, height, copy, FALSE); + return new wxImage(width, height, copy, False); } PyObject *wxImage_GetData(wxImage *self){ unsigned char* data = self->GetData(); @@ -984,6 +978,7 @@ wxPyApp *new_wxPyApp(){ + static const wxString wxPyPanelNameStr(wxPanelNameStr); PyObject *wxWindow_GetChildren(wxWindow *self){ wxWindowList& list = self->GetChildren(); return wxPy_ConvertList(&list); @@ -992,14 +987,14 @@ bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keyco - return FALSE; + return False; } bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){ - return FALSE; + return False; } long wxWindow_GetHandle(wxWindow *self){ @@ -1093,8 +1088,8 @@ PyObject *wxSizerItem_GetUserData(wxSizerItem *self){ struct wxPySizerItemInfo { wxPySizerItemInfo() - : window(NULL), sizer(NULL), gotSize(false), - size(wxDefaultSize), gotPos(false), pos(-1) + : window(NULL), sizer(NULL), gotSize(False), + size(wxDefaultSize), gotPos(False), pos(-1) {} wxWindow* window; @@ -1125,13 +1120,13 @@ static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, // try wxSize or (w,h) if ( checkSize && wxSize_helper(item, &sizePtr)) { info.size = *sizePtr; - info.gotSize = true; + info.gotSize = True; } // or a single int if (checkIdx && PyInt_Check(item)) { info.pos = PyInt_AsLong(item); - info.gotPos = true; + info.gotPos = True; } } } @@ -1159,7 +1154,7 @@ void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1177,7 +1172,7 @@ void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int f wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1195,7 +1190,7 @@ void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int bo wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1211,7 +1206,7 @@ void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int bo } bool wxSizer_Remove(wxSizer *self,PyObject *item){ wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True); wxPyEndBlockThreads(); if ( info.window ) return self->Remove(info.window); @@ -1220,11 +1215,11 @@ bool wxSizer_Remove(wxSizer *self,PyObject *item){ else if ( info.gotPos ) return self->Remove(info.pos); else - return FALSE; + return False; } -void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize size){ +void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){ wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True); wxPyEndBlockThreads(); if ( info.window ) self->SetItemMinSize(info.window, size); @@ -1238,27 +1233,27 @@ PyObject *wxSizer_GetChildren(wxSizer *self){ return wxPy_ConvertList(&list); } void wxSizer_Show(wxSizer *self,PyObject *item,bool show){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) self->Show(info.window, show); else if ( info.sizer ) self->Show(info.sizer, show); } void wxSizer_Hide(wxSizer *self,PyObject *item){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) self->Hide(info.window); else if ( info.sizer ) self->Hide(info.sizer); } bool wxSizer_IsShown(wxSizer *self,PyObject *item){ - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False); if ( info.window ) return self->IsShown(info.window); else if ( info.sizer ) return self->IsShown(info.sizer); else - return false; + return False; } // See pyclasses.h @@ -1280,7 +1275,11 @@ bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj) } -PyObject *wxGBPosition_asTuple(wxGBPosition *self){ +void wxGBPosition_Set(wxGBPosition *self,int row,int col){ + self->SetRow(row); + self->SetCol(col); + } +PyObject *wxGBPosition_Get(wxGBPosition *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); @@ -1288,7 +1287,11 @@ PyObject *wxGBPosition_asTuple(wxGBPosition *self){ wxPyEndBlockThreads(); return tup; } -PyObject *wxGBSpan_asTuple(wxGBSpan *self){ +void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){ + self->SetRowspan(rowspan); + self->SetColspan(colspan); + } +PyObject *wxGBSpan_Get(wxGBSpan *self){ wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan())); @@ -1300,7 +1303,7 @@ bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const & wxPyUserData* data = NULL; wxPyBeginBlockThreads(); - wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); + wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); wxPyEndBlockThreads(); @@ -1313,7 +1316,7 @@ bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const & else if (info.gotSize) return self->Add(info.size.GetWidth(), info.size.GetHeight(), pos, span, flag, border, data); - return false; + return False; } @@ -1530,7 +1533,7 @@ static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSize const *)arg1)->operator ==((wxSize const &)*arg2); + result = (bool)(arg1)->operator ==((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1562,7 +1565,7 @@ static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSize const *)arg1)->operator !=((wxSize const &)*arg2); + result = (bool)(arg1)->operator !=((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1715,7 +1718,7 @@ static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "xx",(char *) "yy", NULL + (char *) "self",(char *) "w",(char *) "h", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; @@ -1834,57 +1837,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject * } -static PyObject *_wrap_Size_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxSize *arg1 = (wxSize *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetX",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxSize const *)arg1)->GetX(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Size_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxSize *arg1 = (wxSize *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetY",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxSize const *)arg1)->GetY(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Size_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; @@ -1893,11 +1846,11 @@ static PyObject *_wrap_Size_asTuple(PyObject *self, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxSize_asTuple(arg1); + result = (PyObject *)wxSize_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2044,11 +1997,11 @@ static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject } -static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - wxRealPoint result; + bool result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2056,7 +2009,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObjec (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2064,27 +2017,23 @@ static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxRealPoint const *)arg1)->operator +((wxRealPoint const &)*arg2); + result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); - } + resultobj = PyInt_FromLong((long)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - wxRealPoint result; + bool result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2092,7 +2041,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObjec (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2100,27 +2049,23 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxRealPoint const *)arg1)->operator -((wxRealPoint const &)*arg2); + result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); - } + resultobj = PyInt_FromLong((long)result); return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - bool result; + wxRealPoint result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2128,7 +2073,7 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2136,23 +2081,27 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxRealPoint const *)arg1)->operator ==((wxRealPoint const &)*arg2); + result = (arg1)->operator +((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + { + wxRealPoint * resultptr; + resultptr = new wxRealPoint((wxRealPoint &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; - bool result; + wxRealPoint result; wxRealPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2160,7 +2109,7 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { arg2 = &temp2; @@ -2168,12 +2117,16 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxRealPoint const *)arg1)->operator !=((wxRealPoint const &)*arg2); + result = (arg1)->operator -((wxRealPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = PyInt_FromLong((long)result); + { + wxRealPoint * resultptr; + resultptr = new wxRealPoint((wxRealPoint &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1); + } return resultobj; fail: return NULL; @@ -2206,7 +2159,7 @@ static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *k } -static PyObject *_wrap_RealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; @@ -2215,11 +2168,11 @@ static PyObject *_wrap_RealPoint_asTuple(PyObject *self, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxRealPoint_asTuple(arg1); + result = (PyObject *)wxRealPoint_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2375,7 +2328,7 @@ static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kw PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail; @@ -2386,7 +2339,7 @@ static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kw } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPoint const *)arg1)->operator ==((wxPoint const &)*arg2); + result = (bool)(arg1)->operator ==((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2407,7 +2360,7 @@ static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kw PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail; @@ -2418,7 +2371,7 @@ static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kw } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxPoint const *)arg1)->operator !=((wxPoint const &)*arg2); + result = (bool)(arg1)->operator !=((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2439,7 +2392,7 @@ static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *k PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail; @@ -2450,7 +2403,7 @@ static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *k } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPoint const *)arg1)->operator +((wxPoint const &)*arg2); + result = (arg1)->operator +((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2475,7 +2428,7 @@ static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *k PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail; @@ -2486,7 +2439,7 @@ static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *k } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxPoint const *)arg1)->operator -((wxPoint const &)*arg2); + result = (arg1)->operator -((wxPoint const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2511,7 +2464,7 @@ static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject * PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail; @@ -2546,7 +2499,7 @@ static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject * PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "pt", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail; @@ -2598,7 +2551,7 @@ static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_Point_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; @@ -2607,11 +2560,11 @@ static PyObject *_wrap_Point_asTuple(PyObject *self, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxPoint_asTuple(arg1); + result = (PyObject *)wxPoint_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3275,8 +3228,8 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxRect *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3305,8 +3258,8 @@ static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxRect *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3335,8 +3288,8 @@ static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "dx",(char *) "dy", NULL @@ -3838,7 +3791,7 @@ static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_Rect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; @@ -3847,11 +3800,11 @@ static PyObject *_wrap_Rect_asTuple(PyObject *self, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxRect_asTuple(arg1); + result = (PyObject *)wxRect_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4517,86 +4470,6 @@ static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject * } -static PyObject *_wrap_Point2D_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double arg2 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "m_x", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_x_set",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1) (arg1)->m_x = arg2; - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_x_get",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (double) ((arg1)->m_x); - - resultobj = PyFloat_FromDouble(result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double arg2 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "m_y", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_y_set",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1) (arg1)->m_y = arg2; - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point2D_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint2D *arg1 = (wxPoint2D *) 0 ; - double result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_y_get",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (double) ((arg1)->m_y); - - resultobj = PyFloat_FromDouble(result); - return resultobj; - fail: - return NULL; -} - - static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint2D *arg1 = (wxPoint2D *) 0 ; @@ -4703,7 +4576,7 @@ static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwa } -static PyObject *_wrap_Point2D_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; @@ -4712,11 +4585,11 @@ static PyObject *_wrap_Point2D_asTuple(PyObject *self, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxPoint2D_asTuple(arg1); + result = (PyObject *)wxPoint2D_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5244,9 +5117,9 @@ static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwar wxFSFile *result; wxPyInputStream *temp1 ; bool created1 ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; wxDateTime *argp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -5261,31 +5134,31 @@ static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwar { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; arg5 = *argp5; @@ -5385,7 +5258,7 @@ static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -5577,7 +5450,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5589,7 +5462,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5619,7 +5492,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5636,7 +5509,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5668,7 +5541,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *arg wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5680,7 +5553,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5746,7 +5619,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *a wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5758,7 +5631,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5793,7 +5666,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObjec wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5805,7 +5678,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5840,7 +5713,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *arg wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5852,7 +5725,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5887,7 +5760,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObje wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5899,7 +5772,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5934,7 +5807,7 @@ static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyOb wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5946,7 +5819,7 @@ static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6035,8 +5908,8 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, P PyObject *resultobj; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; - bool temp2 = false ; + bool arg3 = (bool) False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6049,7 +5922,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6113,7 +5986,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObj wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6125,7 +5998,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6157,7 +6030,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6169,7 +6042,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6279,7 +6152,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -6289,7 +6162,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6330,7 +6203,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "url", NULL @@ -6340,7 +6213,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6397,7 +6270,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6409,7 +6282,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6439,7 +6312,7 @@ static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6456,7 +6329,7 @@ static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6516,7 +6389,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyOb wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6528,7 +6401,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6558,7 +6431,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyO wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6575,7 +6448,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6607,7 +6480,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6619,7 +6492,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6692,7 +6565,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObj wxString *arg1 = 0 ; wxImage *arg2 = 0 ; long arg3 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6703,7 +6576,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -6736,7 +6609,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyOb wxString *arg1 = 0 ; wxBitmap *arg2 = 0 ; long arg3 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6747,7 +6620,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -6779,7 +6652,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject PyObject *resultobj; wxString *arg1 = 0 ; PyObject *arg2 = (PyObject *) 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6790,7 +6663,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } arg2 = obj1; { @@ -6840,7 +6713,7 @@ static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -6850,7 +6723,7 @@ static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6879,7 +6752,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, P wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6891,7 +6764,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6921,7 +6794,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; wxFSFile *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6938,7 +6811,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6970,7 +6843,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, wxString *arg2 = 0 ; int arg3 = (int) 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6982,7 +6855,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7173,7 +7046,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyOb wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7185,7 +7058,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7213,7 +7086,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7225,7 +7098,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7253,7 +7126,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7265,7 +7138,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7318,7 +7191,7 @@ static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *resultobj; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7330,7 +7203,7 @@ static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7494,7 +7367,7 @@ static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwarg long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; wxImage *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type",(char *) "index", NULL @@ -7504,7 +7377,7 @@ static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwarg { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7558,8 +7431,8 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObjec wxString *arg2 = 0 ; int arg3 = (int) -1 ; wxImage *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7570,12 +7443,12 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7624,15 +7497,15 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObj { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { @@ -7665,7 +7538,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, P wxImage *result; wxPyInputStream *temp1 ; bool created1 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7676,21 +7549,21 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, P { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7726,7 +7599,7 @@ static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; int arg1 = (int) 0 ; int arg2 = (int) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; wxImage *result; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -8261,7 +8134,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -8271,7 +8144,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8300,7 +8173,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObj wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type", NULL @@ -8310,7 +8183,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8341,7 +8214,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject * long arg3 = (long) wxBITMAP_TYPE_ANY ; int arg4 = (int) -1 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8353,7 +8226,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8384,8 +8257,8 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObje wxString *arg3 = 0 ; int arg4 = (int) -1 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8398,12 +8271,12 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8441,7 +8314,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject * wxString *arg2 = 0 ; int arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8453,7 +8326,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8483,8 +8356,8 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8497,12 +8370,12 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8549,15 +8422,15 @@ static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObj { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; - created1 = false; + created1 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg1 = wxPyCBInputStream_create(obj0, false); + arg1 = wxPyCBInputStream_create(obj0, False); if (arg1 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created1 = true; + created1 = True; } } { @@ -8602,15 +8475,15 @@ static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject { if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) { arg2 = temp2->m_wxis; - created2 = false; + created2 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg2 = wxPyCBInputStream_create(obj1, false); + arg2 = wxPyCBInputStream_create(obj1, False); if (arg2 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created2 = true; + created2 = True; } } { @@ -8644,7 +8517,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyOb bool result; wxPyInputStream *temp2 ; bool created2 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8657,21 +8530,21 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyOb { if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) { arg2 = temp2->m_wxis; - created2 = false; + created2 = False; } else { PyErr_Clear(); // clear the failure of the wxPyConvert above - arg2 = wxPyCBInputStream_create(obj1, false); + arg2 = wxPyCBInputStream_create(obj1, False); if (arg2 == NULL) { PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object."); SWIG_fail; } - created2 = true; + created2 = True; } } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9197,7 +9070,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9254,7 +9127,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kw wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; wxPoint *arg5 = (wxPoint *) NULL ; SwigValueWrapper< wxImage > result; wxPoint temp3 ; @@ -9300,7 +9173,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; SwigValueWrapper< wxImage > result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9335,7 +9208,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxImage *arg1 = (wxImage *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; SwigValueWrapper< wxImage > result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9461,8 +9334,8 @@ static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9475,12 +9348,12 @@ static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9517,7 +9390,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObje wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9529,7 +9402,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9558,7 +9431,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9570,7 +9443,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9605,7 +9478,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObje wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9617,7 +9490,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9646,7 +9519,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9658,7 +9531,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9796,7 +9669,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -9806,7 +9679,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11029,7 +10902,7 @@ static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEvent *arg1 = (wxEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11359,7 +11232,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, Py PyObject *resultobj; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11371,7 +11244,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12787,7 +12660,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *a static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12797,7 +12670,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxMouseEvent const *)arg1)->GetX(); + result = (int)((wxMouseEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12812,7 +12685,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12822,7 +12695,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxMouseEvent const *)arg1)->GetY(); + result = (int)((wxMouseEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12937,7 +12810,7 @@ static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, P static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_x", NULL @@ -12957,7 +12830,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12965,7 +12838,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_x); + result = (int) ((arg1)->m_x); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -12977,7 +12850,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_y", NULL @@ -12997,7 +12870,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13005,7 +12878,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_y); + result = (int) ((arg1)->m_y); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -13444,8 +13317,8 @@ static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxCoord arg1 = (wxCoord) 0 ; - wxCoord arg2 = (wxCoord) 0 ; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; wxSetCursorEvent *result; char *kwnames[] = { (char *) "x",(char *) "y", NULL @@ -13469,7 +13342,7 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13479,7 +13352,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetX(); + result = (int)((wxSetCursorEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13494,7 +13367,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13504,7 +13377,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetY(); + result = (int)((wxSetCursorEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13807,7 +13680,7 @@ static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13817,7 +13690,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyCode(); + result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13832,7 +13705,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13842,7 +13715,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyFlags(); + result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13924,7 +13797,7 @@ static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13934,7 +13807,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *k if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxKeyEvent const *)arg1)->GetX(); + result = (int)((wxKeyEvent const *)arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13949,7 +13822,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13959,7 +13832,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *k if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxKeyEvent const *)arg1)->GetY(); + result = (int)((wxKeyEvent const *)arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13974,7 +13847,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_x", NULL @@ -13994,7 +13867,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14002,7 +13875,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_x); + result = (int) ((arg1)->m_x); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14014,7 +13887,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "m_y", NULL @@ -14034,7 +13907,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14042,7 +13915,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxCoord) ((arg1)->m_y); + result = (int) ((arg1)->m_y); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14309,7 +14182,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, P static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 arg2 ; + unsigned int arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14318,7 +14191,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = (wxUint32) PyInt_AsLong(obj1); + arg2 = (unsigned int) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; if (arg1) (arg1)->m_rawCode = arg2; @@ -14332,7 +14205,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14340,7 +14213,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxUint32) ((arg1)->m_rawCode); + result = (unsigned int) ((arg1)->m_rawCode); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -14352,7 +14225,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 arg2 ; + unsigned int arg2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14361,7 +14234,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = (wxUint32) PyInt_AsLong(obj1); + arg2 = (unsigned int) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; if (arg1) (arg1)->m_rawFlags = arg2; @@ -14375,7 +14248,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, P static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; - wxUint32 result; + unsigned int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -14383,7 +14256,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (wxUint32) ((arg1)->m_rawFlags); + result = (unsigned int) ((arg1)->m_rawFlags); resultobj = PyInt_FromLong((long)result); return resultobj; @@ -15150,7 +15023,7 @@ static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; int arg3 = (int) 0 ; wxActivateEvent *result; PyObject * obj1 = 0 ; @@ -15432,7 +15305,7 @@ static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15547,7 +15420,7 @@ static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; int arg1 = (int) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxShowEvent *result; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15636,7 +15509,7 @@ static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; int arg1 = (int) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxIconizeEvent *result; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15812,7 +15685,7 @@ static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxUpdateUIEvent *result; char *kwnames[] = { (char *) "commandId", NULL @@ -16049,7 +15922,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16061,7 +15934,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16257,7 +16130,7 @@ static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *a } static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; PyObject * obj1 = 0 ; @@ -16348,7 +16221,7 @@ static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *arg } static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxPaletteChangedEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -16432,7 +16305,7 @@ static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *arg } static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; char *kwnames[] = { (char *) "winid", NULL @@ -16827,7 +16700,7 @@ static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; - wxWindowID arg2 = (wxWindowID) 0 ; + int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxContextMenuEvent *result; @@ -16949,7 +16822,7 @@ static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17404,7 +17277,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17416,7 +17289,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17475,7 +17348,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17487,7 +17360,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17543,7 +17416,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -17555,7 +17428,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -17631,7 +17504,7 @@ static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyApp *arg1 = (wxPyApp *) 0 ; - bool arg2 = (bool) false ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18390,7 +18263,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL @@ -18400,7 +18273,7 @@ static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *a { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18545,7 +18418,7 @@ static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) NULL ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18671,10 +18544,30 @@ static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) } +static int _wrap_PanelNameStr_set(PyObject *_val) { + PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only."); + return 1; +} + + +static PyObject *_wrap_PanelNameStr_get() { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len()); +#endif + } + return pyobj; +} + + static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -18685,7 +18578,7 @@ static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwar wxWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -18712,7 +18605,7 @@ static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwar { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -18767,7 +18660,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -18778,7 +18671,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -18807,7 +18700,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -18835,7 +18728,7 @@ static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18942,7 +18835,7 @@ static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18954,7 +18847,7 @@ static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19013,7 +18906,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -19025,7 +18918,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19084,7 +18977,7 @@ static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -19096,7 +18989,7 @@ static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -19154,7 +19047,7 @@ static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "winid", NULL @@ -19179,7 +19072,7 @@ static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -19189,7 +19082,7 @@ static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kw if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindowID)((wxWindow const *)arg1)->GetId(); + result = (int)((wxWindow const *)arg1)->GetId(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19595,7 +19488,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObje if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetPosition(); + result = (arg1)->GetPosition(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19629,7 +19522,7 @@ static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxWindow const *)arg1)->GetPosition(arg2,arg3); + (arg1)->GetPosition(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20432,7 +20325,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -20488,7 +20381,7 @@ static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -20795,7 +20688,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21325,7 +21218,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, P wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21337,7 +21230,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21447,7 +21340,7 @@ static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, P static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxEvtHandler *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22013,7 +21906,7 @@ static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxRect *arg3 = (wxRect *) NULL ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -22700,7 +22593,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ; - bool temp2 = false ; + bool temp2 = False ; int temp3 ; int temp4 ; PyObject * obj0 = 0 ; @@ -22716,7 +22609,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22757,7 +22650,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, int *arg5 = (int *) 0 ; int *arg6 = (int *) 0 ; wxFont *arg7 = (wxFont *) NULL ; - bool temp2 = false ; + bool temp2 = False ; int temp3 ; int temp4 ; int temp5 ; @@ -22778,7 +22671,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -22992,8 +22885,8 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyO static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23277,7 +23170,7 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObj int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) TRUE ; + bool arg6 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -23309,7 +23202,7 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObj wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -23601,7 +23494,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23613,7 +23506,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23641,7 +23534,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, P PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23653,7 +23546,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23712,7 +23605,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, P PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23724,7 +23617,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -24016,7 +23909,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24049,7 +23942,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24201,7 +24094,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24212,7 +24105,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -24246,7 +24139,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObjec wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -24257,7 +24150,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -24521,7 +24414,7 @@ static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - int arg1 = (int) TRUE ; + int arg1 = (int) True ; char *kwnames[] = { (char *) "doIt", NULL }; @@ -24575,7 +24468,7 @@ static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *ar wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; - int arg4 = (int) TRUE ; + int arg4 = (int) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24628,7 +24521,7 @@ static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; wxMenu *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title",(char *) "style", NULL @@ -24639,7 +24532,7 @@ static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -24674,8 +24567,8 @@ static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxITEM_NORMAL ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24688,13 +24581,13 @@ static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwa { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24758,8 +24651,8 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyOb wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24772,13 +24665,13 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24818,8 +24711,8 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyOb wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24832,13 +24725,13 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -24879,8 +24772,8 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg4 = (wxMenu *) 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp3 = false ; - bool temp5 = false ; + bool temp3 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -24894,14 +24787,14 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25026,8 +24919,8 @@ static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; int arg6 = (int) wxITEM_NORMAL ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25043,13 +24936,13 @@ static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwa { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25118,8 +25011,8 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyOb wxString *arg4 = 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25135,13 +25028,13 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25182,8 +25075,8 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyOb wxString *arg4 = 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp4 = false ; - bool temp5 = false ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25199,13 +25092,13 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25247,8 +25140,8 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg5 = (wxMenu *) 0 ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; - bool temp4 = false ; - bool temp6 = false ; + bool temp4 = False ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -25265,14 +25158,14 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj5) { { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -25340,8 +25233,8 @@ static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kw wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxITEM_NORMAL ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25354,13 +25247,13 @@ static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25424,8 +25317,8 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25438,13 +25331,13 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25484,8 +25377,8 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25498,13 +25391,13 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -25545,8 +25438,8 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject wxMenu *arg4 = (wxMenu *) 0 ; wxString const &arg5_defvalue = wxPyEmptyString ; wxString *arg5 = (wxString *) &arg5_defvalue ; - bool temp3 = false ; - bool temp5 = false ; + bool temp3 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -25560,14 +25453,14 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -25845,7 +25738,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *k wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -25857,7 +25750,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26055,7 +25948,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *k wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -26067,7 +25960,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26128,7 +26021,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObje wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -26140,7 +26033,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26200,7 +26093,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -26212,7 +26105,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26624,7 +26517,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject * wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26638,7 +26531,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26669,7 +26562,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject * wxMenu *arg3 = (wxMenu *) 0 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26686,7 +26579,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject * { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26773,7 +26666,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject wxMenu *arg3 = (wxMenu *) 0 ; wxString *arg4 = 0 ; wxMenu *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26790,7 +26683,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26913,7 +26806,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObj wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26928,7 +26821,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObj { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26993,8 +26886,8 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; wxString *arg3 = 0 ; int result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27007,12 +26900,12 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27077,7 +26970,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -27089,7 +26982,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27228,7 +27121,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -27240,7 +27133,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27301,7 +27194,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyO wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -27313,7 +27206,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27490,8 +27383,8 @@ static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kw int arg5 = (int) wxITEM_NORMAL ; wxMenu *arg6 = (wxMenu *) NULL ; wxMenuItem *result; - bool temp3 = false ; - bool temp4 = false ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -27508,14 +27401,14 @@ static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kw { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj5) { @@ -27686,7 +27579,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -27698,7 +27591,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27785,7 +27678,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -27795,7 +27688,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27985,7 +27878,7 @@ static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28040,7 +27933,7 @@ static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28120,7 +28013,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28132,7 +28025,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28612,7 +28505,7 @@ static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyO static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMenuItem *arg1 = (wxMenuItem *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28731,7 +28624,7 @@ static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -28744,7 +28637,7 @@ static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwa wxControl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -28778,7 +28671,7 @@ static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwa { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -28833,7 +28726,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -28846,7 +28739,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -28882,7 +28775,7 @@ static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject * { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -28972,7 +28865,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28984,7 +28877,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -29021,7 +28914,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -29034,7 +28927,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = obj2; @@ -29119,7 +29012,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyOb int arg3 ; PyObject *arg4 = (PyObject *) NULL ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -29132,7 +29025,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { arg4 = obj3; @@ -29322,7 +29215,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, P wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -29334,7 +29227,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -29363,7 +29256,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -29375,7 +29268,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30633,8 +30526,8 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; - wxSize arg3 ; - wxSize *argp3 ; + wxSize *arg3 = 0 ; + wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -30645,11 +30538,13 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; arg2 = obj1; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + arg3 = &temp3; + if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxSizer__SetItemMinSize(arg1,arg2,arg3); + wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -31083,7 +30978,7 @@ static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -31163,7 +31058,7 @@ static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -32166,6 +32061,78 @@ static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyOb } +static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; + wxArrayInt *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights(); + result = (wxArrayInt *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = PyList_New(0); + size_t idx; + for (idx = 0; idx < result->GetCount(); idx += 1) { + PyObject* val = PyInt_FromLong( result->Item(idx) ); + PyList_Append(resultobj, val); + Py_DECREF(val); + } + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; + wxArrayInt *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths(); + result = (wxArrayInt *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = PyList_New(0); + size_t idx; + for (idx = 0; idx < result->GetCount(); idx += 1) { + PyObject* val = PyInt_FromLong( result->Item(idx) ); + PyList_Append(resultobj, val); + Py_DECREF(val); + } + } + return resultobj; + fail: + return NULL; +} + + static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -32361,7 +32328,33 @@ static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObjec } -static PyObject *_wrap_GBPosition_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGBPosition *arg1 = (wxGBPosition *) 0 ; + int arg2 = (int) 0 ; + int arg3 = (int) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "row",(char *) "col", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxGBPosition_Set(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; @@ -32370,11 +32363,11 @@ static PyObject *_wrap_GBPosition_asTuple(PyObject *self, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxGBPosition_asTuple(arg1); + result = (PyObject *)wxGBPosition_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -32581,7 +32574,33 @@ static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *k } -static PyObject *_wrap_GBSpan_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGBSpan *arg1 = (wxGBSpan *) 0 ; + int arg2 = (int) 1 ; + int arg3 = (int) 1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "rowspan",(char *) "colspan", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxGBSpan_Set(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; @@ -32590,11 +32609,11 @@ static PyObject *_wrap_GBSpan_asTuple(PyObject *self, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_asTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxGBSpan_asTuple(arg1); + result = (PyObject *)wxGBSpan_Get(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -34188,6 +34207,38 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject } +static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; + wxPoint *arg2 = 0 ; + wxGBSizerItem *result; + wxPoint temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; @@ -35414,9 +35465,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_GetX", (PyCFunction) _wrap_Size_GetX, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_GetY", (PyCFunction) _wrap_Size_GetY, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Size_asTuple", (PyCFunction) _wrap_Size_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS }, { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS }, @@ -35424,12 +35473,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS }, { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"RealPoint_asTuple", (PyCFunction) _wrap_RealPoint_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS }, { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS }, @@ -35444,7 +35493,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point_asTuple", (PyCFunction) _wrap_Point_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS }, { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS }, @@ -35491,7 +35540,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Rect_asTuple", (PyCFunction) _wrap_Rect_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS }, { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS }, @@ -35514,16 +35563,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_x_set", (PyCFunction) _wrap_Point2D_m_x_set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_x_get", (PyCFunction) _wrap_Point2D_m_x_get, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_y_set", (PyCFunction) _wrap_Point2D_m_y_set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_m_y_get", (PyCFunction) _wrap_Point2D_m_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"Point2D_asTuple", (PyCFunction) _wrap_Point2D_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS }, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS }, { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS }, @@ -36516,6 +36561,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS }, + { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS }, { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS }, { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS }, @@ -36524,7 +36571,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"GBPosition_asTuple", (PyCFunction) _wrap_GBPosition_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS }, { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS }, @@ -36533,7 +36581,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS }, - { (char *)"GBSpan_asTuple", (PyCFunction) _wrap_GBSpan_asTuple, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS }, { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS }, { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS }, @@ -36559,6 +36608,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS }, { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS }, { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS }, + { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, @@ -38261,6 +38311,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); + SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); diff --git a/wxPython/src/msw/gdi.py b/wxPython/src/msw/gdi.py index 404d6a2ce7..dcc04ca2c7 100644 --- a/wxPython/src/msw/gdi.py +++ b/wxPython/src/msw/gdi.py @@ -8,20 +8,33 @@ wx = core #--------------------------------------------------------------------------- class GDIObject(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GDIObject""" newobj = _gdi.new_GDIObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_GDIObject): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetVisible(*args, **kwargs): return _gdi.GDIObject_GetVisible(*args, **kwargs) - def SetVisible(*args, **kwargs): return _gdi.GDIObject_SetVisible(*args, **kwargs) - def IsNull(*args, **kwargs): return _gdi.GDIObject_IsNull(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetVisible(*args, **kwargs): + """GetVisible() -> bool""" + return _gdi.GDIObject_GetVisible(*args, **kwargs) + + def SetVisible(*args, **kwargs): + """SetVisible(bool visible)""" + return _gdi.GDIObject_SetVisible(*args, **kwargs) + + def IsNull(*args, **kwargs): + """IsNull() -> bool""" + return _gdi.GDIObject_IsNull(*args, **kwargs) + class GDIObjectPtr(GDIObject): def __init__(self, this): @@ -33,24 +46,57 @@ _gdi.GDIObject_swigregister(GDIObjectPtr) #--------------------------------------------------------------------------- class Colour(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour""" newobj = _gdi.new_Colour(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Colour): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Red(*args, **kwargs): return _gdi.Colour_Red(*args, **kwargs) - def Green(*args, **kwargs): return _gdi.Colour_Green(*args, **kwargs) - def Blue(*args, **kwargs): return _gdi.Colour_Blue(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Colour_Ok(*args, **kwargs) - def Set(*args, **kwargs): return _gdi.Colour_Set(*args, **kwargs) - def SetRBG(*args, **kwargs): return _gdi.Colour_SetRBG(*args, **kwargs) - def __eq__(*args, **kwargs): return _gdi.Colour___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _gdi.Colour___ne__(*args, **kwargs) - def Get(*args, **kwargs): return _gdi.Colour_Get(*args, **kwargs) + + def Red(*args, **kwargs): + """Red() -> unsigned char""" + return _gdi.Colour_Red(*args, **kwargs) + + def Green(*args, **kwargs): + """Green() -> unsigned char""" + return _gdi.Colour_Green(*args, **kwargs) + + def Blue(*args, **kwargs): + """Blue() -> unsigned char""" + return _gdi.Colour_Blue(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Colour_Ok(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(unsigned char red, unsigned char green, unsigned char blue)""" + return _gdi.Colour_Set(*args, **kwargs) + + def SetRBG(*args, **kwargs): + """SetRBG(unsigned long colRGB)""" + return _gdi.Colour_SetRBG(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(Colour colour) -> bool""" + return _gdi.Colour___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(Colour colour) -> bool""" + return _gdi.Colour___ne__(*args, **kwargs) + + def Get(*args, **kwargs): + """Get() -> PyObject""" + return _gdi.Colour_Get(*args, **kwargs) + asTuple = Get def __str__(self): return str(self.asTuple()) def __repr__(self): return 'wxColour' + str(self.asTuple()) @@ -68,30 +114,45 @@ class ColourPtr(Colour): _gdi.Colour_swigregister(ColourPtr) def NamedColour(*args, **kwargs): + """NamedColour(wxString colorName) -> Colour""" val = _gdi.new_NamedColour(*args, **kwargs) val.thisown = 1 return val def ColourRGB(*args, **kwargs): + """ColourRGB(unsigned long colRGB) -> Colour""" val = _gdi.new_ColourRGB(*args, **kwargs) val.thisown = 1 return val class Palette(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette""" newobj = _gdi.new_Palette(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Palette): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPixel(*args, **kwargs): return _gdi.Palette_GetPixel(*args, **kwargs) - def GetRGB(*args, **kwargs): return _gdi.Palette_GetRGB(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Palette_Ok(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPixel(*args, **kwargs): + """GetPixel(byte red, byte green, byte blue) -> int""" + return _gdi.Palette_GetPixel(*args, **kwargs) + + def GetRGB(*args, **kwargs): + """GetRGB(int pixel, byte OUTPUT, byte OUTPUT, byte OUTPUT) -> bool""" + return _gdi.Palette_GetRGB(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Palette_Ok(*args, **kwargs) + class PalettePtr(Palette): def __init__(self, this): @@ -103,33 +164,82 @@ _gdi.Palette_swigregister(PalettePtr) #--------------------------------------------------------------------------- class Pen(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int width=1, int style=SOLID) -> Pen""" newobj = _gdi.new_Pen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Pen): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetCap(*args, **kwargs): return _gdi.Pen_GetCap(*args, **kwargs) - def GetColour(*args, **kwargs): return _gdi.Pen_GetColour(*args, **kwargs) - def GetJoin(*args, **kwargs): return _gdi.Pen_GetJoin(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Pen_GetStyle(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Pen_GetWidth(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Pen_Ok(*args, **kwargs) - def SetCap(*args, **kwargs): return _gdi.Pen_SetCap(*args, **kwargs) - def SetColour(*args, **kwargs): return _gdi.Pen_SetColour(*args, **kwargs) - def SetJoin(*args, **kwargs): return _gdi.Pen_SetJoin(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Pen_SetStyle(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Pen_SetWidth(*args, **kwargs) - def SetDashes(*args, **kwargs): return _gdi.Pen_SetDashes(*args, **kwargs) - def GetDashes(*args, **kwargs): return _gdi.Pen_GetDashes(*args, **kwargs) - def GetStipple(*args, **kwargs): return _gdi.Pen_GetStipple(*args, **kwargs) - def SetStipple(*args, **kwargs): return _gdi.Pen_SetStipple(*args, **kwargs) + + def GetCap(*args, **kwargs): + """GetCap() -> int""" + return _gdi.Pen_GetCap(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> Colour""" + return _gdi.Pen_GetColour(*args, **kwargs) + + def GetJoin(*args, **kwargs): + """GetJoin() -> int""" + return _gdi.Pen_GetJoin(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Pen_GetStyle(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Pen_GetWidth(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Pen_Ok(*args, **kwargs) + + def SetCap(*args, **kwargs): + """SetCap(int cap_style)""" + return _gdi.Pen_SetCap(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(Colour colour)""" + return _gdi.Pen_SetColour(*args, **kwargs) + + def SetJoin(*args, **kwargs): + """SetJoin(int join_style)""" + return _gdi.Pen_SetJoin(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Pen_SetStyle(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _gdi.Pen_SetWidth(*args, **kwargs) + + def SetDashes(*args, **kwargs): + """SetDashes(int dashes, wxDash dashes_array)""" + return _gdi.Pen_SetDashes(*args, **kwargs) + + def GetDashes(*args, **kwargs): + """GetDashes() -> PyObject""" + return _gdi.Pen_GetDashes(*args, **kwargs) + + def GetStipple(*args, **kwargs): + """GetStipple() -> Bitmap""" + return _gdi.Pen_GetStipple(*args, **kwargs) + + def SetStipple(*args, **kwargs): + """SetStipple(Bitmap stipple)""" + return _gdi.Pen_SetStipple(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PenPtr(Pen): def __init__(self, this): @@ -139,18 +249,25 @@ class PenPtr(Pen): _gdi.Pen_swigregister(PenPtr) class PyPen(Pen): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int width=1, int style=SOLID) -> PyPen""" newobj = _gdi.new_PyPen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_PyPen): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetDashes(*args, **kwargs): return _gdi.PyPen_SetDashes(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetDashes(*args, **kwargs): + """SetDashes(int dashes, wxDash dashes_array)""" + return _gdi.PyPen_SetDashes(*args, **kwargs) + class PyPenPtr(PyPen): def __init__(self, this): @@ -163,25 +280,50 @@ Pen = PyPen #--------------------------------------------------------------------------- class Brush(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Colour colour, int style=SOLID) -> Brush""" newobj = _gdi.new_Brush(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Brush): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetColour(*args, **kwargs): return _gdi.Brush_SetColour(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Brush_SetStyle(*args, **kwargs) - def SetStipple(*args, **kwargs): return _gdi.Brush_SetStipple(*args, **kwargs) - def GetColour(*args, **kwargs): return _gdi.Brush_GetColour(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Brush_GetStyle(*args, **kwargs) - def GetStipple(*args, **kwargs): return _gdi.Brush_GetStipple(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Brush_Ok(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(Colour col)""" + return _gdi.Brush_SetColour(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Brush_SetStyle(*args, **kwargs) + + def SetStipple(*args, **kwargs): + """SetStipple(Bitmap stipple)""" + return _gdi.Brush_SetStipple(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> Colour""" + return _gdi.Brush_GetColour(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Brush_GetStyle(*args, **kwargs) + + def GetStipple(*args, **kwargs): + """GetStipple() -> Bitmap""" + return _gdi.Brush_GetStipple(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Brush_Ok(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BrushPtr(Brush): def __init__(self, this): @@ -191,39 +333,106 @@ class BrushPtr(Brush): _gdi.Brush_swigregister(BrushPtr) class Bitmap(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap""" newobj = _gdi.new_Bitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Bitmap): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetPalette(*args, **kwargs): return _gdi.Bitmap_SetPalette(*args, **kwargs) - def GetHandle(*args, **kwargs): return _gdi.Bitmap_GetHandle(*args, **kwargs) - def SetHandle(*args, **kwargs): return _gdi.Bitmap_SetHandle(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Bitmap_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Bitmap_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.Bitmap_GetHeight(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.Bitmap_GetDepth(*args, **kwargs) - def ConvertToImage(*args, **kwargs): return _gdi.Bitmap_ConvertToImage(*args, **kwargs) - def GetMask(*args, **kwargs): return _gdi.Bitmap_GetMask(*args, **kwargs) - def SetMask(*args, **kwargs): return _gdi.Bitmap_SetMask(*args, **kwargs) - def SetMaskColour(*args, **kwargs): return _gdi.Bitmap_SetMaskColour(*args, **kwargs) - def GetSubBitmap(*args, **kwargs): return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) - def SaveFile(*args, **kwargs): return _gdi.Bitmap_SaveFile(*args, **kwargs) - def LoadFile(*args, **kwargs): return _gdi.Bitmap_LoadFile(*args, **kwargs) - def CopyFromIcon(*args, **kwargs): return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) - def SetHeight(*args, **kwargs): return _gdi.Bitmap_SetHeight(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Bitmap_SetWidth(*args, **kwargs) - def SetDepth(*args, **kwargs): return _gdi.Bitmap_SetDepth(*args, **kwargs) - def CopyFromCursor(*args, **kwargs): return _gdi.Bitmap_CopyFromCursor(*args, **kwargs) - def GetQuality(*args, **kwargs): return _gdi.Bitmap_GetQuality(*args, **kwargs) - def SetQuality(*args, **kwargs): return _gdi.Bitmap_SetQuality(*args, **kwargs) + + def SetPalette(*args, **kwargs): + """SetPalette(Palette palette)""" + return _gdi.Bitmap_SetPalette(*args, **kwargs) + + def GetHandle(*args, **kwargs): + """GetHandle() -> long""" + return _gdi.Bitmap_GetHandle(*args, **kwargs) + + def SetHandle(*args, **kwargs): + """SetHandle(long handle)""" + return _gdi.Bitmap_SetHandle(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Bitmap_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Bitmap_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.Bitmap_GetHeight(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.Bitmap_GetDepth(*args, **kwargs) + + def ConvertToImage(*args, **kwargs): + """ConvertToImage() -> Image""" + return _gdi.Bitmap_ConvertToImage(*args, **kwargs) + + def GetMask(*args, **kwargs): + """GetMask() -> Mask""" + return _gdi.Bitmap_GetMask(*args, **kwargs) + + def SetMask(*args, **kwargs): + """SetMask(Mask mask)""" + return _gdi.Bitmap_SetMask(*args, **kwargs) + + def SetMaskColour(*args, **kwargs): + """SetMaskColour(Colour colour)""" + return _gdi.Bitmap_SetMaskColour(*args, **kwargs) + + def GetSubBitmap(*args, **kwargs): + """GetSubBitmap(Rect rect) -> Bitmap""" + return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) + + def SaveFile(*args, **kwargs): + """SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool""" + return _gdi.Bitmap_SaveFile(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString name, wxBitmapType type) -> bool""" + return _gdi.Bitmap_LoadFile(*args, **kwargs) + + def CopyFromIcon(*args, **kwargs): + """CopyFromIcon(Icon icon) -> bool""" + return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int height)""" + return _gdi.Bitmap_SetHeight(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _gdi.Bitmap_SetWidth(*args, **kwargs) + + def SetDepth(*args, **kwargs): + """SetDepth(int depth)""" + return _gdi.Bitmap_SetDepth(*args, **kwargs) + + def CopyFromCursor(*args, **kwargs): + """CopyFromCursor(Cursor cursor) -> bool""" + return _gdi.Bitmap_CopyFromCursor(*args, **kwargs) + + def GetQuality(*args, **kwargs): + """GetQuality() -> int""" + return _gdi.Bitmap_GetQuality(*args, **kwargs) + + def SetQuality(*args, **kwargs): + """SetQuality(int q)""" + return _gdi.Bitmap_SetQuality(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BitmapPtr(Bitmap): def __init__(self, this): @@ -233,38 +442,45 @@ class BitmapPtr(Bitmap): _gdi.Bitmap_swigregister(BitmapPtr) def EmptyBitmap(*args, **kwargs): + """EmptyBitmap(int width, int height, int depth=-1) -> Bitmap""" val = _gdi.new_EmptyBitmap(*args, **kwargs) val.thisown = 1 return val def BitmapFromIcon(*args, **kwargs): + """BitmapFromIcon(Icon icon) -> Bitmap""" val = _gdi.new_BitmapFromIcon(*args, **kwargs) val.thisown = 1 return val def BitmapFromImage(*args, **kwargs): + """BitmapFromImage(Image image, int depth=-1) -> Bitmap""" val = _gdi.new_BitmapFromImage(*args, **kwargs) val.thisown = 1 return val def BitmapFromXPMData(*args, **kwargs): + """BitmapFromXPMData(PyObject listOfStrings) -> Bitmap""" val = _gdi.new_BitmapFromXPMData(*args, **kwargs) val.thisown = 1 return val def BitmapFromBits(*args, **kwargs): + """BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap""" val = _gdi.new_BitmapFromBits(*args, **kwargs) val.thisown = 1 return val class Mask(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Bitmap bitmap) -> Mask""" newobj = _gdi.new_Mask(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MaskPtr(Mask): def __init__(self, this): @@ -274,35 +490,76 @@ class MaskPtr(Mask): _gdi.Mask_swigregister(MaskPtr) def MaskColour(*args, **kwargs): + """MaskColour(Bitmap bitmap, Colour colour) -> Mask""" val = _gdi.new_MaskColour(*args, **kwargs) val.thisown = 1 return val class Icon(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, long flags, int desiredWidth=-1, int desiredHeight=-1) -> Icon""" newobj = _gdi.new_Icon(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Icon): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def LoadFile(*args, **kwargs): return _gdi.Icon_LoadFile(*args, **kwargs) - def GetHandle(*args, **kwargs): return _gdi.Icon_GetHandle(*args, **kwargs) - def SetHandle(*args, **kwargs): return _gdi.Icon_SetHandle(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Icon_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Icon_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.Icon_GetHeight(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.Icon_GetDepth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Icon_SetWidth(*args, **kwargs) - def SetHeight(*args, **kwargs): return _gdi.Icon_SetHeight(*args, **kwargs) - def SetDepth(*args, **kwargs): return _gdi.Icon_SetDepth(*args, **kwargs) - def SetSize(*args, **kwargs): return _gdi.Icon_SetSize(*args, **kwargs) - def CopyFromBitmap(*args, **kwargs): return _gdi.Icon_CopyFromBitmap(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString name, long flags) -> bool""" + return _gdi.Icon_LoadFile(*args, **kwargs) + + def GetHandle(*args, **kwargs): + """GetHandle() -> long""" + return _gdi.Icon_GetHandle(*args, **kwargs) + + def SetHandle(*args, **kwargs): + """SetHandle(long handle)""" + return _gdi.Icon_SetHandle(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Icon_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Icon_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.Icon_GetHeight(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.Icon_GetDepth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _gdi.Icon_SetWidth(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _gdi.Icon_SetHeight(*args, **kwargs) + + def SetDepth(*args, **kwargs): + """SetDepth(int d)""" + return _gdi.Icon_SetDepth(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _gdi.Icon_SetSize(*args, **kwargs) + + def CopyFromBitmap(*args, **kwargs): + """CopyFromBitmap(Bitmap bmp)""" + return _gdi.Icon_CopyFromBitmap(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class IconPtr(Icon): def __init__(self, this): @@ -312,43 +569,66 @@ class IconPtr(Icon): _gdi.Icon_swigregister(IconPtr) def EmptyIcon(*args, **kwargs): + """EmptyIcon() -> Icon""" val = _gdi.new_EmptyIcon(*args, **kwargs) val.thisown = 1 return val def IconFromLocation(*args, **kwargs): + """IconFromLocation(IconLocation loc) -> Icon""" val = _gdi.new_IconFromLocation(*args, **kwargs) val.thisown = 1 return val def IconFromBitmap(*args, **kwargs): + """IconFromBitmap(Bitmap bmp) -> Icon""" val = _gdi.new_IconFromBitmap(*args, **kwargs) val.thisown = 1 return val def IconFromXPMData(*args, **kwargs): + """IconFromXPMData(PyObject listOfStrings) -> Icon""" val = _gdi.new_IconFromXPMData(*args, **kwargs) val.thisown = 1 return val class IconLocation(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=&wxPyEmptyString, int num=0) -> IconLocation""" newobj = _gdi.new_IconLocation(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_IconLocation): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _gdi.IconLocation_IsOk(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _gdi.IconLocation_IsOk(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def SetFileName(*args, **kwargs): return _gdi.IconLocation_SetFileName(*args, **kwargs) - def GetFileName(*args, **kwargs): return _gdi.IconLocation_GetFileName(*args, **kwargs) - def SetIndex(*args, **kwargs): return _gdi.IconLocation_SetIndex(*args, **kwargs) - def GetIndex(*args, **kwargs): return _gdi.IconLocation_GetIndex(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFileName(*args, **kwargs): + """SetFileName(wxString filename)""" + return _gdi.IconLocation_SetFileName(*args, **kwargs) + + def GetFileName(*args, **kwargs): + """GetFileName() -> wxString""" + return _gdi.IconLocation_GetFileName(*args, **kwargs) + + def SetIndex(*args, **kwargs): + """SetIndex(int num)""" + return _gdi.IconLocation_SetIndex(*args, **kwargs) + + def GetIndex(*args, **kwargs): + """GetIndex() -> int""" + return _gdi.IconLocation_GetIndex(*args, **kwargs) + class IconLocationPtr(IconLocation): def __init__(self, this): @@ -358,20 +638,33 @@ class IconLocationPtr(IconLocation): _gdi.IconLocation_swigregister(IconLocationPtr) class IconBundle(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> IconBundle""" newobj = _gdi.new_IconBundle(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_IconBundle): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def AddIcon(*args, **kwargs): return _gdi.IconBundle_AddIcon(*args, **kwargs) - def AddIconFromFile(*args, **kwargs): return _gdi.IconBundle_AddIconFromFile(*args, **kwargs) - def GetIcon(*args, **kwargs): return _gdi.IconBundle_GetIcon(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def AddIcon(*args, **kwargs): + """AddIcon(Icon icon)""" + return _gdi.IconBundle_AddIcon(*args, **kwargs) + + def AddIconFromFile(*args, **kwargs): + """AddIconFromFile(wxString file, long type)""" + return _gdi.IconBundle_AddIconFromFile(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon(Size size) -> Icon""" + return _gdi.IconBundle_GetIcon(*args, **kwargs) + class IconBundlePtr(IconBundle): def __init__(self, this): @@ -381,38 +674,74 @@ class IconBundlePtr(IconBundle): _gdi.IconBundle_swigregister(IconBundlePtr) def IconBundleFromFile(*args, **kwargs): + """IconBundleFromFile(wxString file, long type) -> IconBundle""" val = _gdi.new_IconBundleFromFile(*args, **kwargs) val.thisown = 1 return val def IconBundleFromIcon(*args, **kwargs): + """IconBundleFromIcon(Icon icon) -> IconBundle""" val = _gdi.new_IconBundleFromIcon(*args, **kwargs) val.thisown = 1 return val class Cursor(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString cursorName, long flags, int hotSpotX=0, int hotSpotY=0) -> Cursor""" newobj = _gdi.new_Cursor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Cursor): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetHandle(*args, **kwargs): return _gdi.Cursor_GetHandle(*args, **kwargs) - def SetHandle(*args, **kwargs): return _gdi.Cursor_SetHandle(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.Cursor_Ok(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.Cursor_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.Cursor_GetHeight(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.Cursor_GetDepth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _gdi.Cursor_SetWidth(*args, **kwargs) - def SetHeight(*args, **kwargs): return _gdi.Cursor_SetHeight(*args, **kwargs) - def SetDepth(*args, **kwargs): return _gdi.Cursor_SetDepth(*args, **kwargs) - def SetSize(*args, **kwargs): return _gdi.Cursor_SetSize(*args, **kwargs) + + def GetHandle(*args, **kwargs): + """GetHandle() -> long""" + return _gdi.Cursor_GetHandle(*args, **kwargs) + + def SetHandle(*args, **kwargs): + """SetHandle(long handle)""" + return _gdi.Cursor_SetHandle(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Cursor_Ok(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.Cursor_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.Cursor_GetHeight(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.Cursor_GetDepth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int w)""" + return _gdi.Cursor_SetWidth(*args, **kwargs) + + def SetHeight(*args, **kwargs): + """SetHeight(int h)""" + return _gdi.Cursor_SetHeight(*args, **kwargs) + + def SetDepth(*args, **kwargs): + """SetDepth(int d)""" + return _gdi.Cursor_SetDepth(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _gdi.Cursor_SetSize(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class CursorPtr(Cursor): def __init__(self, this): @@ -422,16 +751,20 @@ class CursorPtr(Cursor): _gdi.Cursor_swigregister(CursorPtr) def StockCursor(*args, **kwargs): + """StockCursor(int id) -> Cursor""" val = _gdi.new_StockCursor(*args, **kwargs) val.thisown = 1 return val def CursorFromImage(*args, **kwargs): + """CursorFromImage(Image image) -> Cursor""" val = _gdi.new_CursorFromImage(*args, **kwargs) val.thisown = 1 return val def CursorFromBits(*args, **kwargs): + """CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, + int hotSpotY=-1, PyObject maskBits=0) -> Cursor""" val = _gdi.new_CursorFromBits(*args, **kwargs) val.thisown = 1 return val @@ -442,39 +775,109 @@ OutRegion = _gdi.OutRegion PartRegion = _gdi.PartRegion InRegion = _gdi.InRegion class Region(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int x=0, int y=0, int width=0, int height=0) -> Region""" newobj = _gdi.new_Region(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Region): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Clear(*args, **kwargs): return _gdi.Region_Clear(*args, **kwargs) - def Offset(*args, **kwargs): return _gdi.Region_Offset(*args, **kwargs) - def Contains(*args, **kwargs): return _gdi.Region_Contains(*args, **kwargs) - def ContainsPoint(*args, **kwargs): return _gdi.Region_ContainsPoint(*args, **kwargs) - def ContainsRect(*args, **kwargs): return _gdi.Region_ContainsRect(*args, **kwargs) - def ContainsRectDim(*args, **kwargs): return _gdi.Region_ContainsRectDim(*args, **kwargs) - def GetBox(*args, **kwargs): return _gdi.Region_GetBox(*args, **kwargs) - def Intersect(*args, **kwargs): return _gdi.Region_Intersect(*args, **kwargs) - def IntersectRect(*args, **kwargs): return _gdi.Region_IntersectRect(*args, **kwargs) - def IntersectRegion(*args, **kwargs): return _gdi.Region_IntersectRegion(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _gdi.Region_IsEmpty(*args, **kwargs) - def Union(*args, **kwargs): return _gdi.Region_Union(*args, **kwargs) - def UnionRect(*args, **kwargs): return _gdi.Region_UnionRect(*args, **kwargs) - def UnionRegion(*args, **kwargs): return _gdi.Region_UnionRegion(*args, **kwargs) - def Subtract(*args, **kwargs): return _gdi.Region_Subtract(*args, **kwargs) - def SubtractRect(*args, **kwargs): return _gdi.Region_SubtractRect(*args, **kwargs) - def SubtractRegion(*args, **kwargs): return _gdi.Region_SubtractRegion(*args, **kwargs) - def Xor(*args, **kwargs): return _gdi.Region_Xor(*args, **kwargs) - def XorRect(*args, **kwargs): return _gdi.Region_XorRect(*args, **kwargs) - def XorRegion(*args, **kwargs): return _gdi.Region_XorRegion(*args, **kwargs) - def ConvertToBitmap(*args, **kwargs): return _gdi.Region_ConvertToBitmap(*args, **kwargs) - def UnionBitmap(*args, **kwargs): return _gdi.Region_UnionBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Clear(*args, **kwargs): + """Clear()""" + return _gdi.Region_Clear(*args, **kwargs) + + def Offset(*args, **kwargs): + """Offset(int x, int y) -> bool""" + return _gdi.Region_Offset(*args, **kwargs) + + def Contains(*args, **kwargs): + """Contains(int x, int y) -> wxRegionContain""" + return _gdi.Region_Contains(*args, **kwargs) + + def ContainsPoint(*args, **kwargs): + """ContainsPoint(Point pt) -> wxRegionContain""" + return _gdi.Region_ContainsPoint(*args, **kwargs) + + def ContainsRect(*args, **kwargs): + """ContainsRect(Rect rect) -> wxRegionContain""" + return _gdi.Region_ContainsRect(*args, **kwargs) + + def ContainsRectDim(*args, **kwargs): + """ContainsRectDim(int x, int y, int w, int h) -> wxRegionContain""" + return _gdi.Region_ContainsRectDim(*args, **kwargs) + + def GetBox(*args, **kwargs): + """GetBox() -> Rect""" + return _gdi.Region_GetBox(*args, **kwargs) + + def Intersect(*args, **kwargs): + """Intersect(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Intersect(*args, **kwargs) + + def IntersectRect(*args, **kwargs): + """IntersectRect(Rect rect) -> bool""" + return _gdi.Region_IntersectRect(*args, **kwargs) + + def IntersectRegion(*args, **kwargs): + """IntersectRegion(Region region) -> bool""" + return _gdi.Region_IntersectRegion(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _gdi.Region_IsEmpty(*args, **kwargs) + + def Union(*args, **kwargs): + """Union(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Union(*args, **kwargs) + + def UnionRect(*args, **kwargs): + """UnionRect(Rect rect) -> bool""" + return _gdi.Region_UnionRect(*args, **kwargs) + + def UnionRegion(*args, **kwargs): + """UnionRegion(Region region) -> bool""" + return _gdi.Region_UnionRegion(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Subtract(*args, **kwargs) + + def SubtractRect(*args, **kwargs): + """SubtractRect(Rect rect) -> bool""" + return _gdi.Region_SubtractRect(*args, **kwargs) + + def SubtractRegion(*args, **kwargs): + """SubtractRegion(Region region) -> bool""" + return _gdi.Region_SubtractRegion(*args, **kwargs) + + def Xor(*args, **kwargs): + """Xor(int x, int y, int width, int height) -> bool""" + return _gdi.Region_Xor(*args, **kwargs) + + def XorRect(*args, **kwargs): + """XorRect(Rect rect) -> bool""" + return _gdi.Region_XorRect(*args, **kwargs) + + def XorRegion(*args, **kwargs): + """XorRegion(Region region) -> bool""" + return _gdi.Region_XorRegion(*args, **kwargs) + + def ConvertToBitmap(*args, **kwargs): + """ConvertToBitmap() -> Bitmap""" + return _gdi.Region_ConvertToBitmap(*args, **kwargs) + + def UnionBitmap(*args, **kwargs): + """UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool""" + return _gdi.Region_UnionBitmap(*args, **kwargs) + class RegionPtr(Region): def __init__(self, this): @@ -484,38 +887,77 @@ class RegionPtr(Region): _gdi.Region_swigregister(RegionPtr) def RegionFromBitmap(*args, **kwargs): + """RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region""" val = _gdi.new_RegionFromBitmap(*args, **kwargs) val.thisown = 1 return val def RegionFromPoints(*args, **kwargs): + """RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region""" val = _gdi.new_RegionFromPoints(*args, **kwargs) val.thisown = 1 return val class RegionIterator(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Region region) -> RegionIterator""" newobj = _gdi.new_RegionIterator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_RegionIterator): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetX(*args, **kwargs): return _gdi.RegionIterator_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _gdi.RegionIterator_GetY(*args, **kwargs) - def GetW(*args, **kwargs): return _gdi.RegionIterator_GetW(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.RegionIterator_GetWidth(*args, **kwargs) - def GetH(*args, **kwargs): return _gdi.RegionIterator_GetH(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.RegionIterator_GetHeight(*args, **kwargs) - def GetRect(*args, **kwargs): return _gdi.RegionIterator_GetRect(*args, **kwargs) - def HaveRects(*args, **kwargs): return _gdi.RegionIterator_HaveRects(*args, **kwargs) - def Reset(*args, **kwargs): return _gdi.RegionIterator_Reset(*args, **kwargs) - def Next(*args, **kwargs): return _gdi.RegionIterator_Next(*args, **kwargs) - def __nonzero__(*args, **kwargs): return _gdi.RegionIterator___nonzero__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _gdi.RegionIterator_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _gdi.RegionIterator_GetY(*args, **kwargs) + + def GetW(*args, **kwargs): + """GetW() -> int""" + return _gdi.RegionIterator_GetW(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.RegionIterator_GetWidth(*args, **kwargs) + + def GetH(*args, **kwargs): + """GetH() -> int""" + return _gdi.RegionIterator_GetH(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.RegionIterator_GetHeight(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _gdi.RegionIterator_GetRect(*args, **kwargs) + + def HaveRects(*args, **kwargs): + """HaveRects() -> bool""" + return _gdi.RegionIterator_HaveRects(*args, **kwargs) + + def Reset(*args, **kwargs): + """Reset()""" + return _gdi.RegionIterator_Reset(*args, **kwargs) + + def Next(*args, **kwargs): + """Next()""" + return _gdi.RegionIterator_Next(*args, **kwargs) + + def __nonzero__(*args, **kwargs): + """__nonzero__() -> bool""" + return _gdi.RegionIterator___nonzero__(*args, **kwargs) + class RegionIteratorPtr(RegionIterator): def __init__(self, this): @@ -610,38 +1052,105 @@ FONTENCODING_SHIFT_JIS = _gdi.FONTENCODING_SHIFT_JIS #--------------------------------------------------------------------------- class NativeFontInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> NativeFontInfo""" newobj = _gdi.new_NativeFontInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_NativeFontInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init(*args, **kwargs): return _gdi.NativeFontInfo_Init(*args, **kwargs) - def InitFromFont(*args, **kwargs): return _gdi.NativeFontInfo_InitFromFont(*args, **kwargs) - def GetPointSize(*args, **kwargs): return _gdi.NativeFontInfo_GetPointSize(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.NativeFontInfo_GetStyle(*args, **kwargs) - def GetWeight(*args, **kwargs): return _gdi.NativeFontInfo_GetWeight(*args, **kwargs) - def GetUnderlined(*args, **kwargs): return _gdi.NativeFontInfo_GetUnderlined(*args, **kwargs) - def GetFaceName(*args, **kwargs): return _gdi.NativeFontInfo_GetFaceName(*args, **kwargs) - def GetFamily(*args, **kwargs): return _gdi.NativeFontInfo_GetFamily(*args, **kwargs) - def GetEncoding(*args, **kwargs): return _gdi.NativeFontInfo_GetEncoding(*args, **kwargs) - def SetPointSize(*args, **kwargs): return _gdi.NativeFontInfo_SetPointSize(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.NativeFontInfo_SetStyle(*args, **kwargs) - def SetWeight(*args, **kwargs): return _gdi.NativeFontInfo_SetWeight(*args, **kwargs) - def SetUnderlined(*args, **kwargs): return _gdi.NativeFontInfo_SetUnderlined(*args, **kwargs) - def SetFaceName(*args, **kwargs): return _gdi.NativeFontInfo_SetFaceName(*args, **kwargs) - def SetFamily(*args, **kwargs): return _gdi.NativeFontInfo_SetFamily(*args, **kwargs) - def SetEncoding(*args, **kwargs): return _gdi.NativeFontInfo_SetEncoding(*args, **kwargs) - def FromString(*args, **kwargs): return _gdi.NativeFontInfo_FromString(*args, **kwargs) - def ToString(*args, **kwargs): return _gdi.NativeFontInfo_ToString(*args, **kwargs) - def __str__(*args, **kwargs): return _gdi.NativeFontInfo___str__(*args, **kwargs) - def FromUserString(*args, **kwargs): return _gdi.NativeFontInfo_FromUserString(*args, **kwargs) - def ToUserString(*args, **kwargs): return _gdi.NativeFontInfo_ToUserString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Init(*args, **kwargs): + """Init()""" + return _gdi.NativeFontInfo_Init(*args, **kwargs) + + def InitFromFont(*args, **kwargs): + """InitFromFont(Font font)""" + return _gdi.NativeFontInfo_InitFromFont(*args, **kwargs) + + def GetPointSize(*args, **kwargs): + """GetPointSize() -> int""" + return _gdi.NativeFontInfo_GetPointSize(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> wxFontStyle""" + return _gdi.NativeFontInfo_GetStyle(*args, **kwargs) + + def GetWeight(*args, **kwargs): + """GetWeight() -> wxFontWeight""" + return _gdi.NativeFontInfo_GetWeight(*args, **kwargs) + + def GetUnderlined(*args, **kwargs): + """GetUnderlined() -> bool""" + return _gdi.NativeFontInfo_GetUnderlined(*args, **kwargs) + + def GetFaceName(*args, **kwargs): + """GetFaceName() -> wxString""" + return _gdi.NativeFontInfo_GetFaceName(*args, **kwargs) + + def GetFamily(*args, **kwargs): + """GetFamily() -> wxFontFamily""" + return _gdi.NativeFontInfo_GetFamily(*args, **kwargs) + + def GetEncoding(*args, **kwargs): + """GetEncoding() -> wxFontEncoding""" + return _gdi.NativeFontInfo_GetEncoding(*args, **kwargs) + + def SetPointSize(*args, **kwargs): + """SetPointSize(int pointsize)""" + return _gdi.NativeFontInfo_SetPointSize(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(wxFontStyle style)""" + return _gdi.NativeFontInfo_SetStyle(*args, **kwargs) + + def SetWeight(*args, **kwargs): + """SetWeight(wxFontWeight weight)""" + return _gdi.NativeFontInfo_SetWeight(*args, **kwargs) + + def SetUnderlined(*args, **kwargs): + """SetUnderlined(bool underlined)""" + return _gdi.NativeFontInfo_SetUnderlined(*args, **kwargs) + + def SetFaceName(*args, **kwargs): + """SetFaceName(wxString facename)""" + return _gdi.NativeFontInfo_SetFaceName(*args, **kwargs) + + def SetFamily(*args, **kwargs): + """SetFamily(wxFontFamily family)""" + return _gdi.NativeFontInfo_SetFamily(*args, **kwargs) + + def SetEncoding(*args, **kwargs): + """SetEncoding(wxFontEncoding encoding)""" + return _gdi.NativeFontInfo_SetEncoding(*args, **kwargs) + + def FromString(*args, **kwargs): + """FromString(wxString s) -> bool""" + return _gdi.NativeFontInfo_FromString(*args, **kwargs) + + def ToString(*args, **kwargs): + """ToString() -> wxString""" + return _gdi.NativeFontInfo_ToString(*args, **kwargs) + + def __str__(*args, **kwargs): + """__str__() -> wxString""" + return _gdi.NativeFontInfo___str__(*args, **kwargs) + + def FromUserString(*args, **kwargs): + """FromUserString(wxString s) -> bool""" + return _gdi.NativeFontInfo_FromUserString(*args, **kwargs) + + def ToUserString(*args, **kwargs): + """ToUserString() -> wxString""" + return _gdi.NativeFontInfo_ToUserString(*args, **kwargs) + class NativeFontInfoPtr(NativeFontInfo): def __init__(self, this): @@ -651,21 +1160,31 @@ class NativeFontInfoPtr(NativeFontInfo): _gdi.NativeFontInfo_swigregister(NativeFontInfoPtr) class NativeEncodingInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) facename = property(_gdi.NativeEncodingInfo_facename_get, _gdi.NativeEncodingInfo_facename_set) encoding = property(_gdi.NativeEncodingInfo_encoding_get, _gdi.NativeEncodingInfo_encoding_set) def __init__(self, *args, **kwargs): + """__init__() -> NativeEncodingInfo""" newobj = _gdi.new_NativeEncodingInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_NativeEncodingInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def FromString(*args, **kwargs): return _gdi.NativeEncodingInfo_FromString(*args, **kwargs) - def ToString(*args, **kwargs): return _gdi.NativeEncodingInfo_ToString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def FromString(*args, **kwargs): + """FromString(wxString s) -> bool""" + return _gdi.NativeEncodingInfo_FromString(*args, **kwargs) + + def ToString(*args, **kwargs): + """ToString() -> wxString""" + return _gdi.NativeEncodingInfo_ToString(*args, **kwargs) + class NativeEncodingInfoPtr(NativeEncodingInfo): def __init__(self, this): @@ -675,37 +1194,95 @@ class NativeEncodingInfoPtr(NativeEncodingInfo): _gdi.NativeEncodingInfo_swigregister(NativeEncodingInfoPtr) -GetNativeFontEncoding = _gdi.GetNativeFontEncoding +def GetNativeFontEncoding(*args, **kwargs): + """GetNativeFontEncoding(wxFontEncoding encoding) -> NativeEncodingInfo""" + return _gdi.GetNativeFontEncoding(*args, **kwargs) -TestFontEncoding = _gdi.TestFontEncoding +def TestFontEncoding(*args, **kwargs): + """TestFontEncoding(NativeEncodingInfo info) -> bool""" + return _gdi.TestFontEncoding(*args, **kwargs) #--------------------------------------------------------------------------- class FontMapper(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FontMapper""" newobj = _gdi.new_FontMapper(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_FontMapper): + """__del__()""" try: if self.thisown: destroy(self) except: pass - Get = staticmethod(_gdi.FontMapper_Get) - Set = staticmethod(_gdi.FontMapper_Set) - def CharsetToEncoding(*args, **kwargs): return _gdi.FontMapper_CharsetToEncoding(*args, **kwargs) - GetSupportedEncodingsCount = staticmethod(_gdi.FontMapper_GetSupportedEncodingsCount) - GetEncoding = staticmethod(_gdi.FontMapper_GetEncoding) - GetEncodingName = staticmethod(_gdi.FontMapper_GetEncodingName) - GetEncodingDescription = staticmethod(_gdi.FontMapper_GetEncodingDescription) - def SetConfig(*args, **kwargs): return _gdi.FontMapper_SetConfig(*args, **kwargs) - def SetConfigPath(*args, **kwargs): return _gdi.FontMapper_SetConfigPath(*args, **kwargs) - GetDefaultConfigPath = staticmethod(_gdi.FontMapper_GetDefaultConfigPath) - def GetAltForEncoding(*args, **kwargs): return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) - def IsEncodingAvailable(*args, **kwargs): return _gdi.FontMapper_IsEncodingAvailable(*args, **kwargs) - def SetDialogParent(*args, **kwargs): return _gdi.FontMapper_SetDialogParent(*args, **kwargs) - def SetDialogTitle(*args, **kwargs): return _gdi.FontMapper_SetDialogTitle(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Get(*args, **kwargs): + """FontMapper.Get() -> FontMapper""" + return _gdi.FontMapper_Get(*args, **kwargs) + + Get = staticmethod(Get) + def Set(*args, **kwargs): + """FontMapper.Set(FontMapper mapper) -> FontMapper""" + return _gdi.FontMapper_Set(*args, **kwargs) + + Set = staticmethod(Set) + def CharsetToEncoding(*args, **kwargs): + """CharsetToEncoding(wxString charset, bool interactive=True) -> wxFontEncoding""" + return _gdi.FontMapper_CharsetToEncoding(*args, **kwargs) + + def GetSupportedEncodingsCount(*args, **kwargs): + """FontMapper.GetSupportedEncodingsCount() -> size_t""" + return _gdi.FontMapper_GetSupportedEncodingsCount(*args, **kwargs) + + GetSupportedEncodingsCount = staticmethod(GetSupportedEncodingsCount) + def GetEncoding(*args, **kwargs): + """FontMapper.GetEncoding(size_t n) -> wxFontEncoding""" + return _gdi.FontMapper_GetEncoding(*args, **kwargs) + + GetEncoding = staticmethod(GetEncoding) + def GetEncodingName(*args, **kwargs): + """FontMapper.GetEncodingName(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingName(*args, **kwargs) + + GetEncodingName = staticmethod(GetEncodingName) + def GetEncodingDescription(*args, **kwargs): + """FontMapper.GetEncodingDescription(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingDescription(*args, **kwargs) + + GetEncodingDescription = staticmethod(GetEncodingDescription) + def SetConfig(*args, **kwargs): + """SetConfig(wxConfigBase config)""" + return _gdi.FontMapper_SetConfig(*args, **kwargs) + + def SetConfigPath(*args, **kwargs): + """SetConfigPath(wxString prefix)""" + return _gdi.FontMapper_SetConfigPath(*args, **kwargs) + + def GetDefaultConfigPath(*args, **kwargs): + """FontMapper.GetDefaultConfigPath() -> wxString""" + return _gdi.FontMapper_GetDefaultConfigPath(*args, **kwargs) + + GetDefaultConfigPath = staticmethod(GetDefaultConfigPath) + def GetAltForEncoding(*args, **kwargs): + """GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, + bool interactive=True) -> PyObject""" + return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) + + def IsEncodingAvailable(*args, **kwargs): + """IsEncodingAvailable(wxFontEncoding encoding, wxString facename=wxPyEmptyString) -> bool""" + return _gdi.FontMapper_IsEncodingAvailable(*args, **kwargs) + + def SetDialogParent(*args, **kwargs): + """SetDialogParent(Window parent)""" + return _gdi.FontMapper_SetDialogParent(*args, **kwargs) + + def SetDialogTitle(*args, **kwargs): + """SetDialogTitle(wxString title)""" + return _gdi.FontMapper_SetDialogTitle(*args, **kwargs) + class FontMapperPtr(FontMapper): def __init__(self, this): @@ -714,113 +1291,256 @@ class FontMapperPtr(FontMapper): self.__class__ = FontMapper _gdi.FontMapper_swigregister(FontMapperPtr) -FontMapper_Get = _gdi.FontMapper_Get +def FontMapper_Get(*args, **kwargs): + """FontMapper_Get() -> FontMapper""" + return _gdi.FontMapper_Get(*args, **kwargs) -FontMapper_Set = _gdi.FontMapper_Set +def FontMapper_Set(*args, **kwargs): + """FontMapper_Set(FontMapper mapper) -> FontMapper""" + return _gdi.FontMapper_Set(*args, **kwargs) -FontMapper_GetSupportedEncodingsCount = _gdi.FontMapper_GetSupportedEncodingsCount +def FontMapper_GetSupportedEncodingsCount(*args, **kwargs): + """FontMapper_GetSupportedEncodingsCount() -> size_t""" + return _gdi.FontMapper_GetSupportedEncodingsCount(*args, **kwargs) -FontMapper_GetEncoding = _gdi.FontMapper_GetEncoding +def FontMapper_GetEncoding(*args, **kwargs): + """FontMapper_GetEncoding(size_t n) -> wxFontEncoding""" + return _gdi.FontMapper_GetEncoding(*args, **kwargs) -FontMapper_GetEncodingName = _gdi.FontMapper_GetEncodingName +def FontMapper_GetEncodingName(*args, **kwargs): + """FontMapper_GetEncodingName(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingName(*args, **kwargs) -FontMapper_GetEncodingDescription = _gdi.FontMapper_GetEncodingDescription +def FontMapper_GetEncodingDescription(*args, **kwargs): + """FontMapper_GetEncodingDescription(wxFontEncoding encoding) -> wxString""" + return _gdi.FontMapper_GetEncodingDescription(*args, **kwargs) -FontMapper_GetDefaultConfigPath = _gdi.FontMapper_GetDefaultConfigPath +def FontMapper_GetDefaultConfigPath(*args, **kwargs): + """FontMapper_GetDefaultConfigPath() -> wxString""" + return _gdi.FontMapper_GetDefaultConfigPath(*args, **kwargs) #--------------------------------------------------------------------------- class Font(GDIObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int pointSize, int family, int style, int weight, bool underline=False, + wxString face=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" newobj = _gdi.new_Font(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Font): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.Font_Ok(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.Font_Ok(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __eq__(*args, **kwargs): return _gdi.Font___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _gdi.Font___ne__(*args, **kwargs) - def GetPointSize(*args, **kwargs): return _gdi.Font_GetPointSize(*args, **kwargs) - def GetFamily(*args, **kwargs): return _gdi.Font_GetFamily(*args, **kwargs) - def GetStyle(*args, **kwargs): return _gdi.Font_GetStyle(*args, **kwargs) - def GetWeight(*args, **kwargs): return _gdi.Font_GetWeight(*args, **kwargs) - def GetUnderlined(*args, **kwargs): return _gdi.Font_GetUnderlined(*args, **kwargs) - def GetFaceName(*args, **kwargs): return _gdi.Font_GetFaceName(*args, **kwargs) - def GetEncoding(*args, **kwargs): return _gdi.Font_GetEncoding(*args, **kwargs) - def GetNativeFontInfo(*args, **kwargs): return _gdi.Font_GetNativeFontInfo(*args, **kwargs) - def IsFixedWidth(*args, **kwargs): return _gdi.Font_IsFixedWidth(*args, **kwargs) - def GetNativeFontInfoDesc(*args, **kwargs): return _gdi.Font_GetNativeFontInfoDesc(*args, **kwargs) - def GetNativeFontInfoUserDesc(*args, **kwargs): return _gdi.Font_GetNativeFontInfoUserDesc(*args, **kwargs) - def SetPointSize(*args, **kwargs): return _gdi.Font_SetPointSize(*args, **kwargs) - def SetFamily(*args, **kwargs): return _gdi.Font_SetFamily(*args, **kwargs) - def SetStyle(*args, **kwargs): return _gdi.Font_SetStyle(*args, **kwargs) - def SetWeight(*args, **kwargs): return _gdi.Font_SetWeight(*args, **kwargs) - def SetFaceName(*args, **kwargs): return _gdi.Font_SetFaceName(*args, **kwargs) - def SetUnderlined(*args, **kwargs): return _gdi.Font_SetUnderlined(*args, **kwargs) - def SetEncoding(*args, **kwargs): return _gdi.Font_SetEncoding(*args, **kwargs) - def SetNativeFontInfo(*args, **kwargs): return _gdi.Font_SetNativeFontInfo(*args, **kwargs) - def SetNativeFontInfoFromString(*args, **kwargs): return _gdi.Font_SetNativeFontInfoFromString(*args, **kwargs) - def SetNativeFontInfoUserDesc(*args, **kwargs): return _gdi.Font_SetNativeFontInfoUserDesc(*args, **kwargs) - def GetFamilyString(*args, **kwargs): return _gdi.Font_GetFamilyString(*args, **kwargs) - def GetStyleString(*args, **kwargs): return _gdi.Font_GetStyleString(*args, **kwargs) - def GetWeightString(*args, **kwargs): return _gdi.Font_GetWeightString(*args, **kwargs) - def SetNoAntiAliasing(*args, **kwargs): return _gdi.Font_SetNoAntiAliasing(*args, **kwargs) - def GetNoAntiAliasing(*args, **kwargs): return _gdi.Font_GetNoAntiAliasing(*args, **kwargs) - GetDefaultEncoding = staticmethod(_gdi.Font_GetDefaultEncoding) - SetDefaultEncoding = staticmethod(_gdi.Font_SetDefaultEncoding) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __eq__(*args, **kwargs): + """__eq__(Font font) -> bool""" + return _gdi.Font___eq__(*args, **kwargs) -class FontPtr(Font): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Font -_gdi.Font_swigregister(FontPtr) + def __ne__(*args, **kwargs): + """__ne__(Font font) -> bool""" + return _gdi.Font___ne__(*args, **kwargs) -def FontFromNativeInfo(*args, **kwargs): - val = _gdi.new_FontFromNativeInfo(*args, **kwargs) - val.thisown = 1 - return val + def GetPointSize(*args, **kwargs): + """GetPointSize() -> int""" + return _gdi.Font_GetPointSize(*args, **kwargs) + + def GetFamily(*args, **kwargs): + """GetFamily() -> int""" + return _gdi.Font_GetFamily(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> int""" + return _gdi.Font_GetStyle(*args, **kwargs) + + def GetWeight(*args, **kwargs): + """GetWeight() -> int""" + return _gdi.Font_GetWeight(*args, **kwargs) + + def GetUnderlined(*args, **kwargs): + """GetUnderlined() -> bool""" + return _gdi.Font_GetUnderlined(*args, **kwargs) + + def GetFaceName(*args, **kwargs): + """GetFaceName() -> wxString""" + return _gdi.Font_GetFaceName(*args, **kwargs) + + def GetEncoding(*args, **kwargs): + """GetEncoding() -> wxFontEncoding""" + return _gdi.Font_GetEncoding(*args, **kwargs) + + def GetNativeFontInfo(*args, **kwargs): + """GetNativeFontInfo() -> NativeFontInfo""" + return _gdi.Font_GetNativeFontInfo(*args, **kwargs) + + def IsFixedWidth(*args, **kwargs): + """IsFixedWidth() -> bool""" + return _gdi.Font_IsFixedWidth(*args, **kwargs) + + def GetNativeFontInfoDesc(*args, **kwargs): + """GetNativeFontInfoDesc() -> wxString""" + return _gdi.Font_GetNativeFontInfoDesc(*args, **kwargs) + + def GetNativeFontInfoUserDesc(*args, **kwargs): + """GetNativeFontInfoUserDesc() -> wxString""" + return _gdi.Font_GetNativeFontInfoUserDesc(*args, **kwargs) + + def SetPointSize(*args, **kwargs): + """SetPointSize(int pointSize)""" + return _gdi.Font_SetPointSize(*args, **kwargs) + + def SetFamily(*args, **kwargs): + """SetFamily(int family)""" + return _gdi.Font_SetFamily(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(int style)""" + return _gdi.Font_SetStyle(*args, **kwargs) + + def SetWeight(*args, **kwargs): + """SetWeight(int weight)""" + return _gdi.Font_SetWeight(*args, **kwargs) + + def SetFaceName(*args, **kwargs): + """SetFaceName(wxString faceName)""" + return _gdi.Font_SetFaceName(*args, **kwargs) + + def SetUnderlined(*args, **kwargs): + """SetUnderlined(bool underlined)""" + return _gdi.Font_SetUnderlined(*args, **kwargs) + + def SetEncoding(*args, **kwargs): + """SetEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetEncoding(*args, **kwargs) + + def SetNativeFontInfo(*args, **kwargs): + """SetNativeFontInfo(NativeFontInfo info)""" + return _gdi.Font_SetNativeFontInfo(*args, **kwargs) + + def SetNativeFontInfoFromString(*args, **kwargs): + """SetNativeFontInfoFromString(wxString info)""" + return _gdi.Font_SetNativeFontInfoFromString(*args, **kwargs) + + def SetNativeFontInfoUserDesc(*args, **kwargs): + """SetNativeFontInfoUserDesc(wxString info)""" + return _gdi.Font_SetNativeFontInfoUserDesc(*args, **kwargs) + + def GetFamilyString(*args, **kwargs): + """GetFamilyString() -> wxString""" + return _gdi.Font_GetFamilyString(*args, **kwargs) + + def GetStyleString(*args, **kwargs): + """GetStyleString() -> wxString""" + return _gdi.Font_GetStyleString(*args, **kwargs) + + def GetWeightString(*args, **kwargs): + """GetWeightString() -> wxString""" + return _gdi.Font_GetWeightString(*args, **kwargs) + + def SetNoAntiAliasing(*args, **kwargs): + """SetNoAntiAliasing(bool no=True)""" + return _gdi.Font_SetNoAntiAliasing(*args, **kwargs) + + def GetNoAntiAliasing(*args, **kwargs): + """GetNoAntiAliasing() -> bool""" + return _gdi.Font_GetNoAntiAliasing(*args, **kwargs) + + def GetDefaultEncoding(*args, **kwargs): + """Font.GetDefaultEncoding() -> wxFontEncoding""" + return _gdi.Font_GetDefaultEncoding(*args, **kwargs) + + GetDefaultEncoding = staticmethod(GetDefaultEncoding) + def SetDefaultEncoding(*args, **kwargs): + """Font.SetDefaultEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetDefaultEncoding(*args, **kwargs) + + SetDefaultEncoding = staticmethod(SetDefaultEncoding) + +class FontPtr(Font): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Font +_gdi.Font_swigregister(FontPtr) + +def FontFromNativeInfo(*args, **kwargs): + """FontFromNativeInfo(NativeFontInfo info) -> Font""" + val = _gdi.new_FontFromNativeInfo(*args, **kwargs) + val.thisown = 1 + return val def FontFromNativeInfoString(*args, **kwargs): + """FontFromNativeInfoString(wxString info) -> Font""" val = _gdi.new_FontFromNativeInfoString(*args, **kwargs) val.thisown = 1 return val def Font2(*args, **kwargs): + """Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, + wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" val = _gdi.new_Font2(*args, **kwargs) val.thisown = 1 return val -Font_GetDefaultEncoding = _gdi.Font_GetDefaultEncoding +def Font_GetDefaultEncoding(*args, **kwargs): + """Font_GetDefaultEncoding() -> wxFontEncoding""" + return _gdi.Font_GetDefaultEncoding(*args, **kwargs) -Font_SetDefaultEncoding = _gdi.Font_SetDefaultEncoding +def Font_SetDefaultEncoding(*args, **kwargs): + """Font_SetDefaultEncoding(wxFontEncoding encoding)""" + return _gdi.Font_SetDefaultEncoding(*args, **kwargs) #--------------------------------------------------------------------------- class FontEnumerator(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FontEnumerator""" newobj = _gdi.new_FontEnumerator(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FontEnumerator, 0) + def __del__(self, destroy=_gdi.delete_FontEnumerator): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _gdi.FontEnumerator__setCallbackInfo(*args, **kwargs) - def EnumerateFacenames(*args, **kwargs): return _gdi.FontEnumerator_EnumerateFacenames(*args, **kwargs) - def EnumerateEncodings(*args, **kwargs): return _gdi.FontEnumerator_EnumerateEncodings(*args, **kwargs) - def GetEncodings(*args, **kwargs): return _gdi.FontEnumerator_GetEncodings(*args, **kwargs) - def GetFacenames(*args, **kwargs): return _gdi.FontEnumerator_GetFacenames(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, bool incref)""" + return _gdi.FontEnumerator__setCallbackInfo(*args, **kwargs) + + def EnumerateFacenames(*args, **kwargs): + """EnumerateFacenames(wxFontEncoding encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool""" + return _gdi.FontEnumerator_EnumerateFacenames(*args, **kwargs) + + def EnumerateEncodings(*args, **kwargs): + """EnumerateEncodings(wxString facename=wxPyEmptyString) -> bool""" + return _gdi.FontEnumerator_EnumerateEncodings(*args, **kwargs) + + def GetEncodings(*args, **kwargs): + """GetEncodings() -> PyObject""" + return _gdi.FontEnumerator_GetEncodings(*args, **kwargs) + + def GetFacenames(*args, **kwargs): + """GetFacenames() -> PyObject""" + return _gdi.FontEnumerator_GetFacenames(*args, **kwargs) + class FontEnumeratorPtr(FontEnumerator): def __init__(self, this): @@ -1063,12 +1783,13 @@ LANGUAGE_ZHUANG = _gdi.LANGUAGE_ZHUANG LANGUAGE_ZULU = _gdi.LANGUAGE_ZULU LANGUAGE_USER_DEFINED = _gdi.LANGUAGE_USER_DEFINED class LanguageInfo(object): - Language = property(_gdi.LanguageInfo_Language_get, _gdi.LanguageInfo_Language_set) - CanonicalName = property(_gdi.LanguageInfo_CanonicalName_get, _gdi.LanguageInfo_CanonicalName_set) - Description = property(_gdi.LanguageInfo_Description_get, _gdi.LanguageInfo_Description_set) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + Language = property(_gdi.LanguageInfo_Language_get, _gdi.LanguageInfo_Language_set) + CanonicalName = property(_gdi.LanguageInfo_CanonicalName_get, _gdi.LanguageInfo_CanonicalName_set) + Description = property(_gdi.LanguageInfo_Description_get, _gdi.LanguageInfo_Description_set) class LanguageInfoPtr(LanguageInfo): def __init__(self, this): @@ -1086,17 +1807,31 @@ LOCALE_DECIMAL_POINT = _gdi.LOCALE_DECIMAL_POINT LOCALE_LOAD_DEFAULT = _gdi.LOCALE_LOAD_DEFAULT LOCALE_CONV_ENCODING = _gdi.LOCALE_CONV_ENCODING class Locale(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale""" newobj = _gdi.new_Locale(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_Locale): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init1(*args, **kwargs): return _gdi.Locale_Init1(*args, **kwargs) - def Init2(*args, **kwargs): return _gdi.Locale_Init2(*args, **kwargs) + + def Init1(*args, **kwargs): + """Init1(wxString szName, wxString szShort=wxPyEmptyString, + wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, + bool bConvertEncoding=False) -> bool""" + return _gdi.Locale_Init1(*args, **kwargs) + + def Init2(*args, **kwargs): + """Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool""" + return _gdi.Locale_Init2(*args, **kwargs) + def Init(self, *_args, **_kwargs): if type(_args[0]) in [type(''), type(u'')]: val = self.Init1(*_args, **_kwargs) @@ -1104,26 +1839,83 @@ class Locale(object): val = self.Init2(*_args, **_kwargs) return val - GetSystemLanguage = staticmethod(_gdi.Locale_GetSystemLanguage) - GetSystemEncoding = staticmethod(_gdi.Locale_GetSystemEncoding) - GetSystemEncodingName = staticmethod(_gdi.Locale_GetSystemEncodingName) - def IsOk(*args, **kwargs): return _gdi.Locale_IsOk(*args, **kwargs) + def GetSystemLanguage(*args, **kwargs): + """Locale.GetSystemLanguage() -> int""" + return _gdi.Locale_GetSystemLanguage(*args, **kwargs) + + GetSystemLanguage = staticmethod(GetSystemLanguage) + def GetSystemEncoding(*args, **kwargs): + """Locale.GetSystemEncoding() -> wxFontEncoding""" + return _gdi.Locale_GetSystemEncoding(*args, **kwargs) + + GetSystemEncoding = staticmethod(GetSystemEncoding) + def GetSystemEncodingName(*args, **kwargs): + """Locale.GetSystemEncodingName() -> wxString""" + return _gdi.Locale_GetSystemEncodingName(*args, **kwargs) + + GetSystemEncodingName = staticmethod(GetSystemEncodingName) + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _gdi.Locale_IsOk(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def GetLocale(*args, **kwargs): return _gdi.Locale_GetLocale(*args, **kwargs) - def GetLanguage(*args, **kwargs): return _gdi.Locale_GetLanguage(*args, **kwargs) - def GetSysName(*args, **kwargs): return _gdi.Locale_GetSysName(*args, **kwargs) - def GetCanonicalName(*args, **kwargs): return _gdi.Locale_GetCanonicalName(*args, **kwargs) - AddCatalogLookupPathPrefix = staticmethod(_gdi.Locale_AddCatalogLookupPathPrefix) - def AddCatalog(*args, **kwargs): return _gdi.Locale_AddCatalog(*args, **kwargs) - def IsLoaded(*args, **kwargs): return _gdi.Locale_IsLoaded(*args, **kwargs) - GetLanguageInfo = staticmethod(_gdi.Locale_GetLanguageInfo) - GetLanguageName = staticmethod(_gdi.Locale_GetLanguageName) - FindLanguageInfo = staticmethod(_gdi.Locale_FindLanguageInfo) - AddLanguage = staticmethod(_gdi.Locale_AddLanguage) - def GetString(*args, **kwargs): return _gdi.Locale_GetString(*args, **kwargs) - def GetName(*args, **kwargs): return _gdi.Locale_GetName(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLocale(*args, **kwargs): + """GetLocale() -> wxString""" + return _gdi.Locale_GetLocale(*args, **kwargs) + + def GetLanguage(*args, **kwargs): + """GetLanguage() -> int""" + return _gdi.Locale_GetLanguage(*args, **kwargs) + + def GetSysName(*args, **kwargs): + """GetSysName() -> wxString""" + return _gdi.Locale_GetSysName(*args, **kwargs) + + def GetCanonicalName(*args, **kwargs): + """GetCanonicalName() -> wxString""" + return _gdi.Locale_GetCanonicalName(*args, **kwargs) + + def AddCatalogLookupPathPrefix(*args, **kwargs): + """Locale.AddCatalogLookupPathPrefix(wxString prefix)""" + return _gdi.Locale_AddCatalogLookupPathPrefix(*args, **kwargs) + + AddCatalogLookupPathPrefix = staticmethod(AddCatalogLookupPathPrefix) + def AddCatalog(*args, **kwargs): + """AddCatalog(wxString szDomain) -> bool""" + return _gdi.Locale_AddCatalog(*args, **kwargs) + + def IsLoaded(*args, **kwargs): + """IsLoaded(wxString szDomain) -> bool""" + return _gdi.Locale_IsLoaded(*args, **kwargs) + + def GetLanguageInfo(*args, **kwargs): + """Locale.GetLanguageInfo(int lang) -> LanguageInfo""" + return _gdi.Locale_GetLanguageInfo(*args, **kwargs) + + GetLanguageInfo = staticmethod(GetLanguageInfo) + def GetLanguageName(*args, **kwargs): + """Locale.GetLanguageName(int lang) -> wxString""" + return _gdi.Locale_GetLanguageName(*args, **kwargs) + + GetLanguageName = staticmethod(GetLanguageName) + def FindLanguageInfo(*args, **kwargs): + """Locale.FindLanguageInfo(wxString locale) -> LanguageInfo""" + return _gdi.Locale_FindLanguageInfo(*args, **kwargs) + + FindLanguageInfo = staticmethod(FindLanguageInfo) + def AddLanguage(*args, **kwargs): + """Locale.AddLanguage(LanguageInfo info)""" + return _gdi.Locale_AddLanguage(*args, **kwargs) + + AddLanguage = staticmethod(AddLanguage) + def GetString(*args, **kwargs): + """GetString(wxString szOrigString, wxString szDomain=wxPyEmptyString) -> wxString""" + return _gdi.Locale_GetString(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _gdi.Locale_GetName(*args, **kwargs) + class LocalePtr(Locale): def __init__(self, this): @@ -1132,24 +1924,42 @@ class LocalePtr(Locale): self.__class__ = Locale _gdi.Locale_swigregister(LocalePtr) -Locale_GetSystemLanguage = _gdi.Locale_GetSystemLanguage +def Locale_GetSystemLanguage(*args, **kwargs): + """Locale_GetSystemLanguage() -> int""" + return _gdi.Locale_GetSystemLanguage(*args, **kwargs) -Locale_GetSystemEncoding = _gdi.Locale_GetSystemEncoding +def Locale_GetSystemEncoding(*args, **kwargs): + """Locale_GetSystemEncoding() -> wxFontEncoding""" + return _gdi.Locale_GetSystemEncoding(*args, **kwargs) -Locale_GetSystemEncodingName = _gdi.Locale_GetSystemEncodingName +def Locale_GetSystemEncodingName(*args, **kwargs): + """Locale_GetSystemEncodingName() -> wxString""" + return _gdi.Locale_GetSystemEncodingName(*args, **kwargs) -Locale_AddCatalogLookupPathPrefix = _gdi.Locale_AddCatalogLookupPathPrefix +def Locale_AddCatalogLookupPathPrefix(*args, **kwargs): + """Locale_AddCatalogLookupPathPrefix(wxString prefix)""" + return _gdi.Locale_AddCatalogLookupPathPrefix(*args, **kwargs) -Locale_GetLanguageInfo = _gdi.Locale_GetLanguageInfo +def Locale_GetLanguageInfo(*args, **kwargs): + """Locale_GetLanguageInfo(int lang) -> LanguageInfo""" + return _gdi.Locale_GetLanguageInfo(*args, **kwargs) -Locale_GetLanguageName = _gdi.Locale_GetLanguageName +def Locale_GetLanguageName(*args, **kwargs): + """Locale_GetLanguageName(int lang) -> wxString""" + return _gdi.Locale_GetLanguageName(*args, **kwargs) -Locale_FindLanguageInfo = _gdi.Locale_FindLanguageInfo +def Locale_FindLanguageInfo(*args, **kwargs): + """Locale_FindLanguageInfo(wxString locale) -> LanguageInfo""" + return _gdi.Locale_FindLanguageInfo(*args, **kwargs) -Locale_AddLanguage = _gdi.Locale_AddLanguage +def Locale_AddLanguage(*args, **kwargs): + """Locale_AddLanguage(LanguageInfo info)""" + return _gdi.Locale_AddLanguage(*args, **kwargs) -GetLocale = _gdi.GetLocale +def GetLocale(*args, **kwargs): + """GetLocale() -> Locale""" + return _gdi.GetLocale(*args, **kwargs) #--------------------------------------------------------------------------- CONVERT_STRICT = _gdi.CONVERT_STRICT @@ -1160,23 +1970,46 @@ PLATFORM_WINDOWS = _gdi.PLATFORM_WINDOWS PLATFORM_OS2 = _gdi.PLATFORM_OS2 PLATFORM_MAC = _gdi.PLATFORM_MAC class EncodingConverter(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> EncodingConverter""" newobj = _gdi.new_EncodingConverter(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_EncodingConverter): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Init(*args, **kwargs): return _gdi.EncodingConverter_Init(*args, **kwargs) - def Convert(*args, **kwargs): return _gdi.EncodingConverter_Convert(*args, **kwargs) - GetPlatformEquivalents = staticmethod(_gdi.EncodingConverter_GetPlatformEquivalents) - GetAllEquivalents = staticmethod(_gdi.EncodingConverter_GetAllEquivalents) - CanConvert = staticmethod(_gdi.EncodingConverter_CanConvert) + + def Init(*args, **kwargs): + """Init(wxFontEncoding input_enc, wxFontEncoding output_enc, + int method=CONVERT_STRICT) -> bool""" + return _gdi.EncodingConverter_Init(*args, **kwargs) + + def Convert(*args, **kwargs): + """Convert(wxString input) -> wxString""" + return _gdi.EncodingConverter_Convert(*args, **kwargs) + + def GetPlatformEquivalents(*args, **kwargs): + """EncodingConverter.GetPlatformEquivalents(wxFontEncoding enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetPlatformEquivalents(*args, **kwargs) + + GetPlatformEquivalents = staticmethod(GetPlatformEquivalents) + def GetAllEquivalents(*args, **kwargs): + """EncodingConverter.GetAllEquivalents(wxFontEncoding enc) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetAllEquivalents(*args, **kwargs) + + GetAllEquivalents = staticmethod(GetAllEquivalents) + def CanConvert(*args, **kwargs): + """EncodingConverter.CanConvert(wxFontEncoding encIn, wxFontEncoding encOut) -> bool""" + return _gdi.EncodingConverter_CanConvert(*args, **kwargs) + + CanConvert = staticmethod(CanConvert) def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class EncodingConverterPtr(EncodingConverter): def __init__(self, this): @@ -1185,13 +2018,22 @@ class EncodingConverterPtr(EncodingConverter): self.__class__ = EncodingConverter _gdi.EncodingConverter_swigregister(EncodingConverterPtr) -GetTranslation = _gdi.GetTranslation +def GetTranslation(*args): + """GetTranslation(wxString sz) -> wxString +GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString""" + return _gdi.GetTranslation(*args) -EncodingConverter_GetPlatformEquivalents = _gdi.EncodingConverter_GetPlatformEquivalents +def EncodingConverter_GetPlatformEquivalents(*args, **kwargs): + """EncodingConverter_GetPlatformEquivalents(wxFontEncoding enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetPlatformEquivalents(*args, **kwargs) -EncodingConverter_GetAllEquivalents = _gdi.EncodingConverter_GetAllEquivalents +def EncodingConverter_GetAllEquivalents(*args, **kwargs): + """EncodingConverter_GetAllEquivalents(wxFontEncoding enc) -> wxFontEncodingArray""" + return _gdi.EncodingConverter_GetAllEquivalents(*args, **kwargs) -EncodingConverter_CanConvert = _gdi.EncodingConverter_CanConvert +def EncodingConverter_CanConvert(*args, **kwargs): + """EncodingConverter_CanConvert(wxFontEncoding encIn, wxFontEncoding encOut) -> bool""" + return _gdi.EncodingConverter_CanConvert(*args, **kwargs) #---------------------------------------------------------------------------- # wxGTK sets the locale when initialized. Doing this at the Python @@ -1216,133 +2058,514 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- class DC(core.Object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_gdi.delete_DC): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def BeginDrawing(*args, **kwargs): return _gdi.DC_BeginDrawing(*args, **kwargs) - def EndDrawing(*args, **kwargs): return _gdi.DC_EndDrawing(*args, **kwargs) - def FloodFillXY(*args, **kwargs): return _gdi.DC_FloodFillXY(*args, **kwargs) - def FloodFill(*args, **kwargs): return _gdi.DC_FloodFill(*args, **kwargs) - def GetPixelXY(*args, **kwargs): return _gdi.DC_GetPixelXY(*args, **kwargs) - def GetPixel(*args, **kwargs): return _gdi.DC_GetPixel(*args, **kwargs) - def DrawLineXY(*args, **kwargs): return _gdi.DC_DrawLineXY(*args, **kwargs) - def DrawLine(*args, **kwargs): return _gdi.DC_DrawLine(*args, **kwargs) - def CrossHairXY(*args, **kwargs): return _gdi.DC_CrossHairXY(*args, **kwargs) - def CrossHair(*args, **kwargs): return _gdi.DC_CrossHair(*args, **kwargs) - def DrawArcXY(*args, **kwargs): return _gdi.DC_DrawArcXY(*args, **kwargs) - def DrawArc(*args, **kwargs): return _gdi.DC_DrawArc(*args, **kwargs) - def DrawCheckMarkXY(*args, **kwargs): return _gdi.DC_DrawCheckMarkXY(*args, **kwargs) - def DrawCheckMark(*args, **kwargs): return _gdi.DC_DrawCheckMark(*args, **kwargs) - def DrawEllipticArcXY(*args, **kwargs): return _gdi.DC_DrawEllipticArcXY(*args, **kwargs) - def DrawEllipticArc(*args, **kwargs): return _gdi.DC_DrawEllipticArc(*args, **kwargs) - def DrawPointXY(*args, **kwargs): return _gdi.DC_DrawPointXY(*args, **kwargs) - def DrawPoint(*args, **kwargs): return _gdi.DC_DrawPoint(*args, **kwargs) - def DrawRectangleXY(*args, **kwargs): return _gdi.DC_DrawRectangleXY(*args, **kwargs) - def DrawRectangle(*args, **kwargs): return _gdi.DC_DrawRectangle(*args, **kwargs) - def DrawRectangleRect(*args, **kwargs): return _gdi.DC_DrawRectangleRect(*args, **kwargs) - def DrawRoundedRectangleXY(*args, **kwargs): return _gdi.DC_DrawRoundedRectangleXY(*args, **kwargs) - def DrawRoundedRectangle(*args, **kwargs): return _gdi.DC_DrawRoundedRectangle(*args, **kwargs) - def DrawRoundedRectangleRect(*args, **kwargs): return _gdi.DC_DrawRoundedRectangleRect(*args, **kwargs) - def DrawCircleXY(*args, **kwargs): return _gdi.DC_DrawCircleXY(*args, **kwargs) - def DrawCircle(*args, **kwargs): return _gdi.DC_DrawCircle(*args, **kwargs) - def DrawEllipseXY(*args, **kwargs): return _gdi.DC_DrawEllipseXY(*args, **kwargs) - def DrawEllipse(*args, **kwargs): return _gdi.DC_DrawEllipse(*args, **kwargs) - def DrawEllipseRect(*args, **kwargs): return _gdi.DC_DrawEllipseRect(*args, **kwargs) - def DrawIconXY(*args, **kwargs): return _gdi.DC_DrawIconXY(*args, **kwargs) - def DrawIcon(*args, **kwargs): return _gdi.DC_DrawIcon(*args, **kwargs) - def DrawBitmapXY(*args, **kwargs): return _gdi.DC_DrawBitmapXY(*args, **kwargs) - def DrawBitmap(*args, **kwargs): return _gdi.DC_DrawBitmap(*args, **kwargs) - def DrawTextXY(*args, **kwargs): return _gdi.DC_DrawTextXY(*args, **kwargs) - def DrawText(*args, **kwargs): return _gdi.DC_DrawText(*args, **kwargs) - def DrawRotatedTextXY(*args, **kwargs): return _gdi.DC_DrawRotatedTextXY(*args, **kwargs) - def DrawRotatedText(*args, **kwargs): return _gdi.DC_DrawRotatedText(*args, **kwargs) - def BlitXY(*args, **kwargs): return _gdi.DC_BlitXY(*args, **kwargs) - def Blit(*args, **kwargs): return _gdi.DC_Blit(*args, **kwargs) - def DrawLines(*args, **kwargs): return _gdi.DC_DrawLines(*args, **kwargs) - def DrawPolygon(*args, **kwargs): return _gdi.DC_DrawPolygon(*args, **kwargs) - def DrawLabel(*args, **kwargs): return _gdi.DC_DrawLabel(*args, **kwargs) - def DrawImageLabel(*args, **kwargs): return _gdi.DC_DrawImageLabel(*args, **kwargs) - def DrawSpline(*args, **kwargs): return _gdi.DC_DrawSpline(*args, **kwargs) - def Clear(*args, **kwargs): return _gdi.DC_Clear(*args, **kwargs) - def StartDoc(*args, **kwargs): return _gdi.DC_StartDoc(*args, **kwargs) - def EndDoc(*args, **kwargs): return _gdi.DC_EndDoc(*args, **kwargs) - def StartPage(*args, **kwargs): return _gdi.DC_StartPage(*args, **kwargs) - def EndPage(*args, **kwargs): return _gdi.DC_EndPage(*args, **kwargs) - def SetFont(*args, **kwargs): return _gdi.DC_SetFont(*args, **kwargs) - def SetPen(*args, **kwargs): return _gdi.DC_SetPen(*args, **kwargs) - def SetBrush(*args, **kwargs): return _gdi.DC_SetBrush(*args, **kwargs) - def SetBackground(*args, **kwargs): return _gdi.DC_SetBackground(*args, **kwargs) - def SetBackgroundMode(*args, **kwargs): return _gdi.DC_SetBackgroundMode(*args, **kwargs) - def SetPalette(*args, **kwargs): return _gdi.DC_SetPalette(*args, **kwargs) - def SetClippingRegion(*args, **kwargs): return _gdi.DC_SetClippingRegion(*args, **kwargs) - def SetClippingRect(*args, **kwargs): return _gdi.DC_SetClippingRect(*args, **kwargs) - def SetClippingRegionAsRegion(*args, **kwargs): return _gdi.DC_SetClippingRegionAsRegion(*args, **kwargs) - def DestroyClippingRegion(*args, **kwargs): return _gdi.DC_DestroyClippingRegion(*args, **kwargs) - def GetClippingBox(*args, **kwargs): return _gdi.DC_GetClippingBox(*args, **kwargs) - def GetClippingRect(*args, **kwargs): return _gdi.DC_GetClippingRect(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _gdi.DC_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _gdi.DC_GetCharWidth(*args, **kwargs) - def GetTextExtent(*args, **kwargs): return _gdi.DC_GetTextExtent(*args, **kwargs) - def GetFullTextExtent(*args, **kwargs): return _gdi.DC_GetFullTextExtent(*args, **kwargs) - def GetMultiLineTextExtent(*args, **kwargs): return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _gdi.DC_GetSizeTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _gdi.DC_GetSize(*args, **kwargs) - def GetSizeMMWH(*args, **kwargs): return _gdi.DC_GetSizeMMWH(*args, **kwargs) - def GetSizeMM(*args, **kwargs): return _gdi.DC_GetSizeMM(*args, **kwargs) - def DeviceToLogicalX(*args, **kwargs): return _gdi.DC_DeviceToLogicalX(*args, **kwargs) - def DeviceToLogicalY(*args, **kwargs): return _gdi.DC_DeviceToLogicalY(*args, **kwargs) - def DeviceToLogicalXRel(*args, **kwargs): return _gdi.DC_DeviceToLogicalXRel(*args, **kwargs) - def DeviceToLogicalYRel(*args, **kwargs): return _gdi.DC_DeviceToLogicalYRel(*args, **kwargs) - def LogicalToDeviceX(*args, **kwargs): return _gdi.DC_LogicalToDeviceX(*args, **kwargs) - def LogicalToDeviceY(*args, **kwargs): return _gdi.DC_LogicalToDeviceY(*args, **kwargs) - def LogicalToDeviceXRel(*args, **kwargs): return _gdi.DC_LogicalToDeviceXRel(*args, **kwargs) - def LogicalToDeviceYRel(*args, **kwargs): return _gdi.DC_LogicalToDeviceYRel(*args, **kwargs) - def CanDrawBitmap(*args, **kwargs): return _gdi.DC_CanDrawBitmap(*args, **kwargs) - def CanGetTextExtent(*args, **kwargs): return _gdi.DC_CanGetTextExtent(*args, **kwargs) - def GetDepth(*args, **kwargs): return _gdi.DC_GetDepth(*args, **kwargs) - def GetPPI(*args, **kwargs): return _gdi.DC_GetPPI(*args, **kwargs) - def Ok(*args, **kwargs): return _gdi.DC_Ok(*args, **kwargs) - def GetBackgroundMode(*args, **kwargs): return _gdi.DC_GetBackgroundMode(*args, **kwargs) - def GetBackground(*args, **kwargs): return _gdi.DC_GetBackground(*args, **kwargs) - def GetBrush(*args, **kwargs): return _gdi.DC_GetBrush(*args, **kwargs) - def GetFont(*args, **kwargs): return _gdi.DC_GetFont(*args, **kwargs) - def GetPen(*args, **kwargs): return _gdi.DC_GetPen(*args, **kwargs) - def GetTextBackground(*args, **kwargs): return _gdi.DC_GetTextBackground(*args, **kwargs) - def GetTextForeground(*args, **kwargs): return _gdi.DC_GetTextForeground(*args, **kwargs) - def SetTextForeground(*args, **kwargs): return _gdi.DC_SetTextForeground(*args, **kwargs) - def SetTextBackground(*args, **kwargs): return _gdi.DC_SetTextBackground(*args, **kwargs) - def GetMapMode(*args, **kwargs): return _gdi.DC_GetMapMode(*args, **kwargs) - def SetMapMode(*args, **kwargs): return _gdi.DC_SetMapMode(*args, **kwargs) - def GetUserScale(*args, **kwargs): return _gdi.DC_GetUserScale(*args, **kwargs) - def SetUserScale(*args, **kwargs): return _gdi.DC_SetUserScale(*args, **kwargs) - def GetLogicalScale(*args, **kwargs): return _gdi.DC_GetLogicalScale(*args, **kwargs) - def SetLogicalScale(*args, **kwargs): return _gdi.DC_SetLogicalScale(*args, **kwargs) - def GetLogicalOriginTuple(*args, **kwargs): return _gdi.DC_GetLogicalOriginTuple(*args, **kwargs) - def GetLogicalOrigin(*args, **kwargs): return _gdi.DC_GetLogicalOrigin(*args, **kwargs) - def SetLogicalOrigin(*args, **kwargs): return _gdi.DC_SetLogicalOrigin(*args, **kwargs) - def GetDeviceOriginTuple(*args, **kwargs): return _gdi.DC_GetDeviceOriginTuple(*args, **kwargs) - def GetDeviceOrigin(*args, **kwargs): return _gdi.DC_GetDeviceOrigin(*args, **kwargs) - def SetDeviceOrigin(*args, **kwargs): return _gdi.DC_SetDeviceOrigin(*args, **kwargs) - def SetAxisOrientation(*args, **kwargs): return _gdi.DC_SetAxisOrientation(*args, **kwargs) - def GetLogicalFunction(*args, **kwargs): return _gdi.DC_GetLogicalFunction(*args, **kwargs) - def SetLogicalFunction(*args, **kwargs): return _gdi.DC_SetLogicalFunction(*args, **kwargs) - def SetOptimization(*args, **kwargs): return _gdi.DC_SetOptimization(*args, **kwargs) - def GetOptimization(*args, **kwargs): return _gdi.DC_GetOptimization(*args, **kwargs) - def CalcBoundingBox(*args, **kwargs): return _gdi.DC_CalcBoundingBox(*args, **kwargs) - def ResetBoundingBox(*args, **kwargs): return _gdi.DC_ResetBoundingBox(*args, **kwargs) - def MinX(*args, **kwargs): return _gdi.DC_MinX(*args, **kwargs) - def MaxX(*args, **kwargs): return _gdi.DC_MaxX(*args, **kwargs) - def MinY(*args, **kwargs): return _gdi.DC_MinY(*args, **kwargs) - def MaxY(*args, **kwargs): return _gdi.DC_MaxY(*args, **kwargs) - def GetBoundingBox(*args, **kwargs): return _gdi.DC_GetBoundingBox(*args, **kwargs) + + def BeginDrawing(*args, **kwargs): + """BeginDrawing()""" + return _gdi.DC_BeginDrawing(*args, **kwargs) + + def EndDrawing(*args, **kwargs): + """EndDrawing()""" + return _gdi.DC_EndDrawing(*args, **kwargs) + + def FloodFillXY(*args, **kwargs): + """FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool""" + return _gdi.DC_FloodFillXY(*args, **kwargs) + + def FloodFill(*args, **kwargs): + """FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool""" + return _gdi.DC_FloodFill(*args, **kwargs) + + def GetPixelXY(*args, **kwargs): + """GetPixelXY(int x, int y) -> Colour""" + return _gdi.DC_GetPixelXY(*args, **kwargs) + + def GetPixel(*args, **kwargs): + """GetPixel(Point pt) -> Colour""" + return _gdi.DC_GetPixel(*args, **kwargs) + + def DrawLineXY(*args, **kwargs): + """DrawLineXY(int x1, int y1, int x2, int y2)""" + return _gdi.DC_DrawLineXY(*args, **kwargs) + + def DrawLine(*args, **kwargs): + """DrawLine(Point pt1, Point pt2)""" + return _gdi.DC_DrawLine(*args, **kwargs) + + def CrossHairXY(*args, **kwargs): + """CrossHairXY(int x, int y)""" + return _gdi.DC_CrossHairXY(*args, **kwargs) + + def CrossHair(*args, **kwargs): + """CrossHair(Point pt)""" + return _gdi.DC_CrossHair(*args, **kwargs) + + def DrawArcXY(*args, **kwargs): + """DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)""" + return _gdi.DC_DrawArcXY(*args, **kwargs) + + def DrawArc(*args, **kwargs): + """DrawArc(Point pt1, Point pt2, Point centre)""" + return _gdi.DC_DrawArc(*args, **kwargs) + + def DrawCheckMarkXY(*args, **kwargs): + """DrawCheckMarkXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawCheckMarkXY(*args, **kwargs) + + def DrawCheckMark(*args, **kwargs): + """DrawCheckMark(Rect rect)""" + return _gdi.DC_DrawCheckMark(*args, **kwargs) + + def DrawEllipticArcXY(*args, **kwargs): + """DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)""" + return _gdi.DC_DrawEllipticArcXY(*args, **kwargs) + + def DrawEllipticArc(*args, **kwargs): + """DrawEllipticArc(Point pt, Size sz, double sa, double ea)""" + return _gdi.DC_DrawEllipticArc(*args, **kwargs) + + def DrawPointXY(*args, **kwargs): + """DrawPointXY(int x, int y)""" + return _gdi.DC_DrawPointXY(*args, **kwargs) + + def DrawPoint(*args, **kwargs): + """DrawPoint(Point pt)""" + return _gdi.DC_DrawPoint(*args, **kwargs) + + def DrawRectangleXY(*args, **kwargs): + """DrawRectangleXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawRectangleXY(*args, **kwargs) + + def DrawRectangle(*args, **kwargs): + """DrawRectangle(Point pt, Size sz)""" + return _gdi.DC_DrawRectangle(*args, **kwargs) + + def DrawRectangleRect(*args, **kwargs): + """DrawRectangleRect(Rect rect)""" + return _gdi.DC_DrawRectangleRect(*args, **kwargs) + + def DrawRoundedRectangleXY(*args, **kwargs): + """DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)""" + return _gdi.DC_DrawRoundedRectangleXY(*args, **kwargs) + + def DrawRoundedRectangle(*args, **kwargs): + """DrawRoundedRectangle(Point pt, Size sz, double radius)""" + return _gdi.DC_DrawRoundedRectangle(*args, **kwargs) + + def DrawRoundedRectangleRect(*args, **kwargs): + """DrawRoundedRectangleRect(Rect r, double radius)""" + return _gdi.DC_DrawRoundedRectangleRect(*args, **kwargs) + + def DrawCircleXY(*args, **kwargs): + """DrawCircleXY(int x, int y, int radius)""" + return _gdi.DC_DrawCircleXY(*args, **kwargs) + + def DrawCircle(*args, **kwargs): + """DrawCircle(Point pt, int radius)""" + return _gdi.DC_DrawCircle(*args, **kwargs) + + def DrawEllipseXY(*args, **kwargs): + """DrawEllipseXY(int x, int y, int width, int height)""" + return _gdi.DC_DrawEllipseXY(*args, **kwargs) + + def DrawEllipse(*args, **kwargs): + """DrawEllipse(Point pt, Size sz)""" + return _gdi.DC_DrawEllipse(*args, **kwargs) + + def DrawEllipseRect(*args, **kwargs): + """DrawEllipseRect(Rect rect)""" + return _gdi.DC_DrawEllipseRect(*args, **kwargs) + + def DrawIconXY(*args, **kwargs): + """DrawIconXY(Icon icon, int x, int y)""" + return _gdi.DC_DrawIconXY(*args, **kwargs) + + def DrawIcon(*args, **kwargs): + """DrawIcon(Icon icon, Point pt)""" + return _gdi.DC_DrawIcon(*args, **kwargs) + + def DrawBitmapXY(*args, **kwargs): + """DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)""" + return _gdi.DC_DrawBitmapXY(*args, **kwargs) + + def DrawBitmap(*args, **kwargs): + """DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)""" + return _gdi.DC_DrawBitmap(*args, **kwargs) + + def DrawTextXY(*args, **kwargs): + """DrawTextXY(wxString text, int x, int y)""" + return _gdi.DC_DrawTextXY(*args, **kwargs) + + def DrawText(*args, **kwargs): + """DrawText(wxString text, Point pt)""" + return _gdi.DC_DrawText(*args, **kwargs) + + def DrawRotatedTextXY(*args, **kwargs): + """DrawRotatedTextXY(wxString text, int x, int y, double angle)""" + return _gdi.DC_DrawRotatedTextXY(*args, **kwargs) + + def DrawRotatedText(*args, **kwargs): + """DrawRotatedText(wxString text, Point pt, double angle)""" + return _gdi.DC_DrawRotatedText(*args, **kwargs) + + def BlitXY(*args, **kwargs): + """BlitXY(int xdest, int ydest, int width, int height, DC source, + int xsrc, int ysrc, int rop=COPY, bool useMask=False, + int xsrcMask=-1, int ysrcMask=-1) -> bool""" + return _gdi.DC_BlitXY(*args, **kwargs) + + def Blit(*args, **kwargs): + """Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, + bool useMask=False, Point srcPtMask=DefaultPosition) -> bool""" + return _gdi.DC_Blit(*args, **kwargs) + + def DrawLines(*args, **kwargs): + """DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)""" + return _gdi.DC_DrawLines(*args, **kwargs) + + def DrawPolygon(*args, **kwargs): + """DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, + int fillStyle=ODDEVEN_RULE)""" + return _gdi.DC_DrawPolygon(*args, **kwargs) + + def DrawLabel(*args, **kwargs): + """DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1)""" + return _gdi.DC_DrawLabel(*args, **kwargs) + + def DrawImageLabel(*args, **kwargs): + """DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) -> Rect""" + return _gdi.DC_DrawImageLabel(*args, **kwargs) + + def DrawSpline(*args, **kwargs): + """DrawSpline(int points, Point points_array)""" + return _gdi.DC_DrawSpline(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _gdi.DC_Clear(*args, **kwargs) + + def StartDoc(*args, **kwargs): + """StartDoc(wxString message) -> bool""" + return _gdi.DC_StartDoc(*args, **kwargs) + + def EndDoc(*args, **kwargs): + """EndDoc()""" + return _gdi.DC_EndDoc(*args, **kwargs) + + def StartPage(*args, **kwargs): + """StartPage()""" + return _gdi.DC_StartPage(*args, **kwargs) + + def EndPage(*args, **kwargs): + """EndPage()""" + return _gdi.DC_EndPage(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(Font font)""" + return _gdi.DC_SetFont(*args, **kwargs) + + def SetPen(*args, **kwargs): + """SetPen(Pen pen)""" + return _gdi.DC_SetPen(*args, **kwargs) + + def SetBrush(*args, **kwargs): + """SetBrush(Brush brush)""" + return _gdi.DC_SetBrush(*args, **kwargs) + + def SetBackground(*args, **kwargs): + """SetBackground(Brush brush)""" + return _gdi.DC_SetBackground(*args, **kwargs) + + def SetBackgroundMode(*args, **kwargs): + """SetBackgroundMode(int mode)""" + return _gdi.DC_SetBackgroundMode(*args, **kwargs) + + def SetPalette(*args, **kwargs): + """SetPalette(Palette palette)""" + return _gdi.DC_SetPalette(*args, **kwargs) + + def SetClippingRegion(*args, **kwargs): + """SetClippingRegion(int x, int y, int width, int height)""" + return _gdi.DC_SetClippingRegion(*args, **kwargs) + + def SetClippingRect(*args, **kwargs): + """SetClippingRect(Rect rect)""" + return _gdi.DC_SetClippingRect(*args, **kwargs) + + def SetClippingRegionAsRegion(*args, **kwargs): + """SetClippingRegionAsRegion(Region region)""" + return _gdi.DC_SetClippingRegionAsRegion(*args, **kwargs) + + def DestroyClippingRegion(*args, **kwargs): + """DestroyClippingRegion()""" + return _gdi.DC_DestroyClippingRegion(*args, **kwargs) + + def GetClippingBox(*args, **kwargs): + """GetClippingBox(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetClippingBox(*args, **kwargs) + + def GetClippingRect(*args, **kwargs): + """GetClippingRect() -> Rect""" + return _gdi.DC_GetClippingRect(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _gdi.DC_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _gdi.DC_GetCharWidth(*args, **kwargs) + + def GetTextExtent(*args, **kwargs): + """GetTextExtent(wxString string, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetTextExtent(*args, **kwargs) + + def GetFullTextExtent(*args, **kwargs): + """GetFullTextExtent(wxString string, int OUTPUT, int OUTPUT, int OUTPUT, + int OUTPUT, Font font=None)""" + return _gdi.DC_GetFullTextExtent(*args, **kwargs) + + def GetMultiLineTextExtent(*args, **kwargs): + """GetMultiLineTextExtent(wxString text, int OUTPUT, int OUTPUT, int OUTPUT, + Font font=None)""" + return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetSizeTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _gdi.DC_GetSize(*args, **kwargs) + + def GetSizeMMWH(*args, **kwargs): + """GetSizeMMWH(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetSizeMMWH(*args, **kwargs) + + def GetSizeMM(*args, **kwargs): + """GetSizeMM() -> Size""" + return _gdi.DC_GetSizeMM(*args, **kwargs) + + def DeviceToLogicalX(*args, **kwargs): + """DeviceToLogicalX(int x) -> int""" + return _gdi.DC_DeviceToLogicalX(*args, **kwargs) + + def DeviceToLogicalY(*args, **kwargs): + """DeviceToLogicalY(int y) -> int""" + return _gdi.DC_DeviceToLogicalY(*args, **kwargs) + + def DeviceToLogicalXRel(*args, **kwargs): + """DeviceToLogicalXRel(int x) -> int""" + return _gdi.DC_DeviceToLogicalXRel(*args, **kwargs) + + def DeviceToLogicalYRel(*args, **kwargs): + """DeviceToLogicalYRel(int y) -> int""" + return _gdi.DC_DeviceToLogicalYRel(*args, **kwargs) + + def LogicalToDeviceX(*args, **kwargs): + """LogicalToDeviceX(int x) -> int""" + return _gdi.DC_LogicalToDeviceX(*args, **kwargs) + + def LogicalToDeviceY(*args, **kwargs): + """LogicalToDeviceY(int y) -> int""" + return _gdi.DC_LogicalToDeviceY(*args, **kwargs) + + def LogicalToDeviceXRel(*args, **kwargs): + """LogicalToDeviceXRel(int x) -> int""" + return _gdi.DC_LogicalToDeviceXRel(*args, **kwargs) + + def LogicalToDeviceYRel(*args, **kwargs): + """LogicalToDeviceYRel(int y) -> int""" + return _gdi.DC_LogicalToDeviceYRel(*args, **kwargs) + + def CanDrawBitmap(*args, **kwargs): + """CanDrawBitmap() -> bool""" + return _gdi.DC_CanDrawBitmap(*args, **kwargs) + + def CanGetTextExtent(*args, **kwargs): + """CanGetTextExtent() -> bool""" + return _gdi.DC_CanGetTextExtent(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> int""" + return _gdi.DC_GetDepth(*args, **kwargs) + + def GetPPI(*args, **kwargs): + """GetPPI() -> Size""" + return _gdi.DC_GetPPI(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.DC_Ok(*args, **kwargs) + + def GetBackgroundMode(*args, **kwargs): + """GetBackgroundMode() -> int""" + return _gdi.DC_GetBackgroundMode(*args, **kwargs) + + def GetBackground(*args, **kwargs): + """GetBackground() -> Brush""" + return _gdi.DC_GetBackground(*args, **kwargs) + + def GetBrush(*args, **kwargs): + """GetBrush() -> Brush""" + return _gdi.DC_GetBrush(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> Font""" + return _gdi.DC_GetFont(*args, **kwargs) + + def GetPen(*args, **kwargs): + """GetPen() -> Pen""" + return _gdi.DC_GetPen(*args, **kwargs) + + def GetTextBackground(*args, **kwargs): + """GetTextBackground() -> Colour""" + return _gdi.DC_GetTextBackground(*args, **kwargs) + + def GetTextForeground(*args, **kwargs): + """GetTextForeground() -> Colour""" + return _gdi.DC_GetTextForeground(*args, **kwargs) + + def SetTextForeground(*args, **kwargs): + """SetTextForeground(Colour colour)""" + return _gdi.DC_SetTextForeground(*args, **kwargs) + + def SetTextBackground(*args, **kwargs): + """SetTextBackground(Colour colour)""" + return _gdi.DC_SetTextBackground(*args, **kwargs) + + def GetMapMode(*args, **kwargs): + """GetMapMode() -> int""" + return _gdi.DC_GetMapMode(*args, **kwargs) + + def SetMapMode(*args, **kwargs): + """SetMapMode(int mode)""" + return _gdi.DC_SetMapMode(*args, **kwargs) + + def GetUserScale(*args, **kwargs): + """GetUserScale(double OUTPUT, double OUTPUT)""" + return _gdi.DC_GetUserScale(*args, **kwargs) + + def SetUserScale(*args, **kwargs): + """SetUserScale(double x, double y)""" + return _gdi.DC_SetUserScale(*args, **kwargs) + + def GetLogicalScale(*args, **kwargs): + """GetLogicalScale(double OUTPUT, double OUTPUT)""" + return _gdi.DC_GetLogicalScale(*args, **kwargs) + + def SetLogicalScale(*args, **kwargs): + """SetLogicalScale(double x, double y)""" + return _gdi.DC_SetLogicalScale(*args, **kwargs) + + def GetLogicalOriginTuple(*args, **kwargs): + """GetLogicalOriginTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetLogicalOriginTuple(*args, **kwargs) + + def GetLogicalOrigin(*args, **kwargs): + """GetLogicalOrigin() -> Point""" + return _gdi.DC_GetLogicalOrigin(*args, **kwargs) + + def SetLogicalOrigin(*args, **kwargs): + """SetLogicalOrigin(int x, int y)""" + return _gdi.DC_SetLogicalOrigin(*args, **kwargs) + + def GetDeviceOriginTuple(*args, **kwargs): + """GetDeviceOriginTuple(int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetDeviceOriginTuple(*args, **kwargs) + + def GetDeviceOrigin(*args, **kwargs): + """GetDeviceOrigin() -> Point""" + return _gdi.DC_GetDeviceOrigin(*args, **kwargs) + + def SetDeviceOrigin(*args, **kwargs): + """SetDeviceOrigin(int x, int y)""" + return _gdi.DC_SetDeviceOrigin(*args, **kwargs) + + def SetAxisOrientation(*args, **kwargs): + """SetAxisOrientation(bool xLeftRight, bool yBottomUp)""" + return _gdi.DC_SetAxisOrientation(*args, **kwargs) + + def GetLogicalFunction(*args, **kwargs): + """GetLogicalFunction() -> int""" + return _gdi.DC_GetLogicalFunction(*args, **kwargs) + + def SetLogicalFunction(*args, **kwargs): + """SetLogicalFunction(int function)""" + return _gdi.DC_SetLogicalFunction(*args, **kwargs) + + def SetOptimization(*args, **kwargs): + """SetOptimization(bool opt)""" + return _gdi.DC_SetOptimization(*args, **kwargs) + + def GetOptimization(*args, **kwargs): + """GetOptimization() -> bool""" + return _gdi.DC_GetOptimization(*args, **kwargs) + + def CalcBoundingBox(*args, **kwargs): + """CalcBoundingBox(int x, int y)""" + return _gdi.DC_CalcBoundingBox(*args, **kwargs) + + def ResetBoundingBox(*args, **kwargs): + """ResetBoundingBox()""" + return _gdi.DC_ResetBoundingBox(*args, **kwargs) + + def MinX(*args, **kwargs): + """MinX() -> int""" + return _gdi.DC_MinX(*args, **kwargs) + + def MaxX(*args, **kwargs): + """MaxX() -> int""" + return _gdi.DC_MaxX(*args, **kwargs) + + def MinY(*args, **kwargs): + """MinY() -> int""" + return _gdi.DC_MinY(*args, **kwargs) + + def MaxY(*args, **kwargs): + """MaxY() -> int""" + return _gdi.DC_MaxY(*args, **kwargs) + + def GetBoundingBox(*args, **kwargs): + """GetBoundingBox(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _gdi.DC_GetBoundingBox(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def _DrawPointList(*args, **kwargs): return _gdi.DC__DrawPointList(*args, **kwargs) - def _DrawLineList(*args, **kwargs): return _gdi.DC__DrawLineList(*args, **kwargs) - def _DrawRectangleList(*args, **kwargs): return _gdi.DC__DrawRectangleList(*args, **kwargs) - def _DrawEllipseList(*args, **kwargs): return _gdi.DC__DrawEllipseList(*args, **kwargs) - def _DrawPolygonList(*args, **kwargs): return _gdi.DC__DrawPolygonList(*args, **kwargs) - def _DrawTextList(*args, **kwargs): return _gdi.DC__DrawTextList(*args, **kwargs) + def _DrawPointList(*args, **kwargs): + """_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawPointList(*args, **kwargs) + + def _DrawLineList(*args, **kwargs): + """_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawLineList(*args, **kwargs) + + def _DrawRectangleList(*args, **kwargs): + """_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawRectangleList(*args, **kwargs) + + def _DrawEllipseList(*args, **kwargs): + """_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawEllipseList(*args, **kwargs) + + def _DrawPolygonList(*args, **kwargs): + """_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject""" + return _gdi.DC__DrawPolygonList(*args, **kwargs) + + def _DrawTextList(*args, **kwargs): + """_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, + PyObject backgroundList) -> PyObject""" + return _gdi.DC__DrawTextList(*args, **kwargs) + def DrawPointList(self, points, pens=None): if pens is None: pens = [] @@ -1435,9 +2658,6 @@ class DC(core.Object): raise ValueError('backgrounds and coords must have same length') return self._DrawTextList(textList, coords, foregrounds, backgrounds) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class DCPtr(DC): def __init__(self, this): @@ -1449,14 +2669,19 @@ _gdi.DC_swigregister(DCPtr) #--------------------------------------------------------------------------- class MemoryDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MemoryDC""" newobj = _gdi.new_MemoryDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SelectObject(*args, **kwargs): return _gdi.MemoryDC_SelectObject(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SelectObject(*args, **kwargs): + """SelectObject(Bitmap bitmap)""" + return _gdi.MemoryDC_SelectObject(*args, **kwargs) + class MemoryDCPtr(MemoryDC): def __init__(self, this): @@ -1466,6 +2691,7 @@ class MemoryDCPtr(MemoryDC): _gdi.MemoryDC_swigregister(MemoryDCPtr) def MemoryDCFromDC(*args, **kwargs): + """MemoryDCFromDC(DC oldDC) -> MemoryDC""" val = _gdi.new_MemoryDCFromDC(*args, **kwargs) val.thisown = 1 return val @@ -1473,15 +2699,21 @@ def MemoryDCFromDC(*args, **kwargs): #--------------------------------------------------------------------------- class BufferedDC(MemoryDC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DC dc, Bitmap buffer) -> BufferedDC""" newobj = _gdi.new_BufferedDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._dc = args[0] # save a ref so the other dc will not be deleted before self - def UnMask(*args, **kwargs): return _gdi.BufferedDC_UnMask(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def UnMask(*args, **kwargs): + """UnMask()""" + return _gdi.BufferedDC_UnMask(*args, **kwargs) + class BufferedDCPtr(BufferedDC): def __init__(self, this): @@ -1491,19 +2723,22 @@ class BufferedDCPtr(BufferedDC): _gdi.BufferedDC_swigregister(BufferedDCPtr) def BufferedDCInternalBuffer(*args, **kwargs): + """BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC""" val = _gdi.new_BufferedDCInternalBuffer(*args, **kwargs) val.thisown = 1 val._dc = args[0] # save a ref so the other dc will not be deleted before self return val class BufferedPaintDC(BufferedDC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC""" newobj = _gdi.new_BufferedPaintDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class BufferedPaintDCPtr(BufferedPaintDC): def __init__(self, this): @@ -1515,16 +2750,27 @@ _gdi.BufferedPaintDC_swigregister(BufferedPaintDCPtr) #--------------------------------------------------------------------------- class ScreenDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ScreenDC""" newobj = _gdi.new_ScreenDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def StartDrawingOnTopWin(*args, **kwargs): return _gdi.ScreenDC_StartDrawingOnTopWin(*args, **kwargs) - def StartDrawingOnTop(*args, **kwargs): return _gdi.ScreenDC_StartDrawingOnTop(*args, **kwargs) - def EndDrawingOnTop(*args, **kwargs): return _gdi.ScreenDC_EndDrawingOnTop(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def StartDrawingOnTopWin(*args, **kwargs): + """StartDrawingOnTopWin(Window window) -> bool""" + return _gdi.ScreenDC_StartDrawingOnTopWin(*args, **kwargs) + + def StartDrawingOnTop(*args, **kwargs): + """StartDrawingOnTop(Rect rect=None) -> bool""" + return _gdi.ScreenDC_StartDrawingOnTop(*args, **kwargs) + + def EndDrawingOnTop(*args, **kwargs): + """EndDrawingOnTop() -> bool""" + return _gdi.ScreenDC_EndDrawingOnTop(*args, **kwargs) + class ScreenDCPtr(ScreenDC): def __init__(self, this): @@ -1536,13 +2782,15 @@ _gdi.ScreenDC_swigregister(ScreenDCPtr) #--------------------------------------------------------------------------- class ClientDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> ClientDC""" newobj = _gdi.new_ClientDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ClientDCPtr(ClientDC): def __init__(self, this): @@ -1554,13 +2802,15 @@ _gdi.ClientDC_swigregister(ClientDCPtr) #--------------------------------------------------------------------------- class PaintDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> PaintDC""" newobj = _gdi.new_PaintDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PaintDCPtr(PaintDC): def __init__(self, this): @@ -1572,13 +2822,15 @@ _gdi.PaintDC_swigregister(PaintDCPtr) #--------------------------------------------------------------------------- class WindowDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win) -> WindowDC""" newobj = _gdi.new_WindowDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class WindowDCPtr(WindowDC): def __init__(self, this): @@ -1590,13 +2842,15 @@ _gdi.WindowDC_swigregister(WindowDCPtr) #--------------------------------------------------------------------------- class MirrorDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DC dc, bool mirror) -> MirrorDC""" newobj = _gdi.new_MirrorDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MirrorDCPtr(MirrorDC): def __init__(self, this): @@ -1608,17 +2862,33 @@ _gdi.MirrorDC_swigregister(MirrorDCPtr) #--------------------------------------------------------------------------- class PostScriptDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxPrintData printData) -> PostScriptDC""" newobj = _gdi.new_PostScriptDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPrintData(*args, **kwargs): return _gdi.PostScriptDC_GetPrintData(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _gdi.PostScriptDC_SetPrintData(*args, **kwargs) - SetResolution = staticmethod(_gdi.PostScriptDC_SetResolution) - GetResolution = staticmethod(_gdi.PostScriptDC_GetResolution) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPrintData(*args, **kwargs): + """GetPrintData() -> wxPrintData""" + return _gdi.PostScriptDC_GetPrintData(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(wxPrintData data)""" + return _gdi.PostScriptDC_SetPrintData(*args, **kwargs) + + def SetResolution(*args, **kwargs): + """PostScriptDC.SetResolution(int ppi)""" + return _gdi.PostScriptDC_SetResolution(*args, **kwargs) + + SetResolution = staticmethod(SetResolution) + def GetResolution(*args, **kwargs): + """PostScriptDC.GetResolution() -> int""" + return _gdi.PostScriptDC_GetResolution(*args, **kwargs) + + GetResolution = staticmethod(GetResolution) class PostScriptDCPtr(PostScriptDC): def __init__(self, this): @@ -1627,31 +2897,57 @@ class PostScriptDCPtr(PostScriptDC): self.__class__ = PostScriptDC _gdi.PostScriptDC_swigregister(PostScriptDCPtr) -PostScriptDC_SetResolution = _gdi.PostScriptDC_SetResolution +def PostScriptDC_SetResolution(*args, **kwargs): + """PostScriptDC_SetResolution(int ppi)""" + return _gdi.PostScriptDC_SetResolution(*args, **kwargs) -PostScriptDC_GetResolution = _gdi.PostScriptDC_GetResolution +def PostScriptDC_GetResolution(*args, **kwargs): + """PostScriptDC_GetResolution() -> int""" + return _gdi.PostScriptDC_GetResolution(*args, **kwargs) #--------------------------------------------------------------------------- class MetaFile(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=wxPyEmptyString) -> MetaFile""" newobj = _gdi.new_MetaFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_MetaFile): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _gdi.MetaFile_Ok(*args, **kwargs) - def SetClipboard(*args, **kwargs): return _gdi.MetaFile_SetClipboard(*args, **kwargs) - def GetSize(*args, **kwargs): return _gdi.MetaFile_GetSize(*args, **kwargs) - def GetWidth(*args, **kwargs): return _gdi.MetaFile_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _gdi.MetaFile_GetHeight(*args, **kwargs) - def GetFileName(*args, **kwargs): return _gdi.MetaFile_GetFileName(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _gdi.MetaFile_Ok(*args, **kwargs) + + def SetClipboard(*args, **kwargs): + """SetClipboard(int width=0, int height=0) -> bool""" + return _gdi.MetaFile_SetClipboard(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _gdi.MetaFile_GetSize(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _gdi.MetaFile_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _gdi.MetaFile_GetHeight(*args, **kwargs) + + def GetFileName(*args, **kwargs): + """GetFileName() -> wxString""" + return _gdi.MetaFile_GetFileName(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class MetaFilePtr(MetaFile): def __init__(self, this): @@ -1661,14 +2957,20 @@ class MetaFilePtr(MetaFile): _gdi.MetaFile_swigregister(MetaFilePtr) class MetaFileDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString filename=wxPyEmptyString, int width=0, int height=0, + wxString description=wxPyEmptyString) -> MetaFileDC""" newobj = _gdi.new_MetaFileDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Close(*args, **kwargs): return _gdi.MetaFileDC_Close(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Close(*args, **kwargs): + """Close() -> MetaFile""" + return _gdi.MetaFileDC_Close(*args, **kwargs) + class MetaFileDCPtr(MetaFileDC): def __init__(self, this): @@ -1678,13 +2980,15 @@ class MetaFileDCPtr(MetaFileDC): _gdi.MetaFileDC_swigregister(MetaFileDCPtr) class PrinterDC(DC): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxPrintData printData) -> PrinterDC""" newobj = _gdi.new_PrinterDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrinterDCPtr(PrinterDC): def __init__(self, this): @@ -1703,26 +3007,58 @@ IMAGE_LIST_NORMAL = _gdi.IMAGE_LIST_NORMAL IMAGE_LIST_SMALL = _gdi.IMAGE_LIST_SMALL IMAGE_LIST_STATE = _gdi.IMAGE_LIST_STATE class ImageList(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int width, int height, int mask=True, int initialCount=1) -> ImageList""" newobj = _gdi.new_ImageList(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_ImageList): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Add(*args, **kwargs): return _gdi.ImageList_Add(*args, **kwargs) - def AddWithColourMask(*args, **kwargs): return _gdi.ImageList_AddWithColourMask(*args, **kwargs) - def AddIcon(*args, **kwargs): return _gdi.ImageList_AddIcon(*args, **kwargs) - def Replace(*args, **kwargs): return _gdi.ImageList_Replace(*args, **kwargs) - def Draw(*args, **kwargs): return _gdi.ImageList_Draw(*args, **kwargs) - def GetImageCount(*args, **kwargs): return _gdi.ImageList_GetImageCount(*args, **kwargs) - def Remove(*args, **kwargs): return _gdi.ImageList_Remove(*args, **kwargs) - def RemoveAll(*args, **kwargs): return _gdi.ImageList_RemoveAll(*args, **kwargs) - def GetSize(*args, **kwargs): return _gdi.ImageList_GetSize(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Add(*args, **kwargs): + """Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int""" + return _gdi.ImageList_Add(*args, **kwargs) + + def AddWithColourMask(*args, **kwargs): + """AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int""" + return _gdi.ImageList_AddWithColourMask(*args, **kwargs) + + def AddIcon(*args, **kwargs): + """AddIcon(Icon icon) -> int""" + return _gdi.ImageList_AddIcon(*args, **kwargs) + + def Replace(*args, **kwargs): + """Replace(int index, Bitmap bitmap, Bitmap mask=NullBitmap) -> bool""" + return _gdi.ImageList_Replace(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, + bool solidBackground=False) -> bool""" + return _gdi.ImageList_Draw(*args, **kwargs) + + def GetImageCount(*args, **kwargs): + """GetImageCount() -> int""" + return _gdi.ImageList_GetImageCount(*args, **kwargs) + + def Remove(*args, **kwargs): + """Remove(int index) -> bool""" + return _gdi.ImageList_Remove(*args, **kwargs) + + def RemoveAll(*args, **kwargs): + """RemoveAll() -> bool""" + return _gdi.ImageList_RemoveAll(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize(int index, int OUTPUT, int OUTPUT)""" + return _gdi.ImageList_GetSize(*args, **kwargs) + class ImageListPtr(ImageList): def __init__(self, this): @@ -1734,13 +3070,26 @@ _gdi.ImageList_swigregister(ImageListPtr) #--------------------------------------------------------------------------- class PenList(core.Object): - def AddPen(*args, **kwargs): return _gdi.PenList_AddPen(*args, **kwargs) - def FindOrCreatePen(*args, **kwargs): return _gdi.PenList_FindOrCreatePen(*args, **kwargs) - def RemovePen(*args, **kwargs): return _gdi.PenList_RemovePen(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.PenList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddPen(*args, **kwargs): + """AddPen(Pen pen)""" + return _gdi.PenList_AddPen(*args, **kwargs) + + def FindOrCreatePen(*args, **kwargs): + """FindOrCreatePen(Colour colour, int width, int style) -> Pen""" + return _gdi.PenList_FindOrCreatePen(*args, **kwargs) + + def RemovePen(*args, **kwargs): + """RemovePen(Pen pen)""" + return _gdi.PenList_RemovePen(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.PenList_GetCount(*args, **kwargs) + class PenListPtr(PenList): def __init__(self, this): @@ -1750,13 +3099,26 @@ class PenListPtr(PenList): _gdi.PenList_swigregister(PenListPtr) class BrushList(core.Object): - def AddBrush(*args, **kwargs): return _gdi.BrushList_AddBrush(*args, **kwargs) - def FindOrCreateBrush(*args, **kwargs): return _gdi.BrushList_FindOrCreateBrush(*args, **kwargs) - def RemoveBrush(*args, **kwargs): return _gdi.BrushList_RemoveBrush(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.BrushList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddBrush(*args, **kwargs): + """AddBrush(Brush brush)""" + return _gdi.BrushList_AddBrush(*args, **kwargs) + + def FindOrCreateBrush(*args, **kwargs): + """FindOrCreateBrush(Colour colour, int style) -> Brush""" + return _gdi.BrushList_FindOrCreateBrush(*args, **kwargs) + + def RemoveBrush(*args, **kwargs): + """RemoveBrush(Brush brush)""" + return _gdi.BrushList_RemoveBrush(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.BrushList_GetCount(*args, **kwargs) + class BrushListPtr(BrushList): def __init__(self, this): @@ -1766,22 +3128,38 @@ class BrushListPtr(BrushList): _gdi.BrushList_swigregister(BrushListPtr) class ColourDatabase(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ColourDatabase""" newobj = _gdi.new_ColourDatabase(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_gdi.delete_ColourDatabase): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Find(*args, **kwargs): return _gdi.ColourDatabase_Find(*args, **kwargs) - def FindName(*args, **kwargs): return _gdi.ColourDatabase_FindName(*args, **kwargs) + + def Find(*args, **kwargs): + """Find(wxString name) -> Colour""" + return _gdi.ColourDatabase_Find(*args, **kwargs) + + def FindName(*args, **kwargs): + """FindName(Colour colour) -> wxString""" + return _gdi.ColourDatabase_FindName(*args, **kwargs) + FindColour = Find - def AddColour(*args, **kwargs): return _gdi.ColourDatabase_AddColour(*args, **kwargs) - def Append(*args, **kwargs): return _gdi.ColourDatabase_Append(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddColour(*args, **kwargs): + """AddColour(wxString name, Colour colour)""" + return _gdi.ColourDatabase_AddColour(*args, **kwargs) + + def Append(*args, **kwargs): + """Append(wxString name, int red, int green, int blue)""" + return _gdi.ColourDatabase_Append(*args, **kwargs) + class ColourDatabasePtr(ColourDatabase): def __init__(self, this): @@ -1791,13 +3169,28 @@ class ColourDatabasePtr(ColourDatabase): _gdi.ColourDatabase_swigregister(ColourDatabasePtr) class FontList(core.Object): - def AddFont(*args, **kwargs): return _gdi.FontList_AddFont(*args, **kwargs) - def FindOrCreateFont(*args, **kwargs): return _gdi.FontList_FindOrCreateFont(*args, **kwargs) - def RemoveFont(*args, **kwargs): return _gdi.FontList_RemoveFont(*args, **kwargs) - def GetCount(*args, **kwargs): return _gdi.FontList_GetCount(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def AddFont(*args, **kwargs): + """AddFont(Font font)""" + return _gdi.FontList_AddFont(*args, **kwargs) + + def FindOrCreateFont(*args, **kwargs): + """FindOrCreateFont(int point_size, int family, int style, int weight, + bool underline=False, wxString facename=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + return _gdi.FontList_FindOrCreateFont(*args, **kwargs) + + def RemoveFont(*args, **kwargs): + """RemoveFont(Font font)""" + return _gdi.FontList_RemoveFont(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _gdi.FontList_GetCount(*args, **kwargs) + class FontListPtr(FontList): def __init__(self, this): @@ -1810,36 +3203,76 @@ _gdi.FontList_swigregister(FontListPtr) #--------------------------------------------------------------------------- -class DragImage(core.Object): +class Effects(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - newobj = _gdi.new_DragImage(*args, **kwargs) + """__init__() -> Effects""" + newobj = _gdi.new_Effects(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __del__(self, destroy=_gdi.delete_DragImage): - try: - if self.thisown: destroy(self) - except: pass - def SetBackingBitmap(*args, **kwargs): return _gdi.DragImage_SetBackingBitmap(*args, **kwargs) - def BeginDrag(*args, **kwargs): return _gdi.DragImage_BeginDrag(*args, **kwargs) - def BeginDragBounded(*args, **kwargs): return _gdi.DragImage_BeginDragBounded(*args, **kwargs) - def EndDrag(*args, **kwargs): return _gdi.DragImage_EndDrag(*args, **kwargs) - def Move(*args, **kwargs): return _gdi.DragImage_Move(*args, **kwargs) - def Show(*args, **kwargs): return _gdi.DragImage_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _gdi.DragImage_Hide(*args, **kwargs) - def GetImageRect(*args, **kwargs): return _gdi.DragImage_GetImageRect(*args, **kwargs) - def DoDrawImage(*args, **kwargs): return _gdi.DragImage_DoDrawImage(*args, **kwargs) - def UpdateBackingFromWindow(*args, **kwargs): return _gdi.DragImage_UpdateBackingFromWindow(*args, **kwargs) - def RedrawImage(*args, **kwargs): return _gdi.DragImage_RedrawImage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetHighlightColour(*args, **kwargs): + """GetHighlightColour() -> Colour""" + return _gdi.Effects_GetHighlightColour(*args, **kwargs) + + def GetLightShadow(*args, **kwargs): + """GetLightShadow() -> Colour""" + return _gdi.Effects_GetLightShadow(*args, **kwargs) + + def GetFaceColour(*args, **kwargs): + """GetFaceColour() -> Colour""" + return _gdi.Effects_GetFaceColour(*args, **kwargs) + + def GetMediumShadow(*args, **kwargs): + """GetMediumShadow() -> Colour""" + return _gdi.Effects_GetMediumShadow(*args, **kwargs) + + def GetDarkShadow(*args, **kwargs): + """GetDarkShadow() -> Colour""" + return _gdi.Effects_GetDarkShadow(*args, **kwargs) + + def SetHighlightColour(*args, **kwargs): + """SetHighlightColour(Colour c)""" + return _gdi.Effects_SetHighlightColour(*args, **kwargs) + + def SetLightShadow(*args, **kwargs): + """SetLightShadow(Colour c)""" + return _gdi.Effects_SetLightShadow(*args, **kwargs) -class DragImagePtr(DragImage): + def SetFaceColour(*args, **kwargs): + """SetFaceColour(Colour c)""" + return _gdi.Effects_SetFaceColour(*args, **kwargs) + + def SetMediumShadow(*args, **kwargs): + """SetMediumShadow(Colour c)""" + return _gdi.Effects_SetMediumShadow(*args, **kwargs) + + def SetDarkShadow(*args, **kwargs): + """SetDarkShadow(Colour c)""" + return _gdi.Effects_SetDarkShadow(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(Colour highlightColour, Colour lightShadow, Colour faceColour, + Colour mediumShadow, Colour darkShadow)""" + return _gdi.Effects_Set(*args, **kwargs) + + def DrawSunkenEdge(*args, **kwargs): + """DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)""" + return _gdi.Effects_DrawSunkenEdge(*args, **kwargs) + + def TileBitmap(*args, **kwargs): + """TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool""" + return _gdi.Effects_TileBitmap(*args, **kwargs) + + +class EffectsPtr(Effects): def __init__(self, this): self.this = this if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = DragImage -_gdi.DragImage_swigregister(DragImagePtr) + self.__class__ = Effects +_gdi.Effects_swigregister(EffectsPtr) cvar = _gdi.cvar NORMAL_FONT = cvar.NORMAL_FONT SMALL_FONT = cvar.SMALL_FONT @@ -1888,55 +3321,4 @@ ThePenList = cvar.ThePenList TheBrushList = cvar.TheBrushList TheColourDatabase = cvar.TheColourDatabase -def DragIcon(*args, **kwargs): - val = _gdi.new_DragIcon(*args, **kwargs) - val.thisown = 1 - return val - -def DragString(*args, **kwargs): - val = _gdi.new_DragString(*args, **kwargs) - val.thisown = 1 - return val - -def DragTreeItem(*args, **kwargs): - val = _gdi.new_DragTreeItem(*args, **kwargs) - val.thisown = 1 - return val - -def DragListItem(*args, **kwargs): - val = _gdi.new_DragListItem(*args, **kwargs) - val.thisown = 1 - return val - -#--------------------------------------------------------------------------- - -class Effects(core.Object): - def __init__(self, *args, **kwargs): - newobj = _gdi.new_Effects(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def GetHighlightColour(*args, **kwargs): return _gdi.Effects_GetHighlightColour(*args, **kwargs) - def GetLightShadow(*args, **kwargs): return _gdi.Effects_GetLightShadow(*args, **kwargs) - def GetFaceColour(*args, **kwargs): return _gdi.Effects_GetFaceColour(*args, **kwargs) - def GetMediumShadow(*args, **kwargs): return _gdi.Effects_GetMediumShadow(*args, **kwargs) - def GetDarkShadow(*args, **kwargs): return _gdi.Effects_GetDarkShadow(*args, **kwargs) - def SetHighlightColour(*args, **kwargs): return _gdi.Effects_SetHighlightColour(*args, **kwargs) - def SetLightShadow(*args, **kwargs): return _gdi.Effects_SetLightShadow(*args, **kwargs) - def SetFaceColour(*args, **kwargs): return _gdi.Effects_SetFaceColour(*args, **kwargs) - def SetMediumShadow(*args, **kwargs): return _gdi.Effects_SetMediumShadow(*args, **kwargs) - def SetDarkShadow(*args, **kwargs): return _gdi.Effects_SetDarkShadow(*args, **kwargs) - def Set(*args, **kwargs): return _gdi.Effects_Set(*args, **kwargs) - def DrawSunkenEdge(*args, **kwargs): return _gdi.Effects_DrawSunkenEdge(*args, **kwargs) - def TileBitmap(*args, **kwargs): return _gdi.Effects_TileBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - -class EffectsPtr(Effects): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = Effects -_gdi.Effects_swigregister(EffectsPtr) - diff --git a/wxPython/src/msw/gdi_wrap.cpp b/wxPython/src/msw/gdi_wrap.cpp index a664847126..5afb76f3bf 100644 --- a/wxPython/src/msw/gdi_wrap.cpp +++ b/wxPython/src/msw/gdi_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -222,66 +216,61 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_wxPostScriptDC swig_types[0] -#define SWIGTYPE_p_wxGenericDragImage swig_types[1] -#define SWIGTYPE_p_wxBrush swig_types[2] -#define SWIGTYPE_p_wxColour swig_types[3] -#define SWIGTYPE_p_wxCoord swig_types[4] -#define SWIGTYPE_p_wxDC swig_types[5] -#define SWIGTYPE_p_wxMirrorDC swig_types[6] -#define SWIGTYPE_p_byte swig_types[7] -#define SWIGTYPE_p_wxPyFontEnumerator swig_types[8] -#define SWIGTYPE_p_wxIconLocation swig_types[9] -#define SWIGTYPE_p_wxImage swig_types[10] -#define SWIGTYPE_p_wxMetaFileDC swig_types[11] -#define SWIGTYPE_p_wxMask swig_types[12] -#define SWIGTYPE_p_wxFont swig_types[13] -#define SWIGTYPE_p_wxWindow swig_types[14] -#define SWIGTYPE_p_wxSize swig_types[15] -#define SWIGTYPE_p_double swig_types[16] -#define SWIGTYPE_p_wxMemoryDC swig_types[17] -#define SWIGTYPE_p_wxFontMapper swig_types[18] -#define SWIGTYPE_p_wxListCtrl swig_types[19] -#define SWIGTYPE_p_wxEffects swig_types[20] -#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21] -#define SWIGTYPE_p_wxPalette swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxObject swig_types[24] -#define SWIGTYPE_p_wxRegionIterator swig_types[25] -#define SWIGTYPE_p_wxRect swig_types[26] -#define SWIGTYPE_p_wxString swig_types[27] -#define SWIGTYPE_p_wxPrinterDC swig_types[28] -#define SWIGTYPE_p_wxIconBundle swig_types[29] -#define SWIGTYPE_p_wxPoint swig_types[30] -#define SWIGTYPE_p_wxDash swig_types[31] -#define SWIGTYPE_p_wxScreenDC swig_types[32] -#define SWIGTYPE_p_wxCursor swig_types[33] -#define SWIGTYPE_p_wxClientDC swig_types[34] -#define SWIGTYPE_p_wxTreeCtrl swig_types[35] -#define SWIGTYPE_p_wxBufferedDC swig_types[36] -#define SWIGTYPE_p_wxImageList swig_types[37] -#define SWIGTYPE_p_unsigned_char swig_types[38] -#define SWIGTYPE_p_wxGDIObject swig_types[39] -#define SWIGTYPE_p_wxLocale swig_types[40] -#define SWIGTYPE_p_wxIcon swig_types[41] -#define SWIGTYPE_p_wxRegion swig_types[42] -#define SWIGTYPE_p_wxLanguageInfo swig_types[43] -#define SWIGTYPE_p_wxConfigBase swig_types[44] -#define SWIGTYPE_p_wxWindowDC swig_types[45] -#define SWIGTYPE_p_wxPrintData swig_types[46] -#define SWIGTYPE_p_wxBrushList swig_types[47] -#define SWIGTYPE_p_wxFontList swig_types[48] -#define SWIGTYPE_p_wxPen swig_types[49] -#define SWIGTYPE_p_wxBufferedPaintDC swig_types[50] -#define SWIGTYPE_p_wxPaintDC swig_types[51] -#define SWIGTYPE_p_wxPenList swig_types[52] -#define SWIGTYPE_p_wxTreeItemId swig_types[53] -#define SWIGTYPE_p_wxPyPen swig_types[54] -#define SWIGTYPE_p_int swig_types[55] -#define SWIGTYPE_p_wxMetaFile swig_types[56] -#define SWIGTYPE_p_wxNativeFontInfo swig_types[57] -#define SWIGTYPE_p_wxEncodingConverter swig_types[58] -#define SWIGTYPE_p_wxColourDatabase swig_types[59] -static swig_type_info *swig_types[61]; +#define SWIGTYPE_p_wxBrush swig_types[1] +#define SWIGTYPE_p_wxColour swig_types[2] +#define SWIGTYPE_p_wxDC swig_types[3] +#define SWIGTYPE_p_wxMirrorDC swig_types[4] +#define SWIGTYPE_p_byte swig_types[5] +#define SWIGTYPE_p_wxPyFontEnumerator swig_types[6] +#define SWIGTYPE_p_wxIconLocation swig_types[7] +#define SWIGTYPE_p_wxImage swig_types[8] +#define SWIGTYPE_p_wxMetaFileDC swig_types[9] +#define SWIGTYPE_p_wxMask swig_types[10] +#define SWIGTYPE_p_wxFont swig_types[11] +#define SWIGTYPE_p_wxWindow swig_types[12] +#define SWIGTYPE_p_wxSize swig_types[13] +#define SWIGTYPE_p_double swig_types[14] +#define SWIGTYPE_p_wxMemoryDC swig_types[15] +#define SWIGTYPE_p_wxFontMapper swig_types[16] +#define SWIGTYPE_p_wxEffects swig_types[17] +#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18] +#define SWIGTYPE_p_wxPalette swig_types[19] +#define SWIGTYPE_p_wxBitmap swig_types[20] +#define SWIGTYPE_p_wxObject swig_types[21] +#define SWIGTYPE_p_wxRegionIterator swig_types[22] +#define SWIGTYPE_p_wxRect swig_types[23] +#define SWIGTYPE_p_wxString swig_types[24] +#define SWIGTYPE_p_wxPrinterDC swig_types[25] +#define SWIGTYPE_p_wxIconBundle swig_types[26] +#define SWIGTYPE_p_wxPoint swig_types[27] +#define SWIGTYPE_p_wxDash swig_types[28] +#define SWIGTYPE_p_wxScreenDC swig_types[29] +#define SWIGTYPE_p_wxCursor swig_types[30] +#define SWIGTYPE_p_wxClientDC swig_types[31] +#define SWIGTYPE_p_wxBufferedDC swig_types[32] +#define SWIGTYPE_p_wxImageList swig_types[33] +#define SWIGTYPE_p_unsigned_char swig_types[34] +#define SWIGTYPE_p_wxGDIObject swig_types[35] +#define SWIGTYPE_p_wxLocale swig_types[36] +#define SWIGTYPE_p_wxIcon swig_types[37] +#define SWIGTYPE_p_wxRegion swig_types[38] +#define SWIGTYPE_p_wxLanguageInfo swig_types[39] +#define SWIGTYPE_p_wxConfigBase swig_types[40] +#define SWIGTYPE_p_wxWindowDC swig_types[41] +#define SWIGTYPE_p_wxPrintData swig_types[42] +#define SWIGTYPE_p_wxBrushList swig_types[43] +#define SWIGTYPE_p_wxFontList swig_types[44] +#define SWIGTYPE_p_wxPen swig_types[45] +#define SWIGTYPE_p_wxBufferedPaintDC swig_types[46] +#define SWIGTYPE_p_wxPaintDC swig_types[47] +#define SWIGTYPE_p_wxPenList swig_types[48] +#define SWIGTYPE_p_wxPyPen swig_types[49] +#define SWIGTYPE_p_int swig_types[50] +#define SWIGTYPE_p_wxMetaFile swig_types[51] +#define SWIGTYPE_p_wxNativeFontInfo swig_types[52] +#define SWIGTYPE_p_wxEncodingConverter swig_types[53] +#define SWIGTYPE_p_wxColourDatabase swig_types[54] +static swig_type_info *swig_types[56]; /* -------- TYPES TABLE (END) -------- */ @@ -489,7 +478,7 @@ wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){ { PyErr_SetNone(PyExc_NotImplementedError); return NULL; } bool wxTestFontEncoding(const wxNativeEncodingInfo& info) - { PyErr_SetNone(PyExc_NotImplementedError); return false; } + { PyErr_SetNone(PyExc_NotImplementedError); return False; } PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename,bool interactive){ wxFontEncoding alt_enc; @@ -537,7 +526,7 @@ PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){ #include "wx/wxPython/pydrawxxx.h" -wxColour wxDC_GetPixelXY(wxDC *self,wxCoord x,wxCoord y){ +wxColour wxDC_GetPixelXY(wxDC *self,int x,int y){ wxColour col; self->GetPixel(x, y, &col); return col; @@ -595,9 +584,6 @@ void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red self->AddColour(name, wxColour(red, green, blue)); } -#include - - #include #ifdef __cplusplus @@ -802,7 +788,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxString *arg1 = 0 ; wxColour *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "colorName", NULL @@ -812,7 +798,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2115,7 +2101,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwar wxString *arg1 = 0 ; int arg2 = (int) wxBITMAP_TYPE_ANY ; wxBitmap *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "type", NULL @@ -2125,7 +2111,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2643,7 +2629,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject int arg3 ; wxPalette *arg4 = (wxPalette *) (wxPalette *) NULL ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -2656,7 +2642,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPalette,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -2689,7 +2675,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject wxString *arg2 = 0 ; int arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2701,7 +2687,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2996,7 +2982,7 @@ static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs int arg3 = (int) -1 ; int arg4 = (int) -1 ; wxIcon *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL @@ -3006,7 +2992,7 @@ static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3163,7 +3149,7 @@ static PyObject *_wrap_Icon_LoadFile(PyObject *self, PyObject *args, PyObject *k wxString *arg2 = 0 ; long arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3175,7 +3161,7 @@ static PyObject *_wrap_Icon_LoadFile(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3573,7 +3559,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, PyObject *resultobj; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3585,7 +3571,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3721,7 +3707,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, Py wxString *arg1 = 0 ; long arg2 ; wxIconBundle *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "file",(char *) "type", NULL @@ -3731,7 +3717,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3842,7 +3828,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxString *arg2 = 0 ; long arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3854,7 +3840,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4322,10 +4308,10 @@ static PyObject * Cursor_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_Region(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxCoord arg1 = (wxCoord) 0 ; - wxCoord arg2 = (wxCoord) 0 ; - wxCoord arg3 = (wxCoord) 0 ; - wxCoord arg4 = (wxCoord) 0 ; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + int arg3 = (int) 0 ; + int arg4 = (int) 0 ; wxRegion *result; char *kwnames[] = { (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -4472,8 +4458,8 @@ static PyObject *_wrap_Region_Clear(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_Region_Offset(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4499,8 +4485,8 @@ static PyObject *_wrap_Region_Offset(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Region_Contains(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4590,10 +4576,10 @@ static PyObject *_wrap_Region_ContainsRect(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Region_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4648,10 +4634,10 @@ static PyObject *_wrap_Region_GetBox(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Region_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4765,10 +4751,10 @@ static PyObject *_wrap_Region_IsEmpty(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_Region_Union(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4857,10 +4843,10 @@ static PyObject *_wrap_Region_UnionRegion(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Region_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4949,10 +4935,10 @@ static PyObject *_wrap_Region_SubtractRegion(PyObject *self, PyObject *args, PyO static PyObject *_wrap_Region_Xor(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegion *arg1 = (wxRegion *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5171,7 +5157,7 @@ static PyObject *_wrap_delete_RegionIterator(PyObject *self, PyObject *args, PyO static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5181,7 +5167,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetX(); + result = (int)(arg1)->GetX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5196,7 +5182,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5206,7 +5192,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetY(); + result = (int)(arg1)->GetY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5221,7 +5207,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5231,7 +5217,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetW(); + result = (int)(arg1)->GetW(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5246,7 +5232,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5256,7 +5242,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, P if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetWidth(); + result = (int)(arg1)->GetWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5271,7 +5257,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, P static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5281,7 +5267,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetH(); + result = (int)(arg1)->GetH(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5296,7 +5282,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -5306,7 +5292,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRegionIterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)(arg1)->GetHeight(); + result = (int)(arg1)->GetHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5840,7 +5826,6 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args PyObject *resultobj; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5849,8 +5834,12 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNativeFontInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->SetFaceName(arg2); @@ -5920,7 +5909,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5932,7 +5921,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6023,7 +6012,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *a wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6035,7 +6024,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6101,7 +6090,6 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject PyObject *resultobj; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6110,8 +6098,12 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNativeEncodingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->facename = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -6238,7 +6230,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *a wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6250,7 +6242,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6460,9 +6452,9 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *ar PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) true ; + bool arg3 = (bool) True ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6475,7 +6467,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6640,7 +6632,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6652,7 +6644,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6710,9 +6702,9 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *ar int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -6726,7 +6718,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6762,7 +6754,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject * wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6775,7 +6767,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -6831,7 +6823,7 @@ static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *resultobj; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6843,7 +6835,7 @@ static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6880,12 +6872,12 @@ static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs int arg2 ; int arg3 ; int arg4 ; - bool arg5 = (bool) FALSE ; + bool arg5 = (bool) False ; wxString const &arg6_defvalue = wxPyEmptyString ; wxString *arg6 = (wxString *) &arg6_defvalue ; int arg7 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -6901,7 +6893,7 @@ static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -6982,7 +6974,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *ar PyObject *resultobj; wxString *arg1 = 0 ; wxFont *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "info", NULL @@ -6992,7 +6984,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *ar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7025,7 +7017,7 @@ static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwarg wxString *arg4 = (wxString *) &arg4_defvalue ; int arg5 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj3 = 0 ; char *kwnames[] = { (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL @@ -7036,7 +7028,7 @@ static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwarg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -7545,7 +7537,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7557,7 +7549,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7668,7 +7660,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7680,7 +7672,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7708,7 +7700,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject * PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7720,7 +7712,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7840,7 +7832,7 @@ static PyObject *_wrap_Font_GetWeightString(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxFont *arg1 = (wxFont *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8027,7 +8019,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *self, PyObjec PyObject *resultobj; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; int arg2 = (int) wxFONTENCODING_SYSTEM ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -8061,7 +8053,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObjec wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8074,7 +8066,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -8200,7 +8192,6 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject * PyObject *resultobj; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8209,8 +8200,12 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLanguageInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->CanonicalName = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -8250,7 +8245,6 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *ar PyObject *resultobj; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString arg2 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8259,8 +8253,12 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLanguageInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } if (arg1) (arg1)->Description = arg2; Py_INCREF(Py_None); resultobj = Py_None; @@ -8359,12 +8357,12 @@ static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kw wxString *arg3 = (wxString *) &arg3_defvalue ; wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; - bool arg5 = (bool) TRUE ; - bool arg6 = (bool) FALSE ; + bool arg5 = (bool) True ; + bool arg6 = (bool) False ; bool result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8380,20 +8378,20 @@ static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kw { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -8687,7 +8685,7 @@ static PyObject *_wrap_Locale_GetCanonicalName(PyObject *self, PyObject *args, P static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "prefix", NULL @@ -8697,7 +8695,7 @@ static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8726,7 +8724,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObjec wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8738,7 +8736,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8767,7 +8765,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8779,7 +8777,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8859,7 +8857,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxLanguageInfo *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "locale", NULL @@ -8869,7 +8867,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8927,8 +8925,8 @@ static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8941,13 +8939,13 @@ static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -9047,14 +9045,14 @@ static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *self, PyObject *args) { PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9090,8 +9088,8 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) { wxString *arg2 = 0 ; size_t arg3 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9100,12 +9098,12 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) { { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = (size_t) PyInt_AsLong(obj2); if (PyErr_Occurred()) SWIG_fail; @@ -9285,7 +9283,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9297,7 +9295,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9494,8 +9492,8 @@ static PyObject *_wrap_DC_EndDrawing(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_FloodFillXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxColour *arg4 = 0 ; int arg5 = (int) wxFLOOD_SURFACE ; bool result; @@ -9569,8 +9567,8 @@ static PyObject *_wrap_DC_FloodFill(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetPixelXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; wxColour result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9636,10 +9634,10 @@ static PyObject *_wrap_DC_GetPixel(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_DrawLineXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL @@ -9702,8 +9700,8 @@ static PyObject *_wrap_DC_DrawLine(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_CrossHairXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -9759,12 +9757,12 @@ static PyObject *_wrap_DC_CrossHair(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawArcXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; - wxCoord arg6 ; - wxCoord arg7 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; + int arg6 ; + int arg7 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL @@ -9834,10 +9832,10 @@ static PyObject *_wrap_DC_DrawArc(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawCheckMarkXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -9893,10 +9891,10 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_DC_DrawEllipticArcXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; double arg6 ; double arg7 ; PyObject * obj0 = 0 ; @@ -9963,8 +9961,8 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_DrawPointXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -10020,10 +10018,10 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRectangleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -10117,10 +10115,10 @@ static PyObject *_wrap_DC_DrawRectangleRect(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_DC_DrawRoundedRectangleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; double arg6 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10217,9 +10215,9 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *self, PyObject *arg static PyObject *_wrap_DC_DrawCircleXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg2 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL @@ -10245,7 +10243,7 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; - wxCoord arg3 ; + int arg3 ; wxPoint temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10276,10 +10274,10 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawEllipseXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -10374,8 +10372,8 @@ static PyObject *_wrap_DC_DrawIconXY(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10443,9 +10441,9 @@ static PyObject *_wrap_DC_DrawBitmapXY(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; - bool arg5 = (bool) FALSE ; + int arg3 ; + int arg4 ; + bool arg5 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -10482,7 +10480,7 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *self, PyObject *args, PyObject *k wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; wxPoint *arg3 = 0 ; - bool arg4 = (bool) FALSE ; + bool arg4 = (bool) False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10524,9 +10522,9 @@ static PyObject *_wrap_DC_DrawTextXY(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; - bool temp2 = false ; + int arg3 ; + int arg4 ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10538,7 +10536,7 @@ static PyObject *_wrap_DC_DrawTextXY(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10567,7 +10565,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwa wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; - bool temp2 = false ; + bool temp2 = False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10581,7 +10579,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwa { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10613,10 +10611,10 @@ static PyObject *_wrap_DC_DrawRotatedTextXY(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; double arg5 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10628,7 +10626,7 @@ static PyObject *_wrap_DC_DrawRotatedTextXY(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10658,7 +10656,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; double arg4 ; - bool temp2 = false ; + bool temp2 = False ; wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10672,7 +10670,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10703,17 +10701,17 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_BlitXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; wxDC *arg6 = (wxDC *) 0 ; - wxCoord arg7 ; - wxCoord arg8 ; + int arg7 ; + int arg8 ; int arg9 = (int) wxCOPY ; - bool arg10 = (bool) FALSE ; - wxCoord arg11 = (wxCoord) -1 ; - wxCoord arg12 = (wxCoord) -1 ; + bool arg10 = (bool) False ; + int arg11 = (int) -1 ; + int arg12 = (int) -1 ; bool result; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; @@ -10751,7 +10749,7 @@ static PyObject *_wrap_DC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) wxDC *arg4 = (wxDC *) 0 ; wxPoint *arg5 = 0 ; int arg6 = (int) wxCOPY ; - bool arg7 = (bool) FALSE ; + bool arg7 = (bool) False ; wxPoint const &arg8_defvalue = wxDefaultPosition ; wxPoint *arg8 = (wxPoint *) &arg8_defvalue ; bool result; @@ -10814,8 +10812,8 @@ static PyObject *_wrap_DC_DrawLines(PyObject *self, PyObject *args, PyObject *kw wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; - wxCoord arg4 = (wxCoord) 0 ; - wxCoord arg5 = (wxCoord) 0 ; + int arg4 = (int) 0 ; + int arg5 = (int) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10853,8 +10851,8 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *self, PyObject *args, PyObject * wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; - wxCoord arg4 = (wxCoord) 0 ; - wxCoord arg5 = (wxCoord) 0 ; + int arg4 = (int) 0 ; + int arg5 = (int) 0 ; int arg6 = (int) wxODDEVEN_RULE ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10895,7 +10893,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kw wxRect *arg3 = 0 ; int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ; int arg5 = (int) -1 ; - bool temp2 = false ; + bool temp2 = False ; wxRect temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10909,7 +10907,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kw { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -10946,7 +10944,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObjec int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ; int arg6 = (int) -1 ; wxRect result; - bool temp2 = false ; + bool temp2 = False ; wxRect temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10961,7 +10959,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg3 == NULL) { @@ -11063,7 +11061,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwa wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11075,7 +11073,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwa { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11349,10 +11347,10 @@ static PyObject *_wrap_DC_SetPalette(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_DC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; - wxCoord arg4 ; - wxCoord arg5 ; + int arg2 ; + int arg3 ; + int arg4 ; + int arg5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL @@ -11462,14 +11460,14 @@ static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *self, PyObject *args, static PyObject *_wrap_DC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; + int temp2 ; + int temp3 ; + int temp4 ; + int temp5 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11543,7 +11541,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11553,7 +11551,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->GetCharHeight(); + result = (int)((wxDC const *)arg1)->GetCharHeight(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11568,7 +11566,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -11578,7 +11576,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->GetCharWidth(); + result = (int)((wxDC const *)arg1)->GetCharWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11594,11 +11592,11 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11612,7 +11610,7 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11648,16 +11646,16 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; - wxCoord *arg6 = (wxCoord *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; + int *arg6 = (int *) 0 ; wxFont *arg7 = (wxFont *) NULL ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; - wxCoord temp6 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; + int temp5 ; + int temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11674,7 +11672,7 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -11721,14 +11719,14 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord *arg4 = (wxCoord *) 0 ; - wxCoord *arg5 = (wxCoord *) 0 ; + int *arg3 = (int *) 0 ; + int *arg4 = (int *) 0 ; + int *arg5 = (int *) 0 ; wxFont *arg6 = (wxFont *) NULL ; - bool temp2 = false ; - wxCoord temp3 ; - wxCoord temp4 ; - wxCoord temp5 ; + bool temp2 = False ; + int temp3 ; + int temp4 ; + int temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11744,7 +11742,7 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg6, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -11920,8 +11918,8 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11931,7 +11929,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalX(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11946,8 +11944,8 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -11957,7 +11955,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalY(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11972,8 +11970,8 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -11983,7 +11981,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11998,8 +11996,8 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -12009,7 +12007,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2); + result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12024,8 +12022,8 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -12035,7 +12033,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceX(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12050,8 +12048,8 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -12061,7 +12059,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObj if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceY(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12076,8 +12074,8 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x", NULL @@ -12087,7 +12085,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12102,8 +12100,8 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, Py static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord result; + int arg2 ; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "y", NULL @@ -12113,7 +12111,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, Py if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2); + result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12690,10 +12688,10 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int temp3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12757,8 +12755,8 @@ static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -12783,10 +12781,10 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord *arg2 = (wxCoord *) 0 ; - wxCoord *arg3 = (wxCoord *) 0 ; - wxCoord temp2 ; - wxCoord temp3 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int temp3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12850,8 +12848,8 @@ static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -13011,8 +13009,8 @@ static PyObject *_wrap_DC_GetOptimization(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_DC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -13061,7 +13059,7 @@ static PyObject *_wrap_DC_ResetBoundingBox(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13071,7 +13069,7 @@ static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MinX(); + result = (int)((wxDC const *)arg1)->MinX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13086,7 +13084,7 @@ static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13096,7 +13094,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MaxX(); + result = (int)((wxDC const *)arg1)->MaxX(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13111,7 +13109,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13121,7 +13119,7 @@ static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MinY(); + result = (int)((wxDC const *)arg1)->MinY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -13136,7 +13134,7 @@ static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDC *arg1 = (wxDC *) 0 ; - wxCoord result; + int result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -13146,7 +13144,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCoord)((wxDC const *)arg1)->MaxY(); + result = (int)((wxDC const *)arg1)->MaxY(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14032,7 +14030,7 @@ static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kw wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxMetaFile *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "filename", NULL @@ -14043,7 +14041,7 @@ static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -14267,8 +14265,8 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject * wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxMetaFileDC *result; - bool temp1 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -14280,14 +14278,14 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -14391,7 +14389,7 @@ static PyObject *_wrap_new_ImageList(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; int arg1 ; int arg2 ; - int arg3 = (int) TRUE ; + int arg3 = (int) True ; int arg4 = (int) 1 ; wxImageList *result; char *kwnames[] = { @@ -14597,7 +14595,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *self, PyObject *args, PyObject * int arg4 ; int arg5 ; int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ; - bool arg7 = (bool) (bool)FALSE ; + bool arg7 = (bool) (bool)False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -15042,7 +15040,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObj wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15054,7 +15052,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15125,7 +15123,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour *arg3 = 0 ; - bool temp2 = false ; + bool temp2 = False ; wxColour temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -15139,7 +15137,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = &temp3; @@ -15174,7 +15172,7 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyO int arg3 ; int arg4 ; int arg5 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15186,7 +15184,7 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15251,12 +15249,12 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) FALSE ; + bool arg6 = (bool) False ; wxString const &arg7_defvalue = wxPyEmptyString ; wxString *arg7 = (wxString *) &arg7_defvalue ; int arg8 = (int) wxFONTENCODING_DEFAULT ; wxFont *result; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; @@ -15274,7 +15272,7 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -16002,724 +16000,119 @@ static PyObject *_wrap_TheColourDatabase_get() { } -static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxBitmap *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; + wxEffects *result; char *kwnames[] = { - (char *) "image",(char *) "cursor", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2); + result = (wxEffects *)new wxEffects(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEffects, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxIcon *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "image",(char *) "cursor", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2); + result = ((wxEffects const *)arg1)->GetHighlightColour(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxString *arg1 = 0 ; - wxCursor const &arg2_defvalue = wxNullCursor ; - wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; - wxGenericDragImage *result; - bool temp1 = false ; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "str",(char *) "cursor", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; - } - if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2); + result = ((wxEffects const *)arg1)->GetLightShadow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); { - if (temp1) - delete arg1; + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); } return resultobj; fail: - { - if (temp1) - delete arg1; - } return NULL; } -static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxTreeCtrl *arg1 = 0 ; - wxTreeItemId *arg2 = 0 ; - wxGenericDragImage *result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "treeCtrl",(char *) "id", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxTreeCtrl const &)*arg1,*arg2); + result = ((wxEffects const *)arg1)->GetFaceColour(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); + { + wxColour * resultptr; + resultptr = new wxColour((wxColour &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) { +static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxListCtrl *arg1 = 0 ; - long arg2 ; - wxGenericDragImage *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "listCtrl",(char *) "id", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGenericDragImage *)new wxGenericDragImage((wxListCtrl const &)*arg1,arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,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_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxBitmap *arg2 = (wxBitmap *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "bitmap", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBackingBitmap(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxWindow *arg3 = (wxWindow *) 0 ; - bool arg4 = (bool) FALSE ; - wxRect *arg5 = (wxRect *) NULL ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (obj3) { - arg4 = PyInt_AsLong(obj3) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - } - if (obj4) { - if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxWindow *arg3 = (wxWindow *) 0 ; - wxWindow *arg4 = (wxWindow *) 0 ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->EndDrag(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - bool result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "pt", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Move((wxPoint const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Show(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Hide(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxRect result; - wxPoint temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "pos", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxRect * resultptr; - resultptr = new wxRect((wxRect &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool result; - wxPoint temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "dc",(char *) "pos", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxDC *arg2 = 0 ; - wxMemoryDC *arg3 = 0 ; - wxRect *arg4 = 0 ; - wxRect *arg5 = 0 ; - bool result; - wxRect temp4 ; - wxRect temp5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - arg4 = &temp4; - if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; - } - { - arg5 = &temp5; - if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; - wxPoint *arg2 = 0 ; - wxPoint *arg3 = 0 ; - bool arg4 ; - bool arg5 ; - bool result; - wxPoint temp2 ; - wxPoint temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - arg2 = &temp2; - if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; - } - { - arg3 = &temp3; - if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; - } - arg4 = PyInt_AsLong(obj3) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - arg5 = PyInt_AsLong(obj4) ? true : false; - if (PyErr_Occurred()) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *result; - char *kwnames[] = { - NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxEffects *)new wxEffects(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEffects, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetHighlightColour(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetLightShadow(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEffects,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxEffects const *)arg1)->GetFaceColour(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxEffects *arg1 = (wxEffects *) 0 ; - wxColour result; + wxEffects *arg1 = (wxEffects *) 0 ; + wxColour result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -17597,24 +16990,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS }, { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS }, { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS }, - { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS }, - { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS }, { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS }, { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS }, { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS }, @@ -17636,78 +17011,21 @@ static PyMethodDef SwigMethods[] = { /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ +static void *_p_wxControlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxControl *) x)); +} +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); +} +static void *_p_wxMenuBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxMenuBar *) x)); +} static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) { return (void *)((wxMemoryDC *) ((wxBufferedDC *) x)); } static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) { return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x)); } -static void *_p_wxPyPenTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) (wxPen *) ((wxPyPen *) x)); -} -static void *_p_wxIconTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxIcon *) x)); -} -static void *_p_wxPaletteTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxPalette *) x)); -} -static void *_p_wxPenTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxPen *) x)); -} -static void *_p_wxFontTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxFont *) x)); -} -static void *_p_wxCursorTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxCursor *) x)); -} -static void *_p_wxBitmapTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxBitmap *) x)); -} -static void *_p_wxRegionTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxRegion *) x)); -} -static void *_p_wxBrushTo_p_wxGDIObject(void *x) { - return (void *)((wxGDIObject *) ((wxBrush *) x)); -} -static void *_p_wxBufferedDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x)); -} -static void *_p_wxScreenDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxScreenDC *) x)); -} -static void *_p_wxMirrorDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMirrorDC *) x)); -} -static void *_p_wxMemoryDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMemoryDC *) x)); -} -static void *_p_wxWindowDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxWindowDC *) x)); -} -static void *_p_wxMetaFileDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxMetaFileDC *) x)); -} -static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x)); -} -static void *_p_wxClientDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxClientDC *) x)); -} -static void *_p_wxPaintDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPaintDC *) x)); -} -static void *_p_wxPostScriptDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPostScriptDC *) x)); -} -static void *_p_wxPrinterDCTo_p_wxDC(void *x) { - return (void *)((wxDC *) ((wxPrinterDC *) x)); -} -static void *_p_wxPyPenTo_p_wxPen(void *x) { - return (void *)((wxPen *) ((wxPyPen *) x)); -} -static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) { - return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x)); -} static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxLayoutConstraints *) x)); } @@ -17912,9 +17230,6 @@ static void *_p_wxImageTo_p_wxObject(void *x) { static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } -static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxGenericDragImage *) x)); -} static void *_p_wxPaletteTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x)); } @@ -18026,20 +17341,75 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxControlTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxControl *) x)); +static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) { + return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x)); } -static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); +static void *_p_wxBufferedDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x)); } -static void *_p_wxMenuBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxMenuBar *) x)); +static void *_p_wxScreenDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxScreenDC *) x)); +} +static void *_p_wxMirrorDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMirrorDC *) x)); +} +static void *_p_wxMemoryDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMemoryDC *) x)); +} +static void *_p_wxWindowDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxWindowDC *) x)); +} +static void *_p_wxMetaFileDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxMetaFileDC *) x)); +} +static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x)); +} +static void *_p_wxClientDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxClientDC *) x)); +} +static void *_p_wxPaintDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPaintDC *) x)); +} +static void *_p_wxPostScriptDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPostScriptDC *) x)); +} +static void *_p_wxPrinterDCTo_p_wxDC(void *x) { + return (void *)((wxDC *) ((wxPrinterDC *) x)); +} +static void *_p_wxPyPenTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) (wxPen *) ((wxPyPen *) x)); +} +static void *_p_wxIconTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxIcon *) x)); +} +static void *_p_wxPaletteTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxPalette *) x)); +} +static void *_p_wxPenTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxPen *) x)); +} +static void *_p_wxFontTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxFont *) x)); +} +static void *_p_wxCursorTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxCursor *) x)); +} +static void *_p_wxBitmapTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxBitmap *) x)); +} +static void *_p_wxRegionTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxRegion *) x)); +} +static void *_p_wxBrushTo_p_wxGDIObject(void *x) { + return (void *)((wxGDIObject *) ((wxBrush *) x)); +} +static void *_p_wxPyPenTo_p_wxPen(void *x) { + return (void *)((wxPen *) ((wxPyPen *) x)); } static swig_type_info _swigt__p_wxPostScriptDC[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}}; -static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}}; static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxCoord[] = {{"_p_wxCoord", 0, "wxCoord *", 0},{"_p_wxCoord"},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC},{"_p_wxDC"},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC},{0}}; static swig_type_info _swigt__p_wxMirrorDC[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}}; static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; @@ -18054,12 +17424,11 @@ static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}}; static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC},{"_p_wxMemoryDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC},{0}}; static swig_type_info _swigt__p_wxFontMapper[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}}; -static swig_type_info _swigt__p_wxListCtrl[] = {{"_p_wxListCtrl", 0, "wxListCtrl *", 0},{"_p_wxListCtrl"},{0}}; static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}}; static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; @@ -18070,7 +17439,6 @@ static swig_type_info _swigt__p_wxDash[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p static swig_type_info _swigt__p_wxScreenDC[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxClientDC[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}}; -static swig_type_info _swigt__p_wxTreeCtrl[] = {{"_p_wxTreeCtrl", 0, "wxTreeCtrl *", 0},{"_p_wxTreeCtrl"},{0}}; static swig_type_info _swigt__p_wxBufferedDC[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC},{0}}; static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}}; static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; @@ -18088,9 +17456,8 @@ static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wx static swig_type_info _swigt__p_wxBufferedPaintDC[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}}; static swig_type_info _swigt__p_wxPaintDC[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}}; static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}}; static swig_type_info _swigt__p_wxPyPen[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_wxCoord"},{"_p_int"},{0}}; +static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; static swig_type_info _swigt__p_wxMetaFile[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}}; static swig_type_info _swigt__p_wxNativeFontInfo[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}}; static swig_type_info _swigt__p_wxEncodingConverter[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}}; @@ -18098,10 +17465,8 @@ static swig_type_info _swigt__p_wxColourDatabase[] = {{"_p_wxColourDatabase", 0, static swig_type_info *swig_types_initial[] = { _swigt__p_wxPostScriptDC, -_swigt__p_wxGenericDragImage, _swigt__p_wxBrush, _swigt__p_wxColour, -_swigt__p_wxCoord, _swigt__p_wxDC, _swigt__p_wxMirrorDC, _swigt__p_byte, @@ -18116,7 +17481,6 @@ _swigt__p_wxSize, _swigt__p_double, _swigt__p_wxMemoryDC, _swigt__p_wxFontMapper, -_swigt__p_wxListCtrl, _swigt__p_wxEffects, _swigt__p_wxNativeEncodingInfo, _swigt__p_wxPalette, @@ -18132,7 +17496,6 @@ _swigt__p_wxDash, _swigt__p_wxScreenDC, _swigt__p_wxCursor, _swigt__p_wxClientDC, -_swigt__p_wxTreeCtrl, _swigt__p_wxBufferedDC, _swigt__p_wxImageList, _swigt__p_unsigned_char, @@ -18150,7 +17513,6 @@ _swigt__p_wxPen, _swigt__p_wxBufferedPaintDC, _swigt__p_wxPaintDC, _swigt__p_wxPenList, -_swigt__p_wxTreeItemId, _swigt__p_wxPyPen, _swigt__p_int, _swigt__p_wxMetaFile, @@ -18577,8 +17939,5 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set); - - wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage"); - } diff --git a/wxPython/src/msw/grid.py b/wxPython/src/msw/grid.py index c7ac998626..87fe1a39d6 100644 --- a/wxPython/src/msw/grid.py +++ b/wxPython/src/msw/grid.py @@ -16,16 +16,39 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellRenderer_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellRenderer_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellRenderer_DecRef(*args, **kwargs) - def Draw(*args, **kwargs): return _grid.GridCellRenderer_Draw(*args, **kwargs) - def GetBestSize(*args, **kwargs): return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellRenderer_Clone(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(wxString params)""" + return _grid.GridCellRenderer_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellRenderer_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellRenderer_DecRef(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, + int col, bool isSelected)""" + return _grid.GridCellRenderer_Draw(*args, **kwargs) + + def GetBestSize(*args, **kwargs): + """GetBestSize(Grid grid, GridCellAttr attr, wxDC dc, int row, int col) -> Size""" + return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellRenderer""" + return _grid.GridCellRenderer_Clone(*args, **kwargs) + class GridCellRendererPtr(GridCellRenderer): def __init__(self, this): @@ -38,16 +61,25 @@ GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellRenderer""" newobj = _grid.new_PyGridCellRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(wxString params)""" + return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) + class PyGridCellRendererPtr(PyGridCellRenderer): def __init__(self, this): @@ -57,14 +89,17 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellStringRenderer""" newobj = _grid.new_GridCellStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellStringRendererPtr(GridCellStringRenderer): def __init__(self, this): @@ -74,14 +109,17 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellNumberRenderer""" newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellNumberRendererPtr(GridCellNumberRenderer): def __init__(self, this): @@ -91,18 +129,33 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer""" newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) - def GetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) - def SetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) + + def GetPrecision(*args, **kwargs): + """GetPrecision() -> int""" + return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) + + def SetPrecision(*args, **kwargs): + """SetPrecision(int precision)""" + return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) + class GridCellFloatRendererPtr(GridCellFloatRenderer): def __init__(self, this): @@ -112,14 +165,17 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolRenderer""" newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellBoolRendererPtr(GridCellBoolRenderer): def __init__(self, this): @@ -129,14 +185,17 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString outformat=wxPyDateTimeFormatStr, wxString informat=wxPyDateTimeFormatStr) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): def __init__(self, this): @@ -146,14 +205,17 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString choices=wxPyEmptyString) -> GridCellEnumRenderer""" newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellEnumRendererPtr(GridCellEnumRenderer): def __init__(self, this): @@ -163,14 +225,17 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringRenderer""" newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): def __init__(self, this): @@ -180,31 +245,98 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellEditor__setOORInfo(*args, **kwargs) - def IsCreated(*args, **kwargs): return _grid.GridCellEditor_IsCreated(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridCellEditor_GetControl(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridCellEditor_SetControl(*args, **kwargs) - def GetCellAttr(*args, **kwargs): return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) - def SetCellAttr(*args, **kwargs): return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellEditor_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellEditor_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellEditor_DecRef(*args, **kwargs) - def Create(*args, **kwargs): return _grid.GridCellEditor_Create(*args, **kwargs) - def BeginEdit(*args, **kwargs): return _grid.GridCellEditor_BeginEdit(*args, **kwargs) - def EndEdit(*args, **kwargs): return _grid.GridCellEditor_EndEdit(*args, **kwargs) - def Reset(*args, **kwargs): return _grid.GridCellEditor_Reset(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellEditor_Clone(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellEditor_SetSize(*args, **kwargs) - def Show(*args, **kwargs): return _grid.GridCellEditor_Show(*args, **kwargs) - def PaintBackground(*args, **kwargs): return _grid.GridCellEditor_PaintBackground(*args, **kwargs) - def IsAcceptedKey(*args, **kwargs): return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) - def StartingKey(*args, **kwargs): return _grid.GridCellEditor_StartingKey(*args, **kwargs) - def StartingClick(*args, **kwargs): return _grid.GridCellEditor_StartingClick(*args, **kwargs) - def HandleReturn(*args, **kwargs): return _grid.GridCellEditor_HandleReturn(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.GridCellEditor_Destroy(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellEditor__setOORInfo(*args, **kwargs) + + def IsCreated(*args, **kwargs): + """IsCreated() -> bool""" + return _grid.GridCellEditor_IsCreated(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridCellEditor_GetControl(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control control)""" + return _grid.GridCellEditor_SetControl(*args, **kwargs) + + def GetCellAttr(*args, **kwargs): + """GetCellAttr() -> GridCellAttr""" + return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) + + def SetCellAttr(*args, **kwargs): + """SetCellAttr(GridCellAttr attr)""" + return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(wxString params)""" + return _grid.GridCellEditor_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellEditor_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellEditor_DecRef(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, EvtHandler evtHandler)""" + return _grid.GridCellEditor_Create(*args, **kwargs) + + def BeginEdit(*args, **kwargs): + """BeginEdit(int row, int col, Grid grid)""" + return _grid.GridCellEditor_BeginEdit(*args, **kwargs) + + def EndEdit(*args, **kwargs): + """EndEdit(int row, int col, Grid grid) -> bool""" + return _grid.GridCellEditor_EndEdit(*args, **kwargs) + + def Reset(*args, **kwargs): + """Reset()""" + return _grid.GridCellEditor_Reset(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellEditor""" + return _grid.GridCellEditor_Clone(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Rect rect)""" + return _grid.GridCellEditor_SetSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show, GridCellAttr attr=None)""" + return _grid.GridCellEditor_Show(*args, **kwargs) + + def PaintBackground(*args, **kwargs): + """PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.GridCellEditor_PaintBackground(*args, **kwargs) + + def IsAcceptedKey(*args, **kwargs): + """IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) + + def StartingKey(*args, **kwargs): + """StartingKey(KeyEvent event)""" + return _grid.GridCellEditor_StartingKey(*args, **kwargs) + + def StartingClick(*args, **kwargs): + """StartingClick()""" + return _grid.GridCellEditor_StartingClick(*args, **kwargs) + + def HandleReturn(*args, **kwargs): + """HandleReturn(KeyEvent event)""" + return _grid.GridCellEditor_HandleReturn(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _grid.GridCellEditor_Destroy(*args, **kwargs) + class GridCellEditorPtr(GridCellEditor): def __init__(self, this): @@ -214,24 +346,57 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellEditor""" newobj = _grid.new_PyGridCellEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) - def base_SetSize(*args, **kwargs): return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) - def base_Show(*args, **kwargs): return _grid.PyGridCellEditor_base_Show(*args, **kwargs) - def base_PaintBackground(*args, **kwargs): return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) - def base_IsAcceptedKey(*args, **kwargs): return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) - def base_StartingKey(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) - def base_StartingClick(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) - def base_HandleReturn(*args, **kwargs): return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) - def base_Destroy(*args, **kwargs): return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) + + def base_SetSize(*args, **kwargs): + """base_SetSize(Rect rect)""" + return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) + + def base_Show(*args, **kwargs): + """base_Show(bool show, GridCellAttr attr=None)""" + return _grid.PyGridCellEditor_base_Show(*args, **kwargs) + + def base_PaintBackground(*args, **kwargs): + """base_PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) + + def base_IsAcceptedKey(*args, **kwargs): + """base_IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) + + def base_StartingKey(*args, **kwargs): + """base_StartingKey(KeyEvent event)""" + return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) + + def base_StartingClick(*args, **kwargs): + """base_StartingClick()""" + return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) + + def base_HandleReturn(*args, **kwargs): + """base_HandleReturn(KeyEvent event)""" + return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) + + def base_Destroy(*args, **kwargs): + """base_Destroy()""" + return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(wxString params)""" + return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) + class PyGridCellEditorPtr(PyGridCellEditor): def __init__(self, this): @@ -241,15 +406,21 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellTextEditor""" newobj = _grid.new_GridCellTextEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellTextEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellTextEditor_GetValue(*args, **kwargs) + class GridCellTextEditorPtr(GridCellTextEditor): def __init__(self, this): @@ -259,15 +430,21 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int min=-1, int max=-1) -> GridCellNumberEditor""" newobj = _grid.new_GridCellNumberEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) + class GridCellNumberEditorPtr(GridCellNumberEditor): def __init__(self, this): @@ -277,15 +454,21 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellFloatEditor""" newobj = _grid.new_GridCellFloatEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) + class GridCellFloatEditorPtr(GridCellFloatEditor): def __init__(self, this): @@ -295,15 +478,21 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolEditor""" newobj = _grid.new_GridCellBoolEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) + class GridCellBoolEditorPtr(GridCellBoolEditor): def __init__(self, this): @@ -313,15 +502,21 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int LCOUNT=0, wxString choices=None, bool allowOthers=False) -> GridCellChoiceEditor""" newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) + class GridCellChoiceEditorPtr(GridCellChoiceEditor): def __init__(self, this): @@ -331,15 +526,21 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString choices=wxPyEmptyString) -> GridCellEnumEditor""" newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) + class GridCellEnumEditorPtr(GridCellEnumEditor): def __init__(self, this): @@ -349,15 +550,21 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringEditor""" newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) + class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): def __init__(self, this): @@ -367,53 +574,155 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any Default = _grid.GridCellAttr_Default Cell = _grid.GridCellAttr_Cell Row = _grid.GridCellAttr_Row Col = _grid.GridCellAttr_Col Merged = _grid.GridCellAttr_Merged - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def __init__(self, *args, **kwargs): + """__init__(GridCellAttr attrDefault=None) -> GridCellAttr""" newobj = _grid.new_GridCellAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Clone(*args, **kwargs): return _grid.GridCellAttr_Clone(*args, **kwargs) - def MergeWith(*args, **kwargs): return _grid.GridCellAttr_MergeWith(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellAttr_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellAttr_DecRef(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _grid.GridCellAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _grid.GridCellAttr_SetFont(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _grid.GridCellAttr_SetAlignment(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellAttr_SetSize(*args, **kwargs) - def SetOverflow(*args, **kwargs): return _grid.GridCellAttr_SetOverflow(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) - def SetRenderer(*args, **kwargs): return _grid.GridCellAttr_SetRenderer(*args, **kwargs) - def SetEditor(*args, **kwargs): return _grid.GridCellAttr_SetEditor(*args, **kwargs) - def SetKind(*args, **kwargs): return _grid.GridCellAttr_SetKind(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _grid.GridCellAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _grid.GridCellAttr_HasFont(*args, **kwargs) - def HasAlignment(*args, **kwargs): return _grid.GridCellAttr_HasAlignment(*args, **kwargs) - def HasRenderer(*args, **kwargs): return _grid.GridCellAttr_HasRenderer(*args, **kwargs) - def HasEditor(*args, **kwargs): return _grid.GridCellAttr_HasEditor(*args, **kwargs) - def HasReadWriteMode(*args, **kwargs): return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) - def HasOverflowMode(*args, **kwargs): return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _grid.GridCellAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _grid.GridCellAttr_GetFont(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _grid.GridCellAttr_GetAlignment(*args, **kwargs) - def GetSize(*args, **kwargs): return _grid.GridCellAttr_GetSize(*args, **kwargs) - def GetOverflow(*args, **kwargs): return _grid.GridCellAttr_GetOverflow(*args, **kwargs) - def GetRenderer(*args, **kwargs): return _grid.GridCellAttr_GetRenderer(*args, **kwargs) - def GetEditor(*args, **kwargs): return _grid.GridCellAttr_GetEditor(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) - def SetDefAttr(*args, **kwargs): return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Clone(*args, **kwargs): + """Clone() -> GridCellAttr""" + return _grid.GridCellAttr_Clone(*args, **kwargs) + + def MergeWith(*args, **kwargs): + """MergeWith(GridCellAttr mergefrom)""" + return _grid.GridCellAttr_MergeWith(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellAttr_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellAttr_DecRef(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(wxColour colText)""" + return _grid.GridCellAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour colBack)""" + return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(wxFont font)""" + return _grid.GridCellAttr_SetFont(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(int hAlign, int vAlign)""" + return _grid.GridCellAttr_SetAlignment(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(int num_rows, int num_cols)""" + return _grid.GridCellAttr_SetSize(*args, **kwargs) + + def SetOverflow(*args, **kwargs): + """SetOverflow(bool allow=True)""" + return _grid.GridCellAttr_SetOverflow(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(bool isReadOnly=True)""" + return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) + + def SetRenderer(*args, **kwargs): + """SetRenderer(GridCellRenderer renderer)""" + return _grid.GridCellAttr_SetRenderer(*args, **kwargs) + + def SetEditor(*args, **kwargs): + """SetEditor(GridCellEditor editor)""" + return _grid.GridCellAttr_SetEditor(*args, **kwargs) + + def SetKind(*args, **kwargs): + """SetKind(wxGridCellAttr::wxAttrKind kind)""" + return _grid.GridCellAttr_SetKind(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _grid.GridCellAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _grid.GridCellAttr_HasFont(*args, **kwargs) + + def HasAlignment(*args, **kwargs): + """HasAlignment() -> bool""" + return _grid.GridCellAttr_HasAlignment(*args, **kwargs) + + def HasRenderer(*args, **kwargs): + """HasRenderer() -> bool""" + return _grid.GridCellAttr_HasRenderer(*args, **kwargs) + + def HasEditor(*args, **kwargs): + """HasEditor() -> bool""" + return _grid.GridCellAttr_HasEditor(*args, **kwargs) + + def HasReadWriteMode(*args, **kwargs): + """HasReadWriteMode() -> bool""" + return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) + + def HasOverflowMode(*args, **kwargs): + """HasOverflowMode() -> bool""" + return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> wxColour""" + return _grid.GridCellAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> wxFont""" + return _grid.GridCellAttr_GetFont(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment(int OUTPUT, int OUTPUT)""" + return _grid.GridCellAttr_GetAlignment(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize(int OUTPUT, int OUTPUT)""" + return _grid.GridCellAttr_GetSize(*args, **kwargs) + + def GetOverflow(*args, **kwargs): + """GetOverflow() -> bool""" + return _grid.GridCellAttr_GetOverflow(*args, **kwargs) + + def GetRenderer(*args, **kwargs): + """GetRenderer(Grid grid, int row, int col) -> GridCellRenderer""" + return _grid.GridCellAttr_GetRenderer(*args, **kwargs) + + def GetEditor(*args, **kwargs): + """GetEditor(Grid grid, int row, int col) -> GridCellEditor""" + return _grid.GridCellAttr_GetEditor(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly() -> bool""" + return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) + + def SetDefAttr(*args, **kwargs): + """SetDefAttr(GridCellAttr defAttr)""" + return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) + class GridCellAttrPtr(GridCellAttr): def __init__(self, this): @@ -423,21 +732,45 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAttrProvider""" newobj = _grid.new_GridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) - def UpdateAttrRows(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) - def UpdateAttrCols(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) + + def UpdateAttrRows(*args, **kwargs): + """UpdateAttrRows(size_t pos, int numRows)""" + return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) + + def UpdateAttrCols(*args, **kwargs): + """UpdateAttrCols(size_t pos, int numCols)""" + return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) + class GridCellAttrProviderPtr(GridCellAttrProvider): def __init__(self, this): @@ -447,19 +780,37 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellAttrProvider""" newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellAttrProvider) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) + class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): def __init__(self, this): @@ -469,44 +820,150 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - def _setOORInfo(*args, **kwargs): return _grid.GridTableBase__setOORInfo(*args, **kwargs) - def SetAttrProvider(*args, **kwargs): return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) - def GetAttrProvider(*args, **kwargs): return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) - def SetView(*args, **kwargs): return _grid.GridTableBase_SetView(*args, **kwargs) - def GetView(*args, **kwargs): return _grid.GridTableBase_GetView(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.GridTableBase_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.GridTableBase_GetNumberCols(*args, **kwargs) - def IsEmptyCell(*args, **kwargs): return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) - def GetValue(*args, **kwargs): return _grid.GridTableBase_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _grid.GridTableBase_SetValue(*args, **kwargs) - def GetTypeName(*args, **kwargs): return _grid.GridTableBase_GetTypeName(*args, **kwargs) - def CanGetValueAs(*args, **kwargs): return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) - def CanSetValueAs(*args, **kwargs): return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) - def GetValueAsLong(*args, **kwargs): return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) - def GetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) - def GetValueAsBool(*args, **kwargs): return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) - def SetValueAsLong(*args, **kwargs): return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) - def SetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) - def SetValueAsBool(*args, **kwargs): return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) - def Clear(*args, **kwargs): return _grid.GridTableBase_Clear(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.GridTableBase_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.GridTableBase_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.GridTableBase_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.GridTableBase_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.GridTableBase_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.GridTableBase_DeleteCols(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) - def CanHaveAttributes(*args, **kwargs): return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridTableBase_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridTableBase_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridTableBase_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridTableBase_SetColAttr(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridTableBase__setOORInfo(*args, **kwargs) + + def SetAttrProvider(*args, **kwargs): + """SetAttrProvider(GridCellAttrProvider attrProvider)""" + return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) + + def GetAttrProvider(*args, **kwargs): + """GetAttrProvider() -> GridCellAttrProvider""" + return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) + + def SetView(*args, **kwargs): + """SetView(Grid grid)""" + return _grid.GridTableBase_SetView(*args, **kwargs) + + def GetView(*args, **kwargs): + """GetView() -> Grid""" + return _grid.GridTableBase_GetView(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.GridTableBase_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.GridTableBase_GetNumberCols(*args, **kwargs) + + def IsEmptyCell(*args, **kwargs): + """IsEmptyCell(int row, int col) -> bool""" + return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue(int row, int col) -> wxString""" + return _grid.GridTableBase_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int row, int col, wxString value)""" + return _grid.GridTableBase_SetValue(*args, **kwargs) + + def GetTypeName(*args, **kwargs): + """GetTypeName(int row, int col) -> wxString""" + return _grid.GridTableBase_GetTypeName(*args, **kwargs) + + def CanGetValueAs(*args, **kwargs): + """CanGetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) + + def CanSetValueAs(*args, **kwargs): + """CanSetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) + + def GetValueAsLong(*args, **kwargs): + """GetValueAsLong(int row, int col) -> long""" + return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) + + def GetValueAsDouble(*args, **kwargs): + """GetValueAsDouble(int row, int col) -> double""" + return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) + + def GetValueAsBool(*args, **kwargs): + """GetValueAsBool(int row, int col) -> bool""" + return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) + + def SetValueAsLong(*args, **kwargs): + """SetValueAsLong(int row, int col, long value)""" + return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) + + def SetValueAsDouble(*args, **kwargs): + """SetValueAsDouble(int row, int col, double value)""" + return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) + + def SetValueAsBool(*args, **kwargs): + """SetValueAsBool(int row, int col, bool value)""" + return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _grid.GridTableBase_Clear(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(size_t numRows=1) -> bool""" + return _grid.GridTableBase_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(size_t numCols=1) -> bool""" + return _grid.GridTableBase_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_DeleteCols(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> wxString""" + return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> wxString""" + return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, wxString value)""" + return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, wxString value)""" + return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) + + def CanHaveAttributes(*args, **kwargs): + """CanHaveAttributes() -> bool""" + return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.GridTableBase_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridTableBase_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridTableBase_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridTableBase_SetColAttr(*args, **kwargs) + class GridTableBasePtr(GridTableBase): def __init__(self, this): @@ -516,35 +973,103 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridTableBase""" newobj = _grid.new_PyGridTableBase(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.PyGridTableBase_Destroy(*args, **kwargs) - def base_GetTypeName(*args, **kwargs): return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) - def base_CanGetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) - def base_CanSetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) - def base_Clear(*args, **kwargs): return _grid.PyGridTableBase_base_Clear(*args, **kwargs) - def base_InsertRows(*args, **kwargs): return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) - def base_AppendRows(*args, **kwargs): return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) - def base_DeleteRows(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) - def base_InsertCols(*args, **kwargs): return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) - def base_AppendCols(*args, **kwargs): return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) - def base_DeleteCols(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) - def base_GetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) - def base_GetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) - def base_SetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) - def base_SetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) - def base_CanHaveAttributes(*args, **kwargs): return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy() + +Deletes the C++ object this Python object is a proxy for.""" + return _grid.PyGridTableBase_Destroy(*args, **kwargs) + + def base_GetTypeName(*args, **kwargs): + """base_GetTypeName(int row, int col) -> wxString""" + return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) + + def base_CanGetValueAs(*args, **kwargs): + """base_CanGetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) + + def base_CanSetValueAs(*args, **kwargs): + """base_CanSetValueAs(int row, int col, wxString typeName) -> bool""" + return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) + + def base_Clear(*args, **kwargs): + """base_Clear()""" + return _grid.PyGridTableBase_base_Clear(*args, **kwargs) + + def base_InsertRows(*args, **kwargs): + """base_InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) + + def base_AppendRows(*args, **kwargs): + """base_AppendRows(size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) + + def base_DeleteRows(*args, **kwargs): + """base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) + + def base_InsertCols(*args, **kwargs): + """base_InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) + + def base_AppendCols(*args, **kwargs): + """base_AppendCols(size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) + + def base_DeleteCols(*args, **kwargs): + """base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) + + def base_GetRowLabelValue(*args, **kwargs): + """base_GetRowLabelValue(int row) -> wxString""" + return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) + + def base_GetColLabelValue(*args, **kwargs): + """base_GetColLabelValue(int col) -> wxString""" + return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) + + def base_SetRowLabelValue(*args, **kwargs): + """base_SetRowLabelValue(int row, wxString value)""" + return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) + + def base_SetColLabelValue(*args, **kwargs): + """base_SetColLabelValue(int col, wxString value)""" + return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) + + def base_CanHaveAttributes(*args, **kwargs): + """base_CanHaveAttributes() -> bool""" + return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) + class PyGridTableBasePtr(PyGridTableBase): def __init__(self, this): @@ -554,14 +1079,17 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int numRows=0, int numCols=0) -> GridStringTable""" newobj = _grid.new_GridStringTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridStringTablePtr(GridStringTable): def __init__(self, this): @@ -579,25 +1107,53 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage""" newobj = _grid.new_GridTableMessage(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridTableMessage): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTableObject(*args, **kwargs): return _grid.GridTableMessage_SetTableObject(*args, **kwargs) - def GetTableObject(*args, **kwargs): return _grid.GridTableMessage_GetTableObject(*args, **kwargs) - def SetId(*args, **kwargs): return _grid.GridTableMessage_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _grid.GridTableMessage_GetId(*args, **kwargs) - def SetCommandInt(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) - def GetCommandInt(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) - def SetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) - def GetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTableObject(*args, **kwargs): + """SetTableObject(GridTableBase table)""" + return _grid.GridTableMessage_SetTableObject(*args, **kwargs) + + def GetTableObject(*args, **kwargs): + """GetTableObject() -> GridTableBase""" + return _grid.GridTableMessage_GetTableObject(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int id)""" + return _grid.GridTableMessage_SetId(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _grid.GridTableMessage_GetId(*args, **kwargs) + + def SetCommandInt(*args, **kwargs): + """SetCommandInt(int comInt1)""" + return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) + + def GetCommandInt(*args, **kwargs): + """GetCommandInt() -> int""" + return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) + + def SetCommandInt2(*args, **kwargs): + """SetCommandInt2(int comInt2)""" + return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) + + def GetCommandInt2(*args, **kwargs): + """GetCommandInt2() -> int""" + return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) + class GridTableMessagePtr(GridTableMessage): def __init__(self, this): @@ -607,23 +1163,53 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int r=-1, int c=-1) -> GridCellCoords""" newobj = _grid.new_GridCellCoords(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridCellCoords): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetRow(*args, **kwargs): return _grid.GridCellCoords_GetRow(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridCellCoords_SetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridCellCoords_GetCol(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridCellCoords_SetCol(*args, **kwargs) - def Set(*args, **kwargs): return _grid.GridCellCoords_Set(*args, **kwargs) - def __eq__(*args, **kwargs): return _grid.GridCellCoords___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _grid.GridCellCoords___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _grid.GridCellCoords_asTuple(*args, **kwargs) + + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridCellCoords_GetRow(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int n)""" + return _grid.GridCellCoords_SetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridCellCoords_GetCol(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int n)""" + return _grid.GridCellCoords_SetCol(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int row, int col)""" + return _grid.GridCellCoords_Set(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___ne__(*args, **kwargs) + + def asTuple(*args, **kwargs): + """asTuple() -> PyObject""" + return _grid.GridCellCoords_asTuple(*args, **kwargs) + def __str__(self): return str(self.asTuple()) def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple()) def __len__(self): return len(self.asTuple()) @@ -642,205 +1228,776 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + wxString name=PanelNameStr) -> Grid""" newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns - def CreateGrid(*args, **kwargs): return _grid.Grid_CreateGrid(*args, **kwargs) - def SetSelectionMode(*args, **kwargs): return _grid.Grid_SetSelectionMode(*args, **kwargs) - def GetSelectionMode(*args, **kwargs): return _grid.Grid_GetSelectionMode(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.Grid_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.Grid_GetNumberCols(*args, **kwargs) - def ProcessTableMessage(*args, **kwargs): return _grid.Grid_ProcessTableMessage(*args, **kwargs) - def GetTable(*args, **kwargs): return _grid.Grid_GetTable(*args, **kwargs) - def SetTable(*args, **kwargs): return _grid.Grid_SetTable(*args, **kwargs) - def ClearGrid(*args, **kwargs): return _grid.Grid_ClearGrid(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.Grid_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.Grid_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.Grid_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.Grid_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.Grid_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.Grid_DeleteCols(*args, **kwargs) - def DrawCellHighlight(*args, **kwargs): return _grid.Grid_DrawCellHighlight(*args, **kwargs) - def DrawTextRectangle(*args, **kwargs): return _grid.Grid_DrawTextRectangle(*args, **kwargs) - def GetTextBoxSize(*args, **kwargs): return _grid.Grid_GetTextBoxSize(*args, **kwargs) - def BeginBatch(*args, **kwargs): return _grid.Grid_BeginBatch(*args, **kwargs) - def EndBatch(*args, **kwargs): return _grid.Grid_EndBatch(*args, **kwargs) - def GetBatchCount(*args, **kwargs): return _grid.Grid_GetBatchCount(*args, **kwargs) - def ForceRefresh(*args, **kwargs): return _grid.Grid_ForceRefresh(*args, **kwargs) - def Refresh(*args, **kwargs): return _grid.Grid_Refresh(*args, **kwargs) - def IsEditable(*args, **kwargs): return _grid.Grid_IsEditable(*args, **kwargs) - def EnableEditing(*args, **kwargs): return _grid.Grid_EnableEditing(*args, **kwargs) - def EnableCellEditControl(*args, **kwargs): return _grid.Grid_EnableCellEditControl(*args, **kwargs) - def DisableCellEditControl(*args, **kwargs): return _grid.Grid_DisableCellEditControl(*args, **kwargs) - def CanEnableCellControl(*args, **kwargs): return _grid.Grid_CanEnableCellControl(*args, **kwargs) - def IsCellEditControlEnabled(*args, **kwargs): return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) - def IsCellEditControlShown(*args, **kwargs): return _grid.Grid_IsCellEditControlShown(*args, **kwargs) - def IsCurrentCellReadOnly(*args, **kwargs): return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) - def ShowCellEditControl(*args, **kwargs): return _grid.Grid_ShowCellEditControl(*args, **kwargs) - def HideCellEditControl(*args, **kwargs): return _grid.Grid_HideCellEditControl(*args, **kwargs) - def SaveEditControlValue(*args, **kwargs): return _grid.Grid_SaveEditControlValue(*args, **kwargs) - def XYToCell(*args, **kwargs): return _grid.Grid_XYToCell(*args, **kwargs) - def YToRow(*args, **kwargs): return _grid.Grid_YToRow(*args, **kwargs) - def XToCol(*args, **kwargs): return _grid.Grid_XToCol(*args, **kwargs) - def YToEdgeOfRow(*args, **kwargs): return _grid.Grid_YToEdgeOfRow(*args, **kwargs) - def XToEdgeOfCol(*args, **kwargs): return _grid.Grid_XToEdgeOfCol(*args, **kwargs) - def CellToRect(*args, **kwargs): return _grid.Grid_CellToRect(*args, **kwargs) - def GetGridCursorRow(*args, **kwargs): return _grid.Grid_GetGridCursorRow(*args, **kwargs) - def GetGridCursorCol(*args, **kwargs): return _grid.Grid_GetGridCursorCol(*args, **kwargs) - def IsVisible(*args, **kwargs): return _grid.Grid_IsVisible(*args, **kwargs) - def MakeCellVisible(*args, **kwargs): return _grid.Grid_MakeCellVisible(*args, **kwargs) - def SetGridCursor(*args, **kwargs): return _grid.Grid_SetGridCursor(*args, **kwargs) - def MoveCursorUp(*args, **kwargs): return _grid.Grid_MoveCursorUp(*args, **kwargs) - def MoveCursorDown(*args, **kwargs): return _grid.Grid_MoveCursorDown(*args, **kwargs) - def MoveCursorLeft(*args, **kwargs): return _grid.Grid_MoveCursorLeft(*args, **kwargs) - def MoveCursorRight(*args, **kwargs): return _grid.Grid_MoveCursorRight(*args, **kwargs) - def MovePageDown(*args, **kwargs): return _grid.Grid_MovePageDown(*args, **kwargs) - def MovePageUp(*args, **kwargs): return _grid.Grid_MovePageUp(*args, **kwargs) - def MoveCursorUpBlock(*args, **kwargs): return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) - def MoveCursorDownBlock(*args, **kwargs): return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) - def MoveCursorLeftBlock(*args, **kwargs): return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) - def MoveCursorRightBlock(*args, **kwargs): return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) - def GetDefaultRowLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) - def GetRowLabelSize(*args, **kwargs): return _grid.Grid_GetRowLabelSize(*args, **kwargs) - def GetDefaultColLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) - def GetColLabelSize(*args, **kwargs): return _grid.Grid_GetColLabelSize(*args, **kwargs) - def GetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) - def GetLabelTextColour(*args, **kwargs): return _grid.Grid_GetLabelTextColour(*args, **kwargs) - def GetLabelFont(*args, **kwargs): return _grid.Grid_GetLabelFont(*args, **kwargs) - def GetRowLabelAlignment(*args, **kwargs): return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) - def GetColLabelAlignment(*args, **kwargs): return _grid.Grid_GetColLabelAlignment(*args, **kwargs) - def GetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.Grid_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.Grid_GetColLabelValue(*args, **kwargs) - def GetGridLineColour(*args, **kwargs): return _grid.Grid_GetGridLineColour(*args, **kwargs) - def GetCellHighlightColour(*args, **kwargs): return _grid.Grid_GetCellHighlightColour(*args, **kwargs) - def GetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) - def GetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) - def SetRowLabelSize(*args, **kwargs): return _grid.Grid_SetRowLabelSize(*args, **kwargs) - def SetColLabelSize(*args, **kwargs): return _grid.Grid_SetColLabelSize(*args, **kwargs) - def SetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) - def SetLabelTextColour(*args, **kwargs): return _grid.Grid_SetLabelTextColour(*args, **kwargs) - def SetLabelFont(*args, **kwargs): return _grid.Grid_SetLabelFont(*args, **kwargs) - def SetRowLabelAlignment(*args, **kwargs): return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) - def SetColLabelAlignment(*args, **kwargs): return _grid.Grid_SetColLabelAlignment(*args, **kwargs) - def SetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.Grid_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.Grid_SetColLabelValue(*args, **kwargs) - def SetGridLineColour(*args, **kwargs): return _grid.Grid_SetGridLineColour(*args, **kwargs) - def SetCellHighlightColour(*args, **kwargs): return _grid.Grid_SetCellHighlightColour(*args, **kwargs) - def SetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) - def SetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) - def EnableDragRowSize(*args, **kwargs): return _grid.Grid_EnableDragRowSize(*args, **kwargs) - def DisableDragRowSize(*args, **kwargs): return _grid.Grid_DisableDragRowSize(*args, **kwargs) - def CanDragRowSize(*args, **kwargs): return _grid.Grid_CanDragRowSize(*args, **kwargs) - def EnableDragColSize(*args, **kwargs): return _grid.Grid_EnableDragColSize(*args, **kwargs) - def DisableDragColSize(*args, **kwargs): return _grid.Grid_DisableDragColSize(*args, **kwargs) - def CanDragColSize(*args, **kwargs): return _grid.Grid_CanDragColSize(*args, **kwargs) - def EnableDragGridSize(*args, **kwargs): return _grid.Grid_EnableDragGridSize(*args, **kwargs) - def DisableDragGridSize(*args, **kwargs): return _grid.Grid_DisableDragGridSize(*args, **kwargs) - def CanDragGridSize(*args, **kwargs): return _grid.Grid_CanDragGridSize(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.Grid_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.Grid_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.Grid_SetColAttr(*args, **kwargs) - def SetColFormatBool(*args, **kwargs): return _grid.Grid_SetColFormatBool(*args, **kwargs) - def SetColFormatNumber(*args, **kwargs): return _grid.Grid_SetColFormatNumber(*args, **kwargs) - def SetColFormatFloat(*args, **kwargs): return _grid.Grid_SetColFormatFloat(*args, **kwargs) - def SetColFormatCustom(*args, **kwargs): return _grid.Grid_SetColFormatCustom(*args, **kwargs) - def EnableGridLines(*args, **kwargs): return _grid.Grid_EnableGridLines(*args, **kwargs) - def GridLinesEnabled(*args, **kwargs): return _grid.Grid_GridLinesEnabled(*args, **kwargs) - def GetDefaultRowSize(*args, **kwargs): return _grid.Grid_GetDefaultRowSize(*args, **kwargs) - def GetRowSize(*args, **kwargs): return _grid.Grid_GetRowSize(*args, **kwargs) - def GetDefaultColSize(*args, **kwargs): return _grid.Grid_GetDefaultColSize(*args, **kwargs) - def GetColSize(*args, **kwargs): return _grid.Grid_GetColSize(*args, **kwargs) - def GetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) - def GetCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) - def GetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) - def GetCellTextColour(*args, **kwargs): return _grid.Grid_GetCellTextColour(*args, **kwargs) - def GetDefaultCellFont(*args, **kwargs): return _grid.Grid_GetDefaultCellFont(*args, **kwargs) - def GetCellFont(*args, **kwargs): return _grid.Grid_GetCellFont(*args, **kwargs) - def GetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) - def GetCellAlignment(*args, **kwargs): return _grid.Grid_GetCellAlignment(*args, **kwargs) - def GetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) - def GetCellOverflow(*args, **kwargs): return _grid.Grid_GetCellOverflow(*args, **kwargs) - def GetCellSize(*args, **kwargs): return _grid.Grid_GetCellSize(*args, **kwargs) - def SetDefaultRowSize(*args, **kwargs): return _grid.Grid_SetDefaultRowSize(*args, **kwargs) - def SetRowSize(*args, **kwargs): return _grid.Grid_SetRowSize(*args, **kwargs) - def SetDefaultColSize(*args, **kwargs): return _grid.Grid_SetDefaultColSize(*args, **kwargs) - def SetColSize(*args, **kwargs): return _grid.Grid_SetColSize(*args, **kwargs) - def AutoSizeColumn(*args, **kwargs): return _grid.Grid_AutoSizeColumn(*args, **kwargs) - def AutoSizeRow(*args, **kwargs): return _grid.Grid_AutoSizeRow(*args, **kwargs) - def AutoSizeColumns(*args, **kwargs): return _grid.Grid_AutoSizeColumns(*args, **kwargs) - def AutoSizeRows(*args, **kwargs): return _grid.Grid_AutoSizeRows(*args, **kwargs) - def AutoSize(*args, **kwargs): return _grid.Grid_AutoSize(*args, **kwargs) - def AutoSizeRowLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) - def AutoSizeColLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) - def SetColMinimalWidth(*args, **kwargs): return _grid.Grid_SetColMinimalWidth(*args, **kwargs) - def SetRowMinimalHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) - def SetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) - def SetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) - def GetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) - def GetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) - def SetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) - def SetCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) - def SetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) - def SetCellTextColour(*args, **kwargs): return _grid.Grid_SetCellTextColour(*args, **kwargs) - def SetDefaultCellFont(*args, **kwargs): return _grid.Grid_SetDefaultCellFont(*args, **kwargs) - def SetCellFont(*args, **kwargs): return _grid.Grid_SetCellFont(*args, **kwargs) - def SetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) - def SetCellAlignment(*args, **kwargs): return _grid.Grid_SetCellAlignment(*args, **kwargs) - def SetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) - def SetCellOverflow(*args, **kwargs): return _grid.Grid_SetCellOverflow(*args, **kwargs) - def SetCellSize(*args, **kwargs): return _grid.Grid_SetCellSize(*args, **kwargs) - def SetDefaultRenderer(*args, **kwargs): return _grid.Grid_SetDefaultRenderer(*args, **kwargs) - def SetCellRenderer(*args, **kwargs): return _grid.Grid_SetCellRenderer(*args, **kwargs) - def GetDefaultRenderer(*args, **kwargs): return _grid.Grid_GetDefaultRenderer(*args, **kwargs) - def GetCellRenderer(*args, **kwargs): return _grid.Grid_GetCellRenderer(*args, **kwargs) - def SetDefaultEditor(*args, **kwargs): return _grid.Grid_SetDefaultEditor(*args, **kwargs) - def SetCellEditor(*args, **kwargs): return _grid.Grid_SetCellEditor(*args, **kwargs) - def GetDefaultEditor(*args, **kwargs): return _grid.Grid_GetDefaultEditor(*args, **kwargs) - def GetCellEditor(*args, **kwargs): return _grid.Grid_GetCellEditor(*args, **kwargs) - def GetCellValue(*args, **kwargs): return _grid.Grid_GetCellValue(*args, **kwargs) - def SetCellValue(*args, **kwargs): return _grid.Grid_SetCellValue(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.Grid_IsReadOnly(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.Grid_SetReadOnly(*args, **kwargs) - def SelectRow(*args, **kwargs): return _grid.Grid_SelectRow(*args, **kwargs) - def SelectCol(*args, **kwargs): return _grid.Grid_SelectCol(*args, **kwargs) - def SelectBlock(*args, **kwargs): return _grid.Grid_SelectBlock(*args, **kwargs) - def SelectAll(*args, **kwargs): return _grid.Grid_SelectAll(*args, **kwargs) - def IsSelection(*args, **kwargs): return _grid.Grid_IsSelection(*args, **kwargs) - def ClearSelection(*args, **kwargs): return _grid.Grid_ClearSelection(*args, **kwargs) - def IsInSelection(*args, **kwargs): return _grid.Grid_IsInSelection(*args, **kwargs) - def GetSelectedCells(*args, **kwargs): return _grid.Grid_GetSelectedCells(*args, **kwargs) - def GetSelectionBlockTopLeft(*args, **kwargs): return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) - def GetSelectionBlockBottomRight(*args, **kwargs): return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) - def GetSelectedRows(*args, **kwargs): return _grid.Grid_GetSelectedRows(*args, **kwargs) - def GetSelectedCols(*args, **kwargs): return _grid.Grid_GetSelectedCols(*args, **kwargs) - def DeselectRow(*args, **kwargs): return _grid.Grid_DeselectRow(*args, **kwargs) - def DeselectCol(*args, **kwargs): return _grid.Grid_DeselectCol(*args, **kwargs) - def DeselectCell(*args, **kwargs): return _grid.Grid_DeselectCell(*args, **kwargs) - def BlockToDeviceRect(*args, **kwargs): return _grid.Grid_BlockToDeviceRect(*args, **kwargs) - def GetSelectionBackground(*args, **kwargs): return _grid.Grid_GetSelectionBackground(*args, **kwargs) - def GetSelectionForeground(*args, **kwargs): return _grid.Grid_GetSelectionForeground(*args, **kwargs) - def SetSelectionBackground(*args, **kwargs): return _grid.Grid_SetSelectionBackground(*args, **kwargs) - def SetSelectionForeground(*args, **kwargs): return _grid.Grid_SetSelectionForeground(*args, **kwargs) - def RegisterDataType(*args, **kwargs): return _grid.Grid_RegisterDataType(*args, **kwargs) - def GetDefaultEditorForCell(*args, **kwargs): return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) - def GetDefaultRendererForCell(*args, **kwargs): return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) - def GetDefaultEditorForType(*args, **kwargs): return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) - def GetDefaultRendererForType(*args, **kwargs): return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) - def SetMargins(*args, **kwargs): return _grid.Grid_SetMargins(*args, **kwargs) - def GetGridWindow(*args, **kwargs): return _grid.Grid_GetGridWindow(*args, **kwargs) - def GetGridRowLabelWindow(*args, **kwargs): return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) - def GetGridColLabelWindow(*args, **kwargs): return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) - def GetGridCornerLabelWindow(*args, **kwargs): return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CreateGrid(*args, **kwargs): + """CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_CreateGrid(*args, **kwargs) + + def SetSelectionMode(*args, **kwargs): + """SetSelectionMode(WXGRIDSELECTIONMODES selmode)""" + return _grid.Grid_SetSelectionMode(*args, **kwargs) + + def GetSelectionMode(*args, **kwargs): + """GetSelectionMode() -> WXGRIDSELECTIONMODES""" + return _grid.Grid_GetSelectionMode(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.Grid_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.Grid_GetNumberCols(*args, **kwargs) + + def ProcessTableMessage(*args, **kwargs): + """ProcessTableMessage(GridTableMessage ??) -> bool""" + return _grid.Grid_ProcessTableMessage(*args, **kwargs) + + def GetTable(*args, **kwargs): + """GetTable() -> GridTableBase""" + return _grid.Grid_GetTable(*args, **kwargs) + + def SetTable(*args, **kwargs): + """SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_SetTable(*args, **kwargs) + + def ClearGrid(*args, **kwargs): + """ClearGrid()""" + return _grid.Grid_ClearGrid(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteCols(*args, **kwargs) + + def DrawCellHighlight(*args, **kwargs): + """DrawCellHighlight(wxDC dc, GridCellAttr attr)""" + return _grid.Grid_DrawCellHighlight(*args, **kwargs) + + def DrawTextRectangle(*args, **kwargs): + """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + return _grid.Grid_DrawTextRectangle(*args, **kwargs) + + def GetTextBoxSize(*args, **kwargs): + """GetTextBoxSize(wxDC dc, wxArrayString lines, long OUTPUT, long OUTPUT)""" + return _grid.Grid_GetTextBoxSize(*args, **kwargs) + + def BeginBatch(*args, **kwargs): + """BeginBatch()""" + return _grid.Grid_BeginBatch(*args, **kwargs) + + def EndBatch(*args, **kwargs): + """EndBatch()""" + return _grid.Grid_EndBatch(*args, **kwargs) + + def GetBatchCount(*args, **kwargs): + """GetBatchCount() -> int""" + return _grid.Grid_GetBatchCount(*args, **kwargs) + + def ForceRefresh(*args, **kwargs): + """ForceRefresh()""" + return _grid.Grid_ForceRefresh(*args, **kwargs) + + def Refresh(*args, **kwargs): + """Refresh(bool eraseb=True, Rect rect=None)""" + return _grid.Grid_Refresh(*args, **kwargs) + + def IsEditable(*args, **kwargs): + """IsEditable() -> bool""" + return _grid.Grid_IsEditable(*args, **kwargs) + + def EnableEditing(*args, **kwargs): + """EnableEditing(bool edit)""" + return _grid.Grid_EnableEditing(*args, **kwargs) + + def EnableCellEditControl(*args, **kwargs): + """EnableCellEditControl(bool enable=True)""" + return _grid.Grid_EnableCellEditControl(*args, **kwargs) + + def DisableCellEditControl(*args, **kwargs): + """DisableCellEditControl()""" + return _grid.Grid_DisableCellEditControl(*args, **kwargs) + + def CanEnableCellControl(*args, **kwargs): + """CanEnableCellControl() -> bool""" + return _grid.Grid_CanEnableCellControl(*args, **kwargs) + + def IsCellEditControlEnabled(*args, **kwargs): + """IsCellEditControlEnabled() -> bool""" + return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) + + def IsCellEditControlShown(*args, **kwargs): + """IsCellEditControlShown() -> bool""" + return _grid.Grid_IsCellEditControlShown(*args, **kwargs) + + def IsCurrentCellReadOnly(*args, **kwargs): + """IsCurrentCellReadOnly() -> bool""" + return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) + + def ShowCellEditControl(*args, **kwargs): + """ShowCellEditControl()""" + return _grid.Grid_ShowCellEditControl(*args, **kwargs) + + def HideCellEditControl(*args, **kwargs): + """HideCellEditControl()""" + return _grid.Grid_HideCellEditControl(*args, **kwargs) + + def SaveEditControlValue(*args, **kwargs): + """SaveEditControlValue()""" + return _grid.Grid_SaveEditControlValue(*args, **kwargs) + + def XYToCell(*args, **kwargs): + """XYToCell(int x, int y) -> GridCellCoords""" + return _grid.Grid_XYToCell(*args, **kwargs) + + def YToRow(*args, **kwargs): + """YToRow(int y) -> int""" + return _grid.Grid_YToRow(*args, **kwargs) + + def XToCol(*args, **kwargs): + """XToCol(int x) -> int""" + return _grid.Grid_XToCol(*args, **kwargs) + + def YToEdgeOfRow(*args, **kwargs): + """YToEdgeOfRow(int y) -> int""" + return _grid.Grid_YToEdgeOfRow(*args, **kwargs) + + def XToEdgeOfCol(*args, **kwargs): + """XToEdgeOfCol(int x) -> int""" + return _grid.Grid_XToEdgeOfCol(*args, **kwargs) + + def CellToRect(*args, **kwargs): + """CellToRect(int row, int col) -> Rect""" + return _grid.Grid_CellToRect(*args, **kwargs) + + def GetGridCursorRow(*args, **kwargs): + """GetGridCursorRow() -> int""" + return _grid.Grid_GetGridCursorRow(*args, **kwargs) + + def GetGridCursorCol(*args, **kwargs): + """GetGridCursorCol() -> int""" + return _grid.Grid_GetGridCursorCol(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(int row, int col, bool wholeCellVisible=True) -> bool""" + return _grid.Grid_IsVisible(*args, **kwargs) + + def MakeCellVisible(*args, **kwargs): + """MakeCellVisible(int row, int col)""" + return _grid.Grid_MakeCellVisible(*args, **kwargs) + + def SetGridCursor(*args, **kwargs): + """SetGridCursor(int row, int col)""" + return _grid.Grid_SetGridCursor(*args, **kwargs) + + def MoveCursorUp(*args, **kwargs): + """MoveCursorUp(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUp(*args, **kwargs) + + def MoveCursorDown(*args, **kwargs): + """MoveCursorDown(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDown(*args, **kwargs) + + def MoveCursorLeft(*args, **kwargs): + """MoveCursorLeft(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeft(*args, **kwargs) + + def MoveCursorRight(*args, **kwargs): + """MoveCursorRight(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRight(*args, **kwargs) + + def MovePageDown(*args, **kwargs): + """MovePageDown() -> bool""" + return _grid.Grid_MovePageDown(*args, **kwargs) + + def MovePageUp(*args, **kwargs): + """MovePageUp() -> bool""" + return _grid.Grid_MovePageUp(*args, **kwargs) + + def MoveCursorUpBlock(*args, **kwargs): + """MoveCursorUpBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) + + def MoveCursorDownBlock(*args, **kwargs): + """MoveCursorDownBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) + + def MoveCursorLeftBlock(*args, **kwargs): + """MoveCursorLeftBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) + + def MoveCursorRightBlock(*args, **kwargs): + """MoveCursorRightBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) + + def GetDefaultRowLabelSize(*args, **kwargs): + """GetDefaultRowLabelSize() -> int""" + return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) + + def GetRowLabelSize(*args, **kwargs): + """GetRowLabelSize() -> int""" + return _grid.Grid_GetRowLabelSize(*args, **kwargs) + + def GetDefaultColLabelSize(*args, **kwargs): + """GetDefaultColLabelSize() -> int""" + return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) + + def GetColLabelSize(*args, **kwargs): + """GetColLabelSize() -> int""" + return _grid.Grid_GetColLabelSize(*args, **kwargs) + + def GetLabelBackgroundColour(*args, **kwargs): + """GetLabelBackgroundColour() -> wxColour""" + return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) + + def GetLabelTextColour(*args, **kwargs): + """GetLabelTextColour() -> wxColour""" + return _grid.Grid_GetLabelTextColour(*args, **kwargs) + + def GetLabelFont(*args, **kwargs): + """GetLabelFont() -> wxFont""" + return _grid.Grid_GetLabelFont(*args, **kwargs) + + def GetRowLabelAlignment(*args, **kwargs): + """GetRowLabelAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) + + def GetColLabelAlignment(*args, **kwargs): + """GetColLabelAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetColLabelAlignment(*args, **kwargs) + + def GetColLabelTextOrientation(*args, **kwargs): + """GetColLabelTextOrientation() -> int""" + return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> wxString""" + return _grid.Grid_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> wxString""" + return _grid.Grid_GetColLabelValue(*args, **kwargs) + + def GetGridLineColour(*args, **kwargs): + """GetGridLineColour() -> wxColour""" + return _grid.Grid_GetGridLineColour(*args, **kwargs) + + def GetCellHighlightColour(*args, **kwargs): + """GetCellHighlightColour() -> wxColour""" + return _grid.Grid_GetCellHighlightColour(*args, **kwargs) + + def GetCellHighlightPenWidth(*args, **kwargs): + """GetCellHighlightPenWidth() -> int""" + return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) + + def GetCellHighlightROPenWidth(*args, **kwargs): + """GetCellHighlightROPenWidth() -> int""" + return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) + + def SetRowLabelSize(*args, **kwargs): + """SetRowLabelSize(int width)""" + return _grid.Grid_SetRowLabelSize(*args, **kwargs) + + def SetColLabelSize(*args, **kwargs): + """SetColLabelSize(int height)""" + return _grid.Grid_SetColLabelSize(*args, **kwargs) + + def SetLabelBackgroundColour(*args, **kwargs): + """SetLabelBackgroundColour(wxColour ??)""" + return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) + + def SetLabelTextColour(*args, **kwargs): + """SetLabelTextColour(wxColour ??)""" + return _grid.Grid_SetLabelTextColour(*args, **kwargs) + + def SetLabelFont(*args, **kwargs): + """SetLabelFont(wxFont ??)""" + return _grid.Grid_SetLabelFont(*args, **kwargs) + + def SetRowLabelAlignment(*args, **kwargs): + """SetRowLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) + + def SetColLabelAlignment(*args, **kwargs): + """SetColLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetColLabelAlignment(*args, **kwargs) + + def SetColLabelTextOrientation(*args, **kwargs): + """SetColLabelTextOrientation(int textOrientation)""" + return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, wxString ??)""" + return _grid.Grid_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, wxString ??)""" + return _grid.Grid_SetColLabelValue(*args, **kwargs) + + def SetGridLineColour(*args, **kwargs): + """SetGridLineColour(wxColour ??)""" + return _grid.Grid_SetGridLineColour(*args, **kwargs) + + def SetCellHighlightColour(*args, **kwargs): + """SetCellHighlightColour(wxColour ??)""" + return _grid.Grid_SetCellHighlightColour(*args, **kwargs) + + def SetCellHighlightPenWidth(*args, **kwargs): + """SetCellHighlightPenWidth(int width)""" + return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) + + def SetCellHighlightROPenWidth(*args, **kwargs): + """SetCellHighlightROPenWidth(int width)""" + return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) + + def EnableDragRowSize(*args, **kwargs): + """EnableDragRowSize(bool enable=True)""" + return _grid.Grid_EnableDragRowSize(*args, **kwargs) + + def DisableDragRowSize(*args, **kwargs): + """DisableDragRowSize()""" + return _grid.Grid_DisableDragRowSize(*args, **kwargs) + + def CanDragRowSize(*args, **kwargs): + """CanDragRowSize() -> bool""" + return _grid.Grid_CanDragRowSize(*args, **kwargs) + + def EnableDragColSize(*args, **kwargs): + """EnableDragColSize(bool enable=True)""" + return _grid.Grid_EnableDragColSize(*args, **kwargs) + + def DisableDragColSize(*args, **kwargs): + """DisableDragColSize()""" + return _grid.Grid_DisableDragColSize(*args, **kwargs) + + def CanDragColSize(*args, **kwargs): + """CanDragColSize() -> bool""" + return _grid.Grid_CanDragColSize(*args, **kwargs) + + def EnableDragGridSize(*args, **kwargs): + """EnableDragGridSize(bool enable=True)""" + return _grid.Grid_EnableDragGridSize(*args, **kwargs) + + def DisableDragGridSize(*args, **kwargs): + """DisableDragGridSize()""" + return _grid.Grid_DisableDragGridSize(*args, **kwargs) + + def CanDragGridSize(*args, **kwargs): + """CanDragGridSize() -> bool""" + return _grid.Grid_CanDragGridSize(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(int row, int col, GridCellAttr attr)""" + return _grid.Grid_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(int row, GridCellAttr attr)""" + return _grid.Grid_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(int col, GridCellAttr attr)""" + return _grid.Grid_SetColAttr(*args, **kwargs) + + def SetColFormatBool(*args, **kwargs): + """SetColFormatBool(int col)""" + return _grid.Grid_SetColFormatBool(*args, **kwargs) + + def SetColFormatNumber(*args, **kwargs): + """SetColFormatNumber(int col)""" + return _grid.Grid_SetColFormatNumber(*args, **kwargs) + + def SetColFormatFloat(*args, **kwargs): + """SetColFormatFloat(int col, int width=-1, int precision=-1)""" + return _grid.Grid_SetColFormatFloat(*args, **kwargs) + + def SetColFormatCustom(*args, **kwargs): + """SetColFormatCustom(int col, wxString typeName)""" + return _grid.Grid_SetColFormatCustom(*args, **kwargs) + + def EnableGridLines(*args, **kwargs): + """EnableGridLines(bool enable=True)""" + return _grid.Grid_EnableGridLines(*args, **kwargs) + + def GridLinesEnabled(*args, **kwargs): + """GridLinesEnabled() -> bool""" + return _grid.Grid_GridLinesEnabled(*args, **kwargs) + + def GetDefaultRowSize(*args, **kwargs): + """GetDefaultRowSize() -> int""" + return _grid.Grid_GetDefaultRowSize(*args, **kwargs) + + def GetRowSize(*args, **kwargs): + """GetRowSize(int row) -> int""" + return _grid.Grid_GetRowSize(*args, **kwargs) + + def GetDefaultColSize(*args, **kwargs): + """GetDefaultColSize() -> int""" + return _grid.Grid_GetDefaultColSize(*args, **kwargs) + + def GetColSize(*args, **kwargs): + """GetColSize(int col) -> int""" + return _grid.Grid_GetColSize(*args, **kwargs) + + def GetDefaultCellBackgroundColour(*args, **kwargs): + """GetDefaultCellBackgroundColour() -> wxColour""" + return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) + + def GetCellBackgroundColour(*args, **kwargs): + """GetCellBackgroundColour(int row, int col) -> wxColour""" + return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) + + def GetDefaultCellTextColour(*args, **kwargs): + """GetDefaultCellTextColour() -> wxColour""" + return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) + + def GetCellTextColour(*args, **kwargs): + """GetCellTextColour(int row, int col) -> wxColour""" + return _grid.Grid_GetCellTextColour(*args, **kwargs) + + def GetDefaultCellFont(*args, **kwargs): + """GetDefaultCellFont() -> wxFont""" + return _grid.Grid_GetDefaultCellFont(*args, **kwargs) + + def GetCellFont(*args, **kwargs): + """GetCellFont(int row, int col) -> wxFont""" + return _grid.Grid_GetCellFont(*args, **kwargs) + + def GetDefaultCellAlignment(*args, **kwargs): + """GetDefaultCellAlignment(int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) + + def GetCellAlignment(*args, **kwargs): + """GetCellAlignment(int row, int col, int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetCellAlignment(*args, **kwargs) + + def GetDefaultCellOverflow(*args, **kwargs): + """GetDefaultCellOverflow() -> bool""" + return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) + + def GetCellOverflow(*args, **kwargs): + """GetCellOverflow(int row, int col) -> bool""" + return _grid.Grid_GetCellOverflow(*args, **kwargs) + + def GetCellSize(*args, **kwargs): + """GetCellSize(int row, int col, int OUTPUT, int OUTPUT)""" + return _grid.Grid_GetCellSize(*args, **kwargs) + + def SetDefaultRowSize(*args, **kwargs): + """SetDefaultRowSize(int height, bool resizeExistingRows=False)""" + return _grid.Grid_SetDefaultRowSize(*args, **kwargs) + + def SetRowSize(*args, **kwargs): + """SetRowSize(int row, int height)""" + return _grid.Grid_SetRowSize(*args, **kwargs) + + def SetDefaultColSize(*args, **kwargs): + """SetDefaultColSize(int width, bool resizeExistingCols=False)""" + return _grid.Grid_SetDefaultColSize(*args, **kwargs) + + def SetColSize(*args, **kwargs): + """SetColSize(int col, int width)""" + return _grid.Grid_SetColSize(*args, **kwargs) + + def AutoSizeColumn(*args, **kwargs): + """AutoSizeColumn(int col, bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumn(*args, **kwargs) + + def AutoSizeRow(*args, **kwargs): + """AutoSizeRow(int row, bool setAsMin=True)""" + return _grid.Grid_AutoSizeRow(*args, **kwargs) + + def AutoSizeColumns(*args, **kwargs): + """AutoSizeColumns(bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumns(*args, **kwargs) + + def AutoSizeRows(*args, **kwargs): + """AutoSizeRows(bool setAsMin=True)""" + return _grid.Grid_AutoSizeRows(*args, **kwargs) + + def AutoSize(*args, **kwargs): + """AutoSize()""" + return _grid.Grid_AutoSize(*args, **kwargs) + + def AutoSizeRowLabelSize(*args, **kwargs): + """AutoSizeRowLabelSize(int row)""" + return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) + + def AutoSizeColLabelSize(*args, **kwargs): + """AutoSizeColLabelSize(int col)""" + return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) + + def SetColMinimalWidth(*args, **kwargs): + """SetColMinimalWidth(int col, int width)""" + return _grid.Grid_SetColMinimalWidth(*args, **kwargs) + + def SetRowMinimalHeight(*args, **kwargs): + """SetRowMinimalHeight(int row, int width)""" + return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) + + def SetColMinimalAcceptableWidth(*args, **kwargs): + """SetColMinimalAcceptableWidth(int width)""" + return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) + + def SetRowMinimalAcceptableHeight(*args, **kwargs): + """SetRowMinimalAcceptableHeight(int width)""" + return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) + + def GetColMinimalAcceptableWidth(*args, **kwargs): + """GetColMinimalAcceptableWidth() -> int""" + return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) + + def GetRowMinimalAcceptableHeight(*args, **kwargs): + """GetRowMinimalAcceptableHeight() -> int""" + return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) + + def SetDefaultCellBackgroundColour(*args, **kwargs): + """SetDefaultCellBackgroundColour(wxColour ??)""" + return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) + + def SetCellBackgroundColour(*args, **kwargs): + """SetCellBackgroundColour(int row, int col, wxColour ??)""" + return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) + + def SetDefaultCellTextColour(*args, **kwargs): + """SetDefaultCellTextColour(wxColour ??)""" + return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) + + def SetCellTextColour(*args, **kwargs): + """SetCellTextColour(int row, int col, wxColour ??)""" + return _grid.Grid_SetCellTextColour(*args, **kwargs) + + def SetDefaultCellFont(*args, **kwargs): + """SetDefaultCellFont(wxFont ??)""" + return _grid.Grid_SetDefaultCellFont(*args, **kwargs) + + def SetCellFont(*args, **kwargs): + """SetCellFont(int row, int col, wxFont ??)""" + return _grid.Grid_SetCellFont(*args, **kwargs) + + def SetDefaultCellAlignment(*args, **kwargs): + """SetDefaultCellAlignment(int horiz, int vert)""" + return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) + + def SetCellAlignment(*args, **kwargs): + """SetCellAlignment(int row, int col, int horiz, int vert)""" + return _grid.Grid_SetCellAlignment(*args, **kwargs) + + def SetDefaultCellOverflow(*args, **kwargs): + """SetDefaultCellOverflow(bool allow)""" + return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) + + def SetCellOverflow(*args, **kwargs): + """SetCellOverflow(int row, int col, bool allow)""" + return _grid.Grid_SetCellOverflow(*args, **kwargs) + + def SetCellSize(*args, **kwargs): + """SetCellSize(int row, int col, int num_rows, int num_cols)""" + return _grid.Grid_SetCellSize(*args, **kwargs) + + def SetDefaultRenderer(*args, **kwargs): + """SetDefaultRenderer(GridCellRenderer renderer)""" + return _grid.Grid_SetDefaultRenderer(*args, **kwargs) + + def SetCellRenderer(*args, **kwargs): + """SetCellRenderer(int row, int col, GridCellRenderer renderer)""" + return _grid.Grid_SetCellRenderer(*args, **kwargs) + + def GetDefaultRenderer(*args, **kwargs): + """GetDefaultRenderer() -> GridCellRenderer""" + return _grid.Grid_GetDefaultRenderer(*args, **kwargs) + + def GetCellRenderer(*args, **kwargs): + """GetCellRenderer(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetCellRenderer(*args, **kwargs) + + def SetDefaultEditor(*args, **kwargs): + """SetDefaultEditor(GridCellEditor editor)""" + return _grid.Grid_SetDefaultEditor(*args, **kwargs) + + def SetCellEditor(*args, **kwargs): + """SetCellEditor(int row, int col, GridCellEditor editor)""" + return _grid.Grid_SetCellEditor(*args, **kwargs) + + def GetDefaultEditor(*args, **kwargs): + """GetDefaultEditor() -> GridCellEditor""" + return _grid.Grid_GetDefaultEditor(*args, **kwargs) + + def GetCellEditor(*args, **kwargs): + """GetCellEditor(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetCellEditor(*args, **kwargs) + + def GetCellValue(*args, **kwargs): + """GetCellValue(int row, int col) -> wxString""" + return _grid.Grid_GetCellValue(*args, **kwargs) + + def SetCellValue(*args, **kwargs): + """SetCellValue(int row, int col, wxString s)""" + return _grid.Grid_SetCellValue(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly(int row, int col) -> bool""" + return _grid.Grid_IsReadOnly(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(int row, int col, bool isReadOnly=True)""" + return _grid.Grid_SetReadOnly(*args, **kwargs) + + def SelectRow(*args, **kwargs): + """SelectRow(int row, bool addToSelected=False)""" + return _grid.Grid_SelectRow(*args, **kwargs) + + def SelectCol(*args, **kwargs): + """SelectCol(int col, bool addToSelected=False)""" + return _grid.Grid_SelectCol(*args, **kwargs) + + def SelectBlock(*args, **kwargs): + """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False)""" + return _grid.Grid_SelectBlock(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll()""" + return _grid.Grid_SelectAll(*args, **kwargs) + + def IsSelection(*args, **kwargs): + """IsSelection() -> bool""" + return _grid.Grid_IsSelection(*args, **kwargs) + + def ClearSelection(*args, **kwargs): + """ClearSelection()""" + return _grid.Grid_ClearSelection(*args, **kwargs) + + def IsInSelection(*args, **kwargs): + """IsInSelection(int row, int col) -> bool""" + return _grid.Grid_IsInSelection(*args, **kwargs) + + def GetSelectedCells(*args, **kwargs): + """GetSelectedCells() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectedCells(*args, **kwargs) + + def GetSelectionBlockTopLeft(*args, **kwargs): + """GetSelectionBlockTopLeft() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) + + def GetSelectionBlockBottomRight(*args, **kwargs): + """GetSelectionBlockBottomRight() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) + + def GetSelectedRows(*args, **kwargs): + """GetSelectedRows() -> wxArrayInt""" + return _grid.Grid_GetSelectedRows(*args, **kwargs) + + def GetSelectedCols(*args, **kwargs): + """GetSelectedCols() -> wxArrayInt""" + return _grid.Grid_GetSelectedCols(*args, **kwargs) + + def DeselectRow(*args, **kwargs): + """DeselectRow(int row)""" + return _grid.Grid_DeselectRow(*args, **kwargs) + + def DeselectCol(*args, **kwargs): + """DeselectCol(int col)""" + return _grid.Grid_DeselectCol(*args, **kwargs) + + def DeselectCell(*args, **kwargs): + """DeselectCell(int row, int col)""" + return _grid.Grid_DeselectCell(*args, **kwargs) + + def BlockToDeviceRect(*args, **kwargs): + """BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect""" + return _grid.Grid_BlockToDeviceRect(*args, **kwargs) + + def GetSelectionBackground(*args, **kwargs): + """GetSelectionBackground() -> wxColour""" + return _grid.Grid_GetSelectionBackground(*args, **kwargs) + + def GetSelectionForeground(*args, **kwargs): + """GetSelectionForeground() -> wxColour""" + return _grid.Grid_GetSelectionForeground(*args, **kwargs) + + def SetSelectionBackground(*args, **kwargs): + """SetSelectionBackground(wxColour c)""" + return _grid.Grid_SetSelectionBackground(*args, **kwargs) + + def SetSelectionForeground(*args, **kwargs): + """SetSelectionForeground(wxColour c)""" + return _grid.Grid_SetSelectionForeground(*args, **kwargs) + + def RegisterDataType(*args, **kwargs): + """RegisterDataType(wxString typeName, GridCellRenderer renderer, GridCellEditor editor)""" + return _grid.Grid_RegisterDataType(*args, **kwargs) + + def GetDefaultEditorForCell(*args, **kwargs): + """GetDefaultEditorForCell(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) + + def GetDefaultRendererForCell(*args, **kwargs): + """GetDefaultRendererForCell(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) + + def GetDefaultEditorForType(*args, **kwargs): + """GetDefaultEditorForType(wxString typeName) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) + + def GetDefaultRendererForType(*args, **kwargs): + """GetDefaultRendererForType(wxString typeName) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(int extraWidth, int extraHeight)""" + return _grid.Grid_SetMargins(*args, **kwargs) + + def GetGridWindow(*args, **kwargs): + """GetGridWindow() -> Window""" + return _grid.Grid_GetGridWindow(*args, **kwargs) + + def GetGridRowLabelWindow(*args, **kwargs): + """GetGridRowLabelWindow() -> Window""" + return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) + + def GetGridColLabelWindow(*args, **kwargs): + """GetGridColLabelWindow() -> Window""" + return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) + + def GetGridCornerLabelWindow(*args, **kwargs): + """GetGridCornerLabelWindow() -> Window""" + return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) + class GridPtr(Grid): def __init__(self, this): @@ -850,21 +2007,50 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, + int x=-1, int y=-1, bool sel=True, bool control=False, + bool shift=False, bool alt=False, + bool meta=False) -> GridEvent""" newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEvent_GetCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridEvent_GetPosition(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEvent_GetCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridEvent_GetPosition(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridEvent_AltDown(*args, **kwargs) + class GridEventPtr(GridEvent): def __init__(self, this): @@ -874,19 +2060,41 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, + int x=-1, int y=-1, bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridSizeEvent""" newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRowOrCol(*args, **kwargs): return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridSizeEvent_GetPosition(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridSizeEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridSizeEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridSizeEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRowOrCol(*args, **kwargs): + """GetRowOrCol() -> int""" + return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridSizeEvent_GetPosition(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridSizeEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridSizeEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridSizeEvent_AltDown(*args, **kwargs) + class GridSizeEventPtr(GridSizeEvent): def __init__(self, this): @@ -896,24 +2104,62 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent""" newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetTopLeftCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) - def GetBottomRightCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) - def GetTopRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) - def GetBottomRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) - def GetLeftCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) - def GetRightCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetTopLeftCoords(*args, **kwargs): + """GetTopLeftCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) + + def GetBottomRightCoords(*args, **kwargs): + """GetBottomRightCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) + + def GetTopRow(*args, **kwargs): + """GetTopRow() -> int""" + return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) + + def GetBottomRow(*args, **kwargs): + """GetBottomRow() -> int""" + return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) + + def GetLeftCol(*args, **kwargs): + """GetLeftCol() -> int""" + return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) + + def GetRightCol(*args, **kwargs): + """GetRightCol() -> int""" + return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) + class GridRangeSelectEventPtr(GridRangeSelectEvent): def __init__(self, this): @@ -923,19 +2169,40 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent""" newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int row)""" + return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int col)""" + return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control ctrl)""" + return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) + class GridEditorCreatedEventPtr(GridEditorCreatedEvent): def __init__(self, this): diff --git a/wxPython/src/msw/grid_wrap.cpp b/wxPython/src/msw/grid_wrap.cpp index 4fed3bffa2..5b4ded6275 100644 --- a/wxPython/src/msw/grid_wrap.cpp +++ b/wxPython/src/msw/grid_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -311,7 +305,7 @@ PyObject* wxPyMake_##TYPE(TYPE* source) { \ /* Otherwise make a new wrapper for it the old fashioned way and \ give it the OOR treatment */ \ if (! target) { \ - target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \ + target = wxPyConstructObject(source, wxT(#TYPE), False); \ if (target) \ source->SetClientObject(new wxPyOORClientData(target)); \ } \ @@ -867,7 +861,7 @@ public: bool EndEdit(int row, int col, wxGrid* grid) { - bool rv = FALSE; + bool rv = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { PyObject* go = wxPyMake_wxObject(grid); @@ -1152,7 +1146,7 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) goto error; *obj = ptr; - return TRUE; + return True; } // otherwise a 2-tuple of integers is expected else if (PySequence_Check(source) && PyObject_Length(source) == 2) { @@ -1166,12 +1160,12 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); Py_DECREF(o1); Py_DECREF(o2); - return TRUE; + return True; } error: PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); - return FALSE; + return False; } @@ -1180,13 +1174,13 @@ bool wxGridCellCoords_typecheck(PyObject* source) { if (wxPySwigInstance_Check(source) && wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) - return true; + return True; PyErr_Clear(); if (PySequence_Check(source) && PySequence_Length(source) == 2) - return true; + return True; - return false; + return False; } @@ -1275,7 +1269,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject * PyObject *resultobj; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1287,7 +1281,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1553,7 +1547,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO PyObject *resultobj; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1565,7 +1559,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1819,8 +1813,6 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar wxString arg1 = (wxString) wxPyDateTimeFormatStr ; wxString arg2 = (wxString) wxPyDateTimeFormatStr ; wxGridCellDateTimeRenderer *result; - wxString *argp1 ; - wxString *argp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1829,12 +1821,20 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { - if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg1 = *argp1; + { + wxString* sptr = wxString_in_helper(obj0); + if (sptr == NULL) SWIG_fail; + arg1 = *sptr; + delete sptr; + } } if (obj1) { - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1862,7 +1862,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumRenderer *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "choices", NULL @@ -1873,7 +1873,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2098,7 +2098,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar PyObject *resultobj; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2110,7 +2110,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2186,7 +2186,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxEvtHandler *arg4 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2860,7 +2860,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj PyObject *resultobj; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2872,7 +2872,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3149,7 +3149,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *resultobj; int arg1 = (int) 0 ; wxString *arg2 = (wxString *) NULL ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxGridCellChoiceEditor *result; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3222,7 +3222,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumEditor *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "choices", NULL @@ -3233,7 +3233,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -3661,7 +3661,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3691,7 +3691,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4964,7 +4964,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py int arg2 ; int arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -4976,7 +4976,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5040,7 +5040,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5052,7 +5052,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5083,7 +5083,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5095,7 +5095,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5587,7 +5587,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject * wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5599,7 +5599,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5628,7 +5628,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject * wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5640,7 +5640,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5927,7 +5927,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5939,7 +5939,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5970,7 +5970,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje int arg3 ; wxString *arg4 = 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -5982,7 +5982,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6309,7 +6309,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6321,7 +6321,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6350,7 +6350,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6362,7 +6362,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7098,7 +7098,7 @@ static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7109,7 +7109,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs wxGrid *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7136,7 +7136,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -7353,7 +7353,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ; bool result; PyObject * obj0 = 0 ; @@ -7413,7 +7413,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7445,7 +7445,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -7478,7 +7478,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7511,7 +7511,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7543,7 +7543,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -7576,7 +7576,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -7646,7 +7646,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py int arg5 = (int) wxLEFT ; int arg6 = (int) wxTOP ; int arg7 = (int) wxHORIZONTAL ; - bool temp3 = false ; + bool temp3 = False ; wxRect temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7665,7 +7665,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = &temp4; @@ -7864,7 +7864,7 @@ static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObjec static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; wxRect *arg3 = (wxRect *) NULL ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -7952,7 +7952,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8396,7 +8396,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject * wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; @@ -9442,7 +9442,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9454,7 +9454,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9483,7 +9483,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -9495,7 +9495,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9634,7 +9634,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9713,7 +9713,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9792,7 +9792,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10035,7 +10035,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10047,7 +10047,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10074,7 +10074,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10582,7 +10582,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10639,7 +10639,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, Py PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10696,7 +10696,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10727,7 +10727,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -10757,7 +10757,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10787,7 +10787,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11633,7 +11633,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec int arg2 ; int arg3 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -11645,7 +11645,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11701,7 +11701,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -11732,7 +11732,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11763,7 +11763,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11797,7 +11797,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject int arg3 ; int arg4 ; int arg5 ; - bool arg6 = (bool) FALSE ; + bool arg6 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj5 = 0 ; char *kwnames[] = { @@ -12316,7 +12316,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO wxString *arg2 = 0 ; wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ; wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12330,7 +12330,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -12419,7 +12419,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellEditor *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12431,7 +12431,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12462,7 +12462,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject * wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12474,7 +12474,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12650,11 +12650,11 @@ static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *k int arg5 = (int) -1 ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; - bool arg11 = (bool) FALSE ; - bool arg12 = (bool) FALSE ; + bool arg8 = (bool) True ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; + bool arg11 = (bool) False ; + bool arg12 = (bool) False ; wxGridEvent *result; PyObject * obj2 = 0 ; PyObject * obj7 = 0 ; @@ -12921,10 +12921,10 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObjec int arg4 = (int) -1 ; int arg5 = (int) -1 ; int arg6 = (int) -1 ; - bool arg7 = (bool) FALSE ; - bool arg8 = (bool) FALSE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; + bool arg7 = (bool) False ; + bool arg8 = (bool) False ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; wxGridSizeEvent *result; PyObject * obj2 = 0 ; PyObject * obj6 = 0 ; @@ -13135,11 +13135,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, wxGrid *arg3 = (wxGrid *) 0 ; wxGridCellCoords *arg4 = 0 ; wxGridCellCoords *arg5 = 0 ; - bool arg6 = (bool) TRUE ; - bool arg7 = (bool) FALSE ; - bool arg8 = (bool) FALSE ; - bool arg9 = (bool) FALSE ; - bool arg10 = (bool) FALSE ; + bool arg6 = (bool) True ; + bool arg7 = (bool) False ; + bool arg8 = (bool) False ; + bool arg9 = (bool) False ; + bool arg10 = (bool) False ; wxGridRangeSelectEvent *result; wxGridCellCoords temp4 ; wxGridCellCoords temp5 ; diff --git a/wxPython/src/msw/html.py b/wxPython/src/msw/html.py index 03d9cec12f..452dae04c8 100644 --- a/wxPython/src/msw/html.py +++ b/wxPython/src/msw/html.py @@ -38,19 +38,39 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE HTML_URL_IMAGE = _html.HTML_URL_IMAGE HTML_URL_OTHER = _html.HTML_URL_OTHER class HtmlLinkInfo(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString href, wxString target=wxPyEmptyString) -> HtmlLinkInfo""" newobj = _html.new_HtmlLinkInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetHref(*args, **kwargs): return _html.HtmlLinkInfo_GetHref(*args, **kwargs) - def GetTarget(*args, **kwargs): return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) - def GetEvent(*args, **kwargs): return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) - def GetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) - def SetEvent(*args, **kwargs): return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) - def SetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetHref(*args, **kwargs): + """GetHref() -> wxString""" + return _html.HtmlLinkInfo_GetHref(*args, **kwargs) + + def GetTarget(*args, **kwargs): + """GetTarget() -> wxString""" + return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) + + def GetEvent(*args, **kwargs): + """GetEvent() -> MouseEvent""" + return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) + + def GetHtmlCell(*args, **kwargs): + """GetHtmlCell() -> HtmlCell""" + return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) + + def SetEvent(*args, **kwargs): + """SetEvent(MouseEvent e)""" + return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) + + def SetHtmlCell(*args, **kwargs): + """SetHtmlCell(HtmlCell e)""" + return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) + class HtmlLinkInfoPtr(HtmlLinkInfo): def __init__(self, this): @@ -60,17 +80,42 @@ class HtmlLinkInfoPtr(HtmlLinkInfo): _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) class HtmlTag(core.Object): - def GetName(*args, **kwargs): return _html.HtmlTag_GetName(*args, **kwargs) - def HasParam(*args, **kwargs): return _html.HtmlTag_HasParam(*args, **kwargs) - def GetParam(*args, **kwargs): return _html.HtmlTag_GetParam(*args, **kwargs) - def GetAllParams(*args, **kwargs): return _html.HtmlTag_GetAllParams(*args, **kwargs) - def HasEnding(*args, **kwargs): return _html.HtmlTag_HasEnding(*args, **kwargs) - def GetBeginPos(*args, **kwargs): return _html.HtmlTag_GetBeginPos(*args, **kwargs) - def GetEndPos1(*args, **kwargs): return _html.HtmlTag_GetEndPos1(*args, **kwargs) - def GetEndPos2(*args, **kwargs): return _html.HtmlTag_GetEndPos2(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlTag_GetName(*args, **kwargs) + + def HasParam(*args, **kwargs): + """HasParam(wxString par) -> bool""" + return _html.HtmlTag_HasParam(*args, **kwargs) + + def GetParam(*args, **kwargs): + """GetParam(wxString par, int with_commas=False) -> wxString""" + return _html.HtmlTag_GetParam(*args, **kwargs) + + def GetAllParams(*args, **kwargs): + """GetAllParams() -> wxString""" + return _html.HtmlTag_GetAllParams(*args, **kwargs) + + def HasEnding(*args, **kwargs): + """HasEnding() -> bool""" + return _html.HtmlTag_HasEnding(*args, **kwargs) + + def GetBeginPos(*args, **kwargs): + """GetBeginPos() -> int""" + return _html.HtmlTag_GetBeginPos(*args, **kwargs) + + def GetEndPos1(*args, **kwargs): + """GetEndPos1() -> int""" + return _html.HtmlTag_GetEndPos1(*args, **kwargs) + + def GetEndPos2(*args, **kwargs): + """GetEndPos2() -> int""" + return _html.HtmlTag_GetEndPos2(*args, **kwargs) + class HtmlTagPtr(HtmlTag): def __init__(self, this): @@ -80,20 +125,54 @@ class HtmlTagPtr(HtmlTag): _html.HtmlTag_swigregister(HtmlTagPtr) class HtmlParser(core.Object): - def SetFS(*args, **kwargs): return _html.HtmlParser_SetFS(*args, **kwargs) - def GetFS(*args, **kwargs): return _html.HtmlParser_GetFS(*args, **kwargs) - def Parse(*args, **kwargs): return _html.HtmlParser_Parse(*args, **kwargs) - def InitParser(*args, **kwargs): return _html.HtmlParser_InitParser(*args, **kwargs) - def DoneParser(*args, **kwargs): return _html.HtmlParser_DoneParser(*args, **kwargs) - def DoParsing(*args, **kwargs): return _html.HtmlParser_DoParsing(*args, **kwargs) - def StopParsing(*args, **kwargs): return _html.HtmlParser_StopParsing(*args, **kwargs) - def AddTagHandler(*args, **kwargs): return _html.HtmlParser_AddTagHandler(*args, **kwargs) - def GetSource(*args, **kwargs): return _html.HtmlParser_GetSource(*args, **kwargs) - def PushTagHandler(*args, **kwargs): return _html.HtmlParser_PushTagHandler(*args, **kwargs) - def PopTagHandler(*args, **kwargs): return _html.HtmlParser_PopTagHandler(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFS(*args, **kwargs): + """SetFS(FileSystem fs)""" + return _html.HtmlParser_SetFS(*args, **kwargs) + + def GetFS(*args, **kwargs): + """GetFS() -> FileSystem""" + return _html.HtmlParser_GetFS(*args, **kwargs) + + def Parse(*args, **kwargs): + """Parse(wxString source) -> Object""" + return _html.HtmlParser_Parse(*args, **kwargs) + + def InitParser(*args, **kwargs): + """InitParser(wxString source)""" + return _html.HtmlParser_InitParser(*args, **kwargs) + + def DoneParser(*args, **kwargs): + """DoneParser()""" + return _html.HtmlParser_DoneParser(*args, **kwargs) + + def DoParsing(*args, **kwargs): + """DoParsing(int begin_pos, int end_pos)""" + return _html.HtmlParser_DoParsing(*args, **kwargs) + + def StopParsing(*args, **kwargs): + """StopParsing()""" + return _html.HtmlParser_StopParsing(*args, **kwargs) + + def AddTagHandler(*args, **kwargs): + """AddTagHandler(wxHtmlTagHandler handler)""" + return _html.HtmlParser_AddTagHandler(*args, **kwargs) + + def GetSource(*args, **kwargs): + """GetSource() -> wxString""" + return _html.HtmlParser_GetSource(*args, **kwargs) + + def PushTagHandler(*args, **kwargs): + """PushTagHandler(wxHtmlTagHandler handler, wxString tags)""" + return _html.HtmlParser_PushTagHandler(*args, **kwargs) + + def PopTagHandler(*args, **kwargs): + """PopTagHandler()""" + return _html.HtmlParser_PopTagHandler(*args, **kwargs) + class HtmlParserPtr(HtmlParser): def __init__(self, this): @@ -103,42 +182,131 @@ class HtmlParserPtr(HtmlParser): _html.HtmlParser_swigregister(HtmlParserPtr) class HtmlWinParser(HtmlParser): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(HtmlWindow wnd=None) -> HtmlWinParser""" newobj = _html.new_HtmlWinParser(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetDC(*args, **kwargs): return _html.HtmlWinParser_SetDC(*args, **kwargs) - def GetDC(*args, **kwargs): return _html.HtmlWinParser_GetDC(*args, **kwargs) - def GetCharHeight(*args, **kwargs): return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) - def GetCharWidth(*args, **kwargs): return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) - def GetWindow(*args, **kwargs): return _html.HtmlWinParser_GetWindow(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlWinParser_SetFonts(*args, **kwargs) - def GetContainer(*args, **kwargs): return _html.HtmlWinParser_GetContainer(*args, **kwargs) - def OpenContainer(*args, **kwargs): return _html.HtmlWinParser_OpenContainer(*args, **kwargs) - def SetContainer(*args, **kwargs): return _html.HtmlWinParser_SetContainer(*args, **kwargs) - def CloseContainer(*args, **kwargs): return _html.HtmlWinParser_CloseContainer(*args, **kwargs) - def GetFontSize(*args, **kwargs): return _html.HtmlWinParser_GetFontSize(*args, **kwargs) - def SetFontSize(*args, **kwargs): return _html.HtmlWinParser_SetFontSize(*args, **kwargs) - def GetFontBold(*args, **kwargs): return _html.HtmlWinParser_GetFontBold(*args, **kwargs) - def SetFontBold(*args, **kwargs): return _html.HtmlWinParser_SetFontBold(*args, **kwargs) - def GetFontItalic(*args, **kwargs): return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) - def SetFontItalic(*args, **kwargs): return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) - def GetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) - def SetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) - def GetFontFixed(*args, **kwargs): return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) - def SetFontFixed(*args, **kwargs): return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) - def GetAlign(*args, **kwargs): return _html.HtmlWinParser_GetAlign(*args, **kwargs) - def SetAlign(*args, **kwargs): return _html.HtmlWinParser_SetAlign(*args, **kwargs) - def GetLinkColor(*args, **kwargs): return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) - def SetLinkColor(*args, **kwargs): return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) - def GetActualColor(*args, **kwargs): return _html.HtmlWinParser_GetActualColor(*args, **kwargs) - def SetActualColor(*args, **kwargs): return _html.HtmlWinParser_SetActualColor(*args, **kwargs) - def SetLink(*args, **kwargs): return _html.HtmlWinParser_SetLink(*args, **kwargs) - def CreateCurrentFont(*args, **kwargs): return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) - def GetLink(*args, **kwargs): return _html.HtmlWinParser_GetLink(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetDC(*args, **kwargs): + """SetDC(wxDC dc)""" + return _html.HtmlWinParser_SetDC(*args, **kwargs) + + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _html.HtmlWinParser_GetDC(*args, **kwargs) + + def GetCharHeight(*args, **kwargs): + """GetCharHeight() -> int""" + return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) + + def GetCharWidth(*args, **kwargs): + """GetCharWidth() -> int""" + return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> HtmlWindow""" + return _html.HtmlWinParser_GetWindow(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlWinParser_SetFonts(*args, **kwargs) + + def GetContainer(*args, **kwargs): + """GetContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_GetContainer(*args, **kwargs) + + def OpenContainer(*args, **kwargs): + """OpenContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_OpenContainer(*args, **kwargs) + + def SetContainer(*args, **kwargs): + """SetContainer(HtmlContainerCell c) -> HtmlContainerCell""" + return _html.HtmlWinParser_SetContainer(*args, **kwargs) + + def CloseContainer(*args, **kwargs): + """CloseContainer() -> HtmlContainerCell""" + return _html.HtmlWinParser_CloseContainer(*args, **kwargs) + + def GetFontSize(*args, **kwargs): + """GetFontSize() -> int""" + return _html.HtmlWinParser_GetFontSize(*args, **kwargs) + + def SetFontSize(*args, **kwargs): + """SetFontSize(int s)""" + return _html.HtmlWinParser_SetFontSize(*args, **kwargs) + + def GetFontBold(*args, **kwargs): + """GetFontBold() -> int""" + return _html.HtmlWinParser_GetFontBold(*args, **kwargs) + + def SetFontBold(*args, **kwargs): + """SetFontBold(int x)""" + return _html.HtmlWinParser_SetFontBold(*args, **kwargs) + + def GetFontItalic(*args, **kwargs): + """GetFontItalic() -> int""" + return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) + + def SetFontItalic(*args, **kwargs): + """SetFontItalic(int x)""" + return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) + + def GetFontUnderlined(*args, **kwargs): + """GetFontUnderlined() -> int""" + return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) + + def SetFontUnderlined(*args, **kwargs): + """SetFontUnderlined(int x)""" + return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) + + def GetFontFixed(*args, **kwargs): + """GetFontFixed() -> int""" + return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) + + def SetFontFixed(*args, **kwargs): + """SetFontFixed(int x)""" + return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) + + def GetAlign(*args, **kwargs): + """GetAlign() -> int""" + return _html.HtmlWinParser_GetAlign(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(int a)""" + return _html.HtmlWinParser_SetAlign(*args, **kwargs) + + def GetLinkColor(*args, **kwargs): + """GetLinkColor() -> wxColour""" + return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) + + def SetLinkColor(*args, **kwargs): + """SetLinkColor(wxColour clr)""" + return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) + + def GetActualColor(*args, **kwargs): + """GetActualColor() -> wxColour""" + return _html.HtmlWinParser_GetActualColor(*args, **kwargs) + + def SetActualColor(*args, **kwargs): + """SetActualColor(wxColour clr)""" + return _html.HtmlWinParser_SetActualColor(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(wxString link)""" + return _html.HtmlWinParser_SetLink(*args, **kwargs) + + def CreateCurrentFont(*args, **kwargs): + """CreateCurrentFont() -> wxFont""" + return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink() -> HtmlLinkInfo""" + return _html.HtmlWinParser_GetLink(*args, **kwargs) + class HtmlWinParserPtr(HtmlWinParser): def __init__(self, this): @@ -148,18 +316,33 @@ class HtmlWinParserPtr(HtmlWinParser): _html.HtmlWinParser_swigregister(HtmlWinParserPtr) class HtmlTagHandler(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlTagHandler""" newobj = _html.new_HtmlTagHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlTagHandler) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) - def SetParser(*args, **kwargs): return _html.HtmlTagHandler_SetParser(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlTagHandler_GetParser(*args, **kwargs) - def ParseInner(*args, **kwargs): return _html.HtmlTagHandler_ParseInner(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) + + def SetParser(*args, **kwargs): + """SetParser(HtmlParser parser)""" + return _html.HtmlTagHandler_SetParser(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlParser""" + return _html.HtmlTagHandler_GetParser(*args, **kwargs) + + def ParseInner(*args, **kwargs): + """ParseInner(HtmlTag tag)""" + return _html.HtmlTagHandler_ParseInner(*args, **kwargs) + class HtmlTagHandlerPtr(HtmlTagHandler): def __init__(self, this): @@ -169,18 +352,33 @@ class HtmlTagHandlerPtr(HtmlTagHandler): _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) class HtmlWinTagHandler(HtmlTagHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlWinTagHandler""" newobj = _html.new_HtmlWinTagHandler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlWinTagHandler) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) - def SetParser(*args, **kwargs): return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) - def ParseInner(*args, **kwargs): return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) + + def SetParser(*args, **kwargs): + """SetParser(HtmlParser parser)""" + return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlWinParser""" + return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) + + def ParseInner(*args, **kwargs): + """ParseInner(HtmlTag tag)""" + return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) + class HtmlWinTagHandlerPtr(HtmlWinTagHandler): def __init__(self, this): @@ -190,33 +388,75 @@ class HtmlWinTagHandlerPtr(HtmlWinTagHandler): _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr) -HtmlWinParser_AddTagHandler = _html.HtmlWinParser_AddTagHandler +def HtmlWinParser_AddTagHandler(*args, **kwargs): + """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)""" + return _html.HtmlWinParser_AddTagHandler(*args, **kwargs) #--------------------------------------------------------------------------- class HtmlSelection(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlSelection""" newobj = _html.new_HtmlSelection(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlSelection): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Set(*args, **kwargs): return _html.HtmlSelection_Set(*args, **kwargs) - def SetCells(*args, **kwargs): return _html.HtmlSelection_SetCells(*args, **kwargs) - def GetFromCell(*args, **kwargs): return _html.HtmlSelection_GetFromCell(*args, **kwargs) - def GetToCell(*args, **kwargs): return _html.HtmlSelection_GetToCell(*args, **kwargs) - def GetFromPos(*args, **kwargs): return _html.HtmlSelection_GetFromPos(*args, **kwargs) - def GetToPos(*args, **kwargs): return _html.HtmlSelection_GetToPos(*args, **kwargs) - def GetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) - def GetToPrivPos(*args, **kwargs): return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) - def SetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) - def SetToPrivPos(*args, **kwargs): return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) - def ClearPrivPos(*args, **kwargs): return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) - def IsEmpty(*args, **kwargs): return _html.HtmlSelection_IsEmpty(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Set(*args, **kwargs): + """Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)""" + return _html.HtmlSelection_Set(*args, **kwargs) + + def SetCells(*args, **kwargs): + """SetCells(HtmlCell fromCell, HtmlCell toCell)""" + return _html.HtmlSelection_SetCells(*args, **kwargs) + + def GetFromCell(*args, **kwargs): + """GetFromCell() -> HtmlCell""" + return _html.HtmlSelection_GetFromCell(*args, **kwargs) + + def GetToCell(*args, **kwargs): + """GetToCell() -> HtmlCell""" + return _html.HtmlSelection_GetToCell(*args, **kwargs) + + def GetFromPos(*args, **kwargs): + """GetFromPos() -> Point""" + return _html.HtmlSelection_GetFromPos(*args, **kwargs) + + def GetToPos(*args, **kwargs): + """GetToPos() -> Point""" + return _html.HtmlSelection_GetToPos(*args, **kwargs) + + def GetFromPrivPos(*args, **kwargs): + """GetFromPrivPos() -> Point""" + return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) + + def GetToPrivPos(*args, **kwargs): + """GetToPrivPos() -> Point""" + return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) + + def SetFromPrivPos(*args, **kwargs): + """SetFromPrivPos(Point pos)""" + return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) + + def SetToPrivPos(*args, **kwargs): + """SetToPrivPos(Point pos)""" + return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) + + def ClearPrivPos(*args, **kwargs): + """ClearPrivPos()""" + return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) + + def IsEmpty(*args, **kwargs): + """IsEmpty() -> bool""" + return _html.HtmlSelection_IsEmpty(*args, **kwargs) + class HtmlSelectionPtr(HtmlSelection): def __init__(self, this): @@ -229,23 +469,45 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT HTML_SEL_IN = _html.HTML_SEL_IN HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING class HtmlRenderingState(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlRenderingState""" newobj = _html.new_HtmlRenderingState(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlRenderingState): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) - def GetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) - def SetFgColour(*args, **kwargs): return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) - def GetFgColour(*args, **kwargs): return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) - def SetBgColour(*args, **kwargs): return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) - def GetBgColour(*args, **kwargs): return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelectionState(*args, **kwargs): + """SetSelectionState(wxHtmlSelectionState s)""" + return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) + + def GetSelectionState(*args, **kwargs): + """GetSelectionState() -> wxHtmlSelectionState""" + return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) + + def SetFgColour(*args, **kwargs): + """SetFgColour(wxColour c)""" + return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) + + def GetFgColour(*args, **kwargs): + """GetFgColour() -> wxColour""" + return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) + + def SetBgColour(*args, **kwargs): + """SetBgColour(wxColour c)""" + return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) + + def GetBgColour(*args, **kwargs): + """GetBgColour() -> wxColour""" + return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) + class HtmlRenderingStatePtr(HtmlRenderingState): def __init__(self, this): @@ -255,11 +517,18 @@ class HtmlRenderingStatePtr(HtmlRenderingState): _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) class HtmlRenderingStyle(object): - def GetSelectedTextColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) - def GetSelectedTextBgColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelectedTextColour(*args, **kwargs): + """GetSelectedTextColour(wxColour clr) -> wxColour""" + return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) + + def GetSelectedTextBgColour(*args, **kwargs): + """GetSelectedTextBgColour(wxColour clr) -> wxColour""" + return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + class HtmlRenderingStylePtr(HtmlRenderingStyle): def __init__(self, this): @@ -269,11 +538,18 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle): _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) class DefaultHtmlRenderingStyle(HtmlRenderingStyle): - def GetSelectedTextColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) - def GetSelectedTextBgColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetSelectedTextColour(*args, **kwargs): + """GetSelectedTextColour(wxColour clr) -> wxColour""" + return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) + + def GetSelectedTextBgColour(*args, **kwargs): + """GetSelectedTextBgColour(wxColour clr) -> wxColour""" + return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) + class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): def __init__(self, this): @@ -283,22 +559,41 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) class HtmlRenderingInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlRenderingInfo""" newobj = _html.new_HtmlRenderingInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlRenderingInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) - def SetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) - def GetState(*args, **kwargs): return _html.HtmlRenderingInfo_GetState(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelection(*args, **kwargs): + """SetSelection(HtmlSelection s)""" + return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> HtmlSelection""" + return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(HtmlRenderingStyle style)""" + return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> HtmlRenderingStyle""" + return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) + + def GetState(*args, **kwargs): + """GetState() -> HtmlRenderingState""" + return _html.HtmlRenderingInfo_GetState(*args, **kwargs) + class HtmlRenderingInfoPtr(HtmlRenderingInfo): def __init__(self, this): @@ -313,43 +608,135 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER class HtmlCell(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlCell""" newobj = _html.new_HtmlCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosX(*args, **kwargs): return _html.HtmlCell_GetPosX(*args, **kwargs) - def GetPosY(*args, **kwargs): return _html.HtmlCell_GetPosY(*args, **kwargs) - def GetWidth(*args, **kwargs): return _html.HtmlCell_GetWidth(*args, **kwargs) - def GetHeight(*args, **kwargs): return _html.HtmlCell_GetHeight(*args, **kwargs) - def GetDescent(*args, **kwargs): return _html.HtmlCell_GetDescent(*args, **kwargs) - def GetLink(*args, **kwargs): return _html.HtmlCell_GetLink(*args, **kwargs) - def GetNext(*args, **kwargs): return _html.HtmlCell_GetNext(*args, **kwargs) - def GetParent(*args, **kwargs): return _html.HtmlCell_GetParent(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _html.HtmlCell_GetFirstChild(*args, **kwargs) - def GetCursor(*args, **kwargs): return _html.HtmlCell_GetCursor(*args, **kwargs) - def IsFormattingCell(*args, **kwargs): return _html.HtmlCell_IsFormattingCell(*args, **kwargs) - def SetLink(*args, **kwargs): return _html.HtmlCell_SetLink(*args, **kwargs) - def SetNext(*args, **kwargs): return _html.HtmlCell_SetNext(*args, **kwargs) - def SetParent(*args, **kwargs): return _html.HtmlCell_SetParent(*args, **kwargs) - def SetPos(*args, **kwargs): return _html.HtmlCell_SetPos(*args, **kwargs) - def Layout(*args, **kwargs): return _html.HtmlCell_Layout(*args, **kwargs) - def Draw(*args, **kwargs): return _html.HtmlCell_Draw(*args, **kwargs) - def DrawInvisible(*args, **kwargs): return _html.HtmlCell_DrawInvisible(*args, **kwargs) - def Find(*args, **kwargs): return _html.HtmlCell_Find(*args, **kwargs) - def AdjustPagebreak(*args, **kwargs): return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) - def SetCanLiveOnPagebreak(*args, **kwargs): return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) - def IsLinebreakAllowed(*args, **kwargs): return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) - def IsTerminalCell(*args, **kwargs): return _html.HtmlCell_IsTerminalCell(*args, **kwargs) - def FindCellByPos(*args, **kwargs): return _html.HtmlCell_FindCellByPos(*args, **kwargs) - def GetAbsPos(*args, **kwargs): return _html.HtmlCell_GetAbsPos(*args, **kwargs) - def GetFirstTerminal(*args, **kwargs): return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) - def GetLastTerminal(*args, **kwargs): return _html.HtmlCell_GetLastTerminal(*args, **kwargs) - def GetDepth(*args, **kwargs): return _html.HtmlCell_GetDepth(*args, **kwargs) - def IsBefore(*args, **kwargs): return _html.HtmlCell_IsBefore(*args, **kwargs) - def ConvertToText(*args, **kwargs): return _html.HtmlCell_ConvertToText(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosX(*args, **kwargs): + """GetPosX() -> int""" + return _html.HtmlCell_GetPosX(*args, **kwargs) + + def GetPosY(*args, **kwargs): + """GetPosY() -> int""" + return _html.HtmlCell_GetPosY(*args, **kwargs) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _html.HtmlCell_GetWidth(*args, **kwargs) + + def GetHeight(*args, **kwargs): + """GetHeight() -> int""" + return _html.HtmlCell_GetHeight(*args, **kwargs) + + def GetDescent(*args, **kwargs): + """GetDescent() -> int""" + return _html.HtmlCell_GetDescent(*args, **kwargs) + + def GetLink(*args, **kwargs): + """GetLink(int x=0, int y=0) -> HtmlLinkInfo""" + return _html.HtmlCell_GetLink(*args, **kwargs) + + def GetNext(*args, **kwargs): + """GetNext() -> HtmlCell""" + return _html.HtmlCell_GetNext(*args, **kwargs) + + def GetParent(*args, **kwargs): + """GetParent() -> HtmlContainerCell""" + return _html.HtmlCell_GetParent(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild() -> HtmlCell""" + return _html.HtmlCell_GetFirstChild(*args, **kwargs) + + def GetCursor(*args, **kwargs): + """GetCursor() -> wxCursor""" + return _html.HtmlCell_GetCursor(*args, **kwargs) + + def IsFormattingCell(*args, **kwargs): + """IsFormattingCell() -> bool""" + return _html.HtmlCell_IsFormattingCell(*args, **kwargs) + + def SetLink(*args, **kwargs): + """SetLink(HtmlLinkInfo link)""" + return _html.HtmlCell_SetLink(*args, **kwargs) + + def SetNext(*args, **kwargs): + """SetNext(HtmlCell cell)""" + return _html.HtmlCell_SetNext(*args, **kwargs) + + def SetParent(*args, **kwargs): + """SetParent(HtmlContainerCell p)""" + return _html.HtmlCell_SetParent(*args, **kwargs) + + def SetPos(*args, **kwargs): + """SetPos(int x, int y)""" + return _html.HtmlCell_SetPos(*args, **kwargs) + + def Layout(*args, **kwargs): + """Layout(int w)""" + return _html.HtmlCell_Layout(*args, **kwargs) + + def Draw(*args, **kwargs): + """Draw(wxDC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)""" + return _html.HtmlCell_Draw(*args, **kwargs) + + def DrawInvisible(*args, **kwargs): + """DrawInvisible(wxDC dc, int x, int y, HtmlRenderingInfo info)""" + return _html.HtmlCell_DrawInvisible(*args, **kwargs) + + def Find(*args, **kwargs): + """Find(int condition, void param) -> HtmlCell""" + return _html.HtmlCell_Find(*args, **kwargs) + + def AdjustPagebreak(*args, **kwargs): + """AdjustPagebreak(int INOUT) -> bool""" + return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) + + def SetCanLiveOnPagebreak(*args, **kwargs): + """SetCanLiveOnPagebreak(bool can)""" + return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) + + def IsLinebreakAllowed(*args, **kwargs): + """IsLinebreakAllowed() -> bool""" + return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) + + def IsTerminalCell(*args, **kwargs): + """IsTerminalCell() -> bool""" + return _html.HtmlCell_IsTerminalCell(*args, **kwargs) + + def FindCellByPos(*args, **kwargs): + """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell""" + return _html.HtmlCell_FindCellByPos(*args, **kwargs) + + def GetAbsPos(*args, **kwargs): + """GetAbsPos() -> Point""" + return _html.HtmlCell_GetAbsPos(*args, **kwargs) + + def GetFirstTerminal(*args, **kwargs): + """GetFirstTerminal() -> HtmlCell""" + return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) + + def GetLastTerminal(*args, **kwargs): + """GetLastTerminal() -> HtmlCell""" + return _html.HtmlCell_GetLastTerminal(*args, **kwargs) + + def GetDepth(*args, **kwargs): + """GetDepth() -> unsigned int""" + return _html.HtmlCell_GetDepth(*args, **kwargs) + + def IsBefore(*args, **kwargs): + """IsBefore(HtmlCell cell) -> bool""" + return _html.HtmlCell_IsBefore(*args, **kwargs) + + def ConvertToText(*args, **kwargs): + """ConvertToText(HtmlSelection sel) -> wxString""" + return _html.HtmlCell_ConvertToText(*args, **kwargs) + class HtmlCellPtr(HtmlCell): def __init__(self, this): @@ -359,13 +746,15 @@ class HtmlCellPtr(HtmlCell): _html.HtmlCell_swigregister(HtmlCellPtr) class HtmlWordCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString word, wxDC dc) -> HtmlWordCell""" newobj = _html.new_HtmlWordCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlWordCellPtr(HtmlWordCell): def __init__(self, this): @@ -375,29 +764,79 @@ class HtmlWordCellPtr(HtmlWordCell): _html.HtmlWordCell_swigregister(HtmlWordCellPtr) class HtmlContainerCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(HtmlContainerCell parent) -> HtmlContainerCell""" newobj = _html.new_HtmlContainerCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def InsertCell(*args, **kwargs): return _html.HtmlContainerCell_InsertCell(*args, **kwargs) - def SetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) - def GetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) - def SetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) - def GetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) - def SetIndent(*args, **kwargs): return _html.HtmlContainerCell_SetIndent(*args, **kwargs) - def GetIndent(*args, **kwargs): return _html.HtmlContainerCell_GetIndent(*args, **kwargs) - def GetIndentUnits(*args, **kwargs): return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) - def SetAlign(*args, **kwargs): return _html.HtmlContainerCell_SetAlign(*args, **kwargs) - def SetWidthFloat(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) - def SetWidthFloatFromTag(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) - def SetMinHeight(*args, **kwargs): return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) - def SetBorder(*args, **kwargs): return _html.HtmlContainerCell_SetBorder(*args, **kwargs) - def GetFirstChild(*args, **kwargs): return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def InsertCell(*args, **kwargs): + """InsertCell(HtmlCell cell)""" + return _html.HtmlContainerCell_InsertCell(*args, **kwargs) + + def SetAlignHor(*args, **kwargs): + """SetAlignHor(int al)""" + return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) + + def GetAlignHor(*args, **kwargs): + """GetAlignHor() -> int""" + return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) + + def SetAlignVer(*args, **kwargs): + """SetAlignVer(int al)""" + return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) + + def GetAlignVer(*args, **kwargs): + """GetAlignVer() -> int""" + return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) + + def SetIndent(*args, **kwargs): + """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)""" + return _html.HtmlContainerCell_SetIndent(*args, **kwargs) + + def GetIndent(*args, **kwargs): + """GetIndent(int ind) -> int""" + return _html.HtmlContainerCell_GetIndent(*args, **kwargs) + + def GetIndentUnits(*args, **kwargs): + """GetIndentUnits(int ind) -> int""" + return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) + + def SetAlign(*args, **kwargs): + """SetAlign(HtmlTag tag)""" + return _html.HtmlContainerCell_SetAlign(*args, **kwargs) + + def SetWidthFloat(*args, **kwargs): + """SetWidthFloat(int w, int units)""" + return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) + + def SetWidthFloatFromTag(*args, **kwargs): + """SetWidthFloatFromTag(HtmlTag tag)""" + return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) + + def SetMinHeight(*args, **kwargs): + """SetMinHeight(int h, int align=HTML_ALIGN_TOP)""" + return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(wxColour clr)""" + return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> wxColour""" + return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(wxColour clr1, wxColour clr2)""" + return _html.HtmlContainerCell_SetBorder(*args, **kwargs) + + def GetFirstChild(*args, **kwargs): + """GetFirstChild() -> HtmlCell""" + return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) + class HtmlContainerCellPtr(HtmlContainerCell): def __init__(self, this): @@ -407,13 +846,15 @@ class HtmlContainerCellPtr(HtmlContainerCell): _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) class HtmlColourCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxColour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell""" newobj = _html.new_HtmlColourCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlColourCellPtr(HtmlColourCell): def __init__(self, this): @@ -423,13 +864,15 @@ class HtmlColourCellPtr(HtmlColourCell): _html.HtmlColourCell_swigregister(HtmlColourCellPtr) class HtmlFontCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxFont font) -> HtmlFontCell""" newobj = _html.new_HtmlFontCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlFontCellPtr(HtmlFontCell): def __init__(self, this): @@ -439,13 +882,15 @@ class HtmlFontCellPtr(HtmlFontCell): _html.HtmlFontCell_swigregister(HtmlFontCellPtr) class HtmlWidgetCell(HtmlCell): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window wnd, int w=0) -> HtmlWidgetCell""" newobj = _html.new_HtmlWidgetCell(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class HtmlWidgetCellPtr(HtmlWidgetCell): def __init__(self, this): @@ -457,15 +902,21 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) #--------------------------------------------------------------------------- class HtmlFilter(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlFilter""" newobj = _html.new_HtmlFilter(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlFilter) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) + class HtmlFilterPtr(HtmlFilter): def __init__(self, this): @@ -477,45 +928,146 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr) #--------------------------------------------------------------------------- class HtmlWindow(windows.ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_DEFAULT_STYLE, + wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" newobj = _html.new_HtmlWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) - def Create(*args, **kwargs): return _html.HtmlWindow_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) - def SetPage(*args, **kwargs): return _html.HtmlWindow_SetPage(*args, **kwargs) - def LoadPage(*args, **kwargs): return _html.HtmlWindow_LoadPage(*args, **kwargs) - def LoadFile(*args, **kwargs): return _html.HtmlWindow_LoadFile(*args, **kwargs) - def AppendToPage(*args, **kwargs): return _html.HtmlWindow_AppendToPage(*args, **kwargs) - def GetOpenedPage(*args, **kwargs): return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) - def GetOpenedAnchor(*args, **kwargs): return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) - def GetOpenedPageTitle(*args, **kwargs): return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) - def SetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) - def GetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) - def SetRelatedStatusBar(*args, **kwargs): return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlWindow_SetFonts(*args, **kwargs) - def SetTitle(*args, **kwargs): return _html.HtmlWindow_SetTitle(*args, **kwargs) - def SetBorders(*args, **kwargs): return _html.HtmlWindow_SetBorders(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlWindow_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlWindow_WriteCustomization(*args, **kwargs) - def HistoryBack(*args, **kwargs): return _html.HtmlWindow_HistoryBack(*args, **kwargs) - def HistoryForward(*args, **kwargs): return _html.HtmlWindow_HistoryForward(*args, **kwargs) - def HistoryCanBack(*args, **kwargs): return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) - def HistoryCanForward(*args, **kwargs): return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) - def HistoryClear(*args, **kwargs): return _html.HtmlWindow_HistoryClear(*args, **kwargs) - def GetInternalRepresentation(*args, **kwargs): return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) - def GetParser(*args, **kwargs): return _html.HtmlWindow_GetParser(*args, **kwargs) - def ScrollToAnchor(*args, **kwargs): return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) - def HasAnchor(*args, **kwargs): return _html.HtmlWindow_HasAnchor(*args, **kwargs) - AddFilter = staticmethod(_html.HtmlWindow_AddFilter) - def base_OnLinkClicked(*args, **kwargs): return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) - def base_OnSetTitle(*args, **kwargs): return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) - def base_OnCellMouseHover(*args, **kwargs): return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) - def base_OnCellClicked(*args, **kwargs): return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, + wxString name=wxPyHtmlWindowNameStr) -> bool""" + return _html.HtmlWindow_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) + + def SetPage(*args, **kwargs): + """SetPage(wxString source) -> bool""" + return _html.HtmlWindow_SetPage(*args, **kwargs) + + def LoadPage(*args, **kwargs): + """LoadPage(wxString location) -> bool""" + return _html.HtmlWindow_LoadPage(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(wxString filename) -> bool""" + return _html.HtmlWindow_LoadFile(*args, **kwargs) + + def AppendToPage(*args, **kwargs): + """AppendToPage(wxString source) -> bool""" + return _html.HtmlWindow_AppendToPage(*args, **kwargs) + + def GetOpenedPage(*args, **kwargs): + """GetOpenedPage() -> wxString""" + return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) + + def GetOpenedAnchor(*args, **kwargs): + """GetOpenedAnchor() -> wxString""" + return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) + + def GetOpenedPageTitle(*args, **kwargs): + """GetOpenedPageTitle() -> wxString""" + return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) + + def SetRelatedFrame(*args, **kwargs): + """SetRelatedFrame(Frame frame, wxString format)""" + return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) + + def GetRelatedFrame(*args, **kwargs): + """GetRelatedFrame() -> Frame""" + return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) + + def SetRelatedStatusBar(*args, **kwargs): + """SetRelatedStatusBar(int bar)""" + return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlWindow_SetFonts(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _html.HtmlWindow_SetTitle(*args, **kwargs) + + def SetBorders(*args, **kwargs): + """SetBorders(int b)""" + return _html.HtmlWindow_SetBorders(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlWindow_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlWindow_WriteCustomization(*args, **kwargs) + + def HistoryBack(*args, **kwargs): + """HistoryBack() -> bool""" + return _html.HtmlWindow_HistoryBack(*args, **kwargs) + + def HistoryForward(*args, **kwargs): + """HistoryForward() -> bool""" + return _html.HtmlWindow_HistoryForward(*args, **kwargs) + + def HistoryCanBack(*args, **kwargs): + """HistoryCanBack() -> bool""" + return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) + + def HistoryCanForward(*args, **kwargs): + """HistoryCanForward() -> bool""" + return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) + + def HistoryClear(*args, **kwargs): + """HistoryClear()""" + return _html.HtmlWindow_HistoryClear(*args, **kwargs) + + def GetInternalRepresentation(*args, **kwargs): + """GetInternalRepresentation() -> HtmlContainerCell""" + return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) + + def GetParser(*args, **kwargs): + """GetParser() -> HtmlWinParser""" + return _html.HtmlWindow_GetParser(*args, **kwargs) + + def ScrollToAnchor(*args, **kwargs): + """ScrollToAnchor(wxString anchor) -> bool""" + return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) + + def HasAnchor(*args, **kwargs): + """HasAnchor(wxString anchor) -> bool""" + return _html.HtmlWindow_HasAnchor(*args, **kwargs) + + def AddFilter(*args, **kwargs): + """HtmlWindow.AddFilter(HtmlFilter filter)""" + return _html.HtmlWindow_AddFilter(*args, **kwargs) + + AddFilter = staticmethod(AddFilter) + def base_OnLinkClicked(*args, **kwargs): + """base_OnLinkClicked(HtmlLinkInfo link)""" + return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) + + def base_OnSetTitle(*args, **kwargs): + """base_OnSetTitle(wxString title)""" + return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) + + def base_OnCellMouseHover(*args, **kwargs): + """base_OnCellMouseHover(HtmlCell cell, int x, int y)""" + return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) + + def base_OnCellClicked(*args, **kwargs): + """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)""" + return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) + class HtmlWindowPtr(HtmlWindow): def __init__(self, this): @@ -525,32 +1077,58 @@ class HtmlWindowPtr(HtmlWindow): _html.HtmlWindow_swigregister(HtmlWindowPtr) def PreHtmlWindow(*args, **kwargs): + """PreHtmlWindow() -> HtmlWindow""" val = _html.new_PreHtmlWindow(*args, **kwargs) val.thisown = 1 return val -HtmlWindow_AddFilter = _html.HtmlWindow_AddFilter +def HtmlWindow_AddFilter(*args, **kwargs): + """HtmlWindow_AddFilter(HtmlFilter filter)""" + return _html.HtmlWindow_AddFilter(*args, **kwargs) #--------------------------------------------------------------------------- class HtmlDCRenderer(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlDCRenderer""" newobj = _html.new_HtmlDCRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlDCRenderer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetDC(*args, **kwargs): return _html.HtmlDCRenderer_SetDC(*args, **kwargs) - def SetSize(*args, **kwargs): return _html.HtmlDCRenderer_SetSize(*args, **kwargs) - def SetHtmlText(*args, **kwargs): return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) - def Render(*args, **kwargs): return _html.HtmlDCRenderer_Render(*args, **kwargs) - def GetTotalHeight(*args, **kwargs): return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetDC(*args, **kwargs): + """SetDC(wxDC dc, int maxwidth)""" + return _html.HtmlDCRenderer_SetDC(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(int width, int height)""" + return _html.HtmlDCRenderer_SetSize(*args, **kwargs) + + def SetHtmlText(*args, **kwargs): + """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" + return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) + + def Render(*args, **kwargs): + """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, + int choices=None, int LCOUNT=0) -> int""" + return _html.HtmlDCRenderer_Render(*args, **kwargs) + + def GetTotalHeight(*args, **kwargs): + """GetTotalHeight() -> int""" + return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) + class HtmlDCRendererPtr(HtmlDCRenderer): def __init__(self, this): @@ -563,21 +1141,50 @@ PAGE_ODD = _html.PAGE_ODD PAGE_EVEN = _html.PAGE_EVEN PAGE_ALL = _html.PAGE_ALL class HtmlPrintout(windows.Printout): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyHtmlPrintoutTitleStr) -> HtmlPrintout""" newobj = _html.new_HtmlPrintout(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetHtmlText(*args, **kwargs): return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) - def SetHtmlFile(*args, **kwargs): return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) - def SetHeader(*args, **kwargs): return _html.HtmlPrintout_SetHeader(*args, **kwargs) - def SetFooter(*args, **kwargs): return _html.HtmlPrintout_SetFooter(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlPrintout_SetFonts(*args, **kwargs) - def SetMargins(*args, **kwargs): return _html.HtmlPrintout_SetMargins(*args, **kwargs) - AddFilter = staticmethod(_html.HtmlPrintout_AddFilter) - CleanUpStatics = staticmethod(_html.HtmlPrintout_CleanUpStatics) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetHtmlText(*args, **kwargs): + """SetHtmlText(wxString html, wxString basepath=wxPyEmptyString, bool isdir=True)""" + return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) + + def SetHtmlFile(*args, **kwargs): + """SetHtmlFile(wxString htmlfile)""" + return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) + + def SetHeader(*args, **kwargs): + """SetHeader(wxString header, int pg=PAGE_ALL)""" + return _html.HtmlPrintout_SetHeader(*args, **kwargs) + + def SetFooter(*args, **kwargs): + """SetFooter(wxString footer, int pg=PAGE_ALL)""" + return _html.HtmlPrintout_SetFooter(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlPrintout_SetFonts(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, + float right=25.2, float spaces=5)""" + return _html.HtmlPrintout_SetMargins(*args, **kwargs) + + def AddFilter(*args, **kwargs): + """HtmlPrintout.AddFilter(wxHtmlFilter filter)""" + return _html.HtmlPrintout_AddFilter(*args, **kwargs) + + AddFilter = staticmethod(AddFilter) + def CleanUpStatics(*args, **kwargs): + """HtmlPrintout.CleanUpStatics()""" + return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) + + CleanUpStatics = staticmethod(CleanUpStatics) class HtmlPrintoutPtr(HtmlPrintout): def __init__(self, this): @@ -586,33 +1193,74 @@ class HtmlPrintoutPtr(HtmlPrintout): self.__class__ = HtmlPrintout _html.HtmlPrintout_swigregister(HtmlPrintoutPtr) -HtmlPrintout_AddFilter = _html.HtmlPrintout_AddFilter +def HtmlPrintout_AddFilter(*args, **kwargs): + """HtmlPrintout_AddFilter(wxHtmlFilter filter)""" + return _html.HtmlPrintout_AddFilter(*args, **kwargs) -HtmlPrintout_CleanUpStatics = _html.HtmlPrintout_CleanUpStatics +def HtmlPrintout_CleanUpStatics(*args, **kwargs): + """HtmlPrintout_CleanUpStatics()""" + return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) class HtmlEasyPrinting(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name=wxPyHtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting""" newobj = _html.new_HtmlEasyPrinting(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlEasyPrinting): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def PreviewFile(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) - def PreviewText(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) - def PrintFile(*args, **kwargs): return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) - def PrintText(*args, **kwargs): return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) - def PrinterSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) - def PageSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) - def SetHeader(*args, **kwargs): return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) - def SetFooter(*args, **kwargs): return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) - def SetFonts(*args, **kwargs): return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) - def GetPageSetupData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def PreviewFile(*args, **kwargs): + """PreviewFile(wxString htmlfile)""" + return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) + + def PreviewText(*args, **kwargs): + """PreviewText(wxString htmltext, wxString basepath=wxPyEmptyString)""" + return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) + + def PrintFile(*args, **kwargs): + """PrintFile(wxString htmlfile)""" + return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) + + def PrintText(*args, **kwargs): + """PrintText(wxString htmltext, wxString basepath=wxPyEmptyString)""" + return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) + + def PrinterSetup(*args, **kwargs): + """PrinterSetup()""" + return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) + + def PageSetup(*args, **kwargs): + """PageSetup()""" + return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) + + def SetHeader(*args, **kwargs): + """SetHeader(wxString header, int pg=PAGE_ALL)""" + return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) + + def SetFooter(*args, **kwargs): + """SetFooter(wxString footer, int pg=PAGE_ALL)""" + return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) + + def SetFonts(*args, **kwargs): + """SetFonts(wxString normal_face, wxString fixed_face, PyObject sizes=None)""" + return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) + + def GetPageSetupData(*args, **kwargs): + """GetPageSetupData() -> PageSetupDialogData""" + return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) + class HtmlEasyPrintingPtr(HtmlEasyPrinting): def __init__(self, this): @@ -624,24 +1272,60 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) #--------------------------------------------------------------------------- class HtmlBookRecord(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString bookfile, wxString basepath, wxString title, + wxString start) -> HtmlBookRecord""" newobj = _html.new_HtmlBookRecord(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetBookFile(*args, **kwargs): return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) - def GetTitle(*args, **kwargs): return _html.HtmlBookRecord_GetTitle(*args, **kwargs) - def GetStart(*args, **kwargs): return _html.HtmlBookRecord_GetStart(*args, **kwargs) - def GetBasePath(*args, **kwargs): return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) - def SetContentsRange(*args, **kwargs): return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) - def GetContentsStart(*args, **kwargs): return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) - def GetContentsEnd(*args, **kwargs): return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) - def SetTitle(*args, **kwargs): return _html.HtmlBookRecord_SetTitle(*args, **kwargs) - def SetBasePath(*args, **kwargs): return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) - def SetStart(*args, **kwargs): return _html.HtmlBookRecord_SetStart(*args, **kwargs) - def GetFullPath(*args, **kwargs): return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetBookFile(*args, **kwargs): + """GetBookFile() -> wxString""" + return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _html.HtmlBookRecord_GetTitle(*args, **kwargs) + + def GetStart(*args, **kwargs): + """GetStart() -> wxString""" + return _html.HtmlBookRecord_GetStart(*args, **kwargs) + + def GetBasePath(*args, **kwargs): + """GetBasePath() -> wxString""" + return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) + + def SetContentsRange(*args, **kwargs): + """SetContentsRange(int start, int end)""" + return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) + + def GetContentsStart(*args, **kwargs): + """GetContentsStart() -> int""" + return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) + + def GetContentsEnd(*args, **kwargs): + """GetContentsEnd() -> int""" + return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _html.HtmlBookRecord_SetTitle(*args, **kwargs) + + def SetBasePath(*args, **kwargs): + """SetBasePath(wxString path)""" + return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) + + def SetStart(*args, **kwargs): + """SetStart(wxString start)""" + return _html.HtmlBookRecord_SetStart(*args, **kwargs) + + def GetFullPath(*args, **kwargs): + """GetFullPath(wxString page) -> wxString""" + return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) + class HtmlBookRecordPtr(HtmlBookRecord): def __init__(self, this): @@ -651,14 +1335,30 @@ class HtmlBookRecordPtr(HtmlBookRecord): _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) class HtmlContentsItem(object): - def GetLevel(*args, **kwargs): return _html.HtmlContentsItem_GetLevel(*args, **kwargs) - def GetID(*args, **kwargs): return _html.HtmlContentsItem_GetID(*args, **kwargs) - def GetName(*args, **kwargs): return _html.HtmlContentsItem_GetName(*args, **kwargs) - def GetPage(*args, **kwargs): return _html.HtmlContentsItem_GetPage(*args, **kwargs) - def GetBook(*args, **kwargs): return _html.HtmlContentsItem_GetBook(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetLevel(*args, **kwargs): + """GetLevel() -> int""" + return _html.HtmlContentsItem_GetLevel(*args, **kwargs) + + def GetID(*args, **kwargs): + """GetID() -> int""" + return _html.HtmlContentsItem_GetID(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlContentsItem_GetName(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage() -> wxString""" + return _html.HtmlContentsItem_GetPage(*args, **kwargs) + + def GetBook(*args, **kwargs): + """GetBook() -> HtmlBookRecord""" + return _html.HtmlContentsItem_GetBook(*args, **kwargs) + class HtmlContentsItemPtr(HtmlContentsItem): def __init__(self, this): @@ -668,15 +1368,34 @@ class HtmlContentsItemPtr(HtmlContentsItem): _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) class HtmlSearchStatus(object): - def Search(*args, **kwargs): return _html.HtmlSearchStatus_Search(*args, **kwargs) - def IsActive(*args, **kwargs): return _html.HtmlSearchStatus_IsActive(*args, **kwargs) - def GetCurIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) - def GetMaxIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) - def GetName(*args, **kwargs): return _html.HtmlSearchStatus_GetName(*args, **kwargs) - def GetContentsItem(*args, **kwargs): return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Search(*args, **kwargs): + """Search() -> bool""" + return _html.HtmlSearchStatus_Search(*args, **kwargs) + + def IsActive(*args, **kwargs): + """IsActive() -> bool""" + return _html.HtmlSearchStatus_IsActive(*args, **kwargs) + + def GetCurIndex(*args, **kwargs): + """GetCurIndex() -> int""" + return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) + + def GetMaxIndex(*args, **kwargs): + """GetMaxIndex() -> int""" + return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) + + def GetName(*args, **kwargs): + """GetName() -> wxString""" + return _html.HtmlSearchStatus_GetName(*args, **kwargs) + + def GetContentsItem(*args, **kwargs): + """GetContentsItem() -> HtmlContentsItem""" + return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) + class HtmlSearchStatusPtr(HtmlSearchStatus): def __init__(self, this): @@ -686,26 +1405,57 @@ class HtmlSearchStatusPtr(HtmlSearchStatus): _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) class HtmlHelpData(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> HtmlHelpData""" newobj = _html.new_HtmlHelpData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_html.delete_HtmlHelpData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTempDir(*args, **kwargs): return _html.HtmlHelpData_SetTempDir(*args, **kwargs) - def AddBook(*args, **kwargs): return _html.HtmlHelpData_AddBook(*args, **kwargs) - def FindPageByName(*args, **kwargs): return _html.HtmlHelpData_FindPageByName(*args, **kwargs) - def FindPageById(*args, **kwargs): return _html.HtmlHelpData_FindPageById(*args, **kwargs) - def GetBookRecArray(*args, **kwargs): return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) - def GetContents(*args, **kwargs): return _html.HtmlHelpData_GetContents(*args, **kwargs) - def GetContentsCnt(*args, **kwargs): return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) - def GetIndex(*args, **kwargs): return _html.HtmlHelpData_GetIndex(*args, **kwargs) - def GetIndexCnt(*args, **kwargs): return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTempDir(*args, **kwargs): + """SetTempDir(wxString path)""" + return _html.HtmlHelpData_SetTempDir(*args, **kwargs) + + def AddBook(*args, **kwargs): + """AddBook(wxString book) -> bool""" + return _html.HtmlHelpData_AddBook(*args, **kwargs) + + def FindPageByName(*args, **kwargs): + """FindPageByName(wxString page) -> wxString""" + return _html.HtmlHelpData_FindPageByName(*args, **kwargs) + + def FindPageById(*args, **kwargs): + """FindPageById(int id) -> wxString""" + return _html.HtmlHelpData_FindPageById(*args, **kwargs) + + def GetBookRecArray(*args, **kwargs): + """GetBookRecArray() -> wxHtmlBookRecArray""" + return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) + + def GetContents(*args, **kwargs): + """GetContents() -> HtmlContentsItem""" + return _html.HtmlHelpData_GetContents(*args, **kwargs) + + def GetContentsCnt(*args, **kwargs): + """GetContentsCnt() -> int""" + return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) + + def GetIndex(*args, **kwargs): + """GetIndex() -> HtmlContentsItem""" + return _html.HtmlHelpData_GetIndex(*args, **kwargs) + + def GetIndexCnt(*args, **kwargs): + """GetIndexCnt() -> int""" + return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) + class HtmlHelpDataPtr(HtmlHelpData): def __init__(self, this): @@ -715,24 +1465,58 @@ class HtmlHelpDataPtr(HtmlHelpData): _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) class HtmlHelpFrame(windows.Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int ??, wxString title=wxPyEmptyString, + int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" newobj = _html.new_HtmlHelpFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetData(*args, **kwargs): return _html.HtmlHelpFrame_GetData(*args, **kwargs) - def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) - def Display(*args, **kwargs): return _html.HtmlHelpFrame_Display(*args, **kwargs) - def DisplayID(*args, **kwargs): return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) - def DisplayContents(*args, **kwargs): return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) - def DisplayIndex(*args, **kwargs): return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) - def KeywordSearch(*args, **kwargs): return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) - def UseConfig(*args, **kwargs): return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetData(*args, **kwargs): + """GetData() -> HtmlHelpData""" + return _html.HtmlHelpFrame_GetData(*args, **kwargs) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(wxString format)""" + return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) + + def Display(*args, **kwargs): + """Display(wxString x)""" + return _html.HtmlHelpFrame_Display(*args, **kwargs) + + def DisplayID(*args, **kwargs): + """DisplayID(int id)""" + return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) + + def DisplayContents(*args, **kwargs): + """DisplayContents()""" + return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) + + def DisplayIndex(*args, **kwargs): + """DisplayIndex()""" + return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) + + def KeywordSearch(*args, **kwargs): + """KeywordSearch(wxString keyword) -> bool""" + return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) + + def UseConfig(*args, **kwargs): + """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" + return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) + class HtmlHelpFramePtr(HtmlHelpFrame): def __init__(self, this): @@ -751,30 +1535,71 @@ HF_OPENFILES = _html.HF_OPENFILES HF_PRINT = _html.HF_PRINT HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE class HtmlHelpController(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController""" newobj = _html.new_HtmlHelpController(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + def __del__(self, destroy=_html.delete_HtmlHelpController): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) - def SetTempDir(*args, **kwargs): return _html.HtmlHelpController_SetTempDir(*args, **kwargs) - def AddBook(*args, **kwargs): return _html.HtmlHelpController_AddBook(*args, **kwargs) - def Display(*args, **kwargs): return _html.HtmlHelpController_Display(*args, **kwargs) - def DisplayID(*args, **kwargs): return _html.HtmlHelpController_DisplayID(*args, **kwargs) - def DisplayContents(*args, **kwargs): return _html.HtmlHelpController_DisplayContents(*args, **kwargs) - def DisplayIndex(*args, **kwargs): return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) - def KeywordSearch(*args, **kwargs): return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) - def UseConfig(*args, **kwargs): return _html.HtmlHelpController_UseConfig(*args, **kwargs) - def ReadCustomization(*args, **kwargs): return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) - def WriteCustomization(*args, **kwargs): return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) - def GetFrame(*args, **kwargs): return _html.HtmlHelpController_GetFrame(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(wxString format)""" + return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) + + def SetTempDir(*args, **kwargs): + """SetTempDir(wxString path)""" + return _html.HtmlHelpController_SetTempDir(*args, **kwargs) + + def AddBook(*args, **kwargs): + """AddBook(wxString book, int show_wait_msg=False) -> bool""" + return _html.HtmlHelpController_AddBook(*args, **kwargs) + + def Display(*args, **kwargs): + """Display(wxString x)""" + return _html.HtmlHelpController_Display(*args, **kwargs) + + def DisplayID(*args, **kwargs): + """DisplayID(int id)""" + return _html.HtmlHelpController_DisplayID(*args, **kwargs) + + def DisplayContents(*args, **kwargs): + """DisplayContents()""" + return _html.HtmlHelpController_DisplayContents(*args, **kwargs) + + def DisplayIndex(*args, **kwargs): + """DisplayIndex()""" + return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) + + def KeywordSearch(*args, **kwargs): + """KeywordSearch(wxString keyword) -> bool""" + return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) + + def UseConfig(*args, **kwargs): + """UseConfig(wxConfigBase config, wxString rootpath=wxPyEmptyString)""" + return _html.HtmlHelpController_UseConfig(*args, **kwargs) + + def ReadCustomization(*args, **kwargs): + """ReadCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) + + def WriteCustomization(*args, **kwargs): + """WriteCustomization(wxConfigBase cfg, wxString path=wxPyEmptyString)""" + return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> HtmlHelpFrame""" + return _html.HtmlHelpController_GetFrame(*args, **kwargs) + class HtmlHelpControllerPtr(HtmlHelpController): def __init__(self, this): diff --git a/wxPython/src/msw/html_wrap.cpp b/wxPython/src/msw/html_wrap.cpp index 953057e0da..cb1c29b653 100644 --- a/wxPython/src/msw/html_wrap.cpp +++ b/wxPython/src/msw/html_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -441,9 +435,9 @@ class wxPyHtmlFilter : public wxHtmlFilter { public: wxPyHtmlFilter() : wxHtmlFilter() {} - // returns TRUE if this filter is able to open&read given file + // returns True if this filter is able to open&read given file virtual bool CanRead(const wxFSFile& file) const { - bool rval = FALSE; + bool rval = False; bool found; wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { @@ -614,8 +608,8 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxHtmlLinkInfo *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -626,13 +620,13 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -876,7 +870,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -888,7 +882,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -916,9 +910,9 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -930,7 +924,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1157,7 +1151,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; wxObject *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1169,7 +1163,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1199,7 +1193,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1211,7 +1205,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1372,7 +1366,6 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; wxString arg3 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1383,8 +1376,12 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); (arg1)->PushTagHandler(arg2,arg3); @@ -1594,8 +1591,6 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, Py wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1606,10 +1601,18 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -2154,7 +2157,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2166,7 +2169,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4187,8 +4190,8 @@ static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, P static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4395,7 +4398,7 @@ static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject wxString *arg1 = 0 ; wxDC *arg2 = 0 ; wxHtmlWordCell *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4406,7 +4409,7 @@ static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (arg2 == NULL) { @@ -5087,7 +5090,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject * wxPyHtmlWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5114,7 +5117,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -5180,7 +5183,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5209,7 +5212,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -5269,7 +5272,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObje wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5281,7 +5284,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5310,7 +5313,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObj wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5322,7 +5325,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5351,7 +5354,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObj wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5363,7 +5366,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5392,7 +5395,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, P wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5404,7 +5407,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5526,7 +5529,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5540,7 +5543,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5622,8 +5625,6 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObj wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5634,10 +5635,18 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -5659,7 +5668,7 @@ static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5671,7 +5680,7 @@ static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5725,7 +5734,6 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *ar wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5737,8 +5745,12 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *ar if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5759,7 +5771,6 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *a wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5771,8 +5782,12 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *a if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5967,7 +5982,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5979,7 +5994,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6008,7 +6023,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyOb wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6020,7 +6035,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6102,7 +6117,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6114,7 +6129,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6142,8 +6157,8 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6171,8 +6186,8 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *a PyObject *resultobj; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; - wxCoord arg3 ; - wxCoord arg4 ; + int arg3 ; + int arg4 ; wxMouseEvent *arg5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -6315,9 +6330,9 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; - bool temp2 = false ; - bool temp3 = false ; + bool arg4 = (bool) True ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6331,13 +6346,13 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6380,8 +6395,6 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, P wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6392,10 +6405,18 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -6419,7 +6440,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyO int arg2 ; int arg3 ; int arg4 = (int) 0 ; - int arg5 = (int) FALSE ; + int arg5 = (int) False ; int arg6 = (int) INT_MAX ; int *arg7 = (int *) NULL ; int arg8 = (int) 0 ; @@ -6486,7 +6507,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxHtmlPrintout *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title", NULL @@ -6497,7 +6518,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -6528,9 +6549,9 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool arg4 = (bool) TRUE ; - bool temp2 = false ; - bool temp3 = false ; + bool arg4 = (bool) True ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6544,13 +6565,13 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -6591,7 +6612,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *resultobj; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6603,7 +6624,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6632,7 +6653,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, Py wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6644,7 +6665,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6673,7 +6694,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, Py wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6685,7 +6706,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6715,8 +6736,6 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyO wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6727,10 +6746,18 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -6835,7 +6862,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyOb wxString *arg1 = (wxString *) &arg1_defvalue ; wxWindow *arg2 = (wxWindow *) NULL ; wxHtmlEasyPrinting *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6847,7 +6874,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { @@ -6903,7 +6930,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *ar PyObject *resultobj; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -6915,7 +6942,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6945,8 +6972,8 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *ar wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6959,13 +6986,13 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -7002,7 +7029,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7014,7 +7041,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7044,8 +7071,8 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7058,13 +7085,13 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -7150,7 +7177,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7162,7 +7189,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7191,7 +7218,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7203,7 +7230,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7233,8 +7260,6 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, wxString arg2 ; wxString arg3 ; PyObject *arg4 = (PyObject *) NULL ; - wxString *argp2 ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7245,10 +7270,18 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj1); + if (sptr == NULL) SWIG_fail; + arg2 = *sptr; + delete sptr; + } + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } if (obj3) { arg4 = obj3; } @@ -7330,10 +7363,10 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObje wxString *arg3 = 0 ; wxString *arg4 = 0 ; wxHtmlBookRecord *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -7346,22 +7379,22 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7613,7 +7646,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7625,7 +7658,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7653,7 +7686,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7665,7 +7698,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7693,7 +7726,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7705,7 +7738,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7734,7 +7767,7 @@ static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7746,7 +7779,7 @@ static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8137,7 +8170,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, P PyObject *resultobj; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8149,7 +8182,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8178,7 +8211,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyOb wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8190,7 +8223,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8219,7 +8252,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *arg wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8231,7 +8264,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8437,12 +8470,12 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObjec int arg4 = (int) wxHF_DEFAULTSTYLE ; wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; wxHtmlHelpFrame *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj4 = 0 ; char *kwnames[] = { - (char *) "parent",(char *) "wxWindowID",(char *) "title",(char *) "style",(char *) "data", NULL + (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; @@ -8451,7 +8484,7 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -8508,7 +8541,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *ar PyObject *resultobj; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8520,7 +8553,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8548,7 +8581,7 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8560,7 +8593,7 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8662,7 +8695,7 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *arg wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8674,7 +8707,7 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8704,7 +8737,7 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, P wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8719,7 +8752,7 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, P { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -8749,7 +8782,6 @@ static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8761,8 +8793,12 @@ static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8783,7 +8819,6 @@ static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -8795,8 +8830,12 @@ static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8870,7 +8909,7 @@ static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObjec PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8882,7 +8921,7 @@ static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8910,7 +8949,7 @@ static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *a PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8922,7 +8961,7 @@ static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8950,9 +8989,9 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -8964,7 +9003,7 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8992,7 +9031,7 @@ static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args PyObject *resultobj; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9004,7 +9043,7 @@ static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9106,7 +9145,7 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -9118,7 +9157,7 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9148,7 +9187,7 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *ar wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9163,7 +9202,7 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *ar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -9193,7 +9232,6 @@ static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyOb wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9205,8 +9243,12 @@ static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyOb if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -9227,7 +9269,6 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyO wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; - wxString *argp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9239,8 +9280,12 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyO if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { - if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg3 = *argp3; + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); diff --git a/wxPython/src/msw/misc.py b/wxPython/src/msw/misc.py index 9eadf127a9..7ddcda83e5 100644 --- a/wxPython/src/msw/misc.py +++ b/wxPython/src/msw/misc.py @@ -99,15 +99,40 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - GetColour = staticmethod(_misc.SystemSettings_GetColour) - GetFont = staticmethod(_misc.SystemSettings_GetFont) - GetMetric = staticmethod(_misc.SystemSettings_GetMetric) - HasFeature = staticmethod(_misc.SystemSettings_HasFeature) - GetScreenType = staticmethod(_misc.SystemSettings_GetScreenType) - SetScreenType = staticmethod(_misc.SystemSettings_SetScreenType) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetColour(*args, **kwargs): + """SystemSettings.GetColour(wxSystemColour index) -> wxColour""" + return _misc.SystemSettings_GetColour(*args, **kwargs) + + GetColour = staticmethod(GetColour) + def GetFont(*args, **kwargs): + """SystemSettings.GetFont(wxSystemFont index) -> wxFont""" + return _misc.SystemSettings_GetFont(*args, **kwargs) + + GetFont = staticmethod(GetFont) + def GetMetric(*args, **kwargs): + """SystemSettings.GetMetric(wxSystemMetric index) -> int""" + return _misc.SystemSettings_GetMetric(*args, **kwargs) + + GetMetric = staticmethod(GetMetric) + def HasFeature(*args, **kwargs): + """SystemSettings.HasFeature(wxSystemFeature index) -> bool""" + return _misc.SystemSettings_HasFeature(*args, **kwargs) + + HasFeature = staticmethod(HasFeature) + def GetScreenType(*args, **kwargs): + """SystemSettings.GetScreenType() -> wxSystemScreenType""" + return _misc.SystemSettings_GetScreenType(*args, **kwargs) + + GetScreenType = staticmethod(GetScreenType) + def SetScreenType(*args, **kwargs): + """SystemSettings.SetScreenType(wxSystemScreenType screen)""" + return _misc.SystemSettings_SetScreenType(*args, **kwargs) + + SetScreenType = staticmethod(SetScreenType) class SystemSettingsPtr(SystemSettings): def __init__(self, this): @@ -116,31 +141,65 @@ class SystemSettingsPtr(SystemSettings): self.__class__ = SystemSettings _misc.SystemSettings_swigregister(SystemSettingsPtr) -SystemSettings_GetColour = _misc.SystemSettings_GetColour +def SystemSettings_GetColour(*args, **kwargs): + """SystemSettings_GetColour(wxSystemColour index) -> wxColour""" + return _misc.SystemSettings_GetColour(*args, **kwargs) -SystemSettings_GetFont = _misc.SystemSettings_GetFont +def SystemSettings_GetFont(*args, **kwargs): + """SystemSettings_GetFont(wxSystemFont index) -> wxFont""" + return _misc.SystemSettings_GetFont(*args, **kwargs) -SystemSettings_GetMetric = _misc.SystemSettings_GetMetric +def SystemSettings_GetMetric(*args, **kwargs): + """SystemSettings_GetMetric(wxSystemMetric index) -> int""" + return _misc.SystemSettings_GetMetric(*args, **kwargs) -SystemSettings_HasFeature = _misc.SystemSettings_HasFeature +def SystemSettings_HasFeature(*args, **kwargs): + """SystemSettings_HasFeature(wxSystemFeature index) -> bool""" + return _misc.SystemSettings_HasFeature(*args, **kwargs) -SystemSettings_GetScreenType = _misc.SystemSettings_GetScreenType +def SystemSettings_GetScreenType(*args, **kwargs): + """SystemSettings_GetScreenType() -> wxSystemScreenType""" + return _misc.SystemSettings_GetScreenType(*args, **kwargs) -SystemSettings_SetScreenType = _misc.SystemSettings_SetScreenType +def SystemSettings_SetScreenType(*args, **kwargs): + """SystemSettings_SetScreenType(wxSystemScreenType screen)""" + return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> SystemOptions""" newobj = _misc.new_SystemOptions(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - SetOption = staticmethod(_misc.SystemOptions_SetOption) - SetOptionInt = staticmethod(_misc.SystemOptions_SetOptionInt) - GetOption = staticmethod(_misc.SystemOptions_GetOption) - GetOptionInt = staticmethod(_misc.SystemOptions_GetOptionInt) - HasOption = staticmethod(_misc.SystemOptions_HasOption) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetOption(*args, **kwargs): + """SystemOptions.SetOption(wxString name, wxString value)""" + return _misc.SystemOptions_SetOption(*args, **kwargs) + + SetOption = staticmethod(SetOption) + def SetOptionInt(*args, **kwargs): + """SystemOptions.SetOptionInt(wxString name, int value)""" + return _misc.SystemOptions_SetOptionInt(*args, **kwargs) + + SetOptionInt = staticmethod(SetOptionInt) + def GetOption(*args, **kwargs): + """SystemOptions.GetOption(wxString name) -> wxString""" + return _misc.SystemOptions_GetOption(*args, **kwargs) + + GetOption = staticmethod(GetOption) + def GetOptionInt(*args, **kwargs): + """SystemOptions.GetOptionInt(wxString name) -> int""" + return _misc.SystemOptions_GetOptionInt(*args, **kwargs) + + GetOptionInt = staticmethod(GetOptionInt) + def HasOption(*args, **kwargs): + """SystemOptions.HasOption(wxString name) -> bool""" + return _misc.SystemOptions_HasOption(*args, **kwargs) + + HasOption = staticmethod(HasOption) class SystemOptionsPtr(SystemOptions): def __init__(self, this): @@ -149,144 +208,292 @@ class SystemOptionsPtr(SystemOptions): self.__class__ = SystemOptions _misc.SystemOptions_swigregister(SystemOptionsPtr) -SystemOptions_SetOption = _misc.SystemOptions_SetOption +def SystemOptions_SetOption(*args, **kwargs): + """SystemOptions_SetOption(wxString name, wxString value)""" + return _misc.SystemOptions_SetOption(*args, **kwargs) -SystemOptions_SetOptionInt = _misc.SystemOptions_SetOptionInt +def SystemOptions_SetOptionInt(*args, **kwargs): + """SystemOptions_SetOptionInt(wxString name, int value)""" + return _misc.SystemOptions_SetOptionInt(*args, **kwargs) -SystemOptions_GetOption = _misc.SystemOptions_GetOption +def SystemOptions_GetOption(*args, **kwargs): + """SystemOptions_GetOption(wxString name) -> wxString""" + return _misc.SystemOptions_GetOption(*args, **kwargs) -SystemOptions_GetOptionInt = _misc.SystemOptions_GetOptionInt +def SystemOptions_GetOptionInt(*args, **kwargs): + """SystemOptions_GetOptionInt(wxString name) -> int""" + return _misc.SystemOptions_GetOptionInt(*args, **kwargs) -SystemOptions_HasOption = _misc.SystemOptions_HasOption +def SystemOptions_HasOption(*args, **kwargs): + """SystemOptions_HasOption(wxString name) -> bool""" + return _misc.SystemOptions_HasOption(*args, **kwargs) #--------------------------------------------------------------------------- -NewId = _misc.NewId +def NewId(*args, **kwargs): + """NewId() -> long""" + return _misc.NewId(*args, **kwargs) -RegisterId = _misc.RegisterId +def RegisterId(*args, **kwargs): + """RegisterId(long id)""" + return _misc.RegisterId(*args, **kwargs) -GetCurrentId = _misc.GetCurrentId +def GetCurrentId(*args, **kwargs): + """GetCurrentId() -> long""" + return _misc.GetCurrentId(*args, **kwargs) -Bell = _misc.Bell +def Bell(*args, **kwargs): + """Bell()""" + return _misc.Bell(*args, **kwargs) -EndBusyCursor = _misc.EndBusyCursor +def EndBusyCursor(*args, **kwargs): + """EndBusyCursor()""" + return _misc.EndBusyCursor(*args, **kwargs) -GetElapsedTime = _misc.GetElapsedTime +def GetElapsedTime(*args, **kwargs): + """GetElapsedTime(bool resetTimer=True) -> long""" + return _misc.GetElapsedTime(*args, **kwargs) -GetMousePosition = _misc.GetMousePosition +def GetMousePosition(*args, **kwargs): + """GetMousePosition(int OUTPUT, int OUTPUT)""" + return _misc.GetMousePosition(*args, **kwargs) -IsBusy = _misc.IsBusy +def IsBusy(*args, **kwargs): + """IsBusy() -> bool""" + return _misc.IsBusy(*args, **kwargs) -Now = _misc.Now +def Now(*args, **kwargs): + """Now() -> wxString""" + return _misc.Now(*args, **kwargs) -Shell = _misc.Shell +def Shell(*args, **kwargs): + """Shell(wxString command=wxPyEmptyString) -> bool""" + return _misc.Shell(*args, **kwargs) -StartTimer = _misc.StartTimer +def StartTimer(*args, **kwargs): + """StartTimer()""" + return _misc.StartTimer(*args, **kwargs) -GetOsVersion = _misc.GetOsVersion +def GetOsVersion(*args, **kwargs): + """GetOsVersion(int OUTPUT, int OUTPUT) -> int""" + return _misc.GetOsVersion(*args, **kwargs) -GetOsDescription = _misc.GetOsDescription +def GetOsDescription(*args, **kwargs): + """GetOsDescription() -> wxString""" + return _misc.GetOsDescription(*args, **kwargs) -GetFreeMemory = _misc.GetFreeMemory +def GetFreeMemory(*args, **kwargs): + """GetFreeMemory() -> long""" + return _misc.GetFreeMemory(*args, **kwargs) SHUTDOWN_POWEROFF = _misc.SHUTDOWN_POWEROFF SHUTDOWN_REBOOT = _misc.SHUTDOWN_REBOOT -Shutdown = _misc.Shutdown - -Sleep = _misc.Sleep - -Usleep = _misc.Usleep - -EnableTopLevelWindows = _misc.EnableTopLevelWindows - -StripMenuCodes = _misc.StripMenuCodes - -GetEmailAddress = _misc.GetEmailAddress - -GetHostName = _misc.GetHostName - -GetFullHostName = _misc.GetFullHostName - -GetUserId = _misc.GetUserId - -GetUserName = _misc.GetUserName - -GetHomeDir = _misc.GetHomeDir - -GetUserHome = _misc.GetUserHome - -GetProcessId = _misc.GetProcessId - -Trap = _misc.Trap - -FileSelector = _misc.FileSelector - -LoadFileSelector = _misc.LoadFileSelector - -SaveFileSelector = _misc.SaveFileSelector - -DirSelector = _misc.DirSelector - -GetTextFromUser = _misc.GetTextFromUser - -GetPasswordFromUser = _misc.GetPasswordFromUser - -GetSingleChoice = _misc.GetSingleChoice - -GetSingleChoiceIndex = _misc.GetSingleChoiceIndex - -MessageBox = _misc.MessageBox - -GetNumberFromUser = _misc.GetNumberFromUser - -ColourDisplay = _misc.ColourDisplay - -DisplayDepth = _misc.DisplayDepth - -GetDisplayDepth = _misc.GetDisplayDepth - -DisplaySize = _misc.DisplaySize - -GetDisplaySize = _misc.GetDisplaySize - -DisplaySizeMM = _misc.DisplaySizeMM - -GetDisplaySizeMM = _misc.GetDisplaySizeMM - -ClientDisplayRect = _misc.ClientDisplayRect - -GetClientDisplayRect = _misc.GetClientDisplayRect - -SetCursor = _misc.SetCursor - -BeginBusyCursor = _misc.BeginBusyCursor - -GetActiveWindow = _misc.GetActiveWindow - -GenericFindWindowAtPoint = _misc.GenericFindWindowAtPoint - -FindWindowAtPoint = _misc.FindWindowAtPoint - -GetTopLevelParent = _misc.GetTopLevelParent - -WakeUpMainThread = _misc.WakeUpMainThread - -MutexGuiEnter = _misc.MutexGuiEnter - -MutexGuiLeave = _misc.MutexGuiLeave +def Shutdown(*args, **kwargs): + """Shutdown(wxShutdownFlags wFlags) -> bool""" + return _misc.Shutdown(*args, **kwargs) + +def Sleep(*args, **kwargs): + """Sleep(int secs)""" + return _misc.Sleep(*args, **kwargs) + +def Usleep(*args, **kwargs): + """Usleep(unsigned long milliseconds)""" + return _misc.Usleep(*args, **kwargs) + +def EnableTopLevelWindows(*args, **kwargs): + """EnableTopLevelWindows(bool enable)""" + return _misc.EnableTopLevelWindows(*args, **kwargs) + +def StripMenuCodes(*args, **kwargs): + """StripMenuCodes(wxString in) -> wxString""" + return _misc.StripMenuCodes(*args, **kwargs) + +def GetEmailAddress(*args, **kwargs): + """GetEmailAddress() -> wxString""" + return _misc.GetEmailAddress(*args, **kwargs) + +def GetHostName(*args, **kwargs): + """GetHostName() -> wxString""" + return _misc.GetHostName(*args, **kwargs) + +def GetFullHostName(*args, **kwargs): + """GetFullHostName() -> wxString""" + return _misc.GetFullHostName(*args, **kwargs) + +def GetUserId(*args, **kwargs): + """GetUserId() -> wxString""" + return _misc.GetUserId(*args, **kwargs) + +def GetUserName(*args, **kwargs): + """GetUserName() -> wxString""" + return _misc.GetUserName(*args, **kwargs) + +def GetHomeDir(*args, **kwargs): + """GetHomeDir() -> wxString""" + return _misc.GetHomeDir(*args, **kwargs) + +def GetUserHome(*args, **kwargs): + """GetUserHome(wxString user=wxPyEmptyString) -> wxString""" + return _misc.GetUserHome(*args, **kwargs) + +def GetProcessId(*args, **kwargs): + """GetProcessId() -> unsigned long""" + return _misc.GetProcessId(*args, **kwargs) + +def Trap(*args, **kwargs): + """Trap()""" + return _misc.Trap(*args, **kwargs) + +def FileSelector(*args, **kwargs): + """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, + wxString default_filename=wxPyEmptyString, + wxString default_extension=wxPyEmptyString, + wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + int flags=0, + Window parent=None, int x=-1, int y=-1) -> wxString""" + return _misc.FileSelector(*args, **kwargs) + +def LoadFileSelector(*args, **kwargs): + """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString""" + return _misc.LoadFileSelector(*args, **kwargs) + +def SaveFileSelector(*args, **kwargs): + """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString""" + return _misc.SaveFileSelector(*args, **kwargs) + +def DirSelector(*args, **kwargs): + """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> wxString""" + return _misc.DirSelector(*args, **kwargs) + +def GetTextFromUser(*args, **kwargs): + """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None, + int x=-1, int y=-1, bool centre=True) -> wxString""" + return _misc.GetTextFromUser(*args, **kwargs) + +def GetPasswordFromUser(*args, **kwargs): + """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + return _misc.GetPasswordFromUser(*args, **kwargs) + +def GetSingleChoice(*args, **kwargs): + """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> wxString""" + return _misc.GetSingleChoice(*args, **kwargs) + +def GetSingleChoiceIndex(*args, **kwargs): + """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> int""" + return _misc.GetSingleChoiceIndex(*args, **kwargs) + +def MessageBox(*args, **kwargs): + """MessageBox(wxString message, wxString caption=wxPyEmptyString, + int style=wxOK|wxCENTRE, Window parent=None, + int x=-1, int y=-1) -> int""" + return _misc.MessageBox(*args, **kwargs) + +def GetNumberFromUser(*args, **kwargs): + """GetNumberFromUser(wxString message, wxString prompt, wxString caption, + long value, long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long""" + return _misc.GetNumberFromUser(*args, **kwargs) + +def ColourDisplay(*args, **kwargs): + """ColourDisplay() -> bool""" + return _misc.ColourDisplay(*args, **kwargs) + +def DisplayDepth(*args, **kwargs): + """DisplayDepth() -> int""" + return _misc.DisplayDepth(*args, **kwargs) + +def GetDisplayDepth(*args, **kwargs): + """GetDisplayDepth() -> int""" + return _misc.GetDisplayDepth(*args, **kwargs) + +def DisplaySize(*args, **kwargs): + """DisplaySize(int OUTPUT, int OUTPUT)""" + return _misc.DisplaySize(*args, **kwargs) + +def GetDisplaySize(*args, **kwargs): + """GetDisplaySize() -> Size""" + return _misc.GetDisplaySize(*args, **kwargs) + +def DisplaySizeMM(*args, **kwargs): + """DisplaySizeMM(int OUTPUT, int OUTPUT)""" + return _misc.DisplaySizeMM(*args, **kwargs) + +def GetDisplaySizeMM(*args, **kwargs): + """GetDisplaySizeMM() -> Size""" + return _misc.GetDisplaySizeMM(*args, **kwargs) + +def ClientDisplayRect(*args, **kwargs): + """ClientDisplayRect(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _misc.ClientDisplayRect(*args, **kwargs) + +def GetClientDisplayRect(*args, **kwargs): + """GetClientDisplayRect() -> Rect""" + return _misc.GetClientDisplayRect(*args, **kwargs) + +def SetCursor(*args, **kwargs): + """SetCursor(wxCursor cursor)""" + return _misc.SetCursor(*args, **kwargs) + +def BeginBusyCursor(*args, **kwargs): + """BeginBusyCursor(wxCursor cursor=wxHOURGLASS_CURSOR)""" + return _misc.BeginBusyCursor(*args, **kwargs) + +def GetActiveWindow(*args, **kwargs): + """GetActiveWindow() -> Window""" + return _misc.GetActiveWindow(*args, **kwargs) + +def GenericFindWindowAtPoint(*args, **kwargs): + """GenericFindWindowAtPoint(Point pt) -> Window""" + return _misc.GenericFindWindowAtPoint(*args, **kwargs) + +def FindWindowAtPoint(*args, **kwargs): + """FindWindowAtPoint(Point pt) -> Window""" + return _misc.FindWindowAtPoint(*args, **kwargs) + +def GetTopLevelParent(*args, **kwargs): + """GetTopLevelParent(Window win) -> Window""" + return _misc.GetTopLevelParent(*args, **kwargs) + +def WakeUpMainThread(*args, **kwargs): + """WakeUpMainThread()""" + return _misc.WakeUpMainThread(*args, **kwargs) + +def MutexGuiEnter(*args, **kwargs): + """MutexGuiEnter()""" + return _misc.MutexGuiEnter(*args, **kwargs) + +def MutexGuiLeave(*args, **kwargs): + """MutexGuiLeave()""" + return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MutexGuiLocker""" newobj = _misc.new_MutexGuiLocker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_MutexGuiLocker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class MutexGuiLockerPtr(MutexGuiLocker): def __init__(self, this): @@ -296,22 +503,43 @@ class MutexGuiLockerPtr(MutexGuiLocker): _misc.MutexGuiLocker_swigregister(MutexGuiLockerPtr) -Thread_IsMain = _misc.Thread_IsMain +def Thread_IsMain(*args, **kwargs): + """Thread_IsMain() -> bool""" + return _misc.Thread_IsMain(*args, **kwargs) #--------------------------------------------------------------------------- class ToolTip(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString tip) -> ToolTip""" newobj = _misc.new_ToolTip(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetTip(*args, **kwargs): return _misc.ToolTip_SetTip(*args, **kwargs) - def GetTip(*args, **kwargs): return _misc.ToolTip_GetTip(*args, **kwargs) - def GetWindow(*args, **kwargs): return _misc.ToolTip_GetWindow(*args, **kwargs) - Enable = staticmethod(_misc.ToolTip_Enable) - SetDelay = staticmethod(_misc.ToolTip_SetDelay) - def __repr__(self): - return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetTip(*args, **kwargs): + """SetTip(wxString tip)""" + return _misc.ToolTip_SetTip(*args, **kwargs) + + def GetTip(*args, **kwargs): + """GetTip() -> wxString""" + return _misc.ToolTip_GetTip(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _misc.ToolTip_GetWindow(*args, **kwargs) + + def Enable(*args, **kwargs): + """ToolTip.Enable(bool flag)""" + return _misc.ToolTip_Enable(*args, **kwargs) + + Enable = staticmethod(Enable) + def SetDelay(*args, **kwargs): + """ToolTip.SetDelay(long milliseconds)""" + return _misc.ToolTip_SetDelay(*args, **kwargs) + + SetDelay = staticmethod(SetDelay) class ToolTipPtr(ToolTip): def __init__(self, this): @@ -320,35 +548,82 @@ class ToolTipPtr(ToolTip): self.__class__ = ToolTip _misc.ToolTip_swigregister(ToolTipPtr) -ToolTip_Enable = _misc.ToolTip_Enable +def ToolTip_Enable(*args, **kwargs): + """ToolTip_Enable(bool flag)""" + return _misc.ToolTip_Enable(*args, **kwargs) -ToolTip_SetDelay = _misc.ToolTip_SetDelay +def ToolTip_SetDelay(*args, **kwargs): + """ToolTip_SetDelay(long milliseconds)""" + return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window window, Size size) -> Caret""" newobj = _misc.new_Caret(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Caret): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _misc.Caret_IsOk(*args, **kwargs) - def IsVisible(*args, **kwargs): return _misc.Caret_IsVisible(*args, **kwargs) - def GetPositionTuple(*args, **kwargs): return _misc.Caret_GetPositionTuple(*args, **kwargs) - def GetPosition(*args, **kwargs): return _misc.Caret_GetPosition(*args, **kwargs) - def GetSizeTuple(*args, **kwargs): return _misc.Caret_GetSizeTuple(*args, **kwargs) - def GetSize(*args, **kwargs): return _misc.Caret_GetSize(*args, **kwargs) - def GetWindow(*args, **kwargs): return _misc.Caret_GetWindow(*args, **kwargs) - def MoveXY(*args, **kwargs): return _misc.Caret_MoveXY(*args, **kwargs) - def Move(*args, **kwargs): return _misc.Caret_Move(*args, **kwargs) - def SetSizeWH(*args, **kwargs): return _misc.Caret_SetSizeWH(*args, **kwargs) - def SetSize(*args, **kwargs): return _misc.Caret_SetSize(*args, **kwargs) - def Show(*args, **kwargs): return _misc.Caret_Show(*args, **kwargs) - def Hide(*args, **kwargs): return _misc.Caret_Hide(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _misc.Caret_IsOk(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible() -> bool""" + return _misc.Caret_IsVisible(*args, **kwargs) + + def GetPositionTuple(*args, **kwargs): + """GetPositionTuple(int OUTPUT, int OUTPUT)""" + return _misc.Caret_GetPositionTuple(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.Caret_GetPosition(*args, **kwargs) + + def GetSizeTuple(*args, **kwargs): + """GetSizeTuple(int OUTPUT, int OUTPUT)""" + return _misc.Caret_GetSizeTuple(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _misc.Caret_GetSize(*args, **kwargs) + + def GetWindow(*args, **kwargs): + """GetWindow() -> Window""" + return _misc.Caret_GetWindow(*args, **kwargs) + + def MoveXY(*args, **kwargs): + """MoveXY(int x, int y)""" + return _misc.Caret_MoveXY(*args, **kwargs) + + def Move(*args, **kwargs): + """Move(Point pt)""" + return _misc.Caret_Move(*args, **kwargs) + + def SetSizeWH(*args, **kwargs): + """SetSizeWH(int width, int height)""" + return _misc.Caret_SetSizeWH(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _misc.Caret_SetSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(int show=True)""" + return _misc.Caret_Show(*args, **kwargs) + + def Hide(*args, **kwargs): + """Hide()""" + return _misc.Caret_Hide(*args, **kwargs) + class CaretPtr(Caret): def __init__(self, this): @@ -358,21 +633,29 @@ class CaretPtr(Caret): _misc.Caret_swigregister(CaretPtr) -Caret_GetBlinkTime = _misc.Caret_GetBlinkTime +def Caret_GetBlinkTime(*args, **kwargs): + """Caret_GetBlinkTime() -> int""" + return _misc.Caret_GetBlinkTime(*args, **kwargs) -Caret_SetBlinkTime = _misc.Caret_SetBlinkTime +def Caret_SetBlinkTime(*args, **kwargs): + """Caret_SetBlinkTime(int milliseconds)""" + return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxCursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" newobj = _misc.new_BusyCursor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_BusyCursor): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class BusyCursorPtr(BusyCursor): def __init__(self, this): @@ -382,17 +665,21 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window winToSkip=None) -> WindowDisabler""" newobj = _misc.new_WindowDisabler(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_WindowDisabler): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class WindowDisablerPtr(WindowDisabler): def __init__(self, this): @@ -402,17 +689,21 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString message) -> BusyInfo""" newobj = _misc.new_BusyInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_BusyInfo): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class BusyInfoPtr(BusyInfo): def __init__(self, this): @@ -422,17 +713,31 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> StopWatch""" newobj = _misc.new_StopWatch(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Start(*args, **kwargs): return _misc.StopWatch_Start(*args, **kwargs) - def Pause(*args, **kwargs): return _misc.StopWatch_Pause(*args, **kwargs) - def Resume(*args, **kwargs): return _misc.StopWatch_Resume(*args, **kwargs) - def Time(*args, **kwargs): return _misc.StopWatch_Time(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Start(*args, **kwargs): + """Start(long t0=0)""" + return _misc.StopWatch_Start(*args, **kwargs) + + def Pause(*args, **kwargs): + """Pause()""" + return _misc.StopWatch_Pause(*args, **kwargs) + + def Resume(*args, **kwargs): + """Resume()""" + return _misc.StopWatch_Resume(*args, **kwargs) + + def Time(*args, **kwargs): + """Time() -> long""" + return _misc.StopWatch_Time(*args, **kwargs) + class StopWatchPtr(StopWatch): def __init__(self, this): @@ -442,28 +747,65 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int maxFiles=9) -> FileHistory""" newobj = _misc.new_FileHistory(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileHistory): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def AddFileToHistory(*args, **kwargs): return _misc.FileHistory_AddFileToHistory(*args, **kwargs) - def RemoveFileFromHistory(*args, **kwargs): return _misc.FileHistory_RemoveFileFromHistory(*args, **kwargs) - def GetMaxFiles(*args, **kwargs): return _misc.FileHistory_GetMaxFiles(*args, **kwargs) - def UseMenu(*args, **kwargs): return _misc.FileHistory_UseMenu(*args, **kwargs) - def RemoveMenu(*args, **kwargs): return _misc.FileHistory_RemoveMenu(*args, **kwargs) - def Load(*args, **kwargs): return _misc.FileHistory_Load(*args, **kwargs) - def Save(*args, **kwargs): return _misc.FileHistory_Save(*args, **kwargs) - def AddFilesToMenu(*args, **kwargs): return _misc.FileHistory_AddFilesToMenu(*args, **kwargs) - def AddFilesToThisMenu(*args, **kwargs): return _misc.FileHistory_AddFilesToThisMenu(*args, **kwargs) - def GetHistoryFile(*args, **kwargs): return _misc.FileHistory_GetHistoryFile(*args, **kwargs) - def GetCount(*args, **kwargs): return _misc.FileHistory_GetCount(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def AddFileToHistory(*args, **kwargs): + """AddFileToHistory(wxString file)""" + return _misc.FileHistory_AddFileToHistory(*args, **kwargs) + + def RemoveFileFromHistory(*args, **kwargs): + """RemoveFileFromHistory(int i)""" + return _misc.FileHistory_RemoveFileFromHistory(*args, **kwargs) + + def GetMaxFiles(*args, **kwargs): + """GetMaxFiles() -> int""" + return _misc.FileHistory_GetMaxFiles(*args, **kwargs) + + def UseMenu(*args, **kwargs): + """UseMenu(Menu menu)""" + return _misc.FileHistory_UseMenu(*args, **kwargs) + + def RemoveMenu(*args, **kwargs): + """RemoveMenu(Menu menu)""" + return _misc.FileHistory_RemoveMenu(*args, **kwargs) + + def Load(*args, **kwargs): + """Load(ConfigBase config)""" + return _misc.FileHistory_Load(*args, **kwargs) + + def Save(*args, **kwargs): + """Save(ConfigBase config)""" + return _misc.FileHistory_Save(*args, **kwargs) + + def AddFilesToMenu(*args, **kwargs): + """AddFilesToMenu()""" + return _misc.FileHistory_AddFilesToMenu(*args, **kwargs) + + def AddFilesToThisMenu(*args, **kwargs): + """AddFilesToThisMenu(Menu menu)""" + return _misc.FileHistory_AddFilesToThisMenu(*args, **kwargs) + + def GetHistoryFile(*args, **kwargs): + """GetHistoryFile(int i) -> wxString""" + return _misc.FileHistory_GetHistoryFile(*args, **kwargs) + + def GetCount(*args, **kwargs): + """GetCount() -> int""" + return _misc.FileHistory_GetCount(*args, **kwargs) + class FileHistoryPtr(FileHistory): def __init__(self, this): @@ -473,19 +815,29 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString name, wxString path=wxPyEmptyString) -> SingleInstanceChecker""" newobj = _misc.new_SingleInstanceChecker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_SingleInstanceChecker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Create(*args, **kwargs): return _misc.SingleInstanceChecker_Create(*args, **kwargs) - def IsAnotherRunning(*args, **kwargs): return _misc.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(wxString name, wxString path=wxPyEmptyString) -> bool""" + return _misc.SingleInstanceChecker_Create(*args, **kwargs) + + def IsAnotherRunning(*args, **kwargs): + """IsAnotherRunning() -> bool""" + return _misc.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs) + class SingleInstanceCheckerPtr(SingleInstanceChecker): def __init__(self, this): @@ -495,25 +847,40 @@ class SingleInstanceCheckerPtr(SingleInstanceChecker): _misc.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr) def PreSingleInstanceChecker(*args, **kwargs): + """PreSingleInstanceChecker() -> SingleInstanceChecker""" val = _misc.new_PreSingleInstanceChecker(*args, **kwargs) val.thisown = 1 return val -DrawWindowOnDC = _misc.DrawWindowOnDC +def DrawWindowOnDC(*args, **kwargs): + """DrawWindowOnDC(Window window, wxDC dc, int method)""" + return _misc.DrawWindowOnDC(*args, **kwargs) #--------------------------------------------------------------------------- class TipProvider(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_misc.delete_TipProvider): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetTip(*args, **kwargs): return _misc.TipProvider_GetTip(*args, **kwargs) - def GetCurrentTip(*args, **kwargs): return _misc.TipProvider_GetCurrentTip(*args, **kwargs) - def PreprocessTip(*args, **kwargs): return _misc.TipProvider_PreprocessTip(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetTip(*args, **kwargs): + """GetTip() -> wxString""" + return _misc.TipProvider_GetTip(*args, **kwargs) + + def GetCurrentTip(*args, **kwargs): + """GetCurrentTip() -> size_t""" + return _misc.TipProvider_GetCurrentTip(*args, **kwargs) + + def PreprocessTip(*args, **kwargs): + """PreprocessTip(wxString tip) -> wxString""" + return _misc.TipProvider_PreprocessTip(*args, **kwargs) + class TipProviderPtr(TipProvider): def __init__(self, this): @@ -523,14 +890,19 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(size_t currentTip) -> PyTipProvider""" newobj = _misc.new_PyTipProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def _setCallbackInfo(*args, **kwargs): return _misc.PyTipProvider__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyTipProvider__setCallbackInfo(*args, **kwargs) + class PyTipProviderPtr(PyTipProvider): def __init__(self, this): @@ -540,33 +912,62 @@ class PyTipProviderPtr(PyTipProvider): _misc.PyTipProvider_swigregister(PyTipProviderPtr) -ShowTip = _misc.ShowTip +def ShowTip(*args, **kwargs): + """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool""" + return _misc.ShowTip(*args, **kwargs) -CreateFileTipProvider = _misc.CreateFileTipProvider +def CreateFileTipProvider(*args, **kwargs): + """CreateFileTipProvider(wxString filename, size_t currentTip) -> TipProvider""" + return _misc.CreateFileTipProvider(*args, **kwargs) #--------------------------------------------------------------------------- TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(EvtHandler owner=None, int id=-1) -> Timer""" newobj = _misc.new_Timer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Timer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetOwner(*args, **kwargs): return _misc.Timer_SetOwner(*args, **kwargs) - def Start(*args, **kwargs): return _misc.Timer_Start(*args, **kwargs) - def Stop(*args, **kwargs): return _misc.Timer_Stop(*args, **kwargs) - def Notify(*args, **kwargs): return _misc.Timer_Notify(*args, **kwargs) - def IsRunning(*args, **kwargs): return _misc.Timer_IsRunning(*args, **kwargs) - def GetInterval(*args, **kwargs): return _misc.Timer_GetInterval(*args, **kwargs) - def IsOneShot(*args, **kwargs): return _misc.Timer_IsOneShot(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetOwner(*args, **kwargs): + """SetOwner(EvtHandler owner, int id=-1)""" + return _misc.Timer_SetOwner(*args, **kwargs) + + def Start(*args, **kwargs): + """Start(int milliseconds=-1, bool oneShot=False) -> bool""" + return _misc.Timer_Start(*args, **kwargs) + + def Stop(*args, **kwargs): + """Stop()""" + return _misc.Timer_Stop(*args, **kwargs) + + def Notify(*args, **kwargs): + """Notify()""" + return _misc.Timer_Notify(*args, **kwargs) + + def IsRunning(*args, **kwargs): + """IsRunning() -> bool""" + return _misc.Timer_IsRunning(*args, **kwargs) + + def GetInterval(*args, **kwargs): + """GetInterval() -> int""" + return _misc.Timer_GetInterval(*args, **kwargs) + + def IsOneShot(*args, **kwargs): + """IsOneShot() -> bool""" + return _misc.Timer_IsOneShot(*args, **kwargs) + class TimerPtr(Timer): def __init__(self, this): @@ -590,14 +991,19 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int timerid=0, int interval=0) -> TimerEvent""" newobj = _misc.new_TimerEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetInterval(*args, **kwargs): return _misc.TimerEvent_GetInterval(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetInterval(*args, **kwargs): + """GetInterval() -> int""" + return _misc.TimerEvent_GetInterval(*args, **kwargs) + class TimerEventPtr(TimerEvent): def __init__(self, this): @@ -607,18 +1013,26 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): + """__init__(wxTimer timer) -> TimerRunner +__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_TimerRunner): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Start(*args, **kwargs): return _misc.TimerRunner_Start(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Start(*args, **kwargs): + """Start(int milli, bool oneShot=False)""" + return _misc.TimerRunner_Start(*args, **kwargs) + class TimerRunnerPtr(TimerRunner): def __init__(self, this): @@ -651,38 +1065,138 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> Log""" newobj = _misc.new_Log(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - IsEnabled = staticmethod(_misc.Log_IsEnabled) - EnableLogging = staticmethod(_misc.Log_EnableLogging) - OnLog = staticmethod(_misc.Log_OnLog) - def Flush(*args, **kwargs): return _misc.Log_Flush(*args, **kwargs) - FlushActive = staticmethod(_misc.Log_FlushActive) - GetActiveTarget = staticmethod(_misc.Log_GetActiveTarget) - SetActiveTarget = staticmethod(_misc.Log_SetActiveTarget) - Suspend = staticmethod(_misc.Log_Suspend) - Resume = staticmethod(_misc.Log_Resume) - SetVerbose = staticmethod(_misc.Log_SetVerbose) - SetLogLevel = staticmethod(_misc.Log_SetLogLevel) - DontCreateOnDemand = staticmethod(_misc.Log_DontCreateOnDemand) - SetTraceMask = staticmethod(_misc.Log_SetTraceMask) - AddTraceMask = staticmethod(_misc.Log_AddTraceMask) - RemoveTraceMask = staticmethod(_misc.Log_RemoveTraceMask) - ClearTraceMasks = staticmethod(_misc.Log_ClearTraceMasks) - GetTraceMasks = staticmethod(_misc.Log_GetTraceMasks) - SetTimestamp = staticmethod(_misc.Log_SetTimestamp) - GetVerbose = staticmethod(_misc.Log_GetVerbose) - GetTraceMask = staticmethod(_misc.Log_GetTraceMask) - IsAllowedTraceMask = staticmethod(_misc.Log_IsAllowedTraceMask) - GetLogLevel = staticmethod(_misc.Log_GetLogLevel) - GetTimestamp = staticmethod(_misc.Log_GetTimestamp) - TimeStamp = staticmethod(_misc.Log_TimeStamp) - def Destroy(*args, **kwargs): return _misc.Log_Destroy(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsEnabled(*args, **kwargs): + """Log.IsEnabled() -> bool""" + return _misc.Log_IsEnabled(*args, **kwargs) + + IsEnabled = staticmethod(IsEnabled) + def EnableLogging(*args, **kwargs): + """Log.EnableLogging(bool doIt=True) -> bool""" + return _misc.Log_EnableLogging(*args, **kwargs) + + EnableLogging = staticmethod(EnableLogging) + def OnLog(*args, **kwargs): + """Log.OnLog(wxLogLevel level, wxChar szString, time_t t)""" + return _misc.Log_OnLog(*args, **kwargs) + + OnLog = staticmethod(OnLog) + def Flush(*args, **kwargs): + """Flush()""" + return _misc.Log_Flush(*args, **kwargs) + + def FlushActive(*args, **kwargs): + """Log.FlushActive()""" + return _misc.Log_FlushActive(*args, **kwargs) + + FlushActive = staticmethod(FlushActive) + def GetActiveTarget(*args, **kwargs): + """Log.GetActiveTarget() -> Log""" + return _misc.Log_GetActiveTarget(*args, **kwargs) + + GetActiveTarget = staticmethod(GetActiveTarget) + def SetActiveTarget(*args, **kwargs): + """Log.SetActiveTarget(Log pLogger) -> Log""" + return _misc.Log_SetActiveTarget(*args, **kwargs) + + SetActiveTarget = staticmethod(SetActiveTarget) + def Suspend(*args, **kwargs): + """Log.Suspend()""" + return _misc.Log_Suspend(*args, **kwargs) + + Suspend = staticmethod(Suspend) + def Resume(*args, **kwargs): + """Log.Resume()""" + return _misc.Log_Resume(*args, **kwargs) + + Resume = staticmethod(Resume) + def SetVerbose(*args, **kwargs): + """Log.SetVerbose(bool bVerbose=True)""" + return _misc.Log_SetVerbose(*args, **kwargs) + + SetVerbose = staticmethod(SetVerbose) + def SetLogLevel(*args, **kwargs): + """Log.SetLogLevel(wxLogLevel logLevel)""" + return _misc.Log_SetLogLevel(*args, **kwargs) + + SetLogLevel = staticmethod(SetLogLevel) + def DontCreateOnDemand(*args, **kwargs): + """Log.DontCreateOnDemand()""" + return _misc.Log_DontCreateOnDemand(*args, **kwargs) + + DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetTraceMask(*args, **kwargs): + """Log.SetTraceMask(wxTraceMask ulMask)""" + return _misc.Log_SetTraceMask(*args, **kwargs) + + SetTraceMask = staticmethod(SetTraceMask) + def AddTraceMask(*args, **kwargs): + """Log.AddTraceMask(wxString str)""" + return _misc.Log_AddTraceMask(*args, **kwargs) + + AddTraceMask = staticmethod(AddTraceMask) + def RemoveTraceMask(*args, **kwargs): + """Log.RemoveTraceMask(wxString str)""" + return _misc.Log_RemoveTraceMask(*args, **kwargs) + + RemoveTraceMask = staticmethod(RemoveTraceMask) + def ClearTraceMasks(*args, **kwargs): + """Log.ClearTraceMasks()""" + return _misc.Log_ClearTraceMasks(*args, **kwargs) + + ClearTraceMasks = staticmethod(ClearTraceMasks) + def GetTraceMasks(*args, **kwargs): + """Log.GetTraceMasks() -> wxArrayString""" + return _misc.Log_GetTraceMasks(*args, **kwargs) + + GetTraceMasks = staticmethod(GetTraceMasks) + def SetTimestamp(*args, **kwargs): + """Log.SetTimestamp(wxChar ts)""" + return _misc.Log_SetTimestamp(*args, **kwargs) + + SetTimestamp = staticmethod(SetTimestamp) + def GetVerbose(*args, **kwargs): + """Log.GetVerbose() -> bool""" + return _misc.Log_GetVerbose(*args, **kwargs) + + GetVerbose = staticmethod(GetVerbose) + def GetTraceMask(*args, **kwargs): + """Log.GetTraceMask() -> wxTraceMask""" + return _misc.Log_GetTraceMask(*args, **kwargs) + + GetTraceMask = staticmethod(GetTraceMask) + def IsAllowedTraceMask(*args, **kwargs): + """Log.IsAllowedTraceMask(wxChar mask) -> bool""" + return _misc.Log_IsAllowedTraceMask(*args, **kwargs) + + IsAllowedTraceMask = staticmethod(IsAllowedTraceMask) + def GetLogLevel(*args, **kwargs): + """Log.GetLogLevel() -> wxLogLevel""" + return _misc.Log_GetLogLevel(*args, **kwargs) + + GetLogLevel = staticmethod(GetLogLevel) + def GetTimestamp(*args, **kwargs): + """Log.GetTimestamp() -> wxChar""" + return _misc.Log_GetTimestamp(*args, **kwargs) + + GetTimestamp = staticmethod(GetTimestamp) + def TimeStamp(*args, **kwargs): + """Log.TimeStamp() -> wxString""" + return _misc.Log_TimeStamp(*args, **kwargs) + + TimeStamp = staticmethod(TimeStamp) + def Destroy(*args, **kwargs): + """Destroy()""" + return _misc.Log_Destroy(*args, **kwargs) + class LogPtr(Log): def __init__(self, this): @@ -691,60 +1205,108 @@ class LogPtr(Log): self.__class__ = Log _misc.Log_swigregister(LogPtr) -Log_IsEnabled = _misc.Log_IsEnabled +def Log_IsEnabled(*args, **kwargs): + """Log_IsEnabled() -> bool""" + return _misc.Log_IsEnabled(*args, **kwargs) -Log_EnableLogging = _misc.Log_EnableLogging +def Log_EnableLogging(*args, **kwargs): + """Log_EnableLogging(bool doIt=True) -> bool""" + return _misc.Log_EnableLogging(*args, **kwargs) -Log_OnLog = _misc.Log_OnLog +def Log_OnLog(*args, **kwargs): + """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)""" + return _misc.Log_OnLog(*args, **kwargs) -Log_FlushActive = _misc.Log_FlushActive +def Log_FlushActive(*args, **kwargs): + """Log_FlushActive()""" + return _misc.Log_FlushActive(*args, **kwargs) -Log_GetActiveTarget = _misc.Log_GetActiveTarget +def Log_GetActiveTarget(*args, **kwargs): + """Log_GetActiveTarget() -> Log""" + return _misc.Log_GetActiveTarget(*args, **kwargs) -Log_SetActiveTarget = _misc.Log_SetActiveTarget +def Log_SetActiveTarget(*args, **kwargs): + """Log_SetActiveTarget(Log pLogger) -> Log""" + return _misc.Log_SetActiveTarget(*args, **kwargs) -Log_Suspend = _misc.Log_Suspend +def Log_Suspend(*args, **kwargs): + """Log_Suspend()""" + return _misc.Log_Suspend(*args, **kwargs) -Log_Resume = _misc.Log_Resume +def Log_Resume(*args, **kwargs): + """Log_Resume()""" + return _misc.Log_Resume(*args, **kwargs) -Log_SetVerbose = _misc.Log_SetVerbose +def Log_SetVerbose(*args, **kwargs): + """Log_SetVerbose(bool bVerbose=True)""" + return _misc.Log_SetVerbose(*args, **kwargs) -Log_SetLogLevel = _misc.Log_SetLogLevel +def Log_SetLogLevel(*args, **kwargs): + """Log_SetLogLevel(wxLogLevel logLevel)""" + return _misc.Log_SetLogLevel(*args, **kwargs) -Log_DontCreateOnDemand = _misc.Log_DontCreateOnDemand +def Log_DontCreateOnDemand(*args, **kwargs): + """Log_DontCreateOnDemand()""" + return _misc.Log_DontCreateOnDemand(*args, **kwargs) -Log_SetTraceMask = _misc.Log_SetTraceMask +def Log_SetTraceMask(*args, **kwargs): + """Log_SetTraceMask(wxTraceMask ulMask)""" + return _misc.Log_SetTraceMask(*args, **kwargs) -Log_AddTraceMask = _misc.Log_AddTraceMask +def Log_AddTraceMask(*args, **kwargs): + """Log_AddTraceMask(wxString str)""" + return _misc.Log_AddTraceMask(*args, **kwargs) -Log_RemoveTraceMask = _misc.Log_RemoveTraceMask +def Log_RemoveTraceMask(*args, **kwargs): + """Log_RemoveTraceMask(wxString str)""" + return _misc.Log_RemoveTraceMask(*args, **kwargs) -Log_ClearTraceMasks = _misc.Log_ClearTraceMasks +def Log_ClearTraceMasks(*args, **kwargs): + """Log_ClearTraceMasks()""" + return _misc.Log_ClearTraceMasks(*args, **kwargs) -Log_GetTraceMasks = _misc.Log_GetTraceMasks +def Log_GetTraceMasks(*args, **kwargs): + """Log_GetTraceMasks() -> wxArrayString""" + return _misc.Log_GetTraceMasks(*args, **kwargs) -Log_SetTimestamp = _misc.Log_SetTimestamp +def Log_SetTimestamp(*args, **kwargs): + """Log_SetTimestamp(wxChar ts)""" + return _misc.Log_SetTimestamp(*args, **kwargs) -Log_GetVerbose = _misc.Log_GetVerbose +def Log_GetVerbose(*args, **kwargs): + """Log_GetVerbose() -> bool""" + return _misc.Log_GetVerbose(*args, **kwargs) -Log_GetTraceMask = _misc.Log_GetTraceMask +def Log_GetTraceMask(*args, **kwargs): + """Log_GetTraceMask() -> wxTraceMask""" + return _misc.Log_GetTraceMask(*args, **kwargs) -Log_IsAllowedTraceMask = _misc.Log_IsAllowedTraceMask +def Log_IsAllowedTraceMask(*args, **kwargs): + """Log_IsAllowedTraceMask(wxChar mask) -> bool""" + return _misc.Log_IsAllowedTraceMask(*args, **kwargs) -Log_GetLogLevel = _misc.Log_GetLogLevel +def Log_GetLogLevel(*args, **kwargs): + """Log_GetLogLevel() -> wxLogLevel""" + return _misc.Log_GetLogLevel(*args, **kwargs) -Log_GetTimestamp = _misc.Log_GetTimestamp +def Log_GetTimestamp(*args, **kwargs): + """Log_GetTimestamp() -> wxChar""" + return _misc.Log_GetTimestamp(*args, **kwargs) -Log_TimeStamp = _misc.Log_TimeStamp +def Log_TimeStamp(*args, **kwargs): + """Log_TimeStamp() -> wxString""" + return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogStderr""" newobj = _misc.new_LogStderr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogStderrPtr(LogStderr): def __init__(self, this): @@ -754,13 +1316,15 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl""" newobj = _misc.new_LogTextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogTextCtrlPtr(LogTextCtrl): def __init__(self, this): @@ -770,13 +1334,15 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogGui""" newobj = _misc.new_LogGui(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class LogGuiPtr(LogGui): def __init__(self, this): @@ -786,18 +1352,36 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, + bool bPassToOld=True) -> LogWindow""" newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Show(*args, **kwargs): return _misc.LogWindow_Show(*args, **kwargs) - def GetFrame(*args, **kwargs): return _misc.LogWindow_GetFrame(*args, **kwargs) - def GetOldLog(*args, **kwargs): return _misc.LogWindow_GetOldLog(*args, **kwargs) - def IsPassingMessages(*args, **kwargs): return _misc.LogWindow_IsPassingMessages(*args, **kwargs) - def PassMessages(*args, **kwargs): return _misc.LogWindow_PassMessages(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Show(*args, **kwargs): + """Show(bool bShow=True)""" + return _misc.LogWindow_Show(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> wxFrame""" + return _misc.LogWindow_GetFrame(*args, **kwargs) + + def GetOldLog(*args, **kwargs): + """GetOldLog() -> Log""" + return _misc.LogWindow_GetOldLog(*args, **kwargs) + + def IsPassingMessages(*args, **kwargs): + """IsPassingMessages() -> bool""" + return _misc.LogWindow_IsPassingMessages(*args, **kwargs) + + def PassMessages(*args, **kwargs): + """PassMessages(bool bDoPass)""" + return _misc.LogWindow_PassMessages(*args, **kwargs) + class LogWindowPtr(LogWindow): def __init__(self, this): @@ -807,17 +1391,31 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Log logger) -> LogChain""" newobj = _misc.new_LogChain(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetLog(*args, **kwargs): return _misc.LogChain_SetLog(*args, **kwargs) - def PassMessages(*args, **kwargs): return _misc.LogChain_PassMessages(*args, **kwargs) - def IsPassingMessages(*args, **kwargs): return _misc.LogChain_IsPassingMessages(*args, **kwargs) - def GetOldLog(*args, **kwargs): return _misc.LogChain_GetOldLog(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetLog(*args, **kwargs): + """SetLog(Log logger)""" + return _misc.LogChain_SetLog(*args, **kwargs) + + def PassMessages(*args, **kwargs): + """PassMessages(bool bDoPass)""" + return _misc.LogChain_PassMessages(*args, **kwargs) + + def IsPassingMessages(*args, **kwargs): + """IsPassingMessages() -> bool""" + return _misc.LogChain_IsPassingMessages(*args, **kwargs) + + def GetOldLog(*args, **kwargs): + """GetOldLog() -> Log""" + return _misc.LogChain_GetOldLog(*args, **kwargs) + class LogChainPtr(LogChain): def __init__(self, this): @@ -827,49 +1425,85 @@ class LogChainPtr(LogChain): _misc.LogChain_swigregister(LogChainPtr) -SysErrorCode = _misc.SysErrorCode +def SysErrorCode(*args, **kwargs): + """SysErrorCode() -> unsigned long""" + return _misc.SysErrorCode(*args, **kwargs) -SysErrorMsg = _misc.SysErrorMsg +def SysErrorMsg(*args, **kwargs): + """SysErrorMsg(unsigned long nErrCode=0) -> wxString""" + return _misc.SysErrorMsg(*args, **kwargs) -LogFatalError = _misc.LogFatalError +def LogFatalError(*args, **kwargs): + """LogFatalError(wxString msg)""" + return _misc.LogFatalError(*args, **kwargs) -LogError = _misc.LogError +def LogError(*args, **kwargs): + """LogError(wxString msg)""" + return _misc.LogError(*args, **kwargs) -LogWarning = _misc.LogWarning +def LogWarning(*args, **kwargs): + """LogWarning(wxString msg)""" + return _misc.LogWarning(*args, **kwargs) -LogMessage = _misc.LogMessage +def LogMessage(*args, **kwargs): + """LogMessage(wxString msg)""" + return _misc.LogMessage(*args, **kwargs) -LogInfo = _misc.LogInfo +def LogInfo(*args, **kwargs): + """LogInfo(wxString msg)""" + return _misc.LogInfo(*args, **kwargs) -LogDebug = _misc.LogDebug +def LogDebug(*args, **kwargs): + """LogDebug(wxString msg)""" + return _misc.LogDebug(*args, **kwargs) -LogVerbose = _misc.LogVerbose +def LogVerbose(*args, **kwargs): + """LogVerbose(wxString msg)""" + return _misc.LogVerbose(*args, **kwargs) -LogStatus = _misc.LogStatus +def LogStatus(*args, **kwargs): + """LogStatus(wxString msg)""" + return _misc.LogStatus(*args, **kwargs) -LogStatusFrame = _misc.LogStatusFrame +def LogStatusFrame(*args, **kwargs): + """LogStatusFrame(wxFrame pFrame, wxString msg)""" + return _misc.LogStatusFrame(*args, **kwargs) -LogSysError = _misc.LogSysError +def LogSysError(*args, **kwargs): + """LogSysError(wxString msg)""" + return _misc.LogSysError(*args, **kwargs) -LogTrace = _misc.LogTrace +def LogTrace(*args, **kwargs): + """LogTrace(wxString msg)""" + return _misc.LogTrace(*args, **kwargs) -LogTraceMask = _misc.LogTraceMask +def LogTraceMask(*args, **kwargs): + """LogTraceMask(wxString mask, wxString msg)""" + return _misc.LogTraceMask(*args, **kwargs) -LogGeneric = _misc.LogGeneric +def LogGeneric(*args, **kwargs): + """LogGeneric(unsigned long level, wxString msg)""" + return _misc.LogGeneric(*args, **kwargs) -SafeShowMessage = _misc.SafeShowMessage +def SafeShowMessage(*args, **kwargs): + """SafeShowMessage(wxString title, wxString text)""" + return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LogNull""" newobj = _misc.new_LogNull(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_LogNull): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class LogNullPtr(LogNull): def __init__(self, this): @@ -879,15 +1513,21 @@ class LogNullPtr(LogNull): _misc.LogNull_swigregister(LogNullPtr) class PyLog(Log): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyLog""" newobj = _misc.new_PyLog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyLog) - def _setCallbackInfo(*args, **kwargs): return _misc.PyLog__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyLog__setCallbackInfo(*args, **kwargs) + class PyLogPtr(PyLog): def __init__(self, this): @@ -923,29 +1563,80 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - Kill = staticmethod(_misc.Process_Kill) - Exists = staticmethod(_misc.Process_Exists) - Open = staticmethod(_misc.Process_Open) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Kill(*args, **kwargs): + """Process.Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + return _misc.Process_Kill(*args, **kwargs) + + Kill = staticmethod(Kill) + def Exists(*args, **kwargs): + """Process.Exists(int pid) -> bool""" + return _misc.Process_Exists(*args, **kwargs) + + Exists = staticmethod(Exists) + def Open(*args, **kwargs): + """Process.Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + return _misc.Process_Open(*args, **kwargs) + + Open = staticmethod(Open) def __init__(self, *args, **kwargs): + """__init__(EvtHandler parent=None, int id=-1) -> Process""" newobj = _misc.new_Process(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, Process) - def _setCallbackInfo(*args, **kwargs): return _misc.Process__setCallbackInfo(*args, **kwargs) - def base_OnTerminate(*args, **kwargs): return _misc.Process_base_OnTerminate(*args, **kwargs) - def Redirect(*args, **kwargs): return _misc.Process_Redirect(*args, **kwargs) - def IsRedirected(*args, **kwargs): return _misc.Process_IsRedirected(*args, **kwargs) - def Detach(*args, **kwargs): return _misc.Process_Detach(*args, **kwargs) - def GetInputStream(*args, **kwargs): return _misc.Process_GetInputStream(*args, **kwargs) - def GetErrorStream(*args, **kwargs): return _misc.Process_GetErrorStream(*args, **kwargs) - def GetOutputStream(*args, **kwargs): return _misc.Process_GetOutputStream(*args, **kwargs) - def CloseOutput(*args, **kwargs): return _misc.Process_CloseOutput(*args, **kwargs) - def IsInputOpened(*args, **kwargs): return _misc.Process_IsInputOpened(*args, **kwargs) - def IsInputAvailable(*args, **kwargs): return _misc.Process_IsInputAvailable(*args, **kwargs) - def IsErrorAvailable(*args, **kwargs): return _misc.Process_IsErrorAvailable(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.Process__setCallbackInfo(*args, **kwargs) + + def base_OnTerminate(*args, **kwargs): + """base_OnTerminate(int pid, int status)""" + return _misc.Process_base_OnTerminate(*args, **kwargs) + + def Redirect(*args, **kwargs): + """Redirect()""" + return _misc.Process_Redirect(*args, **kwargs) + + def IsRedirected(*args, **kwargs): + """IsRedirected() -> bool""" + return _misc.Process_IsRedirected(*args, **kwargs) + + def Detach(*args, **kwargs): + """Detach()""" + return _misc.Process_Detach(*args, **kwargs) + + def GetInputStream(*args, **kwargs): + """GetInputStream() -> wxInputStream""" + return _misc.Process_GetInputStream(*args, **kwargs) + + def GetErrorStream(*args, **kwargs): + """GetErrorStream() -> wxInputStream""" + return _misc.Process_GetErrorStream(*args, **kwargs) + + def GetOutputStream(*args, **kwargs): + """GetOutputStream() -> OutputStream""" + return _misc.Process_GetOutputStream(*args, **kwargs) + + def CloseOutput(*args, **kwargs): + """CloseOutput()""" + return _misc.Process_CloseOutput(*args, **kwargs) + + def IsInputOpened(*args, **kwargs): + """IsInputOpened() -> bool""" + return _misc.Process_IsInputOpened(*args, **kwargs) + + def IsInputAvailable(*args, **kwargs): + """IsInputAvailable() -> bool""" + return _misc.Process_IsInputAvailable(*args, **kwargs) + + def IsErrorAvailable(*args, **kwargs): + """IsErrorAvailable() -> bool""" + return _misc.Process_IsErrorAvailable(*args, **kwargs) + class ProcessPtr(Process): def __init__(self, this): @@ -954,24 +1645,38 @@ class ProcessPtr(Process): self.__class__ = Process _misc.Process_swigregister(ProcessPtr) -Process_Kill = _misc.Process_Kill +def Process_Kill(*args, **kwargs): + """Process_Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + return _misc.Process_Kill(*args, **kwargs) -Process_Exists = _misc.Process_Exists +def Process_Exists(*args, **kwargs): + """Process_Exists(int pid) -> bool""" + return _misc.Process_Exists(*args, **kwargs) -Process_Open = _misc.Process_Open +def Process_Open(*args, **kwargs): + """Process_Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent""" newobj = _misc.new_ProcessEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPid(*args, **kwargs): return _misc.ProcessEvent_GetPid(*args, **kwargs) - def GetExitCode(*args, **kwargs): return _misc.ProcessEvent_GetExitCode(*args, **kwargs) + def GetPid(*args, **kwargs): + """GetPid() -> int""" + return _misc.ProcessEvent_GetPid(*args, **kwargs) + + def GetExitCode(*args, **kwargs): + """GetExitCode() -> int""" + return _misc.ProcessEvent_GetExitCode(*args, **kwargs) + m_pid = property(_misc.ProcessEvent_m_pid_get, _misc.ProcessEvent_m_pid_set) m_exitcode = property(_misc.ProcessEvent_m_exitcode_get, _misc.ProcessEvent_m_exitcode_set) - def __repr__(self): - return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class ProcessEventPtr(ProcessEvent): def __init__(self, this): @@ -988,7 +1693,9 @@ EXEC_SYNC = _misc.EXEC_SYNC EXEC_NOHIDE = _misc.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc.EXEC_MAKE_GROUP_LEADER -Execute = _misc.Execute +def Execute(*args, **kwargs): + """Execute(wxString command, int flags=EXEC_ASYNC, Process process=None) -> long""" + return _misc.Execute(*args, **kwargs) #--------------------------------------------------------------------------- JOYSTICK1 = _misc.JOYSTICK1 @@ -999,60 +1706,190 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int joystick=JOYSTICK1) -> Joystick""" newobj = _misc.new_Joystick(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Joystick): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPosition(*args, **kwargs): return _misc.Joystick_GetPosition(*args, **kwargs) - def GetZPosition(*args, **kwargs): return _misc.Joystick_GetZPosition(*args, **kwargs) - def GetButtonState(*args, **kwargs): return _misc.Joystick_GetButtonState(*args, **kwargs) - def GetPOVPosition(*args, **kwargs): return _misc.Joystick_GetPOVPosition(*args, **kwargs) - def GetPOVCTSPosition(*args, **kwargs): return _misc.Joystick_GetPOVCTSPosition(*args, **kwargs) - def GetRudderPosition(*args, **kwargs): return _misc.Joystick_GetRudderPosition(*args, **kwargs) - def GetUPosition(*args, **kwargs): return _misc.Joystick_GetUPosition(*args, **kwargs) - def GetVPosition(*args, **kwargs): return _misc.Joystick_GetVPosition(*args, **kwargs) - def GetMovementThreshold(*args, **kwargs): return _misc.Joystick_GetMovementThreshold(*args, **kwargs) - def SetMovementThreshold(*args, **kwargs): return _misc.Joystick_SetMovementThreshold(*args, **kwargs) - def IsOk(*args, **kwargs): return _misc.Joystick_IsOk(*args, **kwargs) - def GetNumberJoysticks(*args, **kwargs): return _misc.Joystick_GetNumberJoysticks(*args, **kwargs) - def GetManufacturerId(*args, **kwargs): return _misc.Joystick_GetManufacturerId(*args, **kwargs) - def GetProductId(*args, **kwargs): return _misc.Joystick_GetProductId(*args, **kwargs) - def GetProductName(*args, **kwargs): return _misc.Joystick_GetProductName(*args, **kwargs) - def GetXMin(*args, **kwargs): return _misc.Joystick_GetXMin(*args, **kwargs) - def GetYMin(*args, **kwargs): return _misc.Joystick_GetYMin(*args, **kwargs) - def GetZMin(*args, **kwargs): return _misc.Joystick_GetZMin(*args, **kwargs) - def GetXMax(*args, **kwargs): return _misc.Joystick_GetXMax(*args, **kwargs) - def GetYMax(*args, **kwargs): return _misc.Joystick_GetYMax(*args, **kwargs) - def GetZMax(*args, **kwargs): return _misc.Joystick_GetZMax(*args, **kwargs) - def GetNumberButtons(*args, **kwargs): return _misc.Joystick_GetNumberButtons(*args, **kwargs) - def GetNumberAxes(*args, **kwargs): return _misc.Joystick_GetNumberAxes(*args, **kwargs) - def GetMaxButtons(*args, **kwargs): return _misc.Joystick_GetMaxButtons(*args, **kwargs) - def GetMaxAxes(*args, **kwargs): return _misc.Joystick_GetMaxAxes(*args, **kwargs) - def GetPollingMin(*args, **kwargs): return _misc.Joystick_GetPollingMin(*args, **kwargs) - def GetPollingMax(*args, **kwargs): return _misc.Joystick_GetPollingMax(*args, **kwargs) - def GetRudderMin(*args, **kwargs): return _misc.Joystick_GetRudderMin(*args, **kwargs) - def GetRudderMax(*args, **kwargs): return _misc.Joystick_GetRudderMax(*args, **kwargs) - def GetUMin(*args, **kwargs): return _misc.Joystick_GetUMin(*args, **kwargs) - def GetUMax(*args, **kwargs): return _misc.Joystick_GetUMax(*args, **kwargs) - def GetVMin(*args, **kwargs): return _misc.Joystick_GetVMin(*args, **kwargs) - def GetVMax(*args, **kwargs): return _misc.Joystick_GetVMax(*args, **kwargs) - def HasRudder(*args, **kwargs): return _misc.Joystick_HasRudder(*args, **kwargs) - def HasZ(*args, **kwargs): return _misc.Joystick_HasZ(*args, **kwargs) - def HasU(*args, **kwargs): return _misc.Joystick_HasU(*args, **kwargs) - def HasV(*args, **kwargs): return _misc.Joystick_HasV(*args, **kwargs) - def HasPOV(*args, **kwargs): return _misc.Joystick_HasPOV(*args, **kwargs) - def HasPOV4Dir(*args, **kwargs): return _misc.Joystick_HasPOV4Dir(*args, **kwargs) - def HasPOVCTS(*args, **kwargs): return _misc.Joystick_HasPOVCTS(*args, **kwargs) - def SetCapture(*args, **kwargs): return _misc.Joystick_SetCapture(*args, **kwargs) - def ReleaseCapture(*args, **kwargs): return _misc.Joystick_ReleaseCapture(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.Joystick_GetPosition(*args, **kwargs) + + def GetZPosition(*args, **kwargs): + """GetZPosition() -> int""" + return _misc.Joystick_GetZPosition(*args, **kwargs) + + def GetButtonState(*args, **kwargs): + """GetButtonState() -> int""" + return _misc.Joystick_GetButtonState(*args, **kwargs) + + def GetPOVPosition(*args, **kwargs): + """GetPOVPosition() -> int""" + return _misc.Joystick_GetPOVPosition(*args, **kwargs) + + def GetPOVCTSPosition(*args, **kwargs): + """GetPOVCTSPosition() -> int""" + return _misc.Joystick_GetPOVCTSPosition(*args, **kwargs) + + def GetRudderPosition(*args, **kwargs): + """GetRudderPosition() -> int""" + return _misc.Joystick_GetRudderPosition(*args, **kwargs) + + def GetUPosition(*args, **kwargs): + """GetUPosition() -> int""" + return _misc.Joystick_GetUPosition(*args, **kwargs) + + def GetVPosition(*args, **kwargs): + """GetVPosition() -> int""" + return _misc.Joystick_GetVPosition(*args, **kwargs) + + def GetMovementThreshold(*args, **kwargs): + """GetMovementThreshold() -> int""" + return _misc.Joystick_GetMovementThreshold(*args, **kwargs) + + def SetMovementThreshold(*args, **kwargs): + """SetMovementThreshold(int threshold)""" + return _misc.Joystick_SetMovementThreshold(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk(void ??) -> bool""" + return _misc.Joystick_IsOk(*args, **kwargs) + + def GetNumberJoysticks(*args, **kwargs): + """GetNumberJoysticks() -> int""" + return _misc.Joystick_GetNumberJoysticks(*args, **kwargs) + + def GetManufacturerId(*args, **kwargs): + """GetManufacturerId() -> int""" + return _misc.Joystick_GetManufacturerId(*args, **kwargs) + + def GetProductId(*args, **kwargs): + """GetProductId() -> int""" + return _misc.Joystick_GetProductId(*args, **kwargs) + + def GetProductName(*args, **kwargs): + """GetProductName() -> wxString""" + return _misc.Joystick_GetProductName(*args, **kwargs) + + def GetXMin(*args, **kwargs): + """GetXMin() -> int""" + return _misc.Joystick_GetXMin(*args, **kwargs) + + def GetYMin(*args, **kwargs): + """GetYMin() -> int""" + return _misc.Joystick_GetYMin(*args, **kwargs) + + def GetZMin(*args, **kwargs): + """GetZMin() -> int""" + return _misc.Joystick_GetZMin(*args, **kwargs) + + def GetXMax(*args, **kwargs): + """GetXMax() -> int""" + return _misc.Joystick_GetXMax(*args, **kwargs) + + def GetYMax(*args, **kwargs): + """GetYMax() -> int""" + return _misc.Joystick_GetYMax(*args, **kwargs) + + def GetZMax(*args, **kwargs): + """GetZMax() -> int""" + return _misc.Joystick_GetZMax(*args, **kwargs) + + def GetNumberButtons(*args, **kwargs): + """GetNumberButtons() -> int""" + return _misc.Joystick_GetNumberButtons(*args, **kwargs) + + def GetNumberAxes(*args, **kwargs): + """GetNumberAxes() -> int""" + return _misc.Joystick_GetNumberAxes(*args, **kwargs) + + def GetMaxButtons(*args, **kwargs): + """GetMaxButtons() -> int""" + return _misc.Joystick_GetMaxButtons(*args, **kwargs) + + def GetMaxAxes(*args, **kwargs): + """GetMaxAxes() -> int""" + return _misc.Joystick_GetMaxAxes(*args, **kwargs) + + def GetPollingMin(*args, **kwargs): + """GetPollingMin() -> int""" + return _misc.Joystick_GetPollingMin(*args, **kwargs) + + def GetPollingMax(*args, **kwargs): + """GetPollingMax() -> int""" + return _misc.Joystick_GetPollingMax(*args, **kwargs) + + def GetRudderMin(*args, **kwargs): + """GetRudderMin() -> int""" + return _misc.Joystick_GetRudderMin(*args, **kwargs) + + def GetRudderMax(*args, **kwargs): + """GetRudderMax() -> int""" + return _misc.Joystick_GetRudderMax(*args, **kwargs) + + def GetUMin(*args, **kwargs): + """GetUMin() -> int""" + return _misc.Joystick_GetUMin(*args, **kwargs) + + def GetUMax(*args, **kwargs): + """GetUMax() -> int""" + return _misc.Joystick_GetUMax(*args, **kwargs) + + def GetVMin(*args, **kwargs): + """GetVMin() -> int""" + return _misc.Joystick_GetVMin(*args, **kwargs) + + def GetVMax(*args, **kwargs): + """GetVMax() -> int""" + return _misc.Joystick_GetVMax(*args, **kwargs) + + def HasRudder(*args, **kwargs): + """HasRudder() -> bool""" + return _misc.Joystick_HasRudder(*args, **kwargs) + + def HasZ(*args, **kwargs): + """HasZ() -> bool""" + return _misc.Joystick_HasZ(*args, **kwargs) + + def HasU(*args, **kwargs): + """HasU() -> bool""" + return _misc.Joystick_HasU(*args, **kwargs) + + def HasV(*args, **kwargs): + """HasV() -> bool""" + return _misc.Joystick_HasV(*args, **kwargs) + + def HasPOV(*args, **kwargs): + """HasPOV() -> bool""" + return _misc.Joystick_HasPOV(*args, **kwargs) + + def HasPOV4Dir(*args, **kwargs): + """HasPOV4Dir() -> bool""" + return _misc.Joystick_HasPOV4Dir(*args, **kwargs) + + def HasPOVCTS(*args, **kwargs): + """HasPOVCTS() -> bool""" + return _misc.Joystick_HasPOVCTS(*args, **kwargs) + + def SetCapture(*args, **kwargs): + """SetCapture(Window win, int pollingFreq=0) -> bool""" + return _misc.Joystick_SetCapture(*args, **kwargs) + + def ReleaseCapture(*args, **kwargs): + """ReleaseCapture() -> bool""" + return _misc.Joystick_ReleaseCapture(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class JoystickPtr(Joystick): def __init__(self, this): @@ -1066,34 +1903,85 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) m_zPosition = property(_misc.JoystickEvent_m_zPosition_get, _misc.JoystickEvent_m_zPosition_set) m_buttonChange = property(_misc.JoystickEvent_m_buttonChange_get, _misc.JoystickEvent_m_buttonChange_set) m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent""" newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetPosition(*args, **kwargs): return _misc.JoystickEvent_GetPosition(*args, **kwargs) - def GetZPosition(*args, **kwargs): return _misc.JoystickEvent_GetZPosition(*args, **kwargs) - def GetButtonState(*args, **kwargs): return _misc.JoystickEvent_GetButtonState(*args, **kwargs) - def GetButtonChange(*args, **kwargs): return _misc.JoystickEvent_GetButtonChange(*args, **kwargs) - def GetJoystick(*args, **kwargs): return _misc.JoystickEvent_GetJoystick(*args, **kwargs) - def SetJoystick(*args, **kwargs): return _misc.JoystickEvent_SetJoystick(*args, **kwargs) - def SetButtonState(*args, **kwargs): return _misc.JoystickEvent_SetButtonState(*args, **kwargs) - def SetButtonChange(*args, **kwargs): return _misc.JoystickEvent_SetButtonChange(*args, **kwargs) - def SetPosition(*args, **kwargs): return _misc.JoystickEvent_SetPosition(*args, **kwargs) - def SetZPosition(*args, **kwargs): return _misc.JoystickEvent_SetZPosition(*args, **kwargs) - def IsButton(*args, **kwargs): return _misc.JoystickEvent_IsButton(*args, **kwargs) - def IsMove(*args, **kwargs): return _misc.JoystickEvent_IsMove(*args, **kwargs) - def IsZMove(*args, **kwargs): return _misc.JoystickEvent_IsZMove(*args, **kwargs) - def ButtonDown(*args, **kwargs): return _misc.JoystickEvent_ButtonDown(*args, **kwargs) - def ButtonUp(*args, **kwargs): return _misc.JoystickEvent_ButtonUp(*args, **kwargs) - def ButtonIsDown(*args, **kwargs): return _misc.JoystickEvent_ButtonIsDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _misc.JoystickEvent_GetPosition(*args, **kwargs) + + def GetZPosition(*args, **kwargs): + """GetZPosition() -> int""" + return _misc.JoystickEvent_GetZPosition(*args, **kwargs) + + def GetButtonState(*args, **kwargs): + """GetButtonState() -> int""" + return _misc.JoystickEvent_GetButtonState(*args, **kwargs) + + def GetButtonChange(*args, **kwargs): + """GetButtonChange() -> int""" + return _misc.JoystickEvent_GetButtonChange(*args, **kwargs) + + def GetJoystick(*args, **kwargs): + """GetJoystick() -> int""" + return _misc.JoystickEvent_GetJoystick(*args, **kwargs) + + def SetJoystick(*args, **kwargs): + """SetJoystick(int stick)""" + return _misc.JoystickEvent_SetJoystick(*args, **kwargs) + + def SetButtonState(*args, **kwargs): + """SetButtonState(int state)""" + return _misc.JoystickEvent_SetButtonState(*args, **kwargs) + + def SetButtonChange(*args, **kwargs): + """SetButtonChange(int change)""" + return _misc.JoystickEvent_SetButtonChange(*args, **kwargs) + + def SetPosition(*args, **kwargs): + """SetPosition(Point pos)""" + return _misc.JoystickEvent_SetPosition(*args, **kwargs) + + def SetZPosition(*args, **kwargs): + """SetZPosition(int zPos)""" + return _misc.JoystickEvent_SetZPosition(*args, **kwargs) + + def IsButton(*args, **kwargs): + """IsButton() -> bool""" + return _misc.JoystickEvent_IsButton(*args, **kwargs) + + def IsMove(*args, **kwargs): + """IsMove() -> bool""" + return _misc.JoystickEvent_IsMove(*args, **kwargs) + + def IsZMove(*args, **kwargs): + """IsZMove() -> bool""" + return _misc.JoystickEvent_IsZMove(*args, **kwargs) + + def ButtonDown(*args, **kwargs): + """ButtonDown(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonDown(*args, **kwargs) + + def ButtonUp(*args, **kwargs): + """ButtonUp(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonUp(*args, **kwargs) + + def ButtonIsDown(*args, **kwargs): + """ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool""" + return _misc.JoystickEvent_ButtonIsDown(*args, **kwargs) + class JoystickEventPtr(JoystickEvent): def __init__(self, this): @@ -1117,20 +2005,30 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString fileName, bool isResource=False) -> Wave""" newobj = _misc.new_Wave(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Wave): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _misc.Wave_IsOk(*args, **kwargs) - def Play(*args, **kwargs): return _misc.Wave_Play(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _misc.Wave_IsOk(*args, **kwargs) + + def Play(*args, **kwargs): + """Play(bool async=True, bool looped=False) -> bool""" + return _misc.Wave_Play(*args, **kwargs) + def __nonzero__(self): return self.IsOk() - def __repr__(self): - return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class WavePtr(Wave): def __init__(self, this): @@ -1140,6 +2038,7 @@ class WavePtr(Wave): _misc.Wave_swigregister(WavePtr) def WaveData(*args, **kwargs): + """WaveData(wxString data) -> Wave""" val = _misc.new_WaveData(*args, **kwargs) val.thisown = 1 return val @@ -1152,25 +2051,64 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString mimeType, wxString openCmd, wxString printCmd, + wxString desc) -> FileTypeInfo""" newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def IsValid(*args, **kwargs): return _misc.FileTypeInfo_IsValid(*args, **kwargs) - def SetIcon(*args, **kwargs): return _misc.FileTypeInfo_SetIcon(*args, **kwargs) - def SetShortDesc(*args, **kwargs): return _misc.FileTypeInfo_SetShortDesc(*args, **kwargs) - def GetMimeType(*args, **kwargs): return _misc.FileTypeInfo_GetMimeType(*args, **kwargs) - def GetOpenCommand(*args, **kwargs): return _misc.FileTypeInfo_GetOpenCommand(*args, **kwargs) - def GetPrintCommand(*args, **kwargs): return _misc.FileTypeInfo_GetPrintCommand(*args, **kwargs) - def GetShortDesc(*args, **kwargs): return _misc.FileTypeInfo_GetShortDesc(*args, **kwargs) - def GetDescription(*args, **kwargs): return _misc.FileTypeInfo_GetDescription(*args, **kwargs) - def GetExtensions(*args, **kwargs): return _misc.FileTypeInfo_GetExtensions(*args, **kwargs) - def GetExtensionsCount(*args, **kwargs): return _misc.FileTypeInfo_GetExtensionsCount(*args, **kwargs) - def GetIconFile(*args, **kwargs): return _misc.FileTypeInfo_GetIconFile(*args, **kwargs) - def GetIconIndex(*args, **kwargs): return _misc.FileTypeInfo_GetIconIndex(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsValid(*args, **kwargs): + """IsValid() -> bool""" + return _misc.FileTypeInfo_IsValid(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxString iconFile, int iconIndex=0)""" + return _misc.FileTypeInfo_SetIcon(*args, **kwargs) + + def SetShortDesc(*args, **kwargs): + """SetShortDesc(wxString shortDesc)""" + return _misc.FileTypeInfo_SetShortDesc(*args, **kwargs) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> wxString""" + return _misc.FileTypeInfo_GetMimeType(*args, **kwargs) + + def GetOpenCommand(*args, **kwargs): + """GetOpenCommand() -> wxString""" + return _misc.FileTypeInfo_GetOpenCommand(*args, **kwargs) + + def GetPrintCommand(*args, **kwargs): + """GetPrintCommand() -> wxString""" + return _misc.FileTypeInfo_GetPrintCommand(*args, **kwargs) + + def GetShortDesc(*args, **kwargs): + """GetShortDesc() -> wxString""" + return _misc.FileTypeInfo_GetShortDesc(*args, **kwargs) + + def GetDescription(*args, **kwargs): + """GetDescription() -> wxString""" + return _misc.FileTypeInfo_GetDescription(*args, **kwargs) + + def GetExtensions(*args, **kwargs): + """GetExtensions() -> wxArrayString""" + return _misc.FileTypeInfo_GetExtensions(*args, **kwargs) + + def GetExtensionsCount(*args, **kwargs): + """GetExtensionsCount() -> int""" + return _misc.FileTypeInfo_GetExtensionsCount(*args, **kwargs) + + def GetIconFile(*args, **kwargs): + """GetIconFile() -> wxString""" + return _misc.FileTypeInfo_GetIconFile(*args, **kwargs) + + def GetIconIndex(*args, **kwargs): + """GetIconIndex() -> int""" + return _misc.FileTypeInfo_GetIconIndex(*args, **kwargs) + class FileTypeInfoPtr(FileTypeInfo): def __init__(self, this): @@ -1180,40 +2118,86 @@ class FileTypeInfoPtr(FileTypeInfo): _misc.FileTypeInfo_swigregister(FileTypeInfoPtr) def FileTypeInfoSequence(*args, **kwargs): + """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo""" val = _misc.new_FileTypeInfoSequence(*args, **kwargs) val.thisown = 1 return val def NullFileTypeInfo(*args, **kwargs): + """NullFileTypeInfo() -> FileTypeInfo""" val = _misc.new_NullFileTypeInfo(*args, **kwargs) val.thisown = 1 return val class FileType(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(FileTypeInfo ftInfo) -> FileType""" newobj = _misc.new_FileType(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileType): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetMimeType(*args, **kwargs): return _misc.FileType_GetMimeType(*args, **kwargs) - def GetMimeTypes(*args, **kwargs): return _misc.FileType_GetMimeTypes(*args, **kwargs) - def GetExtensions(*args, **kwargs): return _misc.FileType_GetExtensions(*args, **kwargs) - def GetIcon(*args, **kwargs): return _misc.FileType_GetIcon(*args, **kwargs) - def GetIconInfo(*args, **kwargs): return _misc.FileType_GetIconInfo(*args, **kwargs) - def GetDescription(*args, **kwargs): return _misc.FileType_GetDescription(*args, **kwargs) - def GetOpenCommand(*args, **kwargs): return _misc.FileType_GetOpenCommand(*args, **kwargs) - def GetPrintCommand(*args, **kwargs): return _misc.FileType_GetPrintCommand(*args, **kwargs) - def GetAllCommands(*args, **kwargs): return _misc.FileType_GetAllCommands(*args, **kwargs) - def SetCommand(*args, **kwargs): return _misc.FileType_SetCommand(*args, **kwargs) - def SetDefaultIcon(*args, **kwargs): return _misc.FileType_SetDefaultIcon(*args, **kwargs) - def Unassociate(*args, **kwargs): return _misc.FileType_Unassociate(*args, **kwargs) - ExpandCommand = staticmethod(_misc.FileType_ExpandCommand) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetMimeType(*args, **kwargs): + """GetMimeType() -> PyObject""" + return _misc.FileType_GetMimeType(*args, **kwargs) + + def GetMimeTypes(*args, **kwargs): + """GetMimeTypes() -> PyObject""" + return _misc.FileType_GetMimeTypes(*args, **kwargs) + + def GetExtensions(*args, **kwargs): + """GetExtensions() -> PyObject""" + return _misc.FileType_GetExtensions(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon() -> wxIcon""" + return _misc.FileType_GetIcon(*args, **kwargs) + + def GetIconInfo(*args, **kwargs): + """GetIconInfo() -> PyObject""" + return _misc.FileType_GetIconInfo(*args, **kwargs) + + def GetDescription(*args, **kwargs): + """GetDescription() -> PyObject""" + return _misc.FileType_GetDescription(*args, **kwargs) + + def GetOpenCommand(*args, **kwargs): + """GetOpenCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetOpenCommand(*args, **kwargs) + + def GetPrintCommand(*args, **kwargs): + """GetPrintCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetPrintCommand(*args, **kwargs) + + def GetAllCommands(*args, **kwargs): + """GetAllCommands(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + return _misc.FileType_GetAllCommands(*args, **kwargs) + + def SetCommand(*args, **kwargs): + """SetCommand(wxString cmd, wxString verb, bool overwriteprompt=True) -> bool""" + return _misc.FileType_SetCommand(*args, **kwargs) + + def SetDefaultIcon(*args, **kwargs): + """SetDefaultIcon(wxString cmd=wxPyEmptyString, int index=0) -> bool""" + return _misc.FileType_SetDefaultIcon(*args, **kwargs) + + def Unassociate(*args, **kwargs): + """Unassociate() -> bool""" + return _misc.FileType_Unassociate(*args, **kwargs) + + def ExpandCommand(*args, **kwargs): + """FileType.ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + return _misc.FileType_ExpandCommand(*args, **kwargs) + + ExpandCommand = staticmethod(ExpandCommand) class FileTypePtr(FileType): def __init__(self, this): @@ -1222,31 +2206,71 @@ class FileTypePtr(FileType): self.__class__ = FileType _misc.FileType_swigregister(FileTypePtr) -FileType_ExpandCommand = _misc.FileType_ExpandCommand +def FileType_ExpandCommand(*args, **kwargs): + """FileType_ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - IsOfType = staticmethod(_misc.MimeTypesManager_IsOfType) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def IsOfType(*args, **kwargs): + """MimeTypesManager.IsOfType(wxString mimeType, wxString wildcard) -> bool""" + return _misc.MimeTypesManager_IsOfType(*args, **kwargs) + + IsOfType = staticmethod(IsOfType) def __init__(self, *args, **kwargs): + """__init__() -> MimeTypesManager""" newobj = _misc.new_MimeTypesManager(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Initialize(*args, **kwargs): return _misc.MimeTypesManager_Initialize(*args, **kwargs) - def ClearData(*args, **kwargs): return _misc.MimeTypesManager_ClearData(*args, **kwargs) - def GetFileTypeFromExtension(*args, **kwargs): return _misc.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs) - def GetFileTypeFromMimeType(*args, **kwargs): return _misc.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs) - def ReadMailcap(*args, **kwargs): return _misc.MimeTypesManager_ReadMailcap(*args, **kwargs) - def ReadMimeTypes(*args, **kwargs): return _misc.MimeTypesManager_ReadMimeTypes(*args, **kwargs) - def EnumAllFileTypes(*args, **kwargs): return _misc.MimeTypesManager_EnumAllFileTypes(*args, **kwargs) - def AddFallback(*args, **kwargs): return _misc.MimeTypesManager_AddFallback(*args, **kwargs) - def Associate(*args, **kwargs): return _misc.MimeTypesManager_Associate(*args, **kwargs) - def Unassociate(*args, **kwargs): return _misc.MimeTypesManager_Unassociate(*args, **kwargs) + def Initialize(*args, **kwargs): + """Initialize(int mailcapStyle=MAILCAP_ALL, wxString extraDir=wxPyEmptyString)""" + return _misc.MimeTypesManager_Initialize(*args, **kwargs) + + def ClearData(*args, **kwargs): + """ClearData()""" + return _misc.MimeTypesManager_ClearData(*args, **kwargs) + + def GetFileTypeFromExtension(*args, **kwargs): + """GetFileTypeFromExtension(wxString ext) -> FileType""" + return _misc.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs) + + def GetFileTypeFromMimeType(*args, **kwargs): + """GetFileTypeFromMimeType(wxString mimeType) -> FileType""" + return _misc.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs) + + def ReadMailcap(*args, **kwargs): + """ReadMailcap(wxString filename, bool fallback=False) -> bool""" + return _misc.MimeTypesManager_ReadMailcap(*args, **kwargs) + + def ReadMimeTypes(*args, **kwargs): + """ReadMimeTypes(wxString filename) -> bool""" + return _misc.MimeTypesManager_ReadMimeTypes(*args, **kwargs) + + def EnumAllFileTypes(*args, **kwargs): + """EnumAllFileTypes() -> PyObject""" + return _misc.MimeTypesManager_EnumAllFileTypes(*args, **kwargs) + + def AddFallback(*args, **kwargs): + """AddFallback(FileTypeInfo ft)""" + return _misc.MimeTypesManager_AddFallback(*args, **kwargs) + + def Associate(*args, **kwargs): + """Associate(FileTypeInfo ftInfo) -> FileType""" + return _misc.MimeTypesManager_Associate(*args, **kwargs) + + def Unassociate(*args, **kwargs): + """Unassociate(FileType ft) -> bool""" + return _misc.MimeTypesManager_Unassociate(*args, **kwargs) + def __del__(self, destroy=_misc.delete_MimeTypesManager): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class MimeTypesManagerPtr(MimeTypesManager): def __init__(self, this): @@ -1257,29 +2281,59 @@ _misc.MimeTypesManager_swigregister(MimeTypesManagerPtr) cvar = _misc.cvar TheMimeTypesManager = cvar.TheMimeTypesManager -MimeTypesManager_IsOfType = _misc.MimeTypesManager_IsOfType +def MimeTypesManager_IsOfType(*args, **kwargs): + """MimeTypesManager_IsOfType(wxString mimeType, wxString wildcard) -> bool""" + return _misc.MimeTypesManager_IsOfType(*args, **kwargs) #--------------------------------------------------------------------------- class ArtProvider(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ArtProvider""" newobj = _misc.new_ArtProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, ArtProvider) + def __del__(self, destroy=_misc.delete_ArtProvider): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def _setCallbackInfo(*args, **kwargs): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) - PushProvider = staticmethod(_misc.ArtProvider_PushProvider) - PopProvider = staticmethod(_misc.ArtProvider_PopProvider) - RemoveProvider = staticmethod(_misc.ArtProvider_RemoveProvider) - GetBitmap = staticmethod(_misc.ArtProvider_GetBitmap) - GetIcon = staticmethod(_misc.ArtProvider_GetIcon) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) + + def PushProvider(*args, **kwargs): + """ArtProvider.PushProvider(ArtProvider provider)""" + return _misc.ArtProvider_PushProvider(*args, **kwargs) + + PushProvider = staticmethod(PushProvider) + def PopProvider(*args, **kwargs): + """ArtProvider.PopProvider() -> bool""" + return _misc.ArtProvider_PopProvider(*args, **kwargs) + + PopProvider = staticmethod(PopProvider) + def RemoveProvider(*args, **kwargs): + """ArtProvider.RemoveProvider(ArtProvider provider) -> bool""" + return _misc.ArtProvider_RemoveProvider(*args, **kwargs) + + RemoveProvider = staticmethod(RemoveProvider) + def GetBitmap(*args, **kwargs): + """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + return _misc.ArtProvider_GetBitmap(*args, **kwargs) + + GetBitmap = staticmethod(GetBitmap) + def GetIcon(*args, **kwargs): + """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + return _misc.ArtProvider_GetIcon(*args, **kwargs) + + GetIcon = staticmethod(GetIcon) class ArtProviderPtr(ArtProvider): def __init__(self, this): @@ -1326,15 +2380,25 @@ ART_WARNING = cvar.ART_WARNING ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE -ArtProvider_PushProvider = _misc.ArtProvider_PushProvider +def ArtProvider_PushProvider(*args, **kwargs): + """ArtProvider_PushProvider(ArtProvider provider)""" + return _misc.ArtProvider_PushProvider(*args, **kwargs) -ArtProvider_PopProvider = _misc.ArtProvider_PopProvider +def ArtProvider_PopProvider(*args, **kwargs): + """ArtProvider_PopProvider() -> bool""" + return _misc.ArtProvider_PopProvider(*args, **kwargs) -ArtProvider_RemoveProvider = _misc.ArtProvider_RemoveProvider +def ArtProvider_RemoveProvider(*args, **kwargs): + """ArtProvider_RemoveProvider(ArtProvider provider) -> bool""" + return _misc.ArtProvider_RemoveProvider(*args, **kwargs) -ArtProvider_GetBitmap = _misc.ArtProvider_GetBitmap +def ArtProvider_GetBitmap(*args, **kwargs): + """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + return _misc.ArtProvider_GetBitmap(*args, **kwargs) -ArtProvider_GetIcon = _misc.ArtProvider_GetIcon +def ArtProvider_GetIcon(*args, **kwargs): + """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1343,59 +2407,189 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __del__(self, destroy=_misc.delete_ConfigBase): + """__del__()""" try: if self.thisown: destroy(self) except: pass + Type_Unknown = _misc.ConfigBase_Type_Unknown Type_String = _misc.ConfigBase_Type_String Type_Boolean = _misc.ConfigBase_Type_Boolean Type_Integer = _misc.ConfigBase_Type_Integer Type_Float = _misc.ConfigBase_Type_Float - Set = staticmethod(_misc.ConfigBase_Set) - Get = staticmethod(_misc.ConfigBase_Get) - Create = staticmethod(_misc.ConfigBase_Create) - DontCreateOnDemand = staticmethod(_misc.ConfigBase_DontCreateOnDemand) - def SetPath(*args, **kwargs): return _misc.ConfigBase_SetPath(*args, **kwargs) - def GetPath(*args, **kwargs): return _misc.ConfigBase_GetPath(*args, **kwargs) - def GetFirstGroup(*args, **kwargs): return _misc.ConfigBase_GetFirstGroup(*args, **kwargs) - def GetNextGroup(*args, **kwargs): return _misc.ConfigBase_GetNextGroup(*args, **kwargs) - def GetFirstEntry(*args, **kwargs): return _misc.ConfigBase_GetFirstEntry(*args, **kwargs) - def GetNextEntry(*args, **kwargs): return _misc.ConfigBase_GetNextEntry(*args, **kwargs) - def GetNumberOfEntries(*args, **kwargs): return _misc.ConfigBase_GetNumberOfEntries(*args, **kwargs) - def GetNumberOfGroups(*args, **kwargs): return _misc.ConfigBase_GetNumberOfGroups(*args, **kwargs) - def HasGroup(*args, **kwargs): return _misc.ConfigBase_HasGroup(*args, **kwargs) - def HasEntry(*args, **kwargs): return _misc.ConfigBase_HasEntry(*args, **kwargs) - def Exists(*args, **kwargs): return _misc.ConfigBase_Exists(*args, **kwargs) - def GetEntryType(*args, **kwargs): return _misc.ConfigBase_GetEntryType(*args, **kwargs) - def Read(*args, **kwargs): return _misc.ConfigBase_Read(*args, **kwargs) - def ReadInt(*args, **kwargs): return _misc.ConfigBase_ReadInt(*args, **kwargs) - def ReadFloat(*args, **kwargs): return _misc.ConfigBase_ReadFloat(*args, **kwargs) - def ReadBool(*args, **kwargs): return _misc.ConfigBase_ReadBool(*args, **kwargs) - def Write(*args, **kwargs): return _misc.ConfigBase_Write(*args, **kwargs) - def WriteInt(*args, **kwargs): return _misc.ConfigBase_WriteInt(*args, **kwargs) - def WriteFloat(*args, **kwargs): return _misc.ConfigBase_WriteFloat(*args, **kwargs) - def WriteBool(*args, **kwargs): return _misc.ConfigBase_WriteBool(*args, **kwargs) - def Flush(*args, **kwargs): return _misc.ConfigBase_Flush(*args, **kwargs) - def RenameEntry(*args, **kwargs): return _misc.ConfigBase_RenameEntry(*args, **kwargs) - def RenameGroup(*args, **kwargs): return _misc.ConfigBase_RenameGroup(*args, **kwargs) - def DeleteEntry(*args, **kwargs): return _misc.ConfigBase_DeleteEntry(*args, **kwargs) - def DeleteGroup(*args, **kwargs): return _misc.ConfigBase_DeleteGroup(*args, **kwargs) - def DeleteAll(*args, **kwargs): return _misc.ConfigBase_DeleteAll(*args, **kwargs) - def IsExpandingEnvVars(*args, **kwargs): return _misc.ConfigBase_IsExpandingEnvVars(*args, **kwargs) - def SetExpandEnvVars(*args, **kwargs): return _misc.ConfigBase_SetExpandEnvVars(*args, **kwargs) - def SetRecordDefaults(*args, **kwargs): return _misc.ConfigBase_SetRecordDefaults(*args, **kwargs) - def IsRecordingDefaults(*args, **kwargs): return _misc.ConfigBase_IsRecordingDefaults(*args, **kwargs) - def ExpandEnvVars(*args, **kwargs): return _misc.ConfigBase_ExpandEnvVars(*args, **kwargs) - def GetAppName(*args, **kwargs): return _misc.ConfigBase_GetAppName(*args, **kwargs) - def GetVendorName(*args, **kwargs): return _misc.ConfigBase_GetVendorName(*args, **kwargs) - def SetAppName(*args, **kwargs): return _misc.ConfigBase_SetAppName(*args, **kwargs) - def SetVendorName(*args, **kwargs): return _misc.ConfigBase_SetVendorName(*args, **kwargs) - def SetStyle(*args, **kwargs): return _misc.ConfigBase_SetStyle(*args, **kwargs) - def GetStyle(*args, **kwargs): return _misc.ConfigBase_GetStyle(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Set(*args, **kwargs): + """ConfigBase.Set(ConfigBase pConfig) -> ConfigBase""" + return _misc.ConfigBase_Set(*args, **kwargs) + + Set = staticmethod(Set) + def Get(*args, **kwargs): + """ConfigBase.Get(bool createOnDemand=True) -> ConfigBase""" + return _misc.ConfigBase_Get(*args, **kwargs) + + Get = staticmethod(Get) + def Create(*args, **kwargs): + """ConfigBase.Create() -> ConfigBase""" + return _misc.ConfigBase_Create(*args, **kwargs) + + Create = staticmethod(Create) + def DontCreateOnDemand(*args, **kwargs): + """ConfigBase.DontCreateOnDemand()""" + return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) + + DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetPath(*args, **kwargs): + """SetPath(wxString strPath)""" + return _misc.ConfigBase_SetPath(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _misc.ConfigBase_GetPath(*args, **kwargs) + + def GetFirstGroup(*args, **kwargs): + """GetFirstGroup() -> PyObject""" + return _misc.ConfigBase_GetFirstGroup(*args, **kwargs) + + def GetNextGroup(*args, **kwargs): + """GetNextGroup(long index) -> PyObject""" + return _misc.ConfigBase_GetNextGroup(*args, **kwargs) + + def GetFirstEntry(*args, **kwargs): + """GetFirstEntry() -> PyObject""" + return _misc.ConfigBase_GetFirstEntry(*args, **kwargs) + + def GetNextEntry(*args, **kwargs): + """GetNextEntry(long index) -> PyObject""" + return _misc.ConfigBase_GetNextEntry(*args, **kwargs) + + def GetNumberOfEntries(*args, **kwargs): + """GetNumberOfEntries(bool bRecursive=False) -> size_t""" + return _misc.ConfigBase_GetNumberOfEntries(*args, **kwargs) + + def GetNumberOfGroups(*args, **kwargs): + """GetNumberOfGroups(bool bRecursive=False) -> size_t""" + return _misc.ConfigBase_GetNumberOfGroups(*args, **kwargs) + + def HasGroup(*args, **kwargs): + """HasGroup(wxString strName) -> bool""" + return _misc.ConfigBase_HasGroup(*args, **kwargs) + + def HasEntry(*args, **kwargs): + """HasEntry(wxString strName) -> bool""" + return _misc.ConfigBase_HasEntry(*args, **kwargs) + + def Exists(*args, **kwargs): + """Exists(wxString strName) -> bool""" + return _misc.ConfigBase_Exists(*args, **kwargs) + + def GetEntryType(*args, **kwargs): + """GetEntryType(wxString name) -> wxConfigBase::EntryType""" + return _misc.ConfigBase_GetEntryType(*args, **kwargs) + + def Read(*args, **kwargs): + """Read(wxString key, wxString defaultVal=wxPyEmptyString) -> wxString""" + return _misc.ConfigBase_Read(*args, **kwargs) + + def ReadInt(*args, **kwargs): + """ReadInt(wxString key, long defaultVal=0) -> long""" + return _misc.ConfigBase_ReadInt(*args, **kwargs) + + def ReadFloat(*args, **kwargs): + """ReadFloat(wxString key, double defaultVal=0.0) -> double""" + return _misc.ConfigBase_ReadFloat(*args, **kwargs) + + def ReadBool(*args, **kwargs): + """ReadBool(wxString key, bool defaultVal=False) -> bool""" + return _misc.ConfigBase_ReadBool(*args, **kwargs) + + def Write(*args, **kwargs): + """Write(wxString key, wxString value) -> bool""" + return _misc.ConfigBase_Write(*args, **kwargs) + + def WriteInt(*args, **kwargs): + """WriteInt(wxString key, long value) -> bool""" + return _misc.ConfigBase_WriteInt(*args, **kwargs) + + def WriteFloat(*args, **kwargs): + """WriteFloat(wxString key, double value) -> bool""" + return _misc.ConfigBase_WriteFloat(*args, **kwargs) + + def WriteBool(*args, **kwargs): + """WriteBool(wxString key, bool value) -> bool""" + return _misc.ConfigBase_WriteBool(*args, **kwargs) + + def Flush(*args, **kwargs): + """Flush(bool bCurrentOnly=False) -> bool""" + return _misc.ConfigBase_Flush(*args, **kwargs) + + def RenameEntry(*args, **kwargs): + """RenameEntry(wxString oldName, wxString newName) -> bool""" + return _misc.ConfigBase_RenameEntry(*args, **kwargs) + + def RenameGroup(*args, **kwargs): + """RenameGroup(wxString oldName, wxString newName) -> bool""" + return _misc.ConfigBase_RenameGroup(*args, **kwargs) + + def DeleteEntry(*args, **kwargs): + """DeleteEntry(wxString key, bool bDeleteGroupIfEmpty=True) -> bool""" + return _misc.ConfigBase_DeleteEntry(*args, **kwargs) + + def DeleteGroup(*args, **kwargs): + """DeleteGroup(wxString key) -> bool""" + return _misc.ConfigBase_DeleteGroup(*args, **kwargs) + + def DeleteAll(*args, **kwargs): + """DeleteAll() -> bool""" + return _misc.ConfigBase_DeleteAll(*args, **kwargs) + + def IsExpandingEnvVars(*args, **kwargs): + """IsExpandingEnvVars() -> bool""" + return _misc.ConfigBase_IsExpandingEnvVars(*args, **kwargs) + + def SetExpandEnvVars(*args, **kwargs): + """SetExpandEnvVars(bool bDoIt=True)""" + return _misc.ConfigBase_SetExpandEnvVars(*args, **kwargs) + + def SetRecordDefaults(*args, **kwargs): + """SetRecordDefaults(bool bDoIt=True)""" + return _misc.ConfigBase_SetRecordDefaults(*args, **kwargs) + + def IsRecordingDefaults(*args, **kwargs): + """IsRecordingDefaults() -> bool""" + return _misc.ConfigBase_IsRecordingDefaults(*args, **kwargs) + + def ExpandEnvVars(*args, **kwargs): + """ExpandEnvVars(wxString str) -> wxString""" + return _misc.ConfigBase_ExpandEnvVars(*args, **kwargs) + + def GetAppName(*args, **kwargs): + """GetAppName() -> wxString""" + return _misc.ConfigBase_GetAppName(*args, **kwargs) + + def GetVendorName(*args, **kwargs): + """GetVendorName() -> wxString""" + return _misc.ConfigBase_GetVendorName(*args, **kwargs) + + def SetAppName(*args, **kwargs): + """SetAppName(wxString appName)""" + return _misc.ConfigBase_SetAppName(*args, **kwargs) + + def SetVendorName(*args, **kwargs): + """SetVendorName(wxString vendorName)""" + return _misc.ConfigBase_SetVendorName(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long style)""" + return _misc.ConfigBase_SetStyle(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _misc.ConfigBase_GetStyle(*args, **kwargs) + class ConfigBasePtr(ConfigBase): def __init__(self, this): @@ -1404,27 +2598,42 @@ class ConfigBasePtr(ConfigBase): self.__class__ = ConfigBase _misc.ConfigBase_swigregister(ConfigBasePtr) -ConfigBase_Set = _misc.ConfigBase_Set +def ConfigBase_Set(*args, **kwargs): + """ConfigBase_Set(ConfigBase pConfig) -> ConfigBase""" + return _misc.ConfigBase_Set(*args, **kwargs) -ConfigBase_Get = _misc.ConfigBase_Get +def ConfigBase_Get(*args, **kwargs): + """ConfigBase_Get(bool createOnDemand=True) -> ConfigBase""" + return _misc.ConfigBase_Get(*args, **kwargs) -ConfigBase_Create = _misc.ConfigBase_Create +def ConfigBase_Create(*args, **kwargs): + """ConfigBase_Create() -> ConfigBase""" + return _misc.ConfigBase_Create(*args, **kwargs) -ConfigBase_DontCreateOnDemand = _misc.ConfigBase_DontCreateOnDemand +def ConfigBase_DontCreateOnDemand(*args, **kwargs): + """ConfigBase_DontCreateOnDemand()""" + return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(ConfigBase pContainer, wxString strEntry) -> ConfigPathChanger""" newobj = _misc.new_ConfigPathChanger(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_ConfigPathChanger): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Name(*args, **kwargs): return _misc.ConfigPathChanger_Name(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Name(*args, **kwargs): + """Name() -> wxString""" + return _misc.ConfigPathChanger_Name(*args, **kwargs) + class ConfigPathChangerPtr(ConfigPathChanger): def __init__(self, this): @@ -1434,17 +2643,24 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> Config""" newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Config): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class ConfigPtr(Config): def __init__(self, this): @@ -1454,17 +2670,24 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> FileConfig""" newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_FileConfig): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class FileConfigPtr(FileConfig): def __init__(self, this): @@ -1474,10 +2697,15 @@ class FileConfigPtr(FileConfig): _misc.FileConfig_swigregister(FileConfigPtr) -ExpandEnvVars = _misc.ExpandEnvVars +def ExpandEnvVars(*args, **kwargs): + """ExpandEnvVars(wxString sz) -> wxString""" + return _misc.ExpandEnvVars(*args, **kwargs) #--------------------------------------------------------------------------- class DateTime(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local GMT_12 = _misc.DateTime_GMT_12 GMT_11 = _misc.DateTime_GMT_11 @@ -1633,119 +2861,466 @@ class DateTime(object): Default_First = _misc.DateTime_Default_First Monday_First = _misc.DateTime_Monday_First Sunday_First = _misc.DateTime_Sunday_First - SetCountry = staticmethod(_misc.DateTime_SetCountry) - GetCountry = staticmethod(_misc.DateTime_GetCountry) - IsWestEuropeanCountry = staticmethod(_misc.DateTime_IsWestEuropeanCountry) - GetCurrentYear = staticmethod(_misc.DateTime_GetCurrentYear) - ConvertYearToBC = staticmethod(_misc.DateTime_ConvertYearToBC) - GetCurrentMonth = staticmethod(_misc.DateTime_GetCurrentMonth) - IsLeapYear = staticmethod(_misc.DateTime_IsLeapYear) - GetCentury = staticmethod(_misc.DateTime_GetCentury) - GetNumberOfDaysinYear = staticmethod(_misc.DateTime_GetNumberOfDaysinYear) - GetNumberOfDaysInMonth = staticmethod(_misc.DateTime_GetNumberOfDaysInMonth) - GetMonthName = staticmethod(_misc.DateTime_GetMonthName) - GetWeekDayName = staticmethod(_misc.DateTime_GetWeekDayName) - GetAmPmStrings = staticmethod(_misc.DateTime_GetAmPmStrings) - IsDSTApplicable = staticmethod(_misc.DateTime_IsDSTApplicable) - GetBeginDST = staticmethod(_misc.DateTime_GetBeginDST) - GetEndDST = staticmethod(_misc.DateTime_GetEndDST) - Now = staticmethod(_misc.DateTime_Now) - UNow = staticmethod(_misc.DateTime_UNow) - Today = staticmethod(_misc.DateTime_Today) + def SetCountry(*args, **kwargs): + """DateTime.SetCountry(wxDateTime::Country country)""" + return _misc.DateTime_SetCountry(*args, **kwargs) + + SetCountry = staticmethod(SetCountry) + def GetCountry(*args, **kwargs): + """DateTime.GetCountry() -> wxDateTime::Country""" + return _misc.DateTime_GetCountry(*args, **kwargs) + + GetCountry = staticmethod(GetCountry) + def IsWestEuropeanCountry(*args, **kwargs): + """DateTime.IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) + + IsWestEuropeanCountry = staticmethod(IsWestEuropeanCountry) + def GetCurrentYear(*args, **kwargs): + """DateTime.GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + return _misc.DateTime_GetCurrentYear(*args, **kwargs) + + GetCurrentYear = staticmethod(GetCurrentYear) + def ConvertYearToBC(*args, **kwargs): + """DateTime.ConvertYearToBC(int year) -> int""" + return _misc.DateTime_ConvertYearToBC(*args, **kwargs) + + ConvertYearToBC = staticmethod(ConvertYearToBC) + def GetCurrentMonth(*args, **kwargs): + """DateTime.GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + return _misc.DateTime_GetCurrentMonth(*args, **kwargs) + + GetCurrentMonth = staticmethod(GetCurrentMonth) + def IsLeapYear(*args, **kwargs): + """DateTime.IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + return _misc.DateTime_IsLeapYear(*args, **kwargs) + + IsLeapYear = staticmethod(IsLeapYear) + def GetCentury(*args, **kwargs): + """DateTime.GetCentury(int year=Inv_Year) -> int""" + return _misc.DateTime_GetCentury(*args, **kwargs) + + GetCentury = staticmethod(GetCentury) + def GetNumberOfDaysinYear(*args, **kwargs): + """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) + + GetNumberOfDaysinYear = staticmethod(GetNumberOfDaysinYear) + def GetNumberOfDaysInMonth(*args, **kwargs): + """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) + + GetNumberOfDaysInMonth = staticmethod(GetNumberOfDaysInMonth) + def GetMonthName(*args, **kwargs): + """DateTime.GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetMonthName(*args, **kwargs) + + GetMonthName = staticmethod(GetMonthName) + def GetWeekDayName(*args, **kwargs): + """DateTime.GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetWeekDayName(*args, **kwargs) + + GetWeekDayName = staticmethod(GetWeekDayName) + def GetAmPmStrings(*args, **kwargs): + """DateTime.GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)""" + return _misc.DateTime_GetAmPmStrings(*args, **kwargs) + + GetAmPmStrings = staticmethod(GetAmPmStrings) + def IsDSTApplicable(*args, **kwargs): + """DateTime.IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsDSTApplicable(*args, **kwargs) + + IsDSTApplicable = staticmethod(IsDSTApplicable) + def GetBeginDST(*args, **kwargs): + """DateTime.GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetBeginDST(*args, **kwargs) + + GetBeginDST = staticmethod(GetBeginDST) + def GetEndDST(*args, **kwargs): + """DateTime.GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetEndDST(*args, **kwargs) + + GetEndDST = staticmethod(GetEndDST) + def Now(*args, **kwargs): + """DateTime.Now() -> DateTime""" + return _misc.DateTime_Now(*args, **kwargs) + + Now = staticmethod(Now) + def UNow(*args, **kwargs): + """DateTime.UNow() -> DateTime""" + return _misc.DateTime_UNow(*args, **kwargs) + + UNow = staticmethod(UNow) + def Today(*args, **kwargs): + """DateTime.Today() -> DateTime""" + return _misc.DateTime_Today(*args, **kwargs) + + Today = staticmethod(Today) def __init__(self, *args, **kwargs): + """__init__() -> DateTime""" newobj = _misc.new_DateTime(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DateTime): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetToCurrent(*args, **kwargs): return _misc.DateTime_SetToCurrent(*args, **kwargs) - def SetTimeT(*args, **kwargs): return _misc.DateTime_SetTimeT(*args, **kwargs) - def SetJDN(*args, **kwargs): return _misc.DateTime_SetJDN(*args, **kwargs) - def SetHMS(*args, **kwargs): return _misc.DateTime_SetHMS(*args, **kwargs) - def Set(*args, **kwargs): return _misc.DateTime_Set(*args, **kwargs) - def ResetTime(*args, **kwargs): return _misc.DateTime_ResetTime(*args, **kwargs) - def SetYear(*args, **kwargs): return _misc.DateTime_SetYear(*args, **kwargs) - def SetMonth(*args, **kwargs): return _misc.DateTime_SetMonth(*args, **kwargs) - def SetDay(*args, **kwargs): return _misc.DateTime_SetDay(*args, **kwargs) - def SetHour(*args, **kwargs): return _misc.DateTime_SetHour(*args, **kwargs) - def SetMinute(*args, **kwargs): return _misc.DateTime_SetMinute(*args, **kwargs) - def SetSecond(*args, **kwargs): return _misc.DateTime_SetSecond(*args, **kwargs) - def SetMillisecond(*args, **kwargs): return _misc.DateTime_SetMillisecond(*args, **kwargs) - def SetToWeekDayInSameWeek(*args, **kwargs): return _misc.DateTime_SetToWeekDayInSameWeek(*args, **kwargs) - def GetWeekDayInSameWeek(*args, **kwargs): return _misc.DateTime_GetWeekDayInSameWeek(*args, **kwargs) - def SetToNextWeekDay(*args, **kwargs): return _misc.DateTime_SetToNextWeekDay(*args, **kwargs) - def GetNextWeekDay(*args, **kwargs): return _misc.DateTime_GetNextWeekDay(*args, **kwargs) - def SetToPrevWeekDay(*args, **kwargs): return _misc.DateTime_SetToPrevWeekDay(*args, **kwargs) - def GetPrevWeekDay(*args, **kwargs): return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) - def SetToWeekDay(*args, **kwargs): return _misc.DateTime_SetToWeekDay(*args, **kwargs) - def SetToLastWeekDay(*args, **kwargs): return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) - def GetLastWeekDay(*args, **kwargs): return _misc.DateTime_GetLastWeekDay(*args, **kwargs) - def SetToTheWeek(*args, **kwargs): return _misc.DateTime_SetToTheWeek(*args, **kwargs) - def GetWeek(*args, **kwargs): return _misc.DateTime_GetWeek(*args, **kwargs) - def SetToLastMonthDay(*args, **kwargs): return _misc.DateTime_SetToLastMonthDay(*args, **kwargs) - def GetLastMonthDay(*args, **kwargs): return _misc.DateTime_GetLastMonthDay(*args, **kwargs) - def SetToYearDay(*args, **kwargs): return _misc.DateTime_SetToYearDay(*args, **kwargs) - def GetYearDay(*args, **kwargs): return _misc.DateTime_GetYearDay(*args, **kwargs) - def GetJulianDayNumber(*args, **kwargs): return _misc.DateTime_GetJulianDayNumber(*args, **kwargs) - def GetJDN(*args, **kwargs): return _misc.DateTime_GetJDN(*args, **kwargs) - def GetModifiedJulianDayNumber(*args, **kwargs): return _misc.DateTime_GetModifiedJulianDayNumber(*args, **kwargs) - def GetMJD(*args, **kwargs): return _misc.DateTime_GetMJD(*args, **kwargs) - def GetRataDie(*args, **kwargs): return _misc.DateTime_GetRataDie(*args, **kwargs) - def ToTimezone(*args, **kwargs): return _misc.DateTime_ToTimezone(*args, **kwargs) - def MakeTimezone(*args, **kwargs): return _misc.DateTime_MakeTimezone(*args, **kwargs) - def ToGMT(*args, **kwargs): return _misc.DateTime_ToGMT(*args, **kwargs) - def MakeGMT(*args, **kwargs): return _misc.DateTime_MakeGMT(*args, **kwargs) - def IsDST(*args, **kwargs): return _misc.DateTime_IsDST(*args, **kwargs) - def IsValid(*args, **kwargs): return _misc.DateTime_IsValid(*args, **kwargs) - def GetTicks(*args, **kwargs): return _misc.DateTime_GetTicks(*args, **kwargs) - def GetYear(*args, **kwargs): return _misc.DateTime_GetYear(*args, **kwargs) - def GetMonth(*args, **kwargs): return _misc.DateTime_GetMonth(*args, **kwargs) - def GetDay(*args, **kwargs): return _misc.DateTime_GetDay(*args, **kwargs) - def GetWeekDay(*args, **kwargs): return _misc.DateTime_GetWeekDay(*args, **kwargs) - def GetHour(*args, **kwargs): return _misc.DateTime_GetHour(*args, **kwargs) - def GetMinute(*args, **kwargs): return _misc.DateTime_GetMinute(*args, **kwargs) - def GetSecond(*args, **kwargs): return _misc.DateTime_GetSecond(*args, **kwargs) - def GetMillisecond(*args, **kwargs): return _misc.DateTime_GetMillisecond(*args, **kwargs) - def GetDayOfYear(*args, **kwargs): return _misc.DateTime_GetDayOfYear(*args, **kwargs) - def GetWeekOfYear(*args, **kwargs): return _misc.DateTime_GetWeekOfYear(*args, **kwargs) - def GetWeekOfMonth(*args, **kwargs): return _misc.DateTime_GetWeekOfMonth(*args, **kwargs) - def IsWorkDay(*args, **kwargs): return _misc.DateTime_IsWorkDay(*args, **kwargs) - def IsEqualTo(*args, **kwargs): return _misc.DateTime_IsEqualTo(*args, **kwargs) - def IsEarlierThan(*args, **kwargs): return _misc.DateTime_IsEarlierThan(*args, **kwargs) - def IsLaterThan(*args, **kwargs): return _misc.DateTime_IsLaterThan(*args, **kwargs) - def IsStrictlyBetween(*args, **kwargs): return _misc.DateTime_IsStrictlyBetween(*args, **kwargs) - def IsBetween(*args, **kwargs): return _misc.DateTime_IsBetween(*args, **kwargs) - def IsSameDate(*args, **kwargs): return _misc.DateTime_IsSameDate(*args, **kwargs) - def IsSameTime(*args, **kwargs): return _misc.DateTime_IsSameTime(*args, **kwargs) - def IsEqualUpTo(*args, **kwargs): return _misc.DateTime_IsEqualUpTo(*args, **kwargs) - def AddTS(*args, **kwargs): return _misc.DateTime_AddTS(*args, **kwargs) - def AddDS(*args, **kwargs): return _misc.DateTime_AddDS(*args, **kwargs) - def SubtractTS(*args, **kwargs): return _misc.DateTime_SubtractTS(*args, **kwargs) - def SubtractDS(*args, **kwargs): return _misc.DateTime_SubtractDS(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.DateTime_Subtract(*args, **kwargs) - def __iadd__(*args): return _misc.DateTime___iadd__(*args) - def __isub__(*args): return _misc.DateTime___isub__(*args) - def __add__(*args): return _misc.DateTime___add__(*args) - def __sub__(*args): return _misc.DateTime___sub__(*args) - def __lt__(*args): return _misc.DateTime___lt__(*args) - def __le__(*args): return _misc.DateTime___le__(*args) - def __gt__(*args): return _misc.DateTime___gt__(*args) - def __ge__(*args): return _misc.DateTime___ge__(*args) - def __eq__(*args): return _misc.DateTime___eq__(*args) - def __ne__(*args): return _misc.DateTime___ne__(*args) - def ParseRfc822Date(*args, **kwargs): return _misc.DateTime_ParseRfc822Date(*args, **kwargs) - def ParseFormat(*args, **kwargs): return _misc.DateTime_ParseFormat(*args, **kwargs) - def ParseDateTime(*args, **kwargs): return _misc.DateTime_ParseDateTime(*args, **kwargs) - def ParseDate(*args, **kwargs): return _misc.DateTime_ParseDate(*args, **kwargs) - def ParseTime(*args, **kwargs): return _misc.DateTime_ParseTime(*args, **kwargs) - def Format(*args, **kwargs): return _misc.DateTime_Format(*args, **kwargs) - def FormatDate(*args, **kwargs): return _misc.DateTime_FormatDate(*args, **kwargs) - def FormatTime(*args, **kwargs): return _misc.DateTime_FormatTime(*args, **kwargs) - def FormatISODate(*args, **kwargs): return _misc.DateTime_FormatISODate(*args, **kwargs) - def FormatISOTime(*args, **kwargs): return _misc.DateTime_FormatISOTime(*args, **kwargs) + + def SetToCurrent(*args, **kwargs): + """SetToCurrent() -> DateTime""" + return _misc.DateTime_SetToCurrent(*args, **kwargs) + + def SetTimeT(*args, **kwargs): + """SetTimeT(time_t timet) -> DateTime""" + return _misc.DateTime_SetTimeT(*args, **kwargs) + + def SetJDN(*args, **kwargs): + """SetJDN(double jdn) -> DateTime""" + return _misc.DateTime_SetJDN(*args, **kwargs) + + def SetHMS(*args, **kwargs): + """SetHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0, + wxDateTime_t millisec=0) -> DateTime""" + return _misc.DateTime_SetHMS(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(wxDateTime_t day, wxDateTime::Month month=Inv_Month, + int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0, + wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime""" + return _misc.DateTime_Set(*args, **kwargs) + + def ResetTime(*args, **kwargs): + """ResetTime() -> DateTime""" + return _misc.DateTime_ResetTime(*args, **kwargs) + + def SetYear(*args, **kwargs): + """SetYear(int year) -> DateTime""" + return _misc.DateTime_SetYear(*args, **kwargs) + + def SetMonth(*args, **kwargs): + """SetMonth(wxDateTime::Month month) -> DateTime""" + return _misc.DateTime_SetMonth(*args, **kwargs) + + def SetDay(*args, **kwargs): + """SetDay(wxDateTime_t day) -> DateTime""" + return _misc.DateTime_SetDay(*args, **kwargs) + + def SetHour(*args, **kwargs): + """SetHour(wxDateTime_t hour) -> DateTime""" + return _misc.DateTime_SetHour(*args, **kwargs) + + def SetMinute(*args, **kwargs): + """SetMinute(wxDateTime_t minute) -> DateTime""" + return _misc.DateTime_SetMinute(*args, **kwargs) + + def SetSecond(*args, **kwargs): + """SetSecond(wxDateTime_t second) -> DateTime""" + return _misc.DateTime_SetSecond(*args, **kwargs) + + def SetMillisecond(*args, **kwargs): + """SetMillisecond(wxDateTime_t millisecond) -> DateTime""" + return _misc.DateTime_SetMillisecond(*args, **kwargs) + + def SetToWeekDayInSameWeek(*args, **kwargs): + """SetToWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_SetToWeekDayInSameWeek(*args, **kwargs) + + def GetWeekDayInSameWeek(*args, **kwargs): + """GetWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_GetWeekDayInSameWeek(*args, **kwargs) + + def SetToNextWeekDay(*args, **kwargs): + """SetToNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_SetToNextWeekDay(*args, **kwargs) + + def GetNextWeekDay(*args, **kwargs): + """GetNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_GetNextWeekDay(*args, **kwargs) + + def SetToPrevWeekDay(*args, **kwargs): + """SetToPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_SetToPrevWeekDay(*args, **kwargs) + + def GetPrevWeekDay(*args, **kwargs): + """GetPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) + + def SetToWeekDay(*args, **kwargs): + """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool""" + return _misc.DateTime_SetToWeekDay(*args, **kwargs) + + def SetToLastWeekDay(*args, **kwargs): + """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool""" + return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) + + def GetLastWeekDay(*args, **kwargs): + """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> DateTime""" + return _misc.DateTime_GetLastWeekDay(*args, **kwargs) + + def SetToTheWeek(*args, **kwargs): + """SetToTheWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon, + wxDateTime::WeekFlags flags=Monday_First) -> bool""" + return _misc.DateTime_SetToTheWeek(*args, **kwargs) + + def GetWeek(*args, **kwargs): + """GetWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon, + wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + return _misc.DateTime_GetWeek(*args, **kwargs) + + def SetToLastMonthDay(*args, **kwargs): + """SetToLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + return _misc.DateTime_SetToLastMonthDay(*args, **kwargs) + + def GetLastMonthDay(*args, **kwargs): + """GetLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + return _misc.DateTime_GetLastMonthDay(*args, **kwargs) + + def SetToYearDay(*args, **kwargs): + """SetToYearDay(wxDateTime_t yday) -> DateTime""" + return _misc.DateTime_SetToYearDay(*args, **kwargs) + + def GetYearDay(*args, **kwargs): + """GetYearDay(wxDateTime_t yday) -> DateTime""" + return _misc.DateTime_GetYearDay(*args, **kwargs) + + def GetJulianDayNumber(*args, **kwargs): + """GetJulianDayNumber() -> double""" + return _misc.DateTime_GetJulianDayNumber(*args, **kwargs) + + def GetJDN(*args, **kwargs): + """GetJDN() -> double""" + return _misc.DateTime_GetJDN(*args, **kwargs) + + def GetModifiedJulianDayNumber(*args, **kwargs): + """GetModifiedJulianDayNumber() -> double""" + return _misc.DateTime_GetModifiedJulianDayNumber(*args, **kwargs) + + def GetMJD(*args, **kwargs): + """GetMJD() -> double""" + return _misc.DateTime_GetMJD(*args, **kwargs) + + def GetRataDie(*args, **kwargs): + """GetRataDie() -> double""" + return _misc.DateTime_GetRataDie(*args, **kwargs) + + def ToTimezone(*args, **kwargs): + """ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" + return _misc.DateTime_ToTimezone(*args, **kwargs) + + def MakeTimezone(*args, **kwargs): + """MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" + return _misc.DateTime_MakeTimezone(*args, **kwargs) + + def ToGMT(*args, **kwargs): + """ToGMT(bool noDST=False) -> DateTime""" + return _misc.DateTime_ToGMT(*args, **kwargs) + + def MakeGMT(*args, **kwargs): + """MakeGMT(bool noDST=False) -> DateTime""" + return _misc.DateTime_MakeGMT(*args, **kwargs) + + def IsDST(*args, **kwargs): + """IsDST(wxDateTime::Country country=Country_Default) -> int""" + return _misc.DateTime_IsDST(*args, **kwargs) + + def IsValid(*args, **kwargs): + """IsValid() -> bool""" + return _misc.DateTime_IsValid(*args, **kwargs) + + def GetTicks(*args, **kwargs): + """GetTicks() -> time_t""" + return _misc.DateTime_GetTicks(*args, **kwargs) + + def GetYear(*args, **kwargs): + """GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" + return _misc.DateTime_GetYear(*args, **kwargs) + + def GetMonth(*args, **kwargs): + """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::Month""" + return _misc.DateTime_GetMonth(*args, **kwargs) + + def GetDay(*args, **kwargs): + """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetDay(*args, **kwargs) + + def GetWeekDay(*args, **kwargs): + """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::WeekDay""" + return _misc.DateTime_GetWeekDay(*args, **kwargs) + + def GetHour(*args, **kwargs): + """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetHour(*args, **kwargs) + + def GetMinute(*args, **kwargs): + """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetMinute(*args, **kwargs) + + def GetSecond(*args, **kwargs): + """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetSecond(*args, **kwargs) + + def GetMillisecond(*args, **kwargs): + """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetMillisecond(*args, **kwargs) + + def GetDayOfYear(*args, **kwargs): + """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetDayOfYear(*args, **kwargs) + + def GetWeekOfYear(*args, **kwargs): + """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetWeekOfYear(*args, **kwargs) + + def GetWeekOfMonth(*args, **kwargs): + """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t""" + return _misc.DateTime_GetWeekOfMonth(*args, **kwargs) + + def IsWorkDay(*args, **kwargs): + """IsWorkDay(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWorkDay(*args, **kwargs) + + def IsEqualTo(*args, **kwargs): + """IsEqualTo(DateTime datetime) -> bool""" + return _misc.DateTime_IsEqualTo(*args, **kwargs) + + def IsEarlierThan(*args, **kwargs): + """IsEarlierThan(DateTime datetime) -> bool""" + return _misc.DateTime_IsEarlierThan(*args, **kwargs) + + def IsLaterThan(*args, **kwargs): + """IsLaterThan(DateTime datetime) -> bool""" + return _misc.DateTime_IsLaterThan(*args, **kwargs) + + def IsStrictlyBetween(*args, **kwargs): + """IsStrictlyBetween(DateTime t1, DateTime t2) -> bool""" + return _misc.DateTime_IsStrictlyBetween(*args, **kwargs) + + def IsBetween(*args, **kwargs): + """IsBetween(DateTime t1, DateTime t2) -> bool""" + return _misc.DateTime_IsBetween(*args, **kwargs) + + def IsSameDate(*args, **kwargs): + """IsSameDate(DateTime dt) -> bool""" + return _misc.DateTime_IsSameDate(*args, **kwargs) + + def IsSameTime(*args, **kwargs): + """IsSameTime(DateTime dt) -> bool""" + return _misc.DateTime_IsSameTime(*args, **kwargs) + + def IsEqualUpTo(*args, **kwargs): + """IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool""" + return _misc.DateTime_IsEqualUpTo(*args, **kwargs) + + def AddTS(*args, **kwargs): + """AddTS(TimeSpan diff) -> DateTime""" + return _misc.DateTime_AddTS(*args, **kwargs) + + def AddDS(*args, **kwargs): + """AddDS(DateSpan diff) -> DateTime""" + return _misc.DateTime_AddDS(*args, **kwargs) + + def SubtractTS(*args, **kwargs): + """SubtractTS(TimeSpan diff) -> DateTime""" + return _misc.DateTime_SubtractTS(*args, **kwargs) + + def SubtractDS(*args, **kwargs): + """SubtractDS(DateSpan diff) -> DateTime""" + return _misc.DateTime_SubtractDS(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(DateTime dt) -> TimeSpan""" + return _misc.DateTime_Subtract(*args, **kwargs) + + def __iadd__(*args): + """__iadd__(TimeSpan diff) -> DateTime +__iadd__(DateSpan diff) -> DateTime""" + return _misc.DateTime___iadd__(*args) + + def __isub__(*args): + """__isub__(TimeSpan diff) -> DateTime +__isub__(DateSpan diff) -> DateTime""" + return _misc.DateTime___isub__(*args) + + def __add__(*args): + """__add__(TimeSpan other) -> DateTime +__add__(DateSpan other) -> DateTime""" + return _misc.DateTime___add__(*args) + + def __sub__(*args): + """__sub__(DateTime other) -> TimeSpan +__sub__(TimeSpan other) -> DateTime +__sub__(DateSpan other) -> DateTime""" + return _misc.DateTime___sub__(*args) + + def __lt__(*args): + """__lt__(DateTime other) -> bool""" + return _misc.DateTime___lt__(*args) + + def __le__(*args): + """__le__(DateTime other) -> bool""" + return _misc.DateTime___le__(*args) + + def __gt__(*args): + """__gt__(DateTime other) -> bool""" + return _misc.DateTime___gt__(*args) + + def __ge__(*args): + """__ge__(DateTime other) -> bool""" + return _misc.DateTime___ge__(*args) + + def __eq__(*args): + """__eq__(DateTime other) -> bool""" + return _misc.DateTime___eq__(*args) + + def __ne__(*args): + """__ne__(DateTime other) -> bool""" + return _misc.DateTime___ne__(*args) + + def ParseRfc822Date(*args, **kwargs): + """ParseRfc822Date(wxString date) -> int""" + return _misc.DateTime_ParseRfc822Date(*args, **kwargs) + + def ParseFormat(*args, **kwargs): + """ParseFormat(wxString date, wxString format=wxPyDateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int""" + return _misc.DateTime_ParseFormat(*args, **kwargs) + + def ParseDateTime(*args, **kwargs): + """ParseDateTime(wxString datetime) -> int""" + return _misc.DateTime_ParseDateTime(*args, **kwargs) + + def ParseDate(*args, **kwargs): + """ParseDate(wxString date) -> int""" + return _misc.DateTime_ParseDate(*args, **kwargs) + + def ParseTime(*args, **kwargs): + """ParseTime(wxString time) -> int""" + return _misc.DateTime_ParseTime(*args, **kwargs) + + def Format(*args, **kwargs): + """Format(wxString format=wxPyDateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxString""" + return _misc.DateTime_Format(*args, **kwargs) + + def FormatDate(*args, **kwargs): + """FormatDate() -> wxString""" + return _misc.DateTime_FormatDate(*args, **kwargs) + + def FormatTime(*args, **kwargs): + """FormatTime() -> wxString""" + return _misc.DateTime_FormatTime(*args, **kwargs) + + def FormatISODate(*args, **kwargs): + """FormatISODate() -> wxString""" + return _misc.DateTime_FormatISODate(*args, **kwargs) + + def FormatISOTime(*args, **kwargs): + """FormatISOTime() -> wxString""" + return _misc.DateTime_FormatISOTime(*args, **kwargs) + def __repr__(self): return '' % ( self.Format(), self.this) def __str__(self): @@ -1759,116 +3334,303 @@ class DateTimePtr(DateTime): self.__class__ = DateTime _misc.DateTime_swigregister(DateTimePtr) -DateTime_SetCountry = _misc.DateTime_SetCountry +def DateTime_SetCountry(*args, **kwargs): + """DateTime_SetCountry(wxDateTime::Country country)""" + return _misc.DateTime_SetCountry(*args, **kwargs) -DateTime_GetCountry = _misc.DateTime_GetCountry +def DateTime_GetCountry(*args, **kwargs): + """DateTime_GetCountry() -> wxDateTime::Country""" + return _misc.DateTime_GetCountry(*args, **kwargs) -DateTime_IsWestEuropeanCountry = _misc.DateTime_IsWestEuropeanCountry +def DateTime_IsWestEuropeanCountry(*args, **kwargs): + """DateTime_IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) -DateTime_GetCurrentYear = _misc.DateTime_GetCurrentYear +def DateTime_GetCurrentYear(*args, **kwargs): + """DateTime_GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + return _misc.DateTime_GetCurrentYear(*args, **kwargs) -DateTime_ConvertYearToBC = _misc.DateTime_ConvertYearToBC +def DateTime_ConvertYearToBC(*args, **kwargs): + """DateTime_ConvertYearToBC(int year) -> int""" + return _misc.DateTime_ConvertYearToBC(*args, **kwargs) -DateTime_GetCurrentMonth = _misc.DateTime_GetCurrentMonth +def DateTime_GetCurrentMonth(*args, **kwargs): + """DateTime_GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + return _misc.DateTime_GetCurrentMonth(*args, **kwargs) -DateTime_IsLeapYear = _misc.DateTime_IsLeapYear +def DateTime_IsLeapYear(*args, **kwargs): + """DateTime_IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + return _misc.DateTime_IsLeapYear(*args, **kwargs) -DateTime_GetCentury = _misc.DateTime_GetCentury +def DateTime_GetCentury(*args, **kwargs): + """DateTime_GetCentury(int year=Inv_Year) -> int""" + return _misc.DateTime_GetCentury(*args, **kwargs) -DateTime_GetNumberOfDaysinYear = _misc.DateTime_GetNumberOfDaysinYear +def DateTime_GetNumberOfDaysinYear(*args, **kwargs): + """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) -DateTime_GetNumberOfDaysInMonth = _misc.DateTime_GetNumberOfDaysInMonth +def DateTime_GetNumberOfDaysInMonth(*args, **kwargs): + """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t""" + return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) -DateTime_GetMonthName = _misc.DateTime_GetMonthName +def DateTime_GetMonthName(*args, **kwargs): + """DateTime_GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetMonthName(*args, **kwargs) -DateTime_GetWeekDayName = _misc.DateTime_GetWeekDayName +def DateTime_GetWeekDayName(*args, **kwargs): + """DateTime_GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + return _misc.DateTime_GetWeekDayName(*args, **kwargs) -DateTime_GetAmPmStrings = _misc.DateTime_GetAmPmStrings +def DateTime_GetAmPmStrings(*args, **kwargs): + """DateTime_GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)""" + return _misc.DateTime_GetAmPmStrings(*args, **kwargs) -DateTime_IsDSTApplicable = _misc.DateTime_IsDSTApplicable +def DateTime_IsDSTApplicable(*args, **kwargs): + """DateTime_IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + return _misc.DateTime_IsDSTApplicable(*args, **kwargs) -DateTime_GetBeginDST = _misc.DateTime_GetBeginDST +def DateTime_GetBeginDST(*args, **kwargs): + """DateTime_GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetBeginDST(*args, **kwargs) -DateTime_GetEndDST = _misc.DateTime_GetEndDST +def DateTime_GetEndDST(*args, **kwargs): + """DateTime_GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + return _misc.DateTime_GetEndDST(*args, **kwargs) -DateTime_Now = _misc.DateTime_Now +def DateTime_Now(*args, **kwargs): + """DateTime_Now() -> DateTime""" + return _misc.DateTime_Now(*args, **kwargs) -DateTime_UNow = _misc.DateTime_UNow +def DateTime_UNow(*args, **kwargs): + """DateTime_UNow() -> DateTime""" + return _misc.DateTime_UNow(*args, **kwargs) -DateTime_Today = _misc.DateTime_Today +def DateTime_Today(*args, **kwargs): + """DateTime_Today() -> DateTime""" + return _misc.DateTime_Today(*args, **kwargs) def DateTimeFromTimeT(*args, **kwargs): + """DateTimeFromTimeT(time_t timet) -> DateTime""" val = _misc.new_DateTimeFromTimeT(*args, **kwargs) val.thisown = 1 return val def DateTimeFromJDN(*args, **kwargs): + """DateTimeFromJDN(double jdn) -> DateTime""" val = _misc.new_DateTimeFromJDN(*args, **kwargs) val.thisown = 1 return val def DateTimeFromHMS(*args, **kwargs): + """DateTimeFromHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0, + wxDateTime_t millisec=0) -> DateTime""" val = _misc.new_DateTimeFromHMS(*args, **kwargs) val.thisown = 1 return val def DateTimeFromDMY(*args, **kwargs): + """DateTimeFromDMY(wxDateTime_t day, wxDateTime::Month month=Inv_Month, + int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0, + wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime""" val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - Seconds = staticmethod(_misc.TimeSpan_Seconds) - Second = staticmethod(_misc.TimeSpan_Second) - Minutes = staticmethod(_misc.TimeSpan_Minutes) - Minute = staticmethod(_misc.TimeSpan_Minute) - Hours = staticmethod(_misc.TimeSpan_Hours) - Hour = staticmethod(_misc.TimeSpan_Hour) - Days = staticmethod(_misc.TimeSpan_Days) - Day = staticmethod(_misc.TimeSpan_Day) - Weeks = staticmethod(_misc.TimeSpan_Weeks) - Week = staticmethod(_misc.TimeSpan_Week) + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Seconds(*args, **kwargs): + """TimeSpan.Seconds(long sec) -> TimeSpan""" + return _misc.TimeSpan_Seconds(*args, **kwargs) + + Seconds = staticmethod(Seconds) + def Second(*args, **kwargs): + """TimeSpan.Second() -> TimeSpan""" + return _misc.TimeSpan_Second(*args, **kwargs) + + Second = staticmethod(Second) + def Minutes(*args, **kwargs): + """TimeSpan.Minutes(long min) -> TimeSpan""" + return _misc.TimeSpan_Minutes(*args, **kwargs) + + Minutes = staticmethod(Minutes) + def Minute(*args, **kwargs): + """TimeSpan.Minute() -> TimeSpan""" + return _misc.TimeSpan_Minute(*args, **kwargs) + + Minute = staticmethod(Minute) + def Hours(*args, **kwargs): + """TimeSpan.Hours(long hours) -> TimeSpan""" + return _misc.TimeSpan_Hours(*args, **kwargs) + + Hours = staticmethod(Hours) + def Hour(*args, **kwargs): + """TimeSpan.Hour() -> TimeSpan""" + return _misc.TimeSpan_Hour(*args, **kwargs) + + Hour = staticmethod(Hour) + def Days(*args, **kwargs): + """TimeSpan.Days(long days) -> TimeSpan""" + return _misc.TimeSpan_Days(*args, **kwargs) + + Days = staticmethod(Days) + def Day(*args, **kwargs): + """TimeSpan.Day() -> TimeSpan""" + return _misc.TimeSpan_Day(*args, **kwargs) + + Day = staticmethod(Day) + def Weeks(*args, **kwargs): + """TimeSpan.Weeks(long days) -> TimeSpan""" + return _misc.TimeSpan_Weeks(*args, **kwargs) + + Weeks = staticmethod(Weeks) + def Week(*args, **kwargs): + """TimeSpan.Week() -> TimeSpan""" + return _misc.TimeSpan_Week(*args, **kwargs) + + Week = staticmethod(Week) def __init__(self, *args, **kwargs): + """__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan""" newobj = _misc.new_TimeSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_TimeSpan): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Add(*args, **kwargs): return _misc.TimeSpan_Add(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.TimeSpan_Subtract(*args, **kwargs) - def Multiply(*args, **kwargs): return _misc.TimeSpan_Multiply(*args, **kwargs) - def Neg(*args, **kwargs): return _misc.TimeSpan_Neg(*args, **kwargs) - def Abs(*args, **kwargs): return _misc.TimeSpan_Abs(*args, **kwargs) - def __iadd__(*args, **kwargs): return _misc.TimeSpan___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _misc.TimeSpan___isub__(*args, **kwargs) - def __imul__(*args, **kwargs): return _misc.TimeSpan___imul__(*args, **kwargs) - def __neg__(*args, **kwargs): return _misc.TimeSpan___neg__(*args, **kwargs) - def __add__(*args, **kwargs): return _misc.TimeSpan___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _misc.TimeSpan___sub__(*args, **kwargs) - def __mul__(*args, **kwargs): return _misc.TimeSpan___mul__(*args, **kwargs) - def __rmul__(*args, **kwargs): return _misc.TimeSpan___rmul__(*args, **kwargs) - def __lt__(*args, **kwargs): return _misc.TimeSpan___lt__(*args, **kwargs) - def __le__(*args, **kwargs): return _misc.TimeSpan___le__(*args, **kwargs) - def __gt__(*args, **kwargs): return _misc.TimeSpan___gt__(*args, **kwargs) - def __ge__(*args, **kwargs): return _misc.TimeSpan___ge__(*args, **kwargs) - def __eq__(*args, **kwargs): return _misc.TimeSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _misc.TimeSpan___ne__(*args, **kwargs) - def IsNull(*args, **kwargs): return _misc.TimeSpan_IsNull(*args, **kwargs) - def IsPositive(*args, **kwargs): return _misc.TimeSpan_IsPositive(*args, **kwargs) - def IsNegative(*args, **kwargs): return _misc.TimeSpan_IsNegative(*args, **kwargs) - def IsEqualTo(*args, **kwargs): return _misc.TimeSpan_IsEqualTo(*args, **kwargs) - def IsLongerThan(*args, **kwargs): return _misc.TimeSpan_IsLongerThan(*args, **kwargs) - def IsShorterThan(*args, **kwargs): return _misc.TimeSpan_IsShorterThan(*args, **kwargs) - def GetWeeks(*args, **kwargs): return _misc.TimeSpan_GetWeeks(*args, **kwargs) - def GetDays(*args, **kwargs): return _misc.TimeSpan_GetDays(*args, **kwargs) - def GetHours(*args, **kwargs): return _misc.TimeSpan_GetHours(*args, **kwargs) - def GetMinutes(*args, **kwargs): return _misc.TimeSpan_GetMinutes(*args, **kwargs) - def GetSeconds(*args, **kwargs): return _misc.TimeSpan_GetSeconds(*args, **kwargs) - def GetMilliseconds(*args, **kwargs): return _misc.TimeSpan_GetMilliseconds(*args, **kwargs) - def Format(*args, **kwargs): return _misc.TimeSpan_Format(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan_Add(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan_Subtract(*args, **kwargs) + + def Multiply(*args, **kwargs): + """Multiply(int n) -> TimeSpan""" + return _misc.TimeSpan_Multiply(*args, **kwargs) + + def Neg(*args, **kwargs): + """Neg() -> TimeSpan""" + return _misc.TimeSpan_Neg(*args, **kwargs) + + def Abs(*args, **kwargs): + """Abs() -> TimeSpan""" + return _misc.TimeSpan_Abs(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(TimeSpan diff) -> TimeSpan""" + return _misc.TimeSpan___isub__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(int n) -> TimeSpan""" + return _misc.TimeSpan___imul__(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> TimeSpan""" + return _misc.TimeSpan___neg__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(TimeSpan other) -> TimeSpan""" + return _misc.TimeSpan___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(TimeSpan other) -> TimeSpan""" + return _misc.TimeSpan___sub__(*args, **kwargs) + + def __mul__(*args, **kwargs): + """__mul__(int n) -> TimeSpan""" + return _misc.TimeSpan___mul__(*args, **kwargs) + + def __rmul__(*args, **kwargs): + """__rmul__(int n) -> TimeSpan""" + return _misc.TimeSpan___rmul__(*args, **kwargs) + + def __lt__(*args, **kwargs): + """__lt__(TimeSpan other) -> bool""" + return _misc.TimeSpan___lt__(*args, **kwargs) + + def __le__(*args, **kwargs): + """__le__(TimeSpan other) -> bool""" + return _misc.TimeSpan___le__(*args, **kwargs) + + def __gt__(*args, **kwargs): + """__gt__(TimeSpan other) -> bool""" + return _misc.TimeSpan___gt__(*args, **kwargs) + + def __ge__(*args, **kwargs): + """__ge__(TimeSpan other) -> bool""" + return _misc.TimeSpan___ge__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(TimeSpan other) -> bool""" + return _misc.TimeSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(TimeSpan other) -> bool""" + return _misc.TimeSpan___ne__(*args, **kwargs) + + def IsNull(*args, **kwargs): + """IsNull() -> bool""" + return _misc.TimeSpan_IsNull(*args, **kwargs) + + def IsPositive(*args, **kwargs): + """IsPositive() -> bool""" + return _misc.TimeSpan_IsPositive(*args, **kwargs) + + def IsNegative(*args, **kwargs): + """IsNegative() -> bool""" + return _misc.TimeSpan_IsNegative(*args, **kwargs) + + def IsEqualTo(*args, **kwargs): + """IsEqualTo(TimeSpan ts) -> bool""" + return _misc.TimeSpan_IsEqualTo(*args, **kwargs) + + def IsLongerThan(*args, **kwargs): + """IsLongerThan(TimeSpan ts) -> bool""" + return _misc.TimeSpan_IsLongerThan(*args, **kwargs) + + def IsShorterThan(*args, **kwargs): + """IsShorterThan(TimeSpan t) -> bool""" + return _misc.TimeSpan_IsShorterThan(*args, **kwargs) + + def GetWeeks(*args, **kwargs): + """GetWeeks() -> int""" + return _misc.TimeSpan_GetWeeks(*args, **kwargs) + + def GetDays(*args, **kwargs): + """GetDays() -> int""" + return _misc.TimeSpan_GetDays(*args, **kwargs) + + def GetHours(*args, **kwargs): + """GetHours() -> int""" + return _misc.TimeSpan_GetHours(*args, **kwargs) + + def GetMinutes(*args, **kwargs): + """GetMinutes() -> int""" + return _misc.TimeSpan_GetMinutes(*args, **kwargs) + + def GetSeconds(*args, **kwargs): + """GetSeconds() -> wxLongLong""" + return _misc.TimeSpan_GetSeconds(*args, **kwargs) + + def GetMilliseconds(*args, **kwargs): + """GetMilliseconds() -> wxLongLong""" + return _misc.TimeSpan_GetMilliseconds(*args, **kwargs) + + def Format(*args, **kwargs): + """Format(wxString format=wxPyTimeSpanFormatStr) -> wxString""" + return _misc.TimeSpan_Format(*args, **kwargs) + def __repr__(self): return '' % ( self.Format(), self.this) def __str__(self): @@ -1882,69 +3644,194 @@ class TimeSpanPtr(TimeSpan): self.__class__ = TimeSpan _misc.TimeSpan_swigregister(TimeSpanPtr) -TimeSpan_Seconds = _misc.TimeSpan_Seconds +def TimeSpan_Seconds(*args, **kwargs): + """TimeSpan_Seconds(long sec) -> TimeSpan""" + return _misc.TimeSpan_Seconds(*args, **kwargs) -TimeSpan_Second = _misc.TimeSpan_Second +def TimeSpan_Second(*args, **kwargs): + """TimeSpan_Second() -> TimeSpan""" + return _misc.TimeSpan_Second(*args, **kwargs) -TimeSpan_Minutes = _misc.TimeSpan_Minutes +def TimeSpan_Minutes(*args, **kwargs): + """TimeSpan_Minutes(long min) -> TimeSpan""" + return _misc.TimeSpan_Minutes(*args, **kwargs) -TimeSpan_Minute = _misc.TimeSpan_Minute +def TimeSpan_Minute(*args, **kwargs): + """TimeSpan_Minute() -> TimeSpan""" + return _misc.TimeSpan_Minute(*args, **kwargs) -TimeSpan_Hours = _misc.TimeSpan_Hours +def TimeSpan_Hours(*args, **kwargs): + """TimeSpan_Hours(long hours) -> TimeSpan""" + return _misc.TimeSpan_Hours(*args, **kwargs) -TimeSpan_Hour = _misc.TimeSpan_Hour +def TimeSpan_Hour(*args, **kwargs): + """TimeSpan_Hour() -> TimeSpan""" + return _misc.TimeSpan_Hour(*args, **kwargs) -TimeSpan_Days = _misc.TimeSpan_Days +def TimeSpan_Days(*args, **kwargs): + """TimeSpan_Days(long days) -> TimeSpan""" + return _misc.TimeSpan_Days(*args, **kwargs) -TimeSpan_Day = _misc.TimeSpan_Day +def TimeSpan_Day(*args, **kwargs): + """TimeSpan_Day() -> TimeSpan""" + return _misc.TimeSpan_Day(*args, **kwargs) -TimeSpan_Weeks = _misc.TimeSpan_Weeks +def TimeSpan_Weeks(*args, **kwargs): + """TimeSpan_Weeks(long days) -> TimeSpan""" + return _misc.TimeSpan_Weeks(*args, **kwargs) -TimeSpan_Week = _misc.TimeSpan_Week +def TimeSpan_Week(*args, **kwargs): + """TimeSpan_Week() -> TimeSpan""" + return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan""" newobj = _misc.new_DateSpan(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DateSpan): + """__del__()""" try: if self.thisown: destroy(self) except: pass - Days = staticmethod(_misc.DateSpan_Days) - Day = staticmethod(_misc.DateSpan_Day) - Weeks = staticmethod(_misc.DateSpan_Weeks) - Week = staticmethod(_misc.DateSpan_Week) - Months = staticmethod(_misc.DateSpan_Months) - Month = staticmethod(_misc.DateSpan_Month) - Years = staticmethod(_misc.DateSpan_Years) - Year = staticmethod(_misc.DateSpan_Year) - def SetYears(*args, **kwargs): return _misc.DateSpan_SetYears(*args, **kwargs) - def SetMonths(*args, **kwargs): return _misc.DateSpan_SetMonths(*args, **kwargs) - def SetWeeks(*args, **kwargs): return _misc.DateSpan_SetWeeks(*args, **kwargs) - def SetDays(*args, **kwargs): return _misc.DateSpan_SetDays(*args, **kwargs) - def GetYears(*args, **kwargs): return _misc.DateSpan_GetYears(*args, **kwargs) - def GetMonths(*args, **kwargs): return _misc.DateSpan_GetMonths(*args, **kwargs) - def GetWeeks(*args, **kwargs): return _misc.DateSpan_GetWeeks(*args, **kwargs) - def GetDays(*args, **kwargs): return _misc.DateSpan_GetDays(*args, **kwargs) - def GetTotalDays(*args, **kwargs): return _misc.DateSpan_GetTotalDays(*args, **kwargs) - def Add(*args, **kwargs): return _misc.DateSpan_Add(*args, **kwargs) - def Subtract(*args, **kwargs): return _misc.DateSpan_Subtract(*args, **kwargs) - def Neg(*args, **kwargs): return _misc.DateSpan_Neg(*args, **kwargs) - def Multiply(*args, **kwargs): return _misc.DateSpan_Multiply(*args, **kwargs) - def __iadd__(*args, **kwargs): return _misc.DateSpan___iadd__(*args, **kwargs) - def __isub__(*args, **kwargs): return _misc.DateSpan___isub__(*args, **kwargs) - def __neg__(*args, **kwargs): return _misc.DateSpan___neg__(*args, **kwargs) - def __imul__(*args, **kwargs): return _misc.DateSpan___imul__(*args, **kwargs) - def __add__(*args, **kwargs): return _misc.DateSpan___add__(*args, **kwargs) - def __sub__(*args, **kwargs): return _misc.DateSpan___sub__(*args, **kwargs) - def __mul__(*args, **kwargs): return _misc.DateSpan___mul__(*args, **kwargs) - def __rmul__(*args, **kwargs): return _misc.DateSpan___rmul__(*args, **kwargs) - def __eq__(*args, **kwargs): return _misc.DateSpan___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _misc.DateSpan___ne__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Days(*args, **kwargs): + """DateSpan.Days(int days) -> DateSpan""" + return _misc.DateSpan_Days(*args, **kwargs) + + Days = staticmethod(Days) + def Day(*args, **kwargs): + """DateSpan.Day() -> DateSpan""" + return _misc.DateSpan_Day(*args, **kwargs) + + Day = staticmethod(Day) + def Weeks(*args, **kwargs): + """DateSpan.Weeks(int weeks) -> DateSpan""" + return _misc.DateSpan_Weeks(*args, **kwargs) + + Weeks = staticmethod(Weeks) + def Week(*args, **kwargs): + """DateSpan.Week() -> DateSpan""" + return _misc.DateSpan_Week(*args, **kwargs) + + Week = staticmethod(Week) + def Months(*args, **kwargs): + """DateSpan.Months(int mon) -> DateSpan""" + return _misc.DateSpan_Months(*args, **kwargs) + + Months = staticmethod(Months) + def Month(*args, **kwargs): + """DateSpan.Month() -> DateSpan""" + return _misc.DateSpan_Month(*args, **kwargs) + + Month = staticmethod(Month) + def Years(*args, **kwargs): + """DateSpan.Years(int years) -> DateSpan""" + return _misc.DateSpan_Years(*args, **kwargs) + + Years = staticmethod(Years) + def Year(*args, **kwargs): + """DateSpan.Year() -> DateSpan""" + return _misc.DateSpan_Year(*args, **kwargs) + + Year = staticmethod(Year) + def SetYears(*args, **kwargs): + """SetYears(int n) -> DateSpan""" + return _misc.DateSpan_SetYears(*args, **kwargs) + + def SetMonths(*args, **kwargs): + """SetMonths(int n) -> DateSpan""" + return _misc.DateSpan_SetMonths(*args, **kwargs) + + def SetWeeks(*args, **kwargs): + """SetWeeks(int n) -> DateSpan""" + return _misc.DateSpan_SetWeeks(*args, **kwargs) + + def SetDays(*args, **kwargs): + """SetDays(int n) -> DateSpan""" + return _misc.DateSpan_SetDays(*args, **kwargs) + + def GetYears(*args, **kwargs): + """GetYears() -> int""" + return _misc.DateSpan_GetYears(*args, **kwargs) + + def GetMonths(*args, **kwargs): + """GetMonths() -> int""" + return _misc.DateSpan_GetMonths(*args, **kwargs) + + def GetWeeks(*args, **kwargs): + """GetWeeks() -> int""" + return _misc.DateSpan_GetWeeks(*args, **kwargs) + + def GetDays(*args, **kwargs): + """GetDays() -> int""" + return _misc.DateSpan_GetDays(*args, **kwargs) + + def GetTotalDays(*args, **kwargs): + """GetTotalDays() -> int""" + return _misc.DateSpan_GetTotalDays(*args, **kwargs) + + def Add(*args, **kwargs): + """Add(DateSpan other) -> DateSpan""" + return _misc.DateSpan_Add(*args, **kwargs) + + def Subtract(*args, **kwargs): + """Subtract(DateSpan other) -> DateSpan""" + return _misc.DateSpan_Subtract(*args, **kwargs) + + def Neg(*args, **kwargs): + """Neg() -> DateSpan""" + return _misc.DateSpan_Neg(*args, **kwargs) + + def Multiply(*args, **kwargs): + """Multiply(int factor) -> DateSpan""" + return _misc.DateSpan_Multiply(*args, **kwargs) + + def __iadd__(*args, **kwargs): + """__iadd__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___iadd__(*args, **kwargs) + + def __isub__(*args, **kwargs): + """__isub__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___isub__(*args, **kwargs) + + def __neg__(*args, **kwargs): + """__neg__() -> DateSpan""" + return _misc.DateSpan___neg__(*args, **kwargs) + + def __imul__(*args, **kwargs): + """__imul__(int factor) -> DateSpan""" + return _misc.DateSpan___imul__(*args, **kwargs) + + def __add__(*args, **kwargs): + """__add__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___add__(*args, **kwargs) + + def __sub__(*args, **kwargs): + """__sub__(DateSpan other) -> DateSpan""" + return _misc.DateSpan___sub__(*args, **kwargs) + + def __mul__(*args, **kwargs): + """__mul__(int n) -> DateSpan""" + return _misc.DateSpan___mul__(*args, **kwargs) + + def __rmul__(*args, **kwargs): + """__rmul__(int n) -> DateSpan""" + return _misc.DateSpan___rmul__(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(DateSpan other) -> bool""" + return _misc.DateSpan___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(DateSpan other) -> bool""" + return _misc.DateSpan___ne__(*args, **kwargs) + class DateSpanPtr(DateSpan): def __init__(self, this): @@ -1953,30 +3840,54 @@ class DateSpanPtr(DateSpan): self.__class__ = DateSpan _misc.DateSpan_swigregister(DateSpanPtr) -DateSpan_Days = _misc.DateSpan_Days +def DateSpan_Days(*args, **kwargs): + """DateSpan_Days(int days) -> DateSpan""" + return _misc.DateSpan_Days(*args, **kwargs) -DateSpan_Day = _misc.DateSpan_Day +def DateSpan_Day(*args, **kwargs): + """DateSpan_Day() -> DateSpan""" + return _misc.DateSpan_Day(*args, **kwargs) -DateSpan_Weeks = _misc.DateSpan_Weeks +def DateSpan_Weeks(*args, **kwargs): + """DateSpan_Weeks(int weeks) -> DateSpan""" + return _misc.DateSpan_Weeks(*args, **kwargs) -DateSpan_Week = _misc.DateSpan_Week +def DateSpan_Week(*args, **kwargs): + """DateSpan_Week() -> DateSpan""" + return _misc.DateSpan_Week(*args, **kwargs) -DateSpan_Months = _misc.DateSpan_Months +def DateSpan_Months(*args, **kwargs): + """DateSpan_Months(int mon) -> DateSpan""" + return _misc.DateSpan_Months(*args, **kwargs) -DateSpan_Month = _misc.DateSpan_Month +def DateSpan_Month(*args, **kwargs): + """DateSpan_Month() -> DateSpan""" + return _misc.DateSpan_Month(*args, **kwargs) -DateSpan_Years = _misc.DateSpan_Years +def DateSpan_Years(*args, **kwargs): + """DateSpan_Years(int years) -> DateSpan""" + return _misc.DateSpan_Years(*args, **kwargs) -DateSpan_Year = _misc.DateSpan_Year +def DateSpan_Year(*args, **kwargs): + """DateSpan_Year() -> DateSpan""" + return _misc.DateSpan_Year(*args, **kwargs) -GetLocalTime = _misc.GetLocalTime +def GetLocalTime(*args, **kwargs): + """GetLocalTime() -> long""" + return _misc.GetLocalTime(*args, **kwargs) -GetUTCTime = _misc.GetUTCTime +def GetUTCTime(*args, **kwargs): + """GetUTCTime() -> long""" + return _misc.GetUTCTime(*args, **kwargs) -GetCurrentTime = _misc.GetCurrentTime +def GetCurrentTime(*args, **kwargs): + """GetCurrentTime() -> long""" + return _misc.GetCurrentTime(*args, **kwargs) -GetLocalTimeMillis = _misc.GetLocalTimeMillis +def GetLocalTimeMillis(*args, **kwargs): + """GetLocalTimeMillis() -> wxLongLong""" + return _misc.GetLocalTimeMillis(*args, **kwargs) #--------------------------------------------------------------------------- DF_INVALID = _misc.DF_INVALID @@ -2000,23 +3911,47 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxDataFormatId type) -> DataFormat""" newobj = _misc.new_DataFormat(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_DataFormat): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __eq__(*args): return _misc.DataFormat___eq__(*args) - def __ne__(*args): return _misc.DataFormat___ne__(*args) - def SetType(*args, **kwargs): return _misc.DataFormat_SetType(*args, **kwargs) - def GetType(*args, **kwargs): return _misc.DataFormat_GetType(*args, **kwargs) - def GetId(*args, **kwargs): return _misc.DataFormat_GetId(*args, **kwargs) - def SetId(*args, **kwargs): return _misc.DataFormat_SetId(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def __eq__(*args): + """__eq__(wxDataFormatId format) -> bool +__eq__(DataFormat format) -> bool""" + return _misc.DataFormat___eq__(*args) + + def __ne__(*args): + """__ne__(wxDataFormatId format) -> bool +__ne__(DataFormat format) -> bool""" + return _misc.DataFormat___ne__(*args) + + def SetType(*args, **kwargs): + """SetType(wxDataFormatId format)""" + return _misc.DataFormat_SetType(*args, **kwargs) + + def GetType(*args, **kwargs): + """GetType() -> wxDataFormatId""" + return _misc.DataFormat_GetType(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> wxString""" + return _misc.DataFormat_GetId(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(wxString format)""" + return _misc.DataFormat_SetId(*args, **kwargs) + class DataFormatPtr(DataFormat): def __init__(self, this): @@ -2026,28 +3961,53 @@ class DataFormatPtr(DataFormat): _misc.DataFormat_swigregister(DataFormatPtr) def CustomDataFormat(*args, **kwargs): + """CustomDataFormat(wxString format) -> DataFormat""" val = _misc.new_CustomDataFormat(*args, **kwargs) val.thisown = 1 return val class DataObject(object): + """""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Get = _misc.DataObject_Get Set = _misc.DataObject_Set Both = _misc.DataObject_Both def __del__(self, destroy=_misc.delete_DataObject): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetPreferredFormat(*args, **kwargs): return _misc.DataObject_GetPreferredFormat(*args, **kwargs) - def GetFormatCount(*args, **kwargs): return _misc.DataObject_GetFormatCount(*args, **kwargs) - def IsSupported(*args, **kwargs): return _misc.DataObject_IsSupported(*args, **kwargs) - def GetDataSize(*args, **kwargs): return _misc.DataObject_GetDataSize(*args, **kwargs) - def GetAllFormats(*args, **kwargs): return _misc.DataObject_GetAllFormats(*args, **kwargs) - def GetDataHere(*args, **kwargs): return _misc.DataObject_GetDataHere(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.DataObject_SetData(*args, **kwargs) - def __init__(self): raise RuntimeError, "No constructor defined" - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPreferredFormat(*args, **kwargs): + """GetPreferredFormat(wxDataObject::Direction dir=Get) -> DataFormat""" + return _misc.DataObject_GetPreferredFormat(*args, **kwargs) + + def GetFormatCount(*args, **kwargs): + """GetFormatCount(wxDataObject::Direction dir=Get) -> size_t""" + return _misc.DataObject_GetFormatCount(*args, **kwargs) + + def IsSupported(*args, **kwargs): + """IsSupported(DataFormat format, wxDataObject::Direction dir=Get) -> bool""" + return _misc.DataObject_IsSupported(*args, **kwargs) + + def GetDataSize(*args, **kwargs): + """GetDataSize(DataFormat format) -> size_t""" + return _misc.DataObject_GetDataSize(*args, **kwargs) + + def GetAllFormats(*args, **kwargs): + """GetAllFormats(DataFormat formats, wxDataObject::Direction dir=Get)""" + return _misc.DataObject_GetAllFormats(*args, **kwargs) + + def GetDataHere(*args, **kwargs): + """GetDataHere(DataFormat format, void buf) -> bool""" + return _misc.DataObject_GetDataHere(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(DataFormat format, size_t len, void buf) -> bool""" + return _misc.DataObject_SetData(*args, **kwargs) + class DataObjectPtr(DataObject): def __init__(self, this): @@ -2058,15 +4018,23 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> DataObjectSimple""" newobj = _misc.new_DataObjectSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFormat(*args, **kwargs): return _misc.DataObjectSimple_GetFormat(*args, **kwargs) - def SetFormat(*args, **kwargs): return _misc.DataObjectSimple_SetFormat(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFormat(*args, **kwargs): + """GetFormat() -> DataFormat""" + return _misc.DataObjectSimple_GetFormat(*args, **kwargs) + + def SetFormat(*args, **kwargs): + """SetFormat(DataFormat format)""" + return _misc.DataObjectSimple_SetFormat(*args, **kwargs) + class DataObjectSimplePtr(DataObjectSimple): def __init__(self, this): @@ -2076,15 +4044,21 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple""" newobj = _misc.new_PyDataObjectSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyDataObjectSimple) - def _setCallbackInfo(*args, **kwargs): return _misc.PyDataObjectSimple__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyDataObjectSimple__setCallbackInfo(*args, **kwargs) + class PyDataObjectSimplePtr(PyDataObjectSimple): def __init__(self, this): @@ -2094,17 +4068,21 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> DataObjectComposite""" newobj = _misc.new_DataObjectComposite(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def Add(*args, **kwargs): + def Add(*args, **kwargs): + """Add(DataObjectSimple dataObject, int preferred=False)""" val = _misc.DataObjectComposite_Add(*args, **kwargs) args[1].thisown = 0 return val - def __repr__(self): - return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class DataObjectCompositePtr(DataObjectComposite): def __init__(self, this): @@ -2114,16 +4092,27 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString text=wxPyEmptyString) -> TextDataObject""" newobj = _misc.new_TextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetTextLength(*args, **kwargs): return _misc.TextDataObject_GetTextLength(*args, **kwargs) - def GetText(*args, **kwargs): return _misc.TextDataObject_GetText(*args, **kwargs) - def SetText(*args, **kwargs): return _misc.TextDataObject_SetText(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetTextLength(*args, **kwargs): + """GetTextLength() -> size_t""" + return _misc.TextDataObject_GetTextLength(*args, **kwargs) + + def GetText(*args, **kwargs): + """GetText() -> wxString""" + return _misc.TextDataObject_GetText(*args, **kwargs) + + def SetText(*args, **kwargs): + """SetText(wxString text)""" + return _misc.TextDataObject_SetText(*args, **kwargs) + class TextDataObjectPtr(TextDataObject): def __init__(self, this): @@ -2133,15 +4122,21 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString text=wxPyEmptyString) -> PyTextDataObject""" newobj = _misc.new_PyTextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyTextDataObject) - def _setCallbackInfo(*args, **kwargs): return _misc.PyTextDataObject__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyTextDataObject__setCallbackInfo(*args, **kwargs) + class PyTextDataObjectPtr(PyTextDataObject): def __init__(self, this): @@ -2151,15 +4146,23 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap=wxNullBitmap) -> BitmapDataObject""" newobj = _misc.new_BitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetBitmap(*args, **kwargs): return _misc.BitmapDataObject_GetBitmap(*args, **kwargs) - def SetBitmap(*args, **kwargs): return _misc.BitmapDataObject_SetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _misc.BitmapDataObject_GetBitmap(*args, **kwargs) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _misc.BitmapDataObject_SetBitmap(*args, **kwargs) + class BitmapDataObjectPtr(BitmapDataObject): def __init__(self, this): @@ -2169,15 +4172,21 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap=wxNullBitmap) -> PyBitmapDataObject""" newobj = _misc.new_PyBitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyBitmapDataObject) - def _setCallbackInfo(*args, **kwargs): return _misc.PyBitmapDataObject__setCallbackInfo(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.PyBitmapDataObject__setCallbackInfo(*args, **kwargs) + class PyBitmapDataObjectPtr(PyBitmapDataObject): def __init__(self, this): @@ -2187,15 +4196,23 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileDataObject""" newobj = _misc.new_FileDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFilenames(*args, **kwargs): return _misc.FileDataObject_GetFilenames(*args, **kwargs) - def AddFile(*args, **kwargs): return _misc.FileDataObject_AddFile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFilenames(*args, **kwargs): + """GetFilenames() -> wxArrayString""" + return _misc.FileDataObject_GetFilenames(*args, **kwargs) + + def AddFile(*args, **kwargs): + """AddFile(wxString filename)""" + return _misc.FileDataObject_AddFile(*args, **kwargs) + class FileDataObjectPtr(FileDataObject): def __init__(self, this): @@ -2205,17 +4222,31 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataFormat format=FormatInvalid) -> CustomDataObject""" newobj = _misc.new_CustomDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def TakeData(*args, **kwargs): return _misc.CustomDataObject_TakeData(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.CustomDataObject_SetData(*args, **kwargs) - def GetSize(*args, **kwargs): return _misc.CustomDataObject_GetSize(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.CustomDataObject_GetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def TakeData(*args, **kwargs): + """TakeData(PyObject data)""" + return _misc.CustomDataObject_TakeData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(PyObject data) -> bool""" + return _misc.CustomDataObject_SetData(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> size_t""" + return _misc.CustomDataObject_GetSize(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> PyObject""" + return _misc.CustomDataObject_GetData(*args, **kwargs) + class CustomDataObjectPtr(CustomDataObject): def __init__(self, this): @@ -2225,15 +4256,23 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> URLDataObject""" newobj = _misc.new_URLDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetURL(*args, **kwargs): return _misc.URLDataObject_GetURL(*args, **kwargs) - def SetURL(*args, **kwargs): return _misc.URLDataObject_SetURL(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetURL(*args, **kwargs): + """GetURL() -> wxString""" + return _misc.URLDataObject_GetURL(*args, **kwargs) + + def SetURL(*args, **kwargs): + """SetURL(wxString url)""" + return _misc.URLDataObject_SetURL(*args, **kwargs) + class URLDataObjectPtr(URLDataObject): def __init__(self, this): @@ -2243,15 +4282,23 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> MetafileDataObject""" newobj = _misc.new_MetafileDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetMetafile(*args, **kwargs): return _misc.MetafileDataObject_SetMetafile(*args, **kwargs) - def GetMetafile(*args, **kwargs): return _misc.MetafileDataObject_GetMetafile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetMetafile(*args, **kwargs): + """SetMetafile(wxMetafile metafile)""" + return _misc.MetafileDataObject_SetMetafile(*args, **kwargs) + + def GetMetafile(*args, **kwargs): + """GetMetafile() -> wxMetafile""" + return _misc.MetafileDataObject_GetMetafile(*args, **kwargs) + class MetafileDataObjectPtr(MetafileDataObject): def __init__(self, this): @@ -2272,25 +4319,50 @@ DragMove = _misc.DragMove DragLink = _misc.DragLink DragCancel = _misc.DragCancel -IsDragResultOk = _misc.IsDragResultOk +def IsDragResultOk(*args, **kwargs): + """IsDragResultOk(wxDragResult res) -> bool""" + return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, + wxCursor none=wxNullCursor) -> DropSource""" newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def _setCallbackInfo(*args, **kwargs): return _misc.DropSource__setCallbackInfo(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class, int incref)""" + return _misc.DropSource__setCallbackInfo(*args, **kwargs) + def __del__(self, destroy=_misc.delete_DropSource): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetData(*args, **kwargs): return _misc.DropSource_SetData(*args, **kwargs) - def GetDataObject(*args, **kwargs): return _misc.DropSource_GetDataObject(*args, **kwargs) - def SetCursor(*args, **kwargs): return _misc.DropSource_SetCursor(*args, **kwargs) - def DoDragDrop(*args, **kwargs): return _misc.DropSource_DoDragDrop(*args, **kwargs) - def base_GiveFeedback(*args, **kwargs): return _misc.DropSource_base_GiveFeedback(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetData(*args, **kwargs): + """SetData(DataObject data)""" + return _misc.DropSource_SetData(*args, **kwargs) + + def GetDataObject(*args, **kwargs): + """GetDataObject() -> DataObject""" + return _misc.DropSource_GetDataObject(*args, **kwargs) + + def SetCursor(*args, **kwargs): + """SetCursor(wxDragResult res, wxCursor cursor)""" + return _misc.DropSource_SetCursor(*args, **kwargs) + + def DoDragDrop(*args, **kwargs): + """DoDragDrop(int flags=Drag_CopyOnly) -> wxDragResult""" + return _misc.DropSource_DoDragDrop(*args, **kwargs) + + def base_GiveFeedback(*args, **kwargs): + """base_GiveFeedback(wxDragResult effect) -> bool""" + return _misc.DropSource_base_GiveFeedback(*args, **kwargs) + class DropSourcePtr(DropSource): def __init__(self, this): @@ -2300,29 +4372,57 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(DataObject dataObject=None) -> DropTarget""" newobj = _misc.new_DropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.DropTarget__setCallbackInfo(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.DropTarget__setCallbackInfo(*args, **kwargs) + def __del__(self, destroy=_misc.delete_DropTarget): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetDataObject(*args, **kwargs): return _misc.DropTarget_GetDataObject(*args, **kwargs) - def SetDataObject(*args, **kwargs): + + def GetDataObject(*args, **kwargs): + """GetDataObject() -> DataObject""" + return _misc.DropTarget_GetDataObject(*args, **kwargs) + + def SetDataObject(*args, **kwargs): + """SetDataObject(DataObject dataObject)""" val = _misc.DropTarget_SetDataObject(*args, **kwargs) args[1].thisown = 0 return val - def base_OnEnter(*args, **kwargs): return _misc.DropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.DropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.DropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.DropTarget_base_OnDrop(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.DropTarget_GetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.DropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.DropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.DropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.DropTarget_base_OnDrop(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> bool""" + return _misc.DropTarget_GetData(*args, **kwargs) + class DropTargetPtr(DropTarget): def __init__(self, this): @@ -2333,20 +4433,41 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TextDropTarget""" newobj = _misc.new_TextDropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, TextDropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs) - def base_OnEnter(*args, **kwargs): return _misc.TextDropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.TextDropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.TextDropTarget_base_OnDrop(*args, **kwargs) - def base_OnData(*args, **kwargs): return _misc.TextDropTarget_base_OnData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.TextDropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.TextDropTarget_base_OnDrop(*args, **kwargs) + + def base_OnData(*args, **kwargs): + """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.TextDropTarget_base_OnData(*args, **kwargs) + class TextDropTargetPtr(TextDropTarget): def __init__(self, this): @@ -2356,20 +4477,41 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FileDropTarget""" newobj = _misc.new_FileDropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, FileDropTarget) - def _setCallbackInfo(*args, **kwargs): return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs) - def base_OnEnter(*args, **kwargs): return _misc.FileDropTarget_base_OnEnter(*args, **kwargs) - def base_OnDragOver(*args, **kwargs): return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs) - def base_OnLeave(*args, **kwargs): return _misc.FileDropTarget_base_OnLeave(*args, **kwargs) - def base_OnDrop(*args, **kwargs): return _misc.FileDropTarget_base_OnDrop(*args, **kwargs) - def base_OnData(*args, **kwargs): return _misc.FileDropTarget_base_OnData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs) + + def base_OnEnter(*args, **kwargs): + """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnEnter(*args, **kwargs) + + def base_OnDragOver(*args, **kwargs): + """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs) + + def base_OnLeave(*args, **kwargs): + """base_OnLeave()""" + return _misc.FileDropTarget_base_OnLeave(*args, **kwargs) + + def base_OnDrop(*args, **kwargs): + """base_OnDrop(int x, int y) -> bool""" + return _misc.FileDropTarget_base_OnDrop(*args, **kwargs) + + def base_OnData(*args, **kwargs): + """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + return _misc.FileDropTarget_base_OnData(*args, **kwargs) + class FileDropTargetPtr(FileDropTarget): def __init__(self, this): @@ -2381,27 +4523,61 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> Clipboard""" newobj = _misc.new_Clipboard(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_Clipboard): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Open(*args, **kwargs): return _misc.Clipboard_Open(*args, **kwargs) - def Close(*args, **kwargs): return _misc.Clipboard_Close(*args, **kwargs) - def IsOpened(*args, **kwargs): return _misc.Clipboard_IsOpened(*args, **kwargs) - def AddData(*args, **kwargs): return _misc.Clipboard_AddData(*args, **kwargs) - def SetData(*args, **kwargs): return _misc.Clipboard_SetData(*args, **kwargs) - def IsSupported(*args, **kwargs): return _misc.Clipboard_IsSupported(*args, **kwargs) - def GetData(*args, **kwargs): return _misc.Clipboard_GetData(*args, **kwargs) - def Clear(*args, **kwargs): return _misc.Clipboard_Clear(*args, **kwargs) - def Flush(*args, **kwargs): return _misc.Clipboard_Flush(*args, **kwargs) - def UsePrimarySelection(*args, **kwargs): return _misc.Clipboard_UsePrimarySelection(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Open(*args, **kwargs): + """Open() -> bool""" + return _misc.Clipboard_Open(*args, **kwargs) + + def Close(*args, **kwargs): + """Close()""" + return _misc.Clipboard_Close(*args, **kwargs) + + def IsOpened(*args, **kwargs): + """IsOpened() -> bool""" + return _misc.Clipboard_IsOpened(*args, **kwargs) + + def AddData(*args, **kwargs): + """AddData(DataObject data) -> bool""" + return _misc.Clipboard_AddData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(DataObject data) -> bool""" + return _misc.Clipboard_SetData(*args, **kwargs) + + def IsSupported(*args, **kwargs): + """IsSupported(DataFormat format) -> bool""" + return _misc.Clipboard_IsSupported(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData(DataObject data) -> bool""" + return _misc.Clipboard_GetData(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _misc.Clipboard_Clear(*args, **kwargs) + + def Flush(*args, **kwargs): + """Flush() -> bool""" + return _misc.Clipboard_Flush(*args, **kwargs) + + def UsePrimarySelection(*args, **kwargs): + """UsePrimarySelection(bool primary=False)""" + return _misc.Clipboard_UsePrimarySelection(*args, **kwargs) + class ClipboardPtr(Clipboard): def __init__(self, this): @@ -2411,18 +4587,25 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Clipboard clipboard=None) -> ClipboardLocker""" newobj = _misc.new_ClipboardLocker(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_misc.delete_ClipboardLocker): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def __nonzero__(*args, **kwargs): return _misc.ClipboardLocker___nonzero__(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def __nonzero__(*args, **kwargs): + """__nonzero__() -> bool""" + return _misc.ClipboardLocker___nonzero__(*args, **kwargs) + class ClipboardLockerPtr(ClipboardLocker): def __init__(self, this): diff --git a/wxPython/src/msw/misc_wrap.cpp b/wxPython/src/msw/misc_wrap.cpp index ed823760c6..e15eb5f7cb 100644 --- a/wxPython/src/msw/misc_wrap.cpp +++ b/wxPython/src/msw/misc_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -362,7 +356,7 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) { #ifdef WXP_WITH_THREAD return wxThread::IsMain(); #else - return TRUE; + return True; #endif } @@ -431,12 +425,12 @@ void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method) // WM_PRINT. For most native widgets nothing is drawn to the dc // at all, with or without Themes. typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT); - static bool s_triedToLoad = false; + static bool s_triedToLoad = False; static PrintWindow_t pfnPrintWindow = NULL; if ( !s_triedToLoad ) { - s_triedToLoad = true; + s_triedToLoad = True; wxDynamicLibrary dllUser32(_T("user32.dll")); if ( dllUser32.IsLoaded() ) { @@ -550,7 +544,7 @@ public: int GetMovementThreshold() { return -1; } void SetMovementThreshold(int threshold) {} - bool IsOk(void) { return FALSE; } + bool IsOk(void) { return False; } int GetNumberJoysticks() { return -1; } int GetManufacturerId() { return -1; } int GetProductId() { return -1; } @@ -574,16 +568,16 @@ public: int GetVMin() { return -1; } int GetVMax() { return -1; } - bool HasRudder() { return FALSE; } - bool HasZ() { return FALSE; } - bool HasU() { return FALSE; } - bool HasV() { return FALSE; } - bool HasPOV() { return FALSE; } - bool HasPOV4Dir() { return FALSE; } - bool HasPOVCTS() { return FALSE; } + bool HasRudder() { return False; } + bool HasZ() { return False; } + bool HasU() { return False; } + bool HasV() { return False; } + bool HasPOV() { return False; } + bool HasPOV4Dir() { return False; } + bool HasPOVCTS() { return False; } - bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; } - bool ReleaseCapture() { return FALSE; } + bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; } + bool ReleaseCapture() { return False; } }; #endif @@ -596,7 +590,7 @@ public: class wxWave : public wxObject { public: - wxWave(const wxString& fileName, bool isResource = FALSE) { + wxWave(const wxString& fileName, bool isResource = False) { wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform."); wxPyEndBlockThreads(); @@ -609,8 +603,8 @@ public: ~wxWave() {} - bool IsOk() const { return FALSE; } - bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; } + bool IsOk() const { return False; } + bool Play(bool async = True, bool looped = False) const { return False; } }; #endif @@ -661,7 +655,7 @@ PyObject *wxFileType_GetIconInfo(wxFileType *self){ wxPyBeginBlockThreads(); PyObject* tuple = PyTuple_New(3); PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc), - wxT("wxIcon"), TRUE)); + wxT("wxIcon"), True)); PyTuple_SetItem(tuple, 1, wx2PyString(iconFile)); PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex)); wxPyEndBlockThreads(); @@ -942,7 +936,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const { // return either a string or None and then act appropriately with the // C++ version. - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) { PyObject* ro; @@ -961,7 +955,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const { bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{ // For this one we simply need to make a string from buf and len // and send it to the Python method. - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetData")) { PyObject* data = PyString_FromStringAndSize((char*)buf, len); @@ -1020,7 +1014,7 @@ wxBitmap wxPyBitmapDataObject::GetBitmap() const { void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) { wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) { - PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false); + PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False); wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo)); Py_DECREF(bo); } @@ -1044,7 +1038,7 @@ bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){ else { // raise a TypeError if not a string PyErr_SetString(PyExc_TypeError, "String expected."); - return FALSE; + return False; } } PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){ @@ -1098,7 +1092,7 @@ public: // execute or otherwise mouse movement would be too slow DEC_PYCALLBACK_DR_2WXCDR(OnDragOver); - // called after OnDrop() returns TRUE: you will usually just call + // 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 @@ -1106,7 +1100,7 @@ public: 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 + // returns True, OnData() will be called immediately afterwards which will // allow to retrieve the data dropped. DEC_PYCALLBACK_BOOL_INTINT(OnDrop); @@ -1162,7 +1156,7 @@ public: bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames) { - bool rval = FALSE; + bool rval = False; wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) { PyObject* list = wxArrayString2PyList_helper(filenames); @@ -1365,8 +1359,8 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -1377,12 +1371,12 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1418,7 +1412,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args PyObject *resultobj; wxString *arg1 = 0 ; int arg2 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name",(char *) "value", NULL @@ -1428,7 +1422,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1456,7 +1450,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1466,7 +1460,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1500,7 +1494,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args PyObject *resultobj; wxString *arg1 = 0 ; int result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1510,7 +1504,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1538,7 +1532,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, P PyObject *resultobj; wxString *arg1 = 0 ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "name", NULL @@ -1548,7 +1542,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, P { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -1689,7 +1683,7 @@ static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; long result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1805,7 +1799,7 @@ static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) { wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; bool result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "command", NULL @@ -1816,7 +1810,7 @@ static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) { { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2047,7 +2041,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "in", NULL @@ -2057,7 +2051,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2260,7 +2254,7 @@ static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwa wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "user", NULL @@ -2271,7 +2265,7 @@ static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -2362,11 +2356,11 @@ static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kw int arg8 = (int) -1 ; int arg9 = (int) -1 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; - bool temp5 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2382,35 +2376,35 @@ static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } if (obj6) { @@ -2484,9 +2478,9 @@ static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2499,18 +2493,18 @@ static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2568,9 +2562,9 @@ static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2583,18 +2577,18 @@ static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2655,8 +2649,8 @@ static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwa wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxWindow *arg5 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxPoint temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -2671,14 +2665,14 @@ static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj3) { @@ -2736,11 +2730,11 @@ static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject wxWindow *arg4 = (wxWindow *) NULL ; int arg5 = (int) -1 ; int arg6 = (int) -1 ; - bool arg7 = (bool) TRUE ; + bool arg7 = (bool) True ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2754,20 +2748,20 @@ static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2830,9 +2824,9 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObj wxString *arg3 = (wxString *) &arg3_defvalue ; wxWindow *arg4 = (wxWindow *) NULL ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2845,20 +2839,20 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -2917,12 +2911,12 @@ static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject wxWindow *arg5 = (wxWindow *) NULL ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; + bool arg8 = (bool) True ; int arg9 = (int) 150 ; int arg10 = (int) 200 ; wxString result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2936,12 +2930,12 @@ static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = PyList_Size(obj2); @@ -3006,12 +3000,12 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyOb wxWindow *arg5 = (wxWindow *) NULL ; int arg6 = (int) -1 ; int arg7 = (int) -1 ; - bool arg8 = (bool) TRUE ; + bool arg8 = (bool) True ; int arg9 = (int) 150 ; int arg10 = (int) 200 ; int result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3025,12 +3019,12 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = PyList_Size(obj2); @@ -3090,8 +3084,8 @@ static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwar int arg5 = (int) -1 ; int arg6 = (int) -1 ; int result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3103,13 +3097,13 @@ static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj3) { @@ -3157,9 +3151,9 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObjec wxPoint const &arg8_defvalue = wxDefaultPosition ; wxPoint *arg8 = (wxPoint *) &arg8_defvalue ; long result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -3174,17 +3168,17 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObjec { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj6) { if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -3804,7 +3798,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwa PyObject *resultobj; wxString *arg1 = 0 ; wxToolTip *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "tip", NULL @@ -3814,7 +3808,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3844,7 +3838,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3856,7 +3850,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4376,7 +4370,7 @@ static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxCaret *arg1 = (wxCaret *) 0 ; - int arg2 = (int) TRUE ; + int arg2 = (int) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "show", NULL @@ -4593,7 +4587,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxBusyInfo *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "message", NULL @@ -4603,7 +4597,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4836,7 +4830,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *ar PyObject *resultobj; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4848,7 +4842,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5157,8 +5151,8 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxSingleInstanceChecker *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5169,13 +5163,13 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -5261,8 +5255,8 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *ar wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -5275,13 +5269,13 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -5462,7 +5456,7 @@ static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5474,7 +5468,7 @@ static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5578,7 +5572,7 @@ static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxTipProvider *arg2 = (wxTipProvider *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -5613,7 +5607,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyO wxString *arg1 = 0 ; size_t arg2 ; wxTipProvider *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -5624,7 +5618,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyO { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } arg2 = (size_t) PyInt_AsLong(obj1); if (PyErr_Occurred()) SWIG_fail; @@ -5734,7 +5728,7 @@ static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwa PyObject *resultobj; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int arg2 = (int) -1 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -5977,7 +5971,7 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) { PyObject *resultobj; wxTimer *arg1 = 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxTimerRunner *result; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -6091,7 +6085,7 @@ static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; int arg2 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -6171,7 +6165,7 @@ static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6365,7 +6359,7 @@ static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "bVerbose", NULL @@ -6464,7 +6458,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "str", NULL @@ -6474,7 +6468,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6501,7 +6495,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "str", NULL @@ -6511,7 +6505,7 @@ static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -6873,10 +6867,10 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; - bool arg4 = (bool) TRUE ; + bool arg3 = (bool) True ; + bool arg4 = (bool) True ; wxLogWindow *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -6890,7 +6884,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -6925,7 +6919,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxLogWindow *arg1 = (wxLogWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7260,7 +7254,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7270,7 +7264,7 @@ static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7297,7 +7291,7 @@ static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *k static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7307,7 +7301,7 @@ static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7334,7 +7328,7 @@ static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7344,7 +7338,7 @@ static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7371,7 +7365,7 @@ static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7381,7 +7375,7 @@ static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7408,7 +7402,7 @@ static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7418,7 +7412,7 @@ static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7445,7 +7439,7 @@ static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7455,7 +7449,7 @@ static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7482,7 +7476,7 @@ static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7492,7 +7486,7 @@ static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7519,7 +7513,7 @@ static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwar static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7529,7 +7523,7 @@ static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwarg { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7557,7 +7551,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7569,7 +7563,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7596,7 +7590,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7606,7 +7600,7 @@ static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwa { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7633,7 +7627,7 @@ static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwa static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "msg", NULL @@ -7643,7 +7637,7 @@ static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7671,8 +7665,8 @@ static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7683,12 +7677,12 @@ static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7724,7 +7718,7 @@ static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj; unsigned long arg1 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7737,7 +7731,7 @@ static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7765,8 +7759,8 @@ static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxString *arg1 = 0 ; wxString *arg2 = 0 ; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -7777,12 +7771,12 @@ static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -7978,7 +7972,7 @@ static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kw wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "cmd",(char *) "flags", NULL @@ -7988,7 +7982,7 @@ static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8193,7 +8187,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, Py if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -8225,7 +8219,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, Py if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True); } return resultobj; fail: @@ -8532,7 +8526,7 @@ static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *arg3 = (wxPyProcess *) NULL ; long result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -8543,7 +8537,7 @@ static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj2) { if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -10339,9 +10333,9 @@ static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxString *arg1 = 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxWave *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10352,7 +10346,7 @@ static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { arg2 = PyInt_AsLong(obj1) ? true : false; @@ -10384,7 +10378,7 @@ static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxString *arg1 = 0 ; wxWave *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "data", NULL @@ -10394,7 +10388,7 @@ static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10470,8 +10464,8 @@ static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWave *arg1 = (wxWave *) 0 ; - bool arg2 = (bool) TRUE ; - bool arg3 = (bool) FALSE ; + bool arg2 = (bool) True ; + bool arg3 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10518,10 +10512,10 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject wxString *arg3 = 0 ; wxString *arg4 = 0 ; wxFileTypeInfo *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10534,22 +10528,22 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10698,7 +10692,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyOb wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10710,7 +10704,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10738,7 +10732,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *resultobj; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10750,7 +10744,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11238,8 +11232,8 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, P wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11252,13 +11246,13 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11298,8 +11292,8 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11312,13 +11306,13 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11358,8 +11352,8 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, P wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; PyObject *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11372,13 +11366,13 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11416,10 +11410,10 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObj wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; - bool arg4 = (bool) TRUE ; + bool arg4 = (bool) True ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11433,12 +11427,12 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { arg4 = PyInt_AsLong(obj3) ? true : false; @@ -11481,7 +11475,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, P wxString *arg2 = (wxString *) &arg2_defvalue ; int arg3 = (int) 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11494,7 +11488,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -11551,9 +11545,9 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, Py wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11565,18 +11559,18 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, Py { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11649,8 +11643,8 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11661,12 +11655,12 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11726,7 +11720,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *arg int arg2 = (int) wxMAILCAP_ALL ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -11739,7 +11733,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *arg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -11793,7 +11787,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11805,7 +11799,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11834,7 +11828,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11846,7 +11840,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11874,9 +11868,9 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *ar PyObject *resultobj; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11889,7 +11883,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -11922,7 +11916,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject * wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11934,7 +11928,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13018,8 +13012,8 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyO wxSize const &arg3_defvalue = wxDefaultSize ; wxSize *arg3 = (wxSize *) &arg3_defvalue ; wxBitmap result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13032,13 +13026,13 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyO { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -13089,8 +13083,8 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj wxSize const &arg3_defvalue = wxDefaultSize ; wxSize *arg3 = (wxSize *) &arg3_defvalue ; wxIcon result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13103,13 +13097,13 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -13210,7 +13204,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - bool arg1 = (bool) TRUE ; + bool arg1 = (bool) True ; wxConfigBase *result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13283,7 +13277,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13295,7 +13289,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13452,7 +13446,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, P static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13483,7 +13477,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *a static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13516,7 +13510,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObj wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13528,7 +13522,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13557,7 +13551,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObj wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13569,7 +13563,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13598,7 +13592,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObjec wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13610,7 +13604,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13639,7 +13633,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, P wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13651,7 +13645,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13682,8 +13676,8 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; wxString result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13696,13 +13690,13 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -13747,7 +13741,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObje wxString *arg2 = 0 ; long arg3 = (long) 0 ; long result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13759,7 +13753,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13789,7 +13783,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; double arg3 = (double) 0.0 ; double result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13801,7 +13795,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13829,9 +13823,9 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13844,7 +13838,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -13878,8 +13872,8 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13892,12 +13886,12 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13935,7 +13929,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObj wxString *arg2 = 0 ; long arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13947,7 +13941,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13977,7 +13971,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyO wxString *arg2 = 0 ; double arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -13989,7 +13983,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14019,7 +14013,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb wxString *arg2 = 0 ; bool arg3 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14032,7 +14026,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = PyInt_AsLong(obj2) ? true : false; if (PyErr_Occurred()) SWIG_fail; @@ -14061,7 +14055,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -14095,8 +14089,8 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14109,12 +14103,12 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14152,8 +14146,8 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, Py wxString *arg2 = 0 ; wxString *arg3 = 0 ; bool result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14166,12 +14160,12 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14207,9 +14201,9 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, Py PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14222,7 +14216,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { arg3 = PyInt_AsLong(obj2) ? true : false; @@ -14255,7 +14249,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, Py wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14267,7 +14261,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14344,7 +14338,7 @@ static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *a static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14374,7 +14368,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *arg static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14431,7 +14425,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14443,7 +14437,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14539,7 +14533,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14551,7 +14545,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14579,7 +14573,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *resultobj; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14591,7 +14585,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14677,7 +14671,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyO wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigPathChanger *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -14689,7 +14683,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -14784,10 +14778,10 @@ static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwar wxString *arg4 = (wxString *) &arg4_defvalue ; long arg5 = (long) 0 ; wxConfig *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14801,28 +14795,28 @@ static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -14914,10 +14908,10 @@ static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject * wxString *arg4 = (wxString *) &arg4_defvalue ; long arg5 = (long) 0 ; wxFileConfig *result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp1 = False ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -14931,28 +14925,28 @@ static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject * { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } if (obj1) { { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -15036,7 +15030,7 @@ static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxString *arg1 = 0 ; wxString result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "sz", NULL @@ -15046,7 +15040,7 @@ static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *k { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16776,7 +16770,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxDateTime result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16822,7 +16816,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; - bool arg3 = (bool) FALSE ; + bool arg3 = (bool) False ; wxDateTime *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16866,7 +16860,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyO static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxDateTime result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -16901,7 +16895,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject * static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxDateTime *arg1 = (wxDateTime *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; wxDateTime *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18653,7 +18647,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18665,7 +18659,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18698,8 +18692,8 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyOb wxDateTime const &arg4_defvalue = wxDefaultDateTime ; wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ; int result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18713,13 +18707,13 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -18763,7 +18757,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, Py wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18775,7 +18769,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18804,7 +18798,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObje wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18816,7 +18810,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18845,7 +18839,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObje wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -18857,7 +18851,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18889,7 +18883,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18903,7 +18897,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { @@ -20332,7 +20326,7 @@ static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ; wxString *arg2 = (wxString *) &arg2_defvalue ; wxString result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -20345,7 +20339,7 @@ static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } { @@ -21461,7 +21455,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxString *arg1 = 0 ; wxDataFormat *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "format", NULL @@ -21471,7 +21465,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -21828,7 +21822,7 @@ static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -21840,7 +21834,7 @@ static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22325,7 +22319,7 @@ static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, P PyObject *resultobj; wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ; wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ; - int arg3 = (int) FALSE ; + int arg3 = (int) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22361,7 +22355,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObje wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxTextDataObject *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -22372,7 +22366,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -22457,7 +22451,7 @@ static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, Py PyObject *resultobj; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22469,7 +22463,7 @@ static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22505,7 +22499,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyOb wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyTextDataObject *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "text", NULL @@ -22516,7 +22510,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyOb { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -22799,7 +22793,7 @@ static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, Py PyObject *resultobj; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -22811,7 +22805,7 @@ static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23042,7 +23036,7 @@ static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -23054,7 +23048,7 @@ static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23586,8 +23580,8 @@ static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23614,8 +23608,8 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, P static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23666,8 +23660,8 @@ static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, P static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23777,8 +23771,8 @@ static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23805,8 +23799,8 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23857,8 +23851,8 @@ static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23884,8 +23878,8 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23971,8 +23965,8 @@ static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -23999,8 +23993,8 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -24051,8 +24045,8 @@ static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; bool result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24078,8 +24072,8 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int arg4 ; int result; PyObject * obj0 = 0 ; @@ -24400,7 +24394,7 @@ static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxClipboard *arg1 = (wxClipboard *) 0 ; - bool arg2 = (bool) FALSE ; + bool arg2 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { diff --git a/wxPython/src/msw/windows.py b/wxPython/src/msw/windows.py index 74d91e2cff..036fe83f95 100644 --- a/wxPython/src/msw/windows.py +++ b/wxPython/src/msw/windows.py @@ -8,16 +8,29 @@ wx = core #--------------------------------------------------------------------------- class Panel(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> Panel""" newobj = _windows.new_Panel(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Panel_Create(*args, **kwargs) - def InitDialog(*args, **kwargs): return _windows.Panel_InitDialog(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> bool""" + return _windows.Panel_Create(*args, **kwargs) + + def InitDialog(*args, **kwargs): + """InitDialog()""" + return _windows.Panel_InitDialog(*args, **kwargs) + class PanelPtr(Panel): def __init__(self, this): @@ -27,6 +40,7 @@ class PanelPtr(Panel): _windows.Panel_swigregister(PanelPtr) def PrePanel(*args, **kwargs): + """PrePanel() -> Panel""" val = _windows.new_PrePanel(*args, **kwargs) val.thisown = 1 return val @@ -34,34 +48,108 @@ def PrePanel(*args, **kwargs): #--------------------------------------------------------------------------- class ScrolledWindow(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> ScrolledWindow""" newobj = _windows.new_ScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.ScrolledWindow_Create(*args, **kwargs) - def SetScrollbars(*args, **kwargs): return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) - def Scroll(*args, **kwargs): return _windows.ScrolledWindow_Scroll(*args, **kwargs) - def GetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs) - def SetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs) - def SetScrollRate(*args, **kwargs): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) - def GetScrollPixelsPerUnit(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) - def EnableScrolling(*args, **kwargs): return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) - def GetViewStart(*args, **kwargs): return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) - def SetScale(*args, **kwargs): return _windows.ScrolledWindow_SetScale(*args, **kwargs) - def GetScaleX(*args, **kwargs): return _windows.ScrolledWindow_GetScaleX(*args, **kwargs) - def GetScaleY(*args, **kwargs): return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) - def CalcScrolledPosition(*args): return _windows.ScrolledWindow_CalcScrolledPosition(*args) - def CalcUnscrolledPosition(*args): return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) - def AdjustScrollbars(*args, **kwargs): return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs) - def CalcScrollInc(*args, **kwargs): return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs) - def SetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs) - def GetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs) - def SetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs) - def GetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> bool""" + return _windows.ScrolledWindow_Create(*args, **kwargs) + + def SetScrollbars(*args, **kwargs): + """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, + int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)""" + return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) + + def Scroll(*args, **kwargs): + """Scroll(int x, int y)""" + return _windows.ScrolledWindow_Scroll(*args, **kwargs) + + def GetScrollPageSize(*args, **kwargs): + """GetScrollPageSize(int orient) -> int""" + return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs) + + def SetScrollPageSize(*args, **kwargs): + """SetScrollPageSize(int orient, int pageSize)""" + return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs) + + def SetScrollRate(*args, **kwargs): + """SetScrollRate(int xstep, int ystep)""" + return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) + + def GetScrollPixelsPerUnit(*args, **kwargs): + """GetScrollPixelsPerUnit() -> (xUnit, yUnit) + + + get the size of one logical unit in physical ones + """ + return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) + + def EnableScrolling(*args, **kwargs): + """EnableScrolling(bool x_scrolling, bool y_scrolling)""" + return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) + + def GetViewStart(*args, **kwargs): + """GetViewStart(int OUTPUT, int OUTPUT)""" + return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) + + def SetScale(*args, **kwargs): + """SetScale(double xs, double ys)""" + return _windows.ScrolledWindow_SetScale(*args, **kwargs) + + def GetScaleX(*args, **kwargs): + """GetScaleX() -> double""" + return _windows.ScrolledWindow_GetScaleX(*args, **kwargs) + + def GetScaleY(*args, **kwargs): + """GetScaleY() -> double""" + return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) + + def CalcScrolledPosition(*args): + """CalcScrolledPosition(int x, int y, int OUTPUT, int OUTPUT) +CalcScrolledPosition(Point pt) -> Point""" + return _windows.ScrolledWindow_CalcScrolledPosition(*args) + + def CalcUnscrolledPosition(*args): + """CalcUnscrolledPosition(int x, int y, int OUTPUT, int OUTPUT) +CalcUnscrolledPosition(Point pt) -> Point""" + return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) + + def AdjustScrollbars(*args, **kwargs): + """AdjustScrollbars()""" + return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs) + + def CalcScrollInc(*args, **kwargs): + """CalcScrollInc(ScrollWinEvent event) -> int""" + return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs) + + def SetTargetWindow(*args, **kwargs): + """SetTargetWindow(Window target)""" + return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs) + + def GetTargetWindow(*args, **kwargs): + """GetTargetWindow() -> Window""" + return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs) + + def SetTargetRect(*args, **kwargs): + """SetTargetRect(Rect rect)""" + return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs) + + def GetTargetRect(*args, **kwargs): + """GetTargetRect() -> Rect""" + return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs) + class ScrolledWindowPtr(ScrolledWindow): def __init__(self, this): @@ -71,6 +159,7 @@ class ScrolledWindowPtr(ScrolledWindow): _windows.ScrolledWindow_swigregister(ScrolledWindowPtr) def PreScrolledWindow(*args, **kwargs): + """PreScrolledWindow() -> ScrolledWindow""" val = _windows.new_PreScrolledWindow(*args, **kwargs) val.thisown = 1 return val @@ -78,23 +167,45 @@ def PreScrolledWindow(*args, **kwargs): #--------------------------------------------------------------------------- class AcceleratorEntry(object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" newobj = _windows.new_AcceleratorEntry(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_AcceleratorEntry): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Set(*args, **kwargs): return _windows.AcceleratorEntry_Set(*args, **kwargs) - def SetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) - def GetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) - def GetKeyCode(*args, **kwargs): return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) - def GetCommand(*args, **kwargs): return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Set(*args, **kwargs): + """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" + return _windows.AcceleratorEntry_Set(*args, **kwargs) + + def SetMenuItem(*args, **kwargs): + """SetMenuItem(MenuItem item)""" + return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) + + def GetMenuItem(*args, **kwargs): + """GetMenuItem() -> MenuItem""" + return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) + + def GetCommand(*args, **kwargs): + """GetCommand() -> int""" + return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) + class AcceleratorEntryPtr(AcceleratorEntry): def __init__(self, this): @@ -104,18 +215,25 @@ class AcceleratorEntryPtr(AcceleratorEntry): _windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr) class AcceleratorTable(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable""" newobj = _windows.new_AcceleratorTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_AcceleratorTable): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def Ok(*args, **kwargs): return _windows.AcceleratorTable_Ok(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.AcceleratorTable_Ok(*args, **kwargs) + class AcceleratorTablePtr(AcceleratorTable): def __init__(self, this): @@ -125,7 +243,9 @@ class AcceleratorTablePtr(AcceleratorTable): _windows.AcceleratorTable_swigregister(AcceleratorTablePtr) -GetAccelFromString = _windows.GetAccelFromString +def GetAccelFromString(*args, **kwargs): + """GetAccelFromString(wxString label) -> AcceleratorEntry""" + return _windows.GetAccelFromString(*args, **kwargs) #--------------------------------------------------------------------------- FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR @@ -136,22 +256,62 @@ FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION FULLSCREEN_ALL = _windows.FULLSCREEN_ALL TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG class TopLevelWindow(core.Window): - def Maximize(*args, **kwargs): return _windows.TopLevelWindow_Maximize(*args, **kwargs) - def Restore(*args, **kwargs): return _windows.TopLevelWindow_Restore(*args, **kwargs) - def Iconize(*args, **kwargs): return _windows.TopLevelWindow_Iconize(*args, **kwargs) - def IsMaximized(*args, **kwargs): return _windows.TopLevelWindow_IsMaximized(*args, **kwargs) - def IsIconized(*args, **kwargs): return _windows.TopLevelWindow_IsIconized(*args, **kwargs) - def GetIcon(*args, **kwargs): return _windows.TopLevelWindow_GetIcon(*args, **kwargs) - def SetIcon(*args, **kwargs): return _windows.TopLevelWindow_SetIcon(*args, **kwargs) - def SetIcons(*args, **kwargs): return _windows.TopLevelWindow_SetIcons(*args, **kwargs) - def ShowFullScreen(*args, **kwargs): return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs) - def IsFullScreen(*args, **kwargs): return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs) - def SetTitle(*args, **kwargs): return _windows.TopLevelWindow_SetTitle(*args, **kwargs) - def GetTitle(*args, **kwargs): return _windows.TopLevelWindow_GetTitle(*args, **kwargs) - def SetShape(*args, **kwargs): return _windows.TopLevelWindow_SetShape(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Maximize(*args, **kwargs): + """Maximize(bool maximize=True)""" + return _windows.TopLevelWindow_Maximize(*args, **kwargs) + + def Restore(*args, **kwargs): + """Restore()""" + return _windows.TopLevelWindow_Restore(*args, **kwargs) + + def Iconize(*args, **kwargs): + """Iconize(bool iconize=True)""" + return _windows.TopLevelWindow_Iconize(*args, **kwargs) + + def IsMaximized(*args, **kwargs): + """IsMaximized() -> bool""" + return _windows.TopLevelWindow_IsMaximized(*args, **kwargs) + + def IsIconized(*args, **kwargs): + """IsIconized() -> bool""" + return _windows.TopLevelWindow_IsIconized(*args, **kwargs) + + def GetIcon(*args, **kwargs): + """GetIcon() -> wxIcon""" + return _windows.TopLevelWindow_GetIcon(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxIcon icon)""" + return _windows.TopLevelWindow_SetIcon(*args, **kwargs) + + def SetIcons(*args, **kwargs): + """SetIcons(wxIconBundle icons)""" + return _windows.TopLevelWindow_SetIcons(*args, **kwargs) + + def ShowFullScreen(*args, **kwargs): + """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool""" + return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs) + + def IsFullScreen(*args, **kwargs): + """IsFullScreen() -> bool""" + return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs) + + def SetTitle(*args, **kwargs): + """SetTitle(wxString title)""" + return _windows.TopLevelWindow_SetTitle(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _windows.TopLevelWindow_GetTitle(*args, **kwargs) + + def SetShape(*args, **kwargs): + """SetShape(wxRegion region) -> bool""" + return _windows.TopLevelWindow_SetShape(*args, **kwargs) + class TopLevelWindowPtr(TopLevelWindow): def __init__(self, this): @@ -165,35 +325,103 @@ NullAcceleratorTable = cvar.NullAcceleratorTable #--------------------------------------------------------------------------- class Frame(TopLevelWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> Frame""" newobj = _windows.new_Frame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Frame_Create(*args, **kwargs) - def GetClientAreaOrigin(*args, **kwargs): return _windows.Frame_GetClientAreaOrigin(*args, **kwargs) - def SendSizeEvent(*args, **kwargs): return _windows.Frame_SendSizeEvent(*args, **kwargs) - def SetMenuBar(*args, **kwargs): return _windows.Frame_SetMenuBar(*args, **kwargs) - def GetMenuBar(*args, **kwargs): return _windows.Frame_GetMenuBar(*args, **kwargs) - def ProcessCommand(*args, **kwargs): return _windows.Frame_ProcessCommand(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.Frame_Create(*args, **kwargs) + + def GetClientAreaOrigin(*args, **kwargs): + """GetClientAreaOrigin() -> Point""" + return _windows.Frame_GetClientAreaOrigin(*args, **kwargs) + + def SendSizeEvent(*args, **kwargs): + """SendSizeEvent()""" + return _windows.Frame_SendSizeEvent(*args, **kwargs) + + def SetMenuBar(*args, **kwargs): + """SetMenuBar(MenuBar menubar)""" + return _windows.Frame_SetMenuBar(*args, **kwargs) + + def GetMenuBar(*args, **kwargs): + """GetMenuBar() -> MenuBar""" + return _windows.Frame_GetMenuBar(*args, **kwargs) + + def ProcessCommand(*args, **kwargs): + """ProcessCommand(int winid) -> bool""" + return _windows.Frame_ProcessCommand(*args, **kwargs) + Command = ProcessCommand - def CreateStatusBar(*args, **kwargs): return _windows.Frame_CreateStatusBar(*args, **kwargs) - def GetStatusBar(*args, **kwargs): return _windows.Frame_GetStatusBar(*args, **kwargs) - def SetStatusBar(*args, **kwargs): return _windows.Frame_SetStatusBar(*args, **kwargs) - def SetStatusText(*args, **kwargs): return _windows.Frame_SetStatusText(*args, **kwargs) - def SetStatusWidths(*args, **kwargs): return _windows.Frame_SetStatusWidths(*args, **kwargs) - def PushStatusText(*args, **kwargs): return _windows.Frame_PushStatusText(*args, **kwargs) - def PopStatusText(*args, **kwargs): return _windows.Frame_PopStatusText(*args, **kwargs) - def SetStatusBarPane(*args, **kwargs): return _windows.Frame_SetStatusBarPane(*args, **kwargs) - def GetStatusBarPane(*args, **kwargs): return _windows.Frame_GetStatusBarPane(*args, **kwargs) - def CreateToolBar(*args, **kwargs): return _windows.Frame_CreateToolBar(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _windows.Frame_GetToolBar(*args, **kwargs) - def SetToolBar(*args, **kwargs): return _windows.Frame_SetToolBar(*args, **kwargs) - def DoGiveHelp(*args, **kwargs): return _windows.Frame_DoGiveHelp(*args, **kwargs) - def DoMenuUpdates(*args, **kwargs): return _windows.Frame_DoMenuUpdates(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def CreateStatusBar(*args, **kwargs): + """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, + wxString name=wxPyStatusLineNameStr) -> StatusBar""" + return _windows.Frame_CreateStatusBar(*args, **kwargs) + + def GetStatusBar(*args, **kwargs): + """GetStatusBar() -> StatusBar""" + return _windows.Frame_GetStatusBar(*args, **kwargs) + + def SetStatusBar(*args, **kwargs): + """SetStatusBar(StatusBar statBar)""" + return _windows.Frame_SetStatusBar(*args, **kwargs) + + def SetStatusText(*args, **kwargs): + """SetStatusText(wxString text, int number=0)""" + return _windows.Frame_SetStatusText(*args, **kwargs) + + def SetStatusWidths(*args, **kwargs): + """SetStatusWidths(int widths, int widths_field)""" + return _windows.Frame_SetStatusWidths(*args, **kwargs) + + def PushStatusText(*args, **kwargs): + """PushStatusText(wxString text, int number=0)""" + return _windows.Frame_PushStatusText(*args, **kwargs) + + def PopStatusText(*args, **kwargs): + """PopStatusText(int number=0)""" + return _windows.Frame_PopStatusText(*args, **kwargs) + + def SetStatusBarPane(*args, **kwargs): + """SetStatusBarPane(int n)""" + return _windows.Frame_SetStatusBarPane(*args, **kwargs) + + def GetStatusBarPane(*args, **kwargs): + """GetStatusBarPane() -> int""" + return _windows.Frame_GetStatusBarPane(*args, **kwargs) + + def CreateToolBar(*args, **kwargs): + """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar""" + return _windows.Frame_CreateToolBar(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> wxToolBar""" + return _windows.Frame_GetToolBar(*args, **kwargs) + + def SetToolBar(*args, **kwargs): + """SetToolBar(wxToolBar toolbar)""" + return _windows.Frame_SetToolBar(*args, **kwargs) + + def DoGiveHelp(*args, **kwargs): + """DoGiveHelp(wxString text, bool show)""" + return _windows.Frame_DoGiveHelp(*args, **kwargs) + + def DoMenuUpdates(*args, **kwargs): + """DoMenuUpdates(Menu menu=None)""" + return _windows.Frame_DoMenuUpdates(*args, **kwargs) + class FramePtr(Frame): def __init__(self, this): @@ -203,6 +431,7 @@ class FramePtr(Frame): _windows.Frame_swigregister(FramePtr) def PreFrame(*args, **kwargs): + """PreFrame() -> Frame""" val = _windows.new_PreFrame(*args, **kwargs) val.thisown = 1 return val @@ -210,24 +439,61 @@ def PreFrame(*args, **kwargs): #--------------------------------------------------------------------------- class Dialog(TopLevelWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> Dialog""" newobj = _windows.new_Dialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.Dialog_Create(*args, **kwargs) - def SetReturnCode(*args, **kwargs): return _windows.Dialog_SetReturnCode(*args, **kwargs) - def GetReturnCode(*args, **kwargs): return _windows.Dialog_GetReturnCode(*args, **kwargs) - def CreateTextSizer(*args, **kwargs): return _windows.Dialog_CreateTextSizer(*args, **kwargs) - def CreateButtonSizer(*args, **kwargs): return _windows.Dialog_CreateButtonSizer(*args, **kwargs) - def SetModal(*args, **kwargs): return _windows.Dialog_SetModal(*args, **kwargs) - def IsModal(*args, **kwargs): return _windows.Dialog_IsModal(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.Dialog_ShowModal(*args, **kwargs) - def EndModal(*args, **kwargs): return _windows.Dialog_EndModal(*args, **kwargs) - def IsModalShowing(*args, **kwargs): return _windows.Dialog_IsModalShowing(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> bool""" + return _windows.Dialog_Create(*args, **kwargs) + + def SetReturnCode(*args, **kwargs): + """SetReturnCode(int returnCode)""" + return _windows.Dialog_SetReturnCode(*args, **kwargs) + + def GetReturnCode(*args, **kwargs): + """GetReturnCode() -> int""" + return _windows.Dialog_GetReturnCode(*args, **kwargs) + + def CreateTextSizer(*args, **kwargs): + """CreateTextSizer(wxString message) -> Sizer""" + return _windows.Dialog_CreateTextSizer(*args, **kwargs) + + def CreateButtonSizer(*args, **kwargs): + """CreateButtonSizer(long flags) -> Sizer""" + return _windows.Dialog_CreateButtonSizer(*args, **kwargs) + + def SetModal(*args, **kwargs): + """SetModal(bool flag)""" + return _windows.Dialog_SetModal(*args, **kwargs) + + def IsModal(*args, **kwargs): + """IsModal() -> bool""" + return _windows.Dialog_IsModal(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.Dialog_ShowModal(*args, **kwargs) + + def EndModal(*args, **kwargs): + """EndModal(int retCode)""" + return _windows.Dialog_EndModal(*args, **kwargs) + + def IsModalShowing(*args, **kwargs): + """IsModalShowing() -> bool""" + return _windows.Dialog_IsModalShowing(*args, **kwargs) + class DialogPtr(Dialog): def __init__(self, this): @@ -237,6 +503,7 @@ class DialogPtr(Dialog): _windows.Dialog_swigregister(DialogPtr) def PreDialog(*args, **kwargs): + """PreDialog() -> Dialog""" val = _windows.new_PreDialog(*args, **kwargs) val.thisown = 1 return val @@ -244,15 +511,25 @@ def PreDialog(*args, **kwargs): #--------------------------------------------------------------------------- class MiniFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> MiniFrame""" newobj = _windows.new_MiniFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MiniFrame_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MiniFrame_Create(*args, **kwargs) + class MiniFramePtr(MiniFrame): def __init__(self, this): @@ -262,6 +539,7 @@ class MiniFramePtr(MiniFrame): _windows.MiniFrame_swigregister(MiniFramePtr) def PreMiniFrame(*args, **kwargs): + """PreMiniFrame() -> MiniFrame""" val = _windows.new_PreMiniFrame(*args, **kwargs) val.thisown = 1 return val @@ -274,16 +552,26 @@ SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT class SplashScreenWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow""" newobj = _windows.new_SplashScreenWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetBitmap(*args, **kwargs): + """SetBitmap(wxBitmap bitmap)""" + return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs) + class SplashScreenWindowPtr(SplashScreenWindow): def __init__(self, this): @@ -293,17 +581,31 @@ class SplashScreenWindowPtr(SplashScreenWindow): _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) class SplashScreen(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxBitmap bitmap, long splashStyle, int milliseconds, + Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen""" newobj = _windows.new_SplashScreen(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetSplashStyle(*args, **kwargs): return _windows.SplashScreen_GetSplashStyle(*args, **kwargs) - def GetSplashWindow(*args, **kwargs): return _windows.SplashScreen_GetSplashWindow(*args, **kwargs) - def GetTimeout(*args, **kwargs): return _windows.SplashScreen_GetTimeout(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetSplashStyle(*args, **kwargs): + """GetSplashStyle() -> long""" + return _windows.SplashScreen_GetSplashStyle(*args, **kwargs) + + def GetSplashWindow(*args, **kwargs): + """GetSplashWindow() -> SplashScreenWindow""" + return _windows.SplashScreen_GetSplashWindow(*args, **kwargs) + + def GetTimeout(*args, **kwargs): + """GetTimeout() -> int""" + return _windows.SplashScreen_GetTimeout(*args, **kwargs) + class SplashScreenPtr(SplashScreen): def __init__(self, this): @@ -315,26 +617,65 @@ _windows.SplashScreen_swigregister(SplashScreenPtr) #--------------------------------------------------------------------------- class StatusBar(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar""" newobj = _windows.new_StatusBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.StatusBar_Create(*args, **kwargs) - def SetFieldsCount(*args, **kwargs): return _windows.StatusBar_SetFieldsCount(*args, **kwargs) - def GetFieldsCount(*args, **kwargs): return _windows.StatusBar_GetFieldsCount(*args, **kwargs) - def SetStatusText(*args, **kwargs): return _windows.StatusBar_SetStatusText(*args, **kwargs) - def GetStatusText(*args, **kwargs): return _windows.StatusBar_GetStatusText(*args, **kwargs) - def PushStatusText(*args, **kwargs): return _windows.StatusBar_PushStatusText(*args, **kwargs) - def PopStatusText(*args, **kwargs): return _windows.StatusBar_PopStatusText(*args, **kwargs) - def SetStatusWidths(*args, **kwargs): return _windows.StatusBar_SetStatusWidths(*args, **kwargs) - def GetFieldRect(*args, **kwargs): return _windows.StatusBar_GetFieldRect(*args, **kwargs) - def SetMinHeight(*args, **kwargs): return _windows.StatusBar_SetMinHeight(*args, **kwargs) - def GetBorderX(*args, **kwargs): return _windows.StatusBar_GetBorderX(*args, **kwargs) - def GetBorderY(*args, **kwargs): return _windows.StatusBar_GetBorderY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool""" + return _windows.StatusBar_Create(*args, **kwargs) + + def SetFieldsCount(*args, **kwargs): + """SetFieldsCount(int number=1)""" + return _windows.StatusBar_SetFieldsCount(*args, **kwargs) + + def GetFieldsCount(*args, **kwargs): + """GetFieldsCount() -> int""" + return _windows.StatusBar_GetFieldsCount(*args, **kwargs) + + def SetStatusText(*args, **kwargs): + """SetStatusText(wxString text, int number=0)""" + return _windows.StatusBar_SetStatusText(*args, **kwargs) + + def GetStatusText(*args, **kwargs): + """GetStatusText(int number=0) -> wxString""" + return _windows.StatusBar_GetStatusText(*args, **kwargs) + + def PushStatusText(*args, **kwargs): + """PushStatusText(wxString text, int number=0)""" + return _windows.StatusBar_PushStatusText(*args, **kwargs) + + def PopStatusText(*args, **kwargs): + """PopStatusText(int number=0)""" + return _windows.StatusBar_PopStatusText(*args, **kwargs) + + def SetStatusWidths(*args, **kwargs): + """SetStatusWidths(int widths, int widths_field)""" + return _windows.StatusBar_SetStatusWidths(*args, **kwargs) + + def GetFieldRect(*args, **kwargs): + """GetFieldRect(int i, Rect rect) -> bool""" + return _windows.StatusBar_GetFieldRect(*args, **kwargs) + + def SetMinHeight(*args, **kwargs): + """SetMinHeight(int height)""" + return _windows.StatusBar_SetMinHeight(*args, **kwargs) + + def GetBorderX(*args, **kwargs): + """GetBorderX() -> int""" + return _windows.StatusBar_GetBorderX(*args, **kwargs) + + def GetBorderY(*args, **kwargs): + """GetBorderY() -> int""" + return _windows.StatusBar_GetBorderY(*args, **kwargs) + class StatusBarPtr(StatusBar): def __init__(self, this): @@ -344,6 +685,7 @@ class StatusBarPtr(StatusBar): _windows.StatusBar_swigregister(StatusBarPtr) def PreStatusBar(*args, **kwargs): + """PreStatusBar() -> StatusBar""" val = _windows.new_PreStatusBar(*args, **kwargs) val.thisown = 1 return val @@ -364,37 +706,111 @@ SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN class SplitterWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow""" newobj = _windows.new_SplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SplitterWindow_Create(*args, **kwargs) - def GetWindow1(*args, **kwargs): return _windows.SplitterWindow_GetWindow1(*args, **kwargs) - def GetWindow2(*args, **kwargs): return _windows.SplitterWindow_GetWindow2(*args, **kwargs) - def SetSplitMode(*args, **kwargs): return _windows.SplitterWindow_SetSplitMode(*args, **kwargs) - def GetSplitMode(*args, **kwargs): return _windows.SplitterWindow_GetSplitMode(*args, **kwargs) - def Initialize(*args, **kwargs): return _windows.SplitterWindow_Initialize(*args, **kwargs) - def SplitVertically(*args, **kwargs): return _windows.SplitterWindow_SplitVertically(*args, **kwargs) - def SplitHorizontally(*args, **kwargs): return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs) - def Unsplit(*args, **kwargs): return _windows.SplitterWindow_Unsplit(*args, **kwargs) - def ReplaceWindow(*args, **kwargs): return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs) - def IsSplit(*args, **kwargs): return _windows.SplitterWindow_IsSplit(*args, **kwargs) - def SetSashSize(*args, **kwargs): return _windows.SplitterWindow_SetSashSize(*args, **kwargs) - def SetBorderSize(*args, **kwargs): return _windows.SplitterWindow_SetBorderSize(*args, **kwargs) - def GetSashSize(*args, **kwargs): return _windows.SplitterWindow_GetSashSize(*args, **kwargs) - def GetBorderSize(*args, **kwargs): return _windows.SplitterWindow_GetBorderSize(*args, **kwargs) - def SetSashPosition(*args, **kwargs): return _windows.SplitterWindow_SetSashPosition(*args, **kwargs) - def GetSashPosition(*args, **kwargs): return _windows.SplitterWindow_GetSashPosition(*args, **kwargs) - def SetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs) - def GetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs) - def SashHitTest(*args, **kwargs): return _windows.SplitterWindow_SashHitTest(*args, **kwargs) - def SizeWindows(*args, **kwargs): return _windows.SplitterWindow_SizeWindows(*args, **kwargs) - def SetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs) - def GetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool""" + return _windows.SplitterWindow_Create(*args, **kwargs) + + def GetWindow1(*args, **kwargs): + """GetWindow1() -> Window""" + return _windows.SplitterWindow_GetWindow1(*args, **kwargs) + + def GetWindow2(*args, **kwargs): + """GetWindow2() -> Window""" + return _windows.SplitterWindow_GetWindow2(*args, **kwargs) + + def SetSplitMode(*args, **kwargs): + """SetSplitMode(int mode)""" + return _windows.SplitterWindow_SetSplitMode(*args, **kwargs) + + def GetSplitMode(*args, **kwargs): + """GetSplitMode() -> wxSplitMode""" + return _windows.SplitterWindow_GetSplitMode(*args, **kwargs) + + def Initialize(*args, **kwargs): + """Initialize(Window window)""" + return _windows.SplitterWindow_Initialize(*args, **kwargs) + + def SplitVertically(*args, **kwargs): + """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool""" + return _windows.SplitterWindow_SplitVertically(*args, **kwargs) + + def SplitHorizontally(*args, **kwargs): + """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool""" + return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs) + + def Unsplit(*args, **kwargs): + """Unsplit(Window toRemove=None) -> bool""" + return _windows.SplitterWindow_Unsplit(*args, **kwargs) + + def ReplaceWindow(*args, **kwargs): + """ReplaceWindow(Window winOld, Window winNew) -> bool""" + return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs) + + def IsSplit(*args, **kwargs): + """IsSplit() -> bool""" + return _windows.SplitterWindow_IsSplit(*args, **kwargs) + + def SetSashSize(*args, **kwargs): + """SetSashSize(int width)""" + return _windows.SplitterWindow_SetSashSize(*args, **kwargs) + + def SetBorderSize(*args, **kwargs): + """SetBorderSize(int width)""" + return _windows.SplitterWindow_SetBorderSize(*args, **kwargs) + + def GetSashSize(*args, **kwargs): + """GetSashSize() -> int""" + return _windows.SplitterWindow_GetSashSize(*args, **kwargs) + + def GetBorderSize(*args, **kwargs): + """GetBorderSize() -> int""" + return _windows.SplitterWindow_GetBorderSize(*args, **kwargs) + + def SetSashPosition(*args, **kwargs): + """SetSashPosition(int position, bool redraw=True)""" + return _windows.SplitterWindow_SetSashPosition(*args, **kwargs) + + def GetSashPosition(*args, **kwargs): + """GetSashPosition() -> int""" + return _windows.SplitterWindow_GetSashPosition(*args, **kwargs) + + def SetMinimumPaneSize(*args, **kwargs): + """SetMinimumPaneSize(int min)""" + return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs) + + def GetMinimumPaneSize(*args, **kwargs): + """GetMinimumPaneSize() -> int""" + return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs) + + def SashHitTest(*args, **kwargs): + """SashHitTest(int x, int y, int tolerance=5) -> bool""" + return _windows.SplitterWindow_SashHitTest(*args, **kwargs) + + def SizeWindows(*args, **kwargs): + """SizeWindows()""" + return _windows.SplitterWindow_SizeWindows(*args, **kwargs) + + def SetNeedUpdating(*args, **kwargs): + """SetNeedUpdating(bool needUpdating)""" + return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs) + + def GetNeedUpdating(*args, **kwargs): + """GetNeedUpdating() -> bool""" + return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs) + class SplitterWindowPtr(SplitterWindow): def __init__(self, this): @@ -404,23 +820,41 @@ class SplitterWindowPtr(SplitterWindow): _windows.SplitterWindow_swigregister(SplitterWindowPtr) def PreSplitterWindow(*args, **kwargs): + """PreSplitterWindow() -> SplitterWindow""" val = _windows.new_PreSplitterWindow(*args, **kwargs) val.thisown = 1 return val class SplitterEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent""" newobj = _windows.new_SplitterEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetSashPosition(*args, **kwargs): return _windows.SplitterEvent_SetSashPosition(*args, **kwargs) - def GetSashPosition(*args, **kwargs): return _windows.SplitterEvent_GetSashPosition(*args, **kwargs) - def GetWindowBeingRemoved(*args, **kwargs): return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs) - def GetX(*args, **kwargs): return _windows.SplitterEvent_GetX(*args, **kwargs) - def GetY(*args, **kwargs): return _windows.SplitterEvent_GetY(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetSashPosition(*args, **kwargs): + """SetSashPosition(int pos)""" + return _windows.SplitterEvent_SetSashPosition(*args, **kwargs) + + def GetSashPosition(*args, **kwargs): + """GetSashPosition() -> int""" + return _windows.SplitterEvent_GetSashPosition(*args, **kwargs) + + def GetWindowBeingRemoved(*args, **kwargs): + """GetWindowBeingRemoved() -> Window""" + return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs) + + def GetX(*args, **kwargs): + """GetX() -> int""" + return _windows.SplitterEvent_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY() -> int""" + return _windows.SplitterEvent_GetY(*args, **kwargs) + class SplitterEventPtr(SplitterEvent): def __init__(self, this): @@ -454,34 +888,101 @@ SASH_BOTTOM = _windows.SASH_BOTTOM SASH_LEFT = _windows.SASH_LEFT SASH_NONE = _windows.SASH_NONE class SashWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> SashWindow""" newobj = _windows.new_SashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SashWindow_Create(*args, **kwargs) - def SetSashVisible(*args, **kwargs): return _windows.SashWindow_SetSashVisible(*args, **kwargs) - def GetSashVisible(*args, **kwargs): return _windows.SashWindow_GetSashVisible(*args, **kwargs) - def SetSashBorder(*args, **kwargs): return _windows.SashWindow_SetSashBorder(*args, **kwargs) - def HasBorder(*args, **kwargs): return _windows.SashWindow_HasBorder(*args, **kwargs) - def GetEdgeMargin(*args, **kwargs): return _windows.SashWindow_GetEdgeMargin(*args, **kwargs) - def SetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs) - def GetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs) - def SetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs) - def GetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs) - def SetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs) - def SetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs) - def GetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs) - def GetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs) - def SetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs) - def SetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs) - def GetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs) - def GetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs) - def SashHitTest(*args, **kwargs): return _windows.SashWindow_SashHitTest(*args, **kwargs) - def SizeWindows(*args, **kwargs): return _windows.SashWindow_SizeWindows(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> bool""" + return _windows.SashWindow_Create(*args, **kwargs) + + def SetSashVisible(*args, **kwargs): + """SetSashVisible(wxSashEdgePosition edge, bool sash)""" + return _windows.SashWindow_SetSashVisible(*args, **kwargs) + + def GetSashVisible(*args, **kwargs): + """GetSashVisible(wxSashEdgePosition edge) -> bool""" + return _windows.SashWindow_GetSashVisible(*args, **kwargs) + + def SetSashBorder(*args, **kwargs): + """SetSashBorder(wxSashEdgePosition edge, bool border)""" + return _windows.SashWindow_SetSashBorder(*args, **kwargs) + + def HasBorder(*args, **kwargs): + """HasBorder(wxSashEdgePosition edge) -> bool""" + return _windows.SashWindow_HasBorder(*args, **kwargs) + + def GetEdgeMargin(*args, **kwargs): + """GetEdgeMargin(wxSashEdgePosition edge) -> int""" + return _windows.SashWindow_GetEdgeMargin(*args, **kwargs) + + def SetDefaultBorderSize(*args, **kwargs): + """SetDefaultBorderSize(int width)""" + return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs) + + def GetDefaultBorderSize(*args, **kwargs): + """GetDefaultBorderSize() -> int""" + return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs) + + def SetExtraBorderSize(*args, **kwargs): + """SetExtraBorderSize(int width)""" + return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs) + + def GetExtraBorderSize(*args, **kwargs): + """GetExtraBorderSize() -> int""" + return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs) + + def SetMinimumSizeX(*args, **kwargs): + """SetMinimumSizeX(int min)""" + return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs) + + def SetMinimumSizeY(*args, **kwargs): + """SetMinimumSizeY(int min)""" + return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs) + + def GetMinimumSizeX(*args, **kwargs): + """GetMinimumSizeX() -> int""" + return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs) + + def GetMinimumSizeY(*args, **kwargs): + """GetMinimumSizeY() -> int""" + return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs) + + def SetMaximumSizeX(*args, **kwargs): + """SetMaximumSizeX(int max)""" + return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs) + + def SetMaximumSizeY(*args, **kwargs): + """SetMaximumSizeY(int max)""" + return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs) + + def GetMaximumSizeX(*args, **kwargs): + """GetMaximumSizeX() -> int""" + return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs) + + def GetMaximumSizeY(*args, **kwargs): + """GetMaximumSizeY() -> int""" + return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs) + + def SashHitTest(*args, **kwargs): + """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition""" + return _windows.SashWindow_SashHitTest(*args, **kwargs) + + def SizeWindows(*args, **kwargs): + """SizeWindows()""" + return _windows.SashWindow_SizeWindows(*args, **kwargs) + class SashWindowPtr(SashWindow): def __init__(self, this): @@ -491,6 +992,7 @@ class SashWindowPtr(SashWindow): _windows.SashWindow_swigregister(SashWindowPtr) def PreSashWindow(*args, **kwargs): + """PreSashWindow() -> SashWindow""" val = _windows.new_PreSashWindow(*args, **kwargs) val.thisown = 1 return val @@ -498,19 +1000,39 @@ def PreSashWindow(*args, **kwargs): SASH_STATUS_OK = _windows.SASH_STATUS_OK SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE class SashEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent""" newobj = _windows.new_SashEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetEdge(*args, **kwargs): return _windows.SashEvent_SetEdge(*args, **kwargs) - def GetEdge(*args, **kwargs): return _windows.SashEvent_GetEdge(*args, **kwargs) - def SetDragRect(*args, **kwargs): return _windows.SashEvent_SetDragRect(*args, **kwargs) - def GetDragRect(*args, **kwargs): return _windows.SashEvent_GetDragRect(*args, **kwargs) - def SetDragStatus(*args, **kwargs): return _windows.SashEvent_SetDragStatus(*args, **kwargs) - def GetDragStatus(*args, **kwargs): return _windows.SashEvent_GetDragStatus(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetEdge(*args, **kwargs): + """SetEdge(wxSashEdgePosition edge)""" + return _windows.SashEvent_SetEdge(*args, **kwargs) + + def GetEdge(*args, **kwargs): + """GetEdge() -> wxSashEdgePosition""" + return _windows.SashEvent_GetEdge(*args, **kwargs) + + def SetDragRect(*args, **kwargs): + """SetDragRect(Rect rect)""" + return _windows.SashEvent_SetDragRect(*args, **kwargs) + + def GetDragRect(*args, **kwargs): + """GetDragRect() -> Rect""" + return _windows.SashEvent_GetDragRect(*args, **kwargs) + + def SetDragStatus(*args, **kwargs): + """SetDragStatus(wxSashDragStatus status)""" + return _windows.SashEvent_SetDragStatus(*args, **kwargs) + + def GetDragStatus(*args, **kwargs): + """GetDragStatus() -> wxSashDragStatus""" + return _windows.SashEvent_GetDragStatus(*args, **kwargs) + class SashEventPtr(SashEvent): def __init__(self, this): @@ -539,23 +1061,55 @@ LAYOUT_QUERY = _windows.LAYOUT_QUERY wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT class QueryLayoutInfoEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> QueryLayoutInfoEvent""" newobj = _windows.new_QueryLayoutInfoEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs) - def GetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs) - def SetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs) - def GetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetRequestedLength(*args, **kwargs): + """SetRequestedLength(int length)""" + return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs) + + def GetRequestedLength(*args, **kwargs): + """GetRequestedLength() -> int""" + return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Size size)""" + return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> Size""" + return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(wxLayoutOrientation orient)""" + return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> wxLayoutOrientation""" + return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxLayoutAlignment align)""" + return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxLayoutAlignment""" + return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs) + class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): def __init__(self, this): @@ -565,17 +1119,31 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) class CalculateLayoutEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int id=0) -> CalculateLayoutEvent""" newobj = _windows.new_CalculateLayoutEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs) - def SetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs) - def GetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs) + + def SetRect(*args, **kwargs): + """SetRect(Rect rect)""" + return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs) + + def GetRect(*args, **kwargs): + """GetRect() -> Rect""" + return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs) + class CalculateLayoutEventPtr(CalculateLayoutEvent): def __init__(self, this): @@ -588,20 +1156,45 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) class SashLayoutWindow(SashWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow""" newobj = _windows.new_SashLayoutWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.SashLayoutWindow_Create(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs) - def SetDefaultSize(*args, **kwargs): return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> bool""" + return _windows.SashLayoutWindow_Create(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> wxLayoutAlignment""" + return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> wxLayoutOrientation""" + return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(wxLayoutAlignment alignment)""" + return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs) + + def SetDefaultSize(*args, **kwargs): + """SetDefaultSize(Size size)""" + return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(wxLayoutOrientation orientation)""" + return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs) + class SashLayoutWindowPtr(SashLayoutWindow): def __init__(self, this): @@ -611,25 +1204,39 @@ class SashLayoutWindowPtr(SashLayoutWindow): _windows.SashLayoutWindow_swigregister(SashLayoutWindowPtr) def PreSashLayoutWindow(*args, **kwargs): + """PreSashLayoutWindow() -> SashLayoutWindow""" val = _windows.new_PreSashLayoutWindow(*args, **kwargs) val.thisown = 1 return val class LayoutAlgorithm(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> LayoutAlgorithm""" newobj = _windows.new_LayoutAlgorithm(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_LayoutAlgorithm): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def LayoutMDIFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs) - def LayoutFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs) - def LayoutWindow(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def LayoutMDIFrame(*args, **kwargs): + """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs) + + def LayoutFrame(*args, **kwargs): + """LayoutFrame(Frame frame, Window mainWindow=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs) + + def LayoutWindow(*args, **kwargs): + """LayoutWindow(Window parent, Window mainWindow=None) -> bool""" + return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs) + class LayoutAlgorithmPtr(LayoutAlgorithm): def __init__(self, this): @@ -641,16 +1248,25 @@ _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) #--------------------------------------------------------------------------- class PopupWindow(core.Window): - def __init__(self, *args, **kwargs): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow""" newobj = _windows.new_PopupWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.PopupWindow_Create(*args, **kwargs) - def Position(*args, **kwargs): return _windows.PopupWindow_Position(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int flags=BORDER_NONE) -> bool""" + return _windows.PopupWindow_Create(*args, **kwargs) + + def Position(*args, **kwargs): + """Position(Point ptOrigin, Size size)""" + return _windows.PopupWindow_Position(*args, **kwargs) + class PopupWindowPtr(PopupWindow): def __init__(self, this): @@ -660,6 +1276,7 @@ class PopupWindowPtr(PopupWindow): _windows.PopupWindow_swigregister(PopupWindowPtr) def PrePopupWindow(*args, **kwargs): + """PrePopupWindow() -> PopupWindow""" val = _windows.new_PrePopupWindow(*args, **kwargs) val.thisown = 1 return val @@ -667,17 +1284,29 @@ def PrePopupWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PopupTransientWindow(PopupWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow""" newobj = _windows.new_PopupTransientWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow) - def _setCallbackInfo(*args, **kwargs): return _windows.PopupTransientWindow__setCallbackInfo(*args, **kwargs) - def Popup(*args, **kwargs): return _windows.PopupTransientWindow_Popup(*args, **kwargs) - def Dismiss(*args, **kwargs): return _windows.PopupTransientWindow_Dismiss(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PopupTransientWindow__setCallbackInfo(*args, **kwargs) + + def Popup(*args, **kwargs): + """Popup(Window focus=None)""" + return _windows.PopupTransientWindow_Popup(*args, **kwargs) + + def Dismiss(*args, **kwargs): + """Dismiss()""" + return _windows.PopupTransientWindow_Dismiss(*args, **kwargs) + class PopupTransientWindowPtr(PopupTransientWindow): def __init__(self, this): @@ -687,6 +1316,7 @@ class PopupTransientWindowPtr(PopupTransientWindow): _windows.PopupTransientWindow_swigregister(PopupTransientWindowPtr) def PrePopupTransientWindow(*args, **kwargs): + """PrePopupTransientWindow() -> PopupTransientWindow""" val = _windows.new_PrePopupTransientWindow(*args, **kwargs) val.thisown = 1 return val @@ -694,16 +1324,25 @@ def PrePopupTransientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class TipWindow(PopupTransientWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow""" newobj = _windows.new_TipWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetBoundingRect(*args, **kwargs): return _windows.TipWindow_SetBoundingRect(*args, **kwargs) - def Close(*args, **kwargs): return _windows.TipWindow_Close(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetBoundingRect(*args, **kwargs): + """SetBoundingRect(Rect rectBound)""" + return _windows.TipWindow_SetBoundingRect(*args, **kwargs) + + def Close(*args, **kwargs): + """Close()""" + return _windows.TipWindow_Close(*args, **kwargs) + class TipWindowPtr(TipWindow): def __init__(self, this): @@ -715,29 +1354,79 @@ _windows.TipWindow_swigregister(TipWindowPtr) #--------------------------------------------------------------------------- class VScrolledWindow(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow""" newobj = _windows.new_VScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow) - def _setCallbackInfo(*args, **kwargs): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.VScrolledWindow_Create(*args, **kwargs) - def SetLineCount(*args, **kwargs): return _windows.VScrolledWindow_SetLineCount(*args, **kwargs) - def ScrollToLine(*args, **kwargs): return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs) - def ScrollLines(*args, **kwargs): return _windows.VScrolledWindow_ScrollLines(*args, **kwargs) - def ScrollPages(*args, **kwargs): return _windows.VScrolledWindow_ScrollPages(*args, **kwargs) - def RefreshLine(*args, **kwargs): return _windows.VScrolledWindow_RefreshLine(*args, **kwargs) - def RefreshLines(*args, **kwargs): return _windows.VScrolledWindow_RefreshLines(*args, **kwargs) - def HitTestXT(*args, **kwargs): return _windows.VScrolledWindow_HitTestXT(*args, **kwargs) - def HitTest(*args, **kwargs): return _windows.VScrolledWindow_HitTest(*args, **kwargs) - def RefreshAll(*args, **kwargs): return _windows.VScrolledWindow_RefreshAll(*args, **kwargs) - def GetLineCount(*args, **kwargs): return _windows.VScrolledWindow_GetLineCount(*args, **kwargs) - def GetFirstVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) - def GetLastVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) - def IsVisible(*args, **kwargs): return _windows.VScrolledWindow_IsVisible(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool""" + return _windows.VScrolledWindow_Create(*args, **kwargs) + + def SetLineCount(*args, **kwargs): + """SetLineCount(size_t count)""" + return _windows.VScrolledWindow_SetLineCount(*args, **kwargs) + + def ScrollToLine(*args, **kwargs): + """ScrollToLine(size_t line) -> bool""" + return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs) + + def ScrollLines(*args, **kwargs): + """ScrollLines(int lines) -> bool""" + return _windows.VScrolledWindow_ScrollLines(*args, **kwargs) + + def ScrollPages(*args, **kwargs): + """ScrollPages(int pages) -> bool""" + return _windows.VScrolledWindow_ScrollPages(*args, **kwargs) + + def RefreshLine(*args, **kwargs): + """RefreshLine(size_t line)""" + return _windows.VScrolledWindow_RefreshLine(*args, **kwargs) + + def RefreshLines(*args, **kwargs): + """RefreshLines(size_t from, size_t to)""" + return _windows.VScrolledWindow_RefreshLines(*args, **kwargs) + + def HitTestXT(*args, **kwargs): + """HitTestXT(int x, int y) -> int""" + return _windows.VScrolledWindow_HitTestXT(*args, **kwargs) + + def HitTest(*args, **kwargs): + """HitTest(Point pt) -> int""" + return _windows.VScrolledWindow_HitTest(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll()""" + return _windows.VScrolledWindow_RefreshAll(*args, **kwargs) + + def GetLineCount(*args, **kwargs): + """GetLineCount() -> size_t""" + return _windows.VScrolledWindow_GetLineCount(*args, **kwargs) + + def GetFirstVisibleLine(*args, **kwargs): + """GetFirstVisibleLine() -> size_t""" + return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) + + def GetLastVisibleLine(*args, **kwargs): + """GetLastVisibleLine() -> size_t""" + return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(size_t line) -> bool""" + return _windows.VScrolledWindow_IsVisible(*args, **kwargs) + class VScrolledWindowPtr(VScrolledWindow): def __init__(self, this): @@ -747,42 +1436,117 @@ class VScrolledWindowPtr(VScrolledWindow): _windows.VScrolledWindow_swigregister(VScrolledWindowPtr) def PreVScrolledWindow(*args, **kwargs): + """PreVScrolledWindow() -> VScrolledWindow""" val = _windows.new_PreVScrolledWindow(*args, **kwargs) val.thisown = 1 return val class VListBox(VScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox""" newobj = _windows.new_VListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, VListBox) - def _setCallbackInfo(*args, **kwargs): return _windows.VListBox__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.VListBox_Create(*args, **kwargs) - def GetItemCount(*args, **kwargs): return _windows.VListBox_GetItemCount(*args, **kwargs) - def HasMultipleSelection(*args, **kwargs): return _windows.VListBox_HasMultipleSelection(*args, **kwargs) - def GetSelection(*args, **kwargs): return _windows.VListBox_GetSelection(*args, **kwargs) - def IsCurrent(*args, **kwargs): return _windows.VListBox_IsCurrent(*args, **kwargs) - def IsSelected(*args, **kwargs): return _windows.VListBox_IsSelected(*args, **kwargs) - def GetSelectedCount(*args, **kwargs): return _windows.VListBox_GetSelectedCount(*args, **kwargs) - def GetFirstSelected(*args, **kwargs): return _windows.VListBox_GetFirstSelected(*args, **kwargs) - def GetNextSelected(*args, **kwargs): return _windows.VListBox_GetNextSelected(*args, **kwargs) - def GetMargins(*args, **kwargs): return _windows.VListBox_GetMargins(*args, **kwargs) - def GetSelectionBackground(*args, **kwargs): return _windows.VListBox_GetSelectionBackground(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _windows.VListBox_SetItemCount(*args, **kwargs) - def Clear(*args, **kwargs): return _windows.VListBox_Clear(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.VListBox_SetSelection(*args, **kwargs) - def Select(*args, **kwargs): return _windows.VListBox_Select(*args, **kwargs) - def SelectRange(*args, **kwargs): return _windows.VListBox_SelectRange(*args, **kwargs) - def Toggle(*args, **kwargs): return _windows.VListBox_Toggle(*args, **kwargs) - def SelectAll(*args, **kwargs): return _windows.VListBox_SelectAll(*args, **kwargs) - def DeselectAll(*args, **kwargs): return _windows.VListBox_DeselectAll(*args, **kwargs) - def SetMargins(*args, **kwargs): return _windows.VListBox_SetMargins(*args, **kwargs) - def SetMarginsXY(*args, **kwargs): return _windows.VListBox_SetMarginsXY(*args, **kwargs) - def SetSelectionBackground(*args, **kwargs): return _windows.VListBox_SetSelectionBackground(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.VListBox__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + return _windows.VListBox_Create(*args, **kwargs) + + def GetItemCount(*args, **kwargs): + """GetItemCount() -> size_t""" + return _windows.VListBox_GetItemCount(*args, **kwargs) + + def HasMultipleSelection(*args, **kwargs): + """HasMultipleSelection() -> bool""" + return _windows.VListBox_HasMultipleSelection(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _windows.VListBox_GetSelection(*args, **kwargs) + + def IsCurrent(*args, **kwargs): + """IsCurrent(size_t item) -> bool""" + return _windows.VListBox_IsCurrent(*args, **kwargs) + + def IsSelected(*args, **kwargs): + """IsSelected(size_t item) -> bool""" + return _windows.VListBox_IsSelected(*args, **kwargs) + + def GetSelectedCount(*args, **kwargs): + """GetSelectedCount() -> size_t""" + return _windows.VListBox_GetSelectedCount(*args, **kwargs) + + def GetFirstSelected(*args, **kwargs): + """GetFirstSelected(unsigned long cookie) -> int""" + return _windows.VListBox_GetFirstSelected(*args, **kwargs) + + def GetNextSelected(*args, **kwargs): + """GetNextSelected(unsigned long cookie) -> int""" + return _windows.VListBox_GetNextSelected(*args, **kwargs) + + def GetMargins(*args, **kwargs): + """GetMargins() -> Point""" + return _windows.VListBox_GetMargins(*args, **kwargs) + + def GetSelectionBackground(*args, **kwargs): + """GetSelectionBackground() -> wxColour""" + return _windows.VListBox_GetSelectionBackground(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(size_t count)""" + return _windows.VListBox_SetItemCount(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _windows.VListBox_Clear(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int selection)""" + return _windows.VListBox_SetSelection(*args, **kwargs) + + def Select(*args, **kwargs): + """Select(size_t item, bool select=True) -> bool""" + return _windows.VListBox_Select(*args, **kwargs) + + def SelectRange(*args, **kwargs): + """SelectRange(size_t from, size_t to) -> bool""" + return _windows.VListBox_SelectRange(*args, **kwargs) + + def Toggle(*args, **kwargs): + """Toggle(size_t item)""" + return _windows.VListBox_Toggle(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll() -> bool""" + return _windows.VListBox_SelectAll(*args, **kwargs) + + def DeselectAll(*args, **kwargs): + """DeselectAll() -> bool""" + return _windows.VListBox_DeselectAll(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(Point pt)""" + return _windows.VListBox_SetMargins(*args, **kwargs) + + def SetMarginsXY(*args, **kwargs): + """SetMarginsXY(int x, int y)""" + return _windows.VListBox_SetMarginsXY(*args, **kwargs) + + def SetSelectionBackground(*args, **kwargs): + """SetSelectionBackground(wxColour col)""" + return _windows.VListBox_SetSelectionBackground(*args, **kwargs) + class VListBoxPtr(VListBox): def __init__(self, this): @@ -792,23 +1556,41 @@ class VListBoxPtr(VListBox): _windows.VListBox_swigregister(VListBoxPtr) def PreVListBox(*args, **kwargs): + """PreVListBox() -> VListBox""" val = _windows.new_PreVListBox(*args, **kwargs) val.thisown = 1 return val class HtmlListBox(VListBox): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox""" newobj = _windows.new_HtmlListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox) - def _setCallbackInfo(*args, **kwargs): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) - def Create(*args, **kwargs): return _windows.HtmlListBox_Create(*args, **kwargs) - def RefreshAll(*args, **kwargs): return _windows.HtmlListBox_RefreshAll(*args, **kwargs) - def SetItemCount(*args, **kwargs): return _windows.HtmlListBox_SetItemCount(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + return _windows.HtmlListBox_Create(*args, **kwargs) + + def RefreshAll(*args, **kwargs): + """RefreshAll()""" + return _windows.HtmlListBox_RefreshAll(*args, **kwargs) + + def SetItemCount(*args, **kwargs): + """SetItemCount(size_t count)""" + return _windows.HtmlListBox_SetItemCount(*args, **kwargs) + class HtmlListBoxPtr(HtmlListBox): def __init__(self, this): @@ -818,6 +1600,7 @@ class HtmlListBoxPtr(HtmlListBox): _windows.HtmlListBox_swigregister(HtmlListBoxPtr) def PreHtmlListBox(*args, **kwargs): + """PreHtmlListBox() -> HtmlListBox""" val = _windows.new_PreHtmlListBox(*args, **kwargs) val.thisown = 1 return val @@ -825,22 +1608,41 @@ def PreHtmlListBox(*args, **kwargs): #--------------------------------------------------------------------------- class TaskBarIcon(core.EvtHandler): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> TaskBarIcon""" newobj = _windows.new_TaskBarIcon(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_TaskBarIcon): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def IsOk(*args, **kwargs): return _windows.TaskBarIcon_IsOk(*args, **kwargs) - def IsIconInstalled(*args, **kwargs): return _windows.TaskBarIcon_IsIconInstalled(*args, **kwargs) - def SetIcon(*args, **kwargs): return _windows.TaskBarIcon_SetIcon(*args, **kwargs) - def RemoveIcon(*args, **kwargs): return _windows.TaskBarIcon_RemoveIcon(*args, **kwargs) - def PopupMenu(*args, **kwargs): return _windows.TaskBarIcon_PopupMenu(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def IsOk(*args, **kwargs): + """IsOk() -> bool""" + return _windows.TaskBarIcon_IsOk(*args, **kwargs) + + def IsIconInstalled(*args, **kwargs): + """IsIconInstalled() -> bool""" + return _windows.TaskBarIcon_IsIconInstalled(*args, **kwargs) + + def SetIcon(*args, **kwargs): + """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool""" + return _windows.TaskBarIcon_SetIcon(*args, **kwargs) + + def RemoveIcon(*args, **kwargs): + """RemoveIcon(void ??) -> bool""" + return _windows.TaskBarIcon_RemoveIcon(*args, **kwargs) + + def PopupMenu(*args, **kwargs): + """PopupMenu(Menu menu) -> bool""" + return _windows.TaskBarIcon_PopupMenu(*args, **kwargs) + class TaskBarIconPtr(TaskBarIcon): def __init__(self, this): @@ -850,13 +1652,15 @@ class TaskBarIconPtr(TaskBarIcon): _windows.TaskBarIcon_swigregister(TaskBarIconPtr) class TaskBarIconEvent(core.Event): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent""" newobj = _windows.new_TaskBarIconEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __repr__(self): - return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class TaskBarIconEventPtr(TaskBarIconEvent): def __init__(self, this): @@ -883,23 +1687,45 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- class ColourData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> ColourData""" newobj = _windows.new_ColourData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_ColourData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetChooseFull(*args, **kwargs): return _windows.ColourData_GetChooseFull(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.ColourData_GetColour(*args, **kwargs) - def GetCustomColour(*args, **kwargs): return _windows.ColourData_GetCustomColour(*args, **kwargs) - def SetChooseFull(*args, **kwargs): return _windows.ColourData_SetChooseFull(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.ColourData_SetColour(*args, **kwargs) - def SetCustomColour(*args, **kwargs): return _windows.ColourData_SetCustomColour(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetChooseFull(*args, **kwargs): + """GetChooseFull() -> bool""" + return _windows.ColourData_GetChooseFull(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> wxColour""" + return _windows.ColourData_GetColour(*args, **kwargs) + + def GetCustomColour(*args, **kwargs): + """GetCustomColour(int i) -> wxColour""" + return _windows.ColourData_GetCustomColour(*args, **kwargs) + + def SetChooseFull(*args, **kwargs): + """SetChooseFull(int flag)""" + return _windows.ColourData_SetChooseFull(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxColour colour)""" + return _windows.ColourData_SetColour(*args, **kwargs) + + def SetCustomColour(*args, **kwargs): + """SetCustomColour(int i, wxColour colour)""" + return _windows.ColourData_SetCustomColour(*args, **kwargs) + class ColourDataPtr(ColourData): def __init__(self, this): @@ -909,16 +1735,25 @@ class ColourDataPtr(ColourData): _windows.ColourData_swigregister(ColourDataPtr) class ColourDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, ColourData data=None) -> ColourDialog""" newobj = _windows.new_ColourDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetColourData(*args, **kwargs): return _windows.ColourDialog_GetColourData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.ColourDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetColourData(*args, **kwargs): + """GetColourData() -> ColourData""" + return _windows.ColourDialog_GetColourData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.ColourDialog_ShowModal(*args, **kwargs) + class ColourDialogPtr(ColourDialog): def __init__(self, this): @@ -928,20 +1763,44 @@ class ColourDialogPtr(ColourDialog): _windows.ColourDialog_swigregister(ColourDialogPtr) class DirDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr, + wxString defaultPath=wxPyEmptyString, + long style=0, Point pos=DefaultPosition, Size size=DefaultSize, + wxString name=wxPyDirDialogNameStr) -> DirDialog""" newobj = _windows.new_DirDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPath(*args, **kwargs): return _windows.DirDialog_GetPath(*args, **kwargs) - def GetMessage(*args, **kwargs): return _windows.DirDialog_GetMessage(*args, **kwargs) - def GetStyle(*args, **kwargs): return _windows.DirDialog_GetStyle(*args, **kwargs) - def SetMessage(*args, **kwargs): return _windows.DirDialog_SetMessage(*args, **kwargs) - def SetPath(*args, **kwargs): return _windows.DirDialog_SetPath(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.DirDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _windows.DirDialog_GetPath(*args, **kwargs) + + def GetMessage(*args, **kwargs): + """GetMessage() -> wxString""" + return _windows.DirDialog_GetMessage(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _windows.DirDialog_GetStyle(*args, **kwargs) + + def SetMessage(*args, **kwargs): + """SetMessage(wxString message)""" + return _windows.DirDialog_SetMessage(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _windows.DirDialog_SetPath(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.DirDialog_ShowModal(*args, **kwargs) + class DirDialogPtr(DirDialog): def __init__(self, this): @@ -951,30 +1810,85 @@ class DirDialogPtr(DirDialog): _windows.DirDialog_swigregister(DirDialogPtr) class FileDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr, + wxString defaultDir=wxPyEmptyString, + wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + long style=0, + Point pos=DefaultPosition) -> FileDialog""" newobj = _windows.new_FileDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetMessage(*args, **kwargs): return _windows.FileDialog_SetMessage(*args, **kwargs) - def SetPath(*args, **kwargs): return _windows.FileDialog_SetPath(*args, **kwargs) - def SetDirectory(*args, **kwargs): return _windows.FileDialog_SetDirectory(*args, **kwargs) - def SetFilename(*args, **kwargs): return _windows.FileDialog_SetFilename(*args, **kwargs) - def SetWildcard(*args, **kwargs): return _windows.FileDialog_SetWildcard(*args, **kwargs) - def SetStyle(*args, **kwargs): return _windows.FileDialog_SetStyle(*args, **kwargs) - def SetFilterIndex(*args, **kwargs): return _windows.FileDialog_SetFilterIndex(*args, **kwargs) - def GetMessage(*args, **kwargs): return _windows.FileDialog_GetMessage(*args, **kwargs) - def GetPath(*args, **kwargs): return _windows.FileDialog_GetPath(*args, **kwargs) - def GetDirectory(*args, **kwargs): return _windows.FileDialog_GetDirectory(*args, **kwargs) - def GetFilename(*args, **kwargs): return _windows.FileDialog_GetFilename(*args, **kwargs) - def GetWildcard(*args, **kwargs): return _windows.FileDialog_GetWildcard(*args, **kwargs) - def GetStyle(*args, **kwargs): return _windows.FileDialog_GetStyle(*args, **kwargs) - def GetFilterIndex(*args, **kwargs): return _windows.FileDialog_GetFilterIndex(*args, **kwargs) - def GetFilenames(*args, **kwargs): return _windows.FileDialog_GetFilenames(*args, **kwargs) - def GetPaths(*args, **kwargs): return _windows.FileDialog_GetPaths(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetMessage(*args, **kwargs): + """SetMessage(wxString message)""" + return _windows.FileDialog_SetMessage(*args, **kwargs) + + def SetPath(*args, **kwargs): + """SetPath(wxString path)""" + return _windows.FileDialog_SetPath(*args, **kwargs) + + def SetDirectory(*args, **kwargs): + """SetDirectory(wxString dir)""" + return _windows.FileDialog_SetDirectory(*args, **kwargs) + + def SetFilename(*args, **kwargs): + """SetFilename(wxString name)""" + return _windows.FileDialog_SetFilename(*args, **kwargs) + + def SetWildcard(*args, **kwargs): + """SetWildcard(wxString wildCard)""" + return _windows.FileDialog_SetWildcard(*args, **kwargs) + + def SetStyle(*args, **kwargs): + """SetStyle(long style)""" + return _windows.FileDialog_SetStyle(*args, **kwargs) + + def SetFilterIndex(*args, **kwargs): + """SetFilterIndex(int filterIndex)""" + return _windows.FileDialog_SetFilterIndex(*args, **kwargs) + + def GetMessage(*args, **kwargs): + """GetMessage() -> wxString""" + return _windows.FileDialog_GetMessage(*args, **kwargs) + + def GetPath(*args, **kwargs): + """GetPath() -> wxString""" + return _windows.FileDialog_GetPath(*args, **kwargs) + + def GetDirectory(*args, **kwargs): + """GetDirectory() -> wxString""" + return _windows.FileDialog_GetDirectory(*args, **kwargs) + + def GetFilename(*args, **kwargs): + """GetFilename() -> wxString""" + return _windows.FileDialog_GetFilename(*args, **kwargs) + + def GetWildcard(*args, **kwargs): + """GetWildcard() -> wxString""" + return _windows.FileDialog_GetWildcard(*args, **kwargs) + + def GetStyle(*args, **kwargs): + """GetStyle() -> long""" + return _windows.FileDialog_GetStyle(*args, **kwargs) + + def GetFilterIndex(*args, **kwargs): + """GetFilterIndex() -> int""" + return _windows.FileDialog_GetFilterIndex(*args, **kwargs) + + def GetFilenames(*args, **kwargs): + """GetFilenames() -> PyObject""" + return _windows.FileDialog_GetFilenames(*args, **kwargs) + + def GetPaths(*args, **kwargs): + """GetPaths() -> PyObject""" + return _windows.FileDialog_GetPaths(*args, **kwargs) + class FileDialogPtr(FileDialog): def __init__(self, this): @@ -985,16 +1899,27 @@ _windows.FileDialog_swigregister(FileDialogPtr) CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE class MultiChoiceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption, + int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> MultiChoiceDialog""" newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def SetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs) - def GetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetSelections(*args, **kwargs): + """SetSelections(wxArrayInt selections)""" + return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs) + + def GetSelections(*args, **kwargs): + """GetSelections() -> PyObject""" + return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs) + class MultiChoiceDialogPtr(MultiChoiceDialog): def __init__(self, this): @@ -1004,18 +1929,35 @@ class MultiChoiceDialogPtr(MultiChoiceDialog): _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) class SingleChoiceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption, + int choices, wxString choices_array, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> SingleChoiceDialog""" newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs) - def GetStringSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetSelection(*args, **kwargs): + """GetSelection() -> int""" + return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs) + + def GetStringSelection(*args, **kwargs): + """GetStringSelection() -> wxString""" + return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(int sel)""" + return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs) + class SingleChoiceDialogPtr(SingleChoiceDialog): def __init__(self, this): @@ -1025,17 +1967,32 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) class TextEntryDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, + wxString defaultValue=wxPyEmptyString, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> TextEntryDialog""" newobj = _windows.new_TextEntryDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _windows.TextEntryDialog_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _windows.TextEntryDialog_SetValue(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.TextEntryDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> wxString""" + return _windows.TextEntryDialog_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(wxString value)""" + return _windows.TextEntryDialog_SetValue(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.TextEntryDialog_ShowModal(*args, **kwargs) + class TextEntryDialogPtr(TextEntryDialog): def __init__(self, this): @@ -1045,30 +2002,73 @@ class TextEntryDialogPtr(TextEntryDialog): _windows.TextEntryDialog_swigregister(TextEntryDialogPtr) class FontData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> FontData""" newobj = _windows.new_FontData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_FontData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def EnableEffects(*args, **kwargs): return _windows.FontData_EnableEffects(*args, **kwargs) - def GetAllowSymbols(*args, **kwargs): return _windows.FontData_GetAllowSymbols(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.FontData_GetColour(*args, **kwargs) - def GetChosenFont(*args, **kwargs): return _windows.FontData_GetChosenFont(*args, **kwargs) - def GetEnableEffects(*args, **kwargs): return _windows.FontData_GetEnableEffects(*args, **kwargs) - def GetInitialFont(*args, **kwargs): return _windows.FontData_GetInitialFont(*args, **kwargs) - def GetShowHelp(*args, **kwargs): return _windows.FontData_GetShowHelp(*args, **kwargs) - def SetAllowSymbols(*args, **kwargs): return _windows.FontData_SetAllowSymbols(*args, **kwargs) - def SetChosenFont(*args, **kwargs): return _windows.FontData_SetChosenFont(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.FontData_SetColour(*args, **kwargs) - def SetInitialFont(*args, **kwargs): return _windows.FontData_SetInitialFont(*args, **kwargs) - def SetRange(*args, **kwargs): return _windows.FontData_SetRange(*args, **kwargs) - def SetShowHelp(*args, **kwargs): return _windows.FontData_SetShowHelp(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def EnableEffects(*args, **kwargs): + """EnableEffects(bool enable)""" + return _windows.FontData_EnableEffects(*args, **kwargs) + + def GetAllowSymbols(*args, **kwargs): + """GetAllowSymbols() -> bool""" + return _windows.FontData_GetAllowSymbols(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> wxColour""" + return _windows.FontData_GetColour(*args, **kwargs) + + def GetChosenFont(*args, **kwargs): + """GetChosenFont() -> wxFont""" + return _windows.FontData_GetChosenFont(*args, **kwargs) + + def GetEnableEffects(*args, **kwargs): + """GetEnableEffects() -> bool""" + return _windows.FontData_GetEnableEffects(*args, **kwargs) + + def GetInitialFont(*args, **kwargs): + """GetInitialFont() -> wxFont""" + return _windows.FontData_GetInitialFont(*args, **kwargs) + + def GetShowHelp(*args, **kwargs): + """GetShowHelp() -> bool""" + return _windows.FontData_GetShowHelp(*args, **kwargs) + + def SetAllowSymbols(*args, **kwargs): + """SetAllowSymbols(bool allowSymbols)""" + return _windows.FontData_SetAllowSymbols(*args, **kwargs) + + def SetChosenFont(*args, **kwargs): + """SetChosenFont(wxFont font)""" + return _windows.FontData_SetChosenFont(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(wxColour colour)""" + return _windows.FontData_SetColour(*args, **kwargs) + + def SetInitialFont(*args, **kwargs): + """SetInitialFont(wxFont font)""" + return _windows.FontData_SetInitialFont(*args, **kwargs) + + def SetRange(*args, **kwargs): + """SetRange(int min, int max)""" + return _windows.FontData_SetRange(*args, **kwargs) + + def SetShowHelp(*args, **kwargs): + """SetShowHelp(bool showHelp)""" + return _windows.FontData_SetShowHelp(*args, **kwargs) + class FontDataPtr(FontData): def __init__(self, this): @@ -1078,16 +2078,25 @@ class FontDataPtr(FontData): _windows.FontData_swigregister(FontDataPtr) class FontDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, FontData data) -> FontDialog""" newobj = _windows.new_FontDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetFontData(*args, **kwargs): return _windows.FontDialog_GetFontData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.FontDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetFontData(*args, **kwargs): + """GetFontData() -> FontData""" + return _windows.FontDialog_GetFontData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.FontDialog_ShowModal(*args, **kwargs) + class FontDialogPtr(FontDialog): def __init__(self, this): @@ -1097,15 +2106,23 @@ class FontDialogPtr(FontDialog): _windows.FontDialog_swigregister(FontDialogPtr) class MessageDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> MessageDialog""" newobj = _windows.new_MessageDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def ShowModal(*args, **kwargs): return _windows.MessageDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.MessageDialog_ShowModal(*args, **kwargs) + class MessageDialogPtr(MessageDialog): def __init__(self, this): @@ -1115,16 +2132,26 @@ class MessageDialogPtr(MessageDialog): _windows.MessageDialog_swigregister(MessageDialogPtr) class ProgressDialog(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title, wxString message, int maximum=100, + Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog""" newobj = _windows.new_ProgressDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Update(*args, **kwargs): return _windows.ProgressDialog_Update(*args, **kwargs) - def Resume(*args, **kwargs): return _windows.ProgressDialog_Resume(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Update(*args, **kwargs): + """Update(int value, wxString newmsg=wxPyEmptyString) -> bool""" + return _windows.ProgressDialog_Update(*args, **kwargs) + + def Resume(*args, **kwargs): + """Resume()""" + return _windows.ProgressDialog_Resume(*args, **kwargs) + class ProgressDialogPtr(ProgressDialog): def __init__(self, this): @@ -1159,20 +2186,43 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE class FindDialogEvent(core.CommandEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent""" newobj = _windows.new_FindDialogEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetFlags(*args, **kwargs): return _windows.FindDialogEvent_GetFlags(*args, **kwargs) - def GetFindString(*args, **kwargs): return _windows.FindDialogEvent_GetFindString(*args, **kwargs) - def GetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs) - def GetDialog(*args, **kwargs): return _windows.FindDialogEvent_GetDialog(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.FindDialogEvent_SetFlags(*args, **kwargs) - def SetFindString(*args, **kwargs): return _windows.FindDialogEvent_SetFindString(*args, **kwargs) - def SetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.FindDialogEvent_GetFlags(*args, **kwargs) + + def GetFindString(*args, **kwargs): + """GetFindString() -> wxString""" + return _windows.FindDialogEvent_GetFindString(*args, **kwargs) + + def GetReplaceString(*args, **kwargs): + """GetReplaceString() -> wxString""" + return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs) + + def GetDialog(*args, **kwargs): + """GetDialog() -> FindReplaceDialog""" + return _windows.FindDialogEvent_GetDialog(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.FindDialogEvent_SetFlags(*args, **kwargs) + + def SetFindString(*args, **kwargs): + """SetFindString(wxString str)""" + return _windows.FindDialogEvent_SetFindString(*args, **kwargs) + + def SetReplaceString(*args, **kwargs): + """SetReplaceString(wxString str)""" + return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs) + class FindDialogEventPtr(FindDialogEvent): def __init__(self, this): @@ -1182,23 +2232,45 @@ class FindDialogEventPtr(FindDialogEvent): _windows.FindDialogEvent_swigregister(FindDialogEventPtr) class FindReplaceData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int flags=0) -> FindReplaceData""" newobj = _windows.new_FindReplaceData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_FindReplaceData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetFindString(*args, **kwargs): return _windows.FindReplaceData_GetFindString(*args, **kwargs) - def GetReplaceString(*args, **kwargs): return _windows.FindReplaceData_GetReplaceString(*args, **kwargs) - def GetFlags(*args, **kwargs): return _windows.FindReplaceData_GetFlags(*args, **kwargs) - def SetFlags(*args, **kwargs): return _windows.FindReplaceData_SetFlags(*args, **kwargs) - def SetFindString(*args, **kwargs): return _windows.FindReplaceData_SetFindString(*args, **kwargs) - def SetReplaceString(*args, **kwargs): return _windows.FindReplaceData_SetReplaceString(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetFindString(*args, **kwargs): + """GetFindString() -> wxString""" + return _windows.FindReplaceData_GetFindString(*args, **kwargs) + + def GetReplaceString(*args, **kwargs): + """GetReplaceString() -> wxString""" + return _windows.FindReplaceData_GetReplaceString(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _windows.FindReplaceData_GetFlags(*args, **kwargs) + + def SetFlags(*args, **kwargs): + """SetFlags(int flags)""" + return _windows.FindReplaceData_SetFlags(*args, **kwargs) + + def SetFindString(*args, **kwargs): + """SetFindString(wxString str)""" + return _windows.FindReplaceData_SetFindString(*args, **kwargs) + + def SetReplaceString(*args, **kwargs): + """SetReplaceString(wxString str)""" + return _windows.FindReplaceData_SetReplaceString(*args, **kwargs) + class FindReplaceDataPtr(FindReplaceData): def __init__(self, this): @@ -1208,17 +2280,31 @@ class FindReplaceDataPtr(FindReplaceData): _windows.FindReplaceData_swigregister(FindReplaceDataPtr) class FindReplaceDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, FindReplaceData data, wxString title, + int style=0) -> FindReplaceDialog""" newobj = _windows.new_FindReplaceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.FindReplaceDialog_Create(*args, **kwargs) - def GetData(*args, **kwargs): return _windows.FindReplaceDialog_GetData(*args, **kwargs) - def SetData(*args, **kwargs): return _windows.FindReplaceDialog_SetData(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, FindReplaceData data, wxString title, + int style=0) -> bool""" + return _windows.FindReplaceDialog_Create(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData() -> FindReplaceData""" + return _windows.FindReplaceDialog_GetData(*args, **kwargs) + + def SetData(*args, **kwargs): + """SetData(FindReplaceData data)""" + return _windows.FindReplaceDialog_SetData(*args, **kwargs) + class FindReplaceDialogPtr(FindReplaceDialog): def __init__(self, this): @@ -1228,6 +2314,7 @@ class FindReplaceDialogPtr(FindReplaceDialog): _windows.FindReplaceDialog_swigregister(FindReplaceDialogPtr) def PreFindReplaceDialog(*args, **kwargs): + """PreFindReplaceDialog() -> FindReplaceDialog""" val = _windows.new_PreFindReplaceDialog(*args, **kwargs) val.thisown = 1 return val @@ -1243,26 +2330,69 @@ IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows.LAST_MDI_CHILD class MDIParentFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> MDIParentFrame""" newobj = _windows.new_MDIParentFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIParentFrame_Create(*args, **kwargs) - def ActivateNext(*args, **kwargs): return _windows.MDIParentFrame_ActivateNext(*args, **kwargs) - def ActivatePrevious(*args, **kwargs): return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs) - def ArrangeIcons(*args, **kwargs): return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs) - def Cascade(*args, **kwargs): return _windows.MDIParentFrame_Cascade(*args, **kwargs) - def GetActiveChild(*args, **kwargs): return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs) - def GetClientWindow(*args, **kwargs): return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs) - def GetToolBar(*args, **kwargs): return _windows.MDIParentFrame_GetToolBar(*args, **kwargs) - def GetWindowMenu(*args, **kwargs): return _windows.MDIParentFrame_GetWindowMenu(*args, **kwargs) - def SetWindowMenu(*args, **kwargs): return _windows.MDIParentFrame_SetWindowMenu(*args, **kwargs) - def SetToolBar(*args, **kwargs): return _windows.MDIParentFrame_SetToolBar(*args, **kwargs) - def Tile(*args, **kwargs): return _windows.MDIParentFrame_Tile(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MDIParentFrame_Create(*args, **kwargs) + + def ActivateNext(*args, **kwargs): + """ActivateNext()""" + return _windows.MDIParentFrame_ActivateNext(*args, **kwargs) + + def ActivatePrevious(*args, **kwargs): + """ActivatePrevious()""" + return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs) + + def ArrangeIcons(*args, **kwargs): + """ArrangeIcons()""" + return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs) + + def Cascade(*args, **kwargs): + """Cascade()""" + return _windows.MDIParentFrame_Cascade(*args, **kwargs) + + def GetActiveChild(*args, **kwargs): + """GetActiveChild() -> MDIChildFrame""" + return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs) + + def GetClientWindow(*args, **kwargs): + """GetClientWindow() -> MDIClientWindow""" + return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar() -> Window""" + return _windows.MDIParentFrame_GetToolBar(*args, **kwargs) + + def GetWindowMenu(*args, **kwargs): + """GetWindowMenu() -> Menu""" + return _windows.MDIParentFrame_GetWindowMenu(*args, **kwargs) + + def SetWindowMenu(*args, **kwargs): + """SetWindowMenu(Menu menu)""" + return _windows.MDIParentFrame_SetWindowMenu(*args, **kwargs) + + def SetToolBar(*args, **kwargs): + """SetToolBar(wxToolBar toolbar)""" + return _windows.MDIParentFrame_SetToolBar(*args, **kwargs) + + def Tile(*args, **kwargs): + """Tile()""" + return _windows.MDIParentFrame_Tile(*args, **kwargs) + class MDIParentFramePtr(MDIParentFrame): def __init__(self, this): @@ -1272,23 +2402,43 @@ class MDIParentFramePtr(MDIParentFrame): _windows.MDIParentFrame_swigregister(MDIParentFramePtr) def PreMDIParentFrame(*args, **kwargs): + """PreMDIParentFrame() -> MDIParentFrame""" val = _windows.new_PreMDIParentFrame(*args, **kwargs) val.thisown = 1 return val class MDIChildFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame""" newobj = _windows.new_MDIChildFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIChildFrame_Create(*args, **kwargs) - def Activate(*args, **kwargs): return _windows.MDIChildFrame_Activate(*args, **kwargs) - def Maximize(*args, **kwargs): return _windows.MDIChildFrame_Maximize(*args, **kwargs) - def Restore(*args, **kwargs): return _windows.MDIChildFrame_Restore(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool""" + return _windows.MDIChildFrame_Create(*args, **kwargs) + + def Activate(*args, **kwargs): + """Activate()""" + return _windows.MDIChildFrame_Activate(*args, **kwargs) + + def Maximize(*args, **kwargs): + """Maximize(bool maximize)""" + return _windows.MDIChildFrame_Maximize(*args, **kwargs) + + def Restore(*args, **kwargs): + """Restore()""" + return _windows.MDIChildFrame_Restore(*args, **kwargs) + class MDIChildFramePtr(MDIChildFrame): def __init__(self, this): @@ -1298,20 +2448,27 @@ class MDIChildFramePtr(MDIChildFrame): _windows.MDIChildFrame_swigregister(MDIChildFramePtr) def PreMDIChildFrame(*args, **kwargs): + """PreMDIChildFrame() -> MDIChildFrame""" val = _windows.new_PreMDIChildFrame(*args, **kwargs) val.thisown = 1 return val class MDIClientWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow""" newobj = _windows.new_MDIClientWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _windows.MDIClientWindow_Create(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(MDIParentFrame parent, long style=0) -> bool""" + return _windows.MDIClientWindow_Create(*args, **kwargs) + class MDIClientWindowPtr(MDIClientWindow): def __init__(self, this): @@ -1321,6 +2478,7 @@ class MDIClientWindowPtr(MDIClientWindow): _windows.MDIClientWindow_swigregister(MDIClientWindowPtr) def PreMDIClientWindow(*args, **kwargs): + """PreMDIClientWindow() -> MDIClientWindow""" val = _windows.new_PreMDIClientWindow(*args, **kwargs) val.thisown = 1 return val @@ -1328,33 +2486,94 @@ def PreMDIClientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PyWindow(core.Window): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyWindow""" newobj = _windows.new_PyWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyWindow) - def _setCallbackInfo(*args, **kwargs): return _windows.PyWindow__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _windows.PyWindow_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _windows.PyWindow_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _windows.PyWindow_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _windows.PyWindow_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _windows.PyWindow_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _windows.PyWindow_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _windows.PyWindow_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _windows.PyWindow_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyWindow__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _windows.PyWindow_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _windows.PyWindow_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _windows.PyWindow_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _windows.PyWindow_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _windows.PyWindow_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _windows.PyWindow_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _windows.PyWindow_base_RemoveChild(*args, **kwargs) + class PyWindowPtr(PyWindow): def __init__(self, this): @@ -1364,33 +2583,94 @@ class PyWindowPtr(PyWindow): _windows.PyWindow_swigregister(PyWindowPtr) class PyPanel(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPanel""" newobj = _windows.new_PyPanel(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self); self._setCallbackInfo(self, PyPanel) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPanel__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _windows.PyPanel_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _windows.PyPanel_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _windows.PyPanel_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _windows.PyPanel_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _windows.PyPanel_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _windows.PyPanel_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _windows.PyPanel_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _windows.PyPanel_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPanel__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _windows.PyPanel_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _windows.PyPanel_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _windows.PyPanel_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _windows.PyPanel_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _windows.PyPanel_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _windows.PyPanel_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _windows.PyPanel_base_RemoveChild(*args, **kwargs) + class PyPanelPtr(PyPanel): def __init__(self, this): @@ -1406,59 +2686,186 @@ PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW PRINT_MODE_FILE = _windows.PRINT_MODE_FILE PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER class PrintData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PrintData""" newobj = _windows.new_PrintData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PrintData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetNoCopies(*args, **kwargs): return _windows.PrintData_GetNoCopies(*args, **kwargs) - def GetCollate(*args, **kwargs): return _windows.PrintData_GetCollate(*args, **kwargs) - def GetOrientation(*args, **kwargs): return _windows.PrintData_GetOrientation(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintData_Ok(*args, **kwargs) - def GetPrinterName(*args, **kwargs): return _windows.PrintData_GetPrinterName(*args, **kwargs) - def GetColour(*args, **kwargs): return _windows.PrintData_GetColour(*args, **kwargs) - def GetDuplex(*args, **kwargs): return _windows.PrintData_GetDuplex(*args, **kwargs) - def GetPaperId(*args, **kwargs): return _windows.PrintData_GetPaperId(*args, **kwargs) - def GetPaperSize(*args, **kwargs): return _windows.PrintData_GetPaperSize(*args, **kwargs) - def GetQuality(*args, **kwargs): return _windows.PrintData_GetQuality(*args, **kwargs) - def SetNoCopies(*args, **kwargs): return _windows.PrintData_SetNoCopies(*args, **kwargs) - def SetCollate(*args, **kwargs): return _windows.PrintData_SetCollate(*args, **kwargs) - def SetOrientation(*args, **kwargs): return _windows.PrintData_SetOrientation(*args, **kwargs) - def SetPrinterName(*args, **kwargs): return _windows.PrintData_SetPrinterName(*args, **kwargs) - def SetColour(*args, **kwargs): return _windows.PrintData_SetColour(*args, **kwargs) - def SetDuplex(*args, **kwargs): return _windows.PrintData_SetDuplex(*args, **kwargs) - def SetPaperId(*args, **kwargs): return _windows.PrintData_SetPaperId(*args, **kwargs) - def SetPaperSize(*args, **kwargs): return _windows.PrintData_SetPaperSize(*args, **kwargs) - def SetQuality(*args, **kwargs): return _windows.PrintData_SetQuality(*args, **kwargs) - def GetPrinterCommand(*args, **kwargs): return _windows.PrintData_GetPrinterCommand(*args, **kwargs) - def GetPrinterOptions(*args, **kwargs): return _windows.PrintData_GetPrinterOptions(*args, **kwargs) - def GetPreviewCommand(*args, **kwargs): return _windows.PrintData_GetPreviewCommand(*args, **kwargs) - def GetFilename(*args, **kwargs): return _windows.PrintData_GetFilename(*args, **kwargs) - def GetFontMetricPath(*args, **kwargs): return _windows.PrintData_GetFontMetricPath(*args, **kwargs) - def GetPrinterScaleX(*args, **kwargs): return _windows.PrintData_GetPrinterScaleX(*args, **kwargs) - def GetPrinterScaleY(*args, **kwargs): return _windows.PrintData_GetPrinterScaleY(*args, **kwargs) - def GetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs) - def GetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs) - def GetPrintMode(*args, **kwargs): return _windows.PrintData_GetPrintMode(*args, **kwargs) - def SetPrinterCommand(*args, **kwargs): return _windows.PrintData_SetPrinterCommand(*args, **kwargs) - def SetPrinterOptions(*args, **kwargs): return _windows.PrintData_SetPrinterOptions(*args, **kwargs) - def SetPreviewCommand(*args, **kwargs): return _windows.PrintData_SetPreviewCommand(*args, **kwargs) - def SetFilename(*args, **kwargs): return _windows.PrintData_SetFilename(*args, **kwargs) - def SetFontMetricPath(*args, **kwargs): return _windows.PrintData_SetFontMetricPath(*args, **kwargs) - def SetPrinterScaleX(*args, **kwargs): return _windows.PrintData_SetPrinterScaleX(*args, **kwargs) - def SetPrinterScaleY(*args, **kwargs): return _windows.PrintData_SetPrinterScaleY(*args, **kwargs) - def SetPrinterScaling(*args, **kwargs): return _windows.PrintData_SetPrinterScaling(*args, **kwargs) - def SetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs) - def SetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs) - def SetPrinterTranslation(*args, **kwargs): return _windows.PrintData_SetPrinterTranslation(*args, **kwargs) - def SetPrintMode(*args, **kwargs): return _windows.PrintData_SetPrintMode(*args, **kwargs) + + def GetNoCopies(*args, **kwargs): + """GetNoCopies() -> int""" + return _windows.PrintData_GetNoCopies(*args, **kwargs) + + def GetCollate(*args, **kwargs): + """GetCollate() -> bool""" + return _windows.PrintData_GetCollate(*args, **kwargs) + + def GetOrientation(*args, **kwargs): + """GetOrientation() -> int""" + return _windows.PrintData_GetOrientation(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintData_Ok(*args, **kwargs) + + def GetPrinterName(*args, **kwargs): + """GetPrinterName() -> wxString""" + return _windows.PrintData_GetPrinterName(*args, **kwargs) + + def GetColour(*args, **kwargs): + """GetColour() -> bool""" + return _windows.PrintData_GetColour(*args, **kwargs) + + def GetDuplex(*args, **kwargs): + """GetDuplex() -> wxDuplexMode""" + return _windows.PrintData_GetDuplex(*args, **kwargs) + + def GetPaperId(*args, **kwargs): + """GetPaperId() -> wxPaperSize""" + return _windows.PrintData_GetPaperId(*args, **kwargs) + + def GetPaperSize(*args, **kwargs): + """GetPaperSize() -> Size""" + return _windows.PrintData_GetPaperSize(*args, **kwargs) + + def GetQuality(*args, **kwargs): + """GetQuality() -> wxPrintQuality""" + return _windows.PrintData_GetQuality(*args, **kwargs) + + def SetNoCopies(*args, **kwargs): + """SetNoCopies(int v)""" + return _windows.PrintData_SetNoCopies(*args, **kwargs) + + def SetCollate(*args, **kwargs): + """SetCollate(bool flag)""" + return _windows.PrintData_SetCollate(*args, **kwargs) + + def SetOrientation(*args, **kwargs): + """SetOrientation(int orient)""" + return _windows.PrintData_SetOrientation(*args, **kwargs) + + def SetPrinterName(*args, **kwargs): + """SetPrinterName(wxString name)""" + return _windows.PrintData_SetPrinterName(*args, **kwargs) + + def SetColour(*args, **kwargs): + """SetColour(bool colour)""" + return _windows.PrintData_SetColour(*args, **kwargs) + + def SetDuplex(*args, **kwargs): + """SetDuplex(wxDuplexMode duplex)""" + return _windows.PrintData_SetDuplex(*args, **kwargs) + + def SetPaperId(*args, **kwargs): + """SetPaperId(wxPaperSize sizeId)""" + return _windows.PrintData_SetPaperId(*args, **kwargs) + + def SetPaperSize(*args, **kwargs): + """SetPaperSize(Size sz)""" + return _windows.PrintData_SetPaperSize(*args, **kwargs) + + def SetQuality(*args, **kwargs): + """SetQuality(wxPrintQuality quality)""" + return _windows.PrintData_SetQuality(*args, **kwargs) + + def GetPrinterCommand(*args, **kwargs): + """GetPrinterCommand() -> wxString""" + return _windows.PrintData_GetPrinterCommand(*args, **kwargs) + + def GetPrinterOptions(*args, **kwargs): + """GetPrinterOptions() -> wxString""" + return _windows.PrintData_GetPrinterOptions(*args, **kwargs) + + def GetPreviewCommand(*args, **kwargs): + """GetPreviewCommand() -> wxString""" + return _windows.PrintData_GetPreviewCommand(*args, **kwargs) + + def GetFilename(*args, **kwargs): + """GetFilename() -> wxString""" + return _windows.PrintData_GetFilename(*args, **kwargs) + + def GetFontMetricPath(*args, **kwargs): + """GetFontMetricPath() -> wxString""" + return _windows.PrintData_GetFontMetricPath(*args, **kwargs) + + def GetPrinterScaleX(*args, **kwargs): + """GetPrinterScaleX() -> double""" + return _windows.PrintData_GetPrinterScaleX(*args, **kwargs) + + def GetPrinterScaleY(*args, **kwargs): + """GetPrinterScaleY() -> double""" + return _windows.PrintData_GetPrinterScaleY(*args, **kwargs) + + def GetPrinterTranslateX(*args, **kwargs): + """GetPrinterTranslateX() -> long""" + return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs) + + def GetPrinterTranslateY(*args, **kwargs): + """GetPrinterTranslateY() -> long""" + return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs) + + def GetPrintMode(*args, **kwargs): + """GetPrintMode() -> wxPrintMode""" + return _windows.PrintData_GetPrintMode(*args, **kwargs) + + def SetPrinterCommand(*args, **kwargs): + """SetPrinterCommand(wxString command)""" + return _windows.PrintData_SetPrinterCommand(*args, **kwargs) + + def SetPrinterOptions(*args, **kwargs): + """SetPrinterOptions(wxString options)""" + return _windows.PrintData_SetPrinterOptions(*args, **kwargs) + + def SetPreviewCommand(*args, **kwargs): + """SetPreviewCommand(wxString command)""" + return _windows.PrintData_SetPreviewCommand(*args, **kwargs) + + def SetFilename(*args, **kwargs): + """SetFilename(wxString filename)""" + return _windows.PrintData_SetFilename(*args, **kwargs) + + def SetFontMetricPath(*args, **kwargs): + """SetFontMetricPath(wxString path)""" + return _windows.PrintData_SetFontMetricPath(*args, **kwargs) + + def SetPrinterScaleX(*args, **kwargs): + """SetPrinterScaleX(double x)""" + return _windows.PrintData_SetPrinterScaleX(*args, **kwargs) + + def SetPrinterScaleY(*args, **kwargs): + """SetPrinterScaleY(double y)""" + return _windows.PrintData_SetPrinterScaleY(*args, **kwargs) + + def SetPrinterScaling(*args, **kwargs): + """SetPrinterScaling(double x, double y)""" + return _windows.PrintData_SetPrinterScaling(*args, **kwargs) + + def SetPrinterTranslateX(*args, **kwargs): + """SetPrinterTranslateX(long x)""" + return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs) + + def SetPrinterTranslateY(*args, **kwargs): + """SetPrinterTranslateY(long y)""" + return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs) + + def SetPrinterTranslation(*args, **kwargs): + """SetPrinterTranslation(long x, long y)""" + return _windows.PrintData_SetPrinterTranslation(*args, **kwargs) + + def SetPrintMode(*args, **kwargs): + """SetPrintMode(wxPrintMode printMode)""" + return _windows.PrintData_SetPrintMode(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintDataPtr(PrintData): def __init__(self, this): @@ -1468,47 +2875,138 @@ class PrintDataPtr(PrintData): _windows.PrintData_swigregister(PrintDataPtr) class PageSetupDialogData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PageSetupDialogData""" newobj = _windows.new_PageSetupDialogData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PageSetupDialogData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def EnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs) - def EnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs) - def EnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs) - def EnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs) - def EnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs) - def GetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs) - def GetEnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs) - def GetEnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs) - def GetEnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs) - def GetEnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs) - def GetEnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs) - def GetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs) - def GetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs) - def GetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs) - def GetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs) - def GetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs) - def GetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs) - def GetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PageSetupDialogData_Ok(*args, **kwargs) - def SetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs) - def SetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs) - def SetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs) - def SetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs) - def SetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs) - def SetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs) - def SetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs) - def SetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs) + + def EnableHelp(*args, **kwargs): + """EnableHelp(bool flag)""" + return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs) + + def EnableMargins(*args, **kwargs): + """EnableMargins(bool flag)""" + return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs) + + def EnableOrientation(*args, **kwargs): + """EnableOrientation(bool flag)""" + return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs) + + def EnablePaper(*args, **kwargs): + """EnablePaper(bool flag)""" + return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs) + + def EnablePrinter(*args, **kwargs): + """EnablePrinter(bool flag)""" + return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs) + + def GetDefaultMinMargins(*args, **kwargs): + """GetDefaultMinMargins() -> bool""" + return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs) + + def GetEnableMargins(*args, **kwargs): + """GetEnableMargins() -> bool""" + return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs) + + def GetEnableOrientation(*args, **kwargs): + """GetEnableOrientation() -> bool""" + return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs) + + def GetEnablePaper(*args, **kwargs): + """GetEnablePaper() -> bool""" + return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs) + + def GetEnablePrinter(*args, **kwargs): + """GetEnablePrinter() -> bool""" + return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs) + + def GetEnableHelp(*args, **kwargs): + """GetEnableHelp() -> bool""" + return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs) + + def GetDefaultInfo(*args, **kwargs): + """GetDefaultInfo() -> bool""" + return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs) + + def GetMarginTopLeft(*args, **kwargs): + """GetMarginTopLeft() -> Point""" + return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs) + + def GetMarginBottomRight(*args, **kwargs): + """GetMarginBottomRight() -> Point""" + return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs) + + def GetMinMarginTopLeft(*args, **kwargs): + """GetMinMarginTopLeft() -> Point""" + return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs) + + def GetMinMarginBottomRight(*args, **kwargs): + """GetMinMarginBottomRight() -> Point""" + return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs) + + def GetPaperId(*args, **kwargs): + """GetPaperId() -> wxPaperSize""" + return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs) + + def GetPaperSize(*args, **kwargs): + """GetPaperSize() -> Size""" + return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PageSetupDialogData_Ok(*args, **kwargs) + + def SetDefaultInfo(*args, **kwargs): + """SetDefaultInfo(bool flag)""" + return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs) + + def SetDefaultMinMargins(*args, **kwargs): + """SetDefaultMinMargins(bool flag)""" + return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs) + + def SetMarginTopLeft(*args, **kwargs): + """SetMarginTopLeft(Point pt)""" + return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs) + + def SetMarginBottomRight(*args, **kwargs): + """SetMarginBottomRight(Point pt)""" + return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs) + + def SetMinMarginTopLeft(*args, **kwargs): + """SetMinMarginTopLeft(Point pt)""" + return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs) + + def SetMinMarginBottomRight(*args, **kwargs): + """SetMinMarginBottomRight(Point pt)""" + return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs) + + def SetPaperId(*args, **kwargs): + """SetPaperId(wxPaperSize id)""" + return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs) + + def SetPaperSize(*args, **kwargs): + """SetPaperSize(Size size)""" + return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(PrintData printData)""" + return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PageSetupDialogDataPtr(PageSetupDialogData): def __init__(self, this): @@ -1518,16 +3016,25 @@ class PageSetupDialogDataPtr(PageSetupDialogData): _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) class PageSetupDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog""" newobj = _windows.new_PageSetupDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPageSetupData(*args, **kwargs): return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.PageSetupDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPageSetupData(*args, **kwargs): + """GetPageSetupData() -> PageSetupDialogData""" + return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.PageSetupDialog_ShowModal(*args, **kwargs) + class PageSetupDialogPtr(PageSetupDialog): def __init__(self, this): @@ -1537,49 +3044,146 @@ class PageSetupDialogPtr(PageSetupDialog): _windows.PageSetupDialog_swigregister(PageSetupDialogPtr) class PrintDialogData(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PrintDialogData""" newobj = _windows.new_PrintDialogData(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_PrintDialogData): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetFromPage(*args, **kwargs): return _windows.PrintDialogData_GetFromPage(*args, **kwargs) - def GetToPage(*args, **kwargs): return _windows.PrintDialogData_GetToPage(*args, **kwargs) - def GetMinPage(*args, **kwargs): return _windows.PrintDialogData_GetMinPage(*args, **kwargs) - def GetMaxPage(*args, **kwargs): return _windows.PrintDialogData_GetMaxPage(*args, **kwargs) - def GetNoCopies(*args, **kwargs): return _windows.PrintDialogData_GetNoCopies(*args, **kwargs) - def GetAllPages(*args, **kwargs): return _windows.PrintDialogData_GetAllPages(*args, **kwargs) - def GetSelection(*args, **kwargs): return _windows.PrintDialogData_GetSelection(*args, **kwargs) - def GetCollate(*args, **kwargs): return _windows.PrintDialogData_GetCollate(*args, **kwargs) - def GetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs) - def GetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs) - def SetFromPage(*args, **kwargs): return _windows.PrintDialogData_SetFromPage(*args, **kwargs) - def SetToPage(*args, **kwargs): return _windows.PrintDialogData_SetToPage(*args, **kwargs) - def SetMinPage(*args, **kwargs): return _windows.PrintDialogData_SetMinPage(*args, **kwargs) - def SetMaxPage(*args, **kwargs): return _windows.PrintDialogData_SetMaxPage(*args, **kwargs) - def SetNoCopies(*args, **kwargs): return _windows.PrintDialogData_SetNoCopies(*args, **kwargs) - def SetAllPages(*args, **kwargs): return _windows.PrintDialogData_SetAllPages(*args, **kwargs) - def SetSelection(*args, **kwargs): return _windows.PrintDialogData_SetSelection(*args, **kwargs) - def SetCollate(*args, **kwargs): return _windows.PrintDialogData_SetCollate(*args, **kwargs) - def SetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs) - def SetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs) - def EnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs) - def EnableSelection(*args, **kwargs): return _windows.PrintDialogData_EnableSelection(*args, **kwargs) - def EnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs) - def EnableHelp(*args, **kwargs): return _windows.PrintDialogData_EnableHelp(*args, **kwargs) - def GetEnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs) - def GetEnableSelection(*args, **kwargs): return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs) - def GetEnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs) - def GetEnableHelp(*args, **kwargs): return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintDialogData_Ok(*args, **kwargs) - def GetPrintData(*args, **kwargs): return _windows.PrintDialogData_GetPrintData(*args, **kwargs) - def SetPrintData(*args, **kwargs): return _windows.PrintDialogData_SetPrintData(*args, **kwargs) + + def GetFromPage(*args, **kwargs): + """GetFromPage() -> int""" + return _windows.PrintDialogData_GetFromPage(*args, **kwargs) + + def GetToPage(*args, **kwargs): + """GetToPage() -> int""" + return _windows.PrintDialogData_GetToPage(*args, **kwargs) + + def GetMinPage(*args, **kwargs): + """GetMinPage() -> int""" + return _windows.PrintDialogData_GetMinPage(*args, **kwargs) + + def GetMaxPage(*args, **kwargs): + """GetMaxPage() -> int""" + return _windows.PrintDialogData_GetMaxPage(*args, **kwargs) + + def GetNoCopies(*args, **kwargs): + """GetNoCopies() -> int""" + return _windows.PrintDialogData_GetNoCopies(*args, **kwargs) + + def GetAllPages(*args, **kwargs): + """GetAllPages() -> bool""" + return _windows.PrintDialogData_GetAllPages(*args, **kwargs) + + def GetSelection(*args, **kwargs): + """GetSelection() -> bool""" + return _windows.PrintDialogData_GetSelection(*args, **kwargs) + + def GetCollate(*args, **kwargs): + """GetCollate() -> bool""" + return _windows.PrintDialogData_GetCollate(*args, **kwargs) + + def GetPrintToFile(*args, **kwargs): + """GetPrintToFile() -> bool""" + return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs) + + def GetSetupDialog(*args, **kwargs): + """GetSetupDialog() -> bool""" + return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs) + + def SetFromPage(*args, **kwargs): + """SetFromPage(int v)""" + return _windows.PrintDialogData_SetFromPage(*args, **kwargs) + + def SetToPage(*args, **kwargs): + """SetToPage(int v)""" + return _windows.PrintDialogData_SetToPage(*args, **kwargs) + + def SetMinPage(*args, **kwargs): + """SetMinPage(int v)""" + return _windows.PrintDialogData_SetMinPage(*args, **kwargs) + + def SetMaxPage(*args, **kwargs): + """SetMaxPage(int v)""" + return _windows.PrintDialogData_SetMaxPage(*args, **kwargs) + + def SetNoCopies(*args, **kwargs): + """SetNoCopies(int v)""" + return _windows.PrintDialogData_SetNoCopies(*args, **kwargs) + + def SetAllPages(*args, **kwargs): + """SetAllPages(bool flag)""" + return _windows.PrintDialogData_SetAllPages(*args, **kwargs) + + def SetSelection(*args, **kwargs): + """SetSelection(bool flag)""" + return _windows.PrintDialogData_SetSelection(*args, **kwargs) + + def SetCollate(*args, **kwargs): + """SetCollate(bool flag)""" + return _windows.PrintDialogData_SetCollate(*args, **kwargs) + + def SetPrintToFile(*args, **kwargs): + """SetPrintToFile(bool flag)""" + return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs) + + def SetSetupDialog(*args, **kwargs): + """SetSetupDialog(bool flag)""" + return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs) + + def EnablePrintToFile(*args, **kwargs): + """EnablePrintToFile(bool flag)""" + return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs) + + def EnableSelection(*args, **kwargs): + """EnableSelection(bool flag)""" + return _windows.PrintDialogData_EnableSelection(*args, **kwargs) + + def EnablePageNumbers(*args, **kwargs): + """EnablePageNumbers(bool flag)""" + return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs) + + def EnableHelp(*args, **kwargs): + """EnableHelp(bool flag)""" + return _windows.PrintDialogData_EnableHelp(*args, **kwargs) + + def GetEnablePrintToFile(*args, **kwargs): + """GetEnablePrintToFile() -> bool""" + return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs) + + def GetEnableSelection(*args, **kwargs): + """GetEnableSelection() -> bool""" + return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs) + + def GetEnablePageNumbers(*args, **kwargs): + """GetEnablePageNumbers() -> bool""" + return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs) + + def GetEnableHelp(*args, **kwargs): + """GetEnableHelp() -> bool""" + return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintDialogData_Ok(*args, **kwargs) + + def GetPrintData(*args, **kwargs): + """GetPrintData() -> PrintData""" + return _windows.PrintDialogData_GetPrintData(*args, **kwargs) + + def SetPrintData(*args, **kwargs): + """SetPrintData(PrintData printData)""" + return _windows.PrintDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintDialogDataPtr(PrintDialogData): def __init__(self, this): @@ -1589,17 +3193,29 @@ class PrintDialogDataPtr(PrintDialogData): _windows.PrintDialogData_swigregister(PrintDialogDataPtr) class PrintDialog(Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, PrintDialogData data=None) -> PrintDialog""" newobj = _windows.new_PrintDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetPrintDialogData(*args, **kwargs): return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs) - def GetPrintDC(*args, **kwargs): return _windows.PrintDialog_GetPrintDC(*args, **kwargs) - def ShowModal(*args, **kwargs): return _windows.PrintDialog_ShowModal(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs) + + def GetPrintDC(*args, **kwargs): + """GetPrintDC() -> wxDC""" + return _windows.PrintDialog_GetPrintDC(*args, **kwargs) + + def ShowModal(*args, **kwargs): + """ShowModal() -> int""" + return _windows.PrintDialog_ShowModal(*args, **kwargs) + class PrintDialogPtr(PrintDialog): def __init__(self, this): @@ -1612,25 +3228,54 @@ PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR PRINTER_CANCELLED = _windows.PRINTER_CANCELLED PRINTER_ERROR = _windows.PRINTER_ERROR class Printer(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintDialogData data=None) -> Printer""" newobj = _windows.new_Printer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_windows.delete_Printer): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def CreateAbortWindow(*args, **kwargs): return _windows.Printer_CreateAbortWindow(*args, **kwargs) - def GetPrintDialogData(*args, **kwargs): return _windows.Printer_GetPrintDialogData(*args, **kwargs) - def Print(*args, **kwargs): return _windows.Printer_Print(*args, **kwargs) - def PrintDialog(*args, **kwargs): return _windows.Printer_PrintDialog(*args, **kwargs) - def ReportError(*args, **kwargs): return _windows.Printer_ReportError(*args, **kwargs) - def Setup(*args, **kwargs): return _windows.Printer_Setup(*args, **kwargs) - def GetAbort(*args, **kwargs): return _windows.Printer_GetAbort(*args, **kwargs) - GetLastError = staticmethod(_windows.Printer_GetLastError) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def CreateAbortWindow(*args, **kwargs): + """CreateAbortWindow(Window parent, Printout printout)""" + return _windows.Printer_CreateAbortWindow(*args, **kwargs) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.Printer_GetPrintDialogData(*args, **kwargs) + + def Print(*args, **kwargs): + """Print(Window parent, Printout printout, int prompt=True) -> bool""" + return _windows.Printer_Print(*args, **kwargs) + + def PrintDialog(*args, **kwargs): + """PrintDialog(Window parent) -> wxDC""" + return _windows.Printer_PrintDialog(*args, **kwargs) + + def ReportError(*args, **kwargs): + """ReportError(Window parent, Printout printout, wxString message)""" + return _windows.Printer_ReportError(*args, **kwargs) + + def Setup(*args, **kwargs): + """Setup(Window parent) -> bool""" + return _windows.Printer_Setup(*args, **kwargs) + + def GetAbort(*args, **kwargs): + """GetAbort() -> bool""" + return _windows.Printer_GetAbort(*args, **kwargs) + + def GetLastError(*args, **kwargs): + """Printer.GetLastError() -> wxPrinterError""" + return _windows.Printer_GetLastError(*args, **kwargs) + + GetLastError = staticmethod(GetLastError) class PrinterPtr(Printer): def __init__(self, this): @@ -1639,38 +3284,106 @@ class PrinterPtr(Printer): self.__class__ = Printer _windows.Printer_swigregister(PrinterPtr) -Printer_GetLastError = _windows.Printer_GetLastError +def Printer_GetLastError(*args, **kwargs): + """Printer_GetLastError() -> wxPrinterError""" + return _windows.Printer_GetLastError(*args, **kwargs) class Printout(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout""" newobj = _windows.new_Printout(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, Printout) - def _setCallbackInfo(*args, **kwargs): return _windows.Printout__setCallbackInfo(*args, **kwargs) - def GetTitle(*args, **kwargs): return _windows.Printout_GetTitle(*args, **kwargs) - def GetDC(*args, **kwargs): return _windows.Printout_GetDC(*args, **kwargs) - def SetDC(*args, **kwargs): return _windows.Printout_SetDC(*args, **kwargs) - def GetPageSizePixels(*args, **kwargs): return _windows.Printout_GetPageSizePixels(*args, **kwargs) - def SetPageSizePixels(*args, **kwargs): return _windows.Printout_SetPageSizePixels(*args, **kwargs) - def SetPageSizeMM(*args, **kwargs): return _windows.Printout_SetPageSizeMM(*args, **kwargs) - def GetPageSizeMM(*args, **kwargs): return _windows.Printout_GetPageSizeMM(*args, **kwargs) - def SetPPIScreen(*args, **kwargs): return _windows.Printout_SetPPIScreen(*args, **kwargs) - def GetPPIScreen(*args, **kwargs): return _windows.Printout_GetPPIScreen(*args, **kwargs) - def SetPPIPrinter(*args, **kwargs): return _windows.Printout_SetPPIPrinter(*args, **kwargs) - def GetPPIPrinter(*args, **kwargs): return _windows.Printout_GetPPIPrinter(*args, **kwargs) - def IsPreview(*args, **kwargs): return _windows.Printout_IsPreview(*args, **kwargs) - def SetIsPreview(*args, **kwargs): return _windows.Printout_SetIsPreview(*args, **kwargs) - def base_OnBeginDocument(*args, **kwargs): return _windows.Printout_base_OnBeginDocument(*args, **kwargs) - def base_OnEndDocument(*args, **kwargs): return _windows.Printout_base_OnEndDocument(*args, **kwargs) - def base_OnBeginPrinting(*args, **kwargs): return _windows.Printout_base_OnBeginPrinting(*args, **kwargs) - def base_OnEndPrinting(*args, **kwargs): return _windows.Printout_base_OnEndPrinting(*args, **kwargs) - def base_OnPreparePrinting(*args, **kwargs): return _windows.Printout_base_OnPreparePrinting(*args, **kwargs) - def base_GetPageInfo(*args, **kwargs): return _windows.Printout_base_GetPageInfo(*args, **kwargs) - def base_HasPage(*args, **kwargs): return _windows.Printout_base_HasPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.Printout__setCallbackInfo(*args, **kwargs) + + def GetTitle(*args, **kwargs): + """GetTitle() -> wxString""" + return _windows.Printout_GetTitle(*args, **kwargs) + + def GetDC(*args, **kwargs): + """GetDC() -> wxDC""" + return _windows.Printout_GetDC(*args, **kwargs) + + def SetDC(*args, **kwargs): + """SetDC(wxDC dc)""" + return _windows.Printout_SetDC(*args, **kwargs) + + def GetPageSizePixels(*args, **kwargs): + """GetPageSizePixels(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPageSizePixels(*args, **kwargs) + + def SetPageSizePixels(*args, **kwargs): + """SetPageSizePixels(int w, int h)""" + return _windows.Printout_SetPageSizePixels(*args, **kwargs) + + def SetPageSizeMM(*args, **kwargs): + """SetPageSizeMM(int w, int h)""" + return _windows.Printout_SetPageSizeMM(*args, **kwargs) + + def GetPageSizeMM(*args, **kwargs): + """GetPageSizeMM(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPageSizeMM(*args, **kwargs) + + def SetPPIScreen(*args, **kwargs): + """SetPPIScreen(int x, int y)""" + return _windows.Printout_SetPPIScreen(*args, **kwargs) + + def GetPPIScreen(*args, **kwargs): + """GetPPIScreen(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPPIScreen(*args, **kwargs) + + def SetPPIPrinter(*args, **kwargs): + """SetPPIPrinter(int x, int y)""" + return _windows.Printout_SetPPIPrinter(*args, **kwargs) + + def GetPPIPrinter(*args, **kwargs): + """GetPPIPrinter(int OUTPUT, int OUTPUT)""" + return _windows.Printout_GetPPIPrinter(*args, **kwargs) + + def IsPreview(*args, **kwargs): + """IsPreview() -> bool""" + return _windows.Printout_IsPreview(*args, **kwargs) + + def SetIsPreview(*args, **kwargs): + """SetIsPreview(bool p)""" + return _windows.Printout_SetIsPreview(*args, **kwargs) + + def base_OnBeginDocument(*args, **kwargs): + """base_OnBeginDocument(int startPage, int endPage) -> bool""" + return _windows.Printout_base_OnBeginDocument(*args, **kwargs) + + def base_OnEndDocument(*args, **kwargs): + """base_OnEndDocument()""" + return _windows.Printout_base_OnEndDocument(*args, **kwargs) + + def base_OnBeginPrinting(*args, **kwargs): + """base_OnBeginPrinting()""" + return _windows.Printout_base_OnBeginPrinting(*args, **kwargs) + + def base_OnEndPrinting(*args, **kwargs): + """base_OnEndPrinting()""" + return _windows.Printout_base_OnEndPrinting(*args, **kwargs) + + def base_OnPreparePrinting(*args, **kwargs): + """base_OnPreparePrinting()""" + return _windows.Printout_base_OnPreparePrinting(*args, **kwargs) + + def base_GetPageInfo(*args, **kwargs): + """base_GetPageInfo(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)""" + return _windows.Printout_base_GetPageInfo(*args, **kwargs) + + def base_HasPage(*args, **kwargs): + """base_HasPage(int page) -> bool""" + return _windows.Printout_base_HasPage(*args, **kwargs) + class PrintoutPtr(Printout): def __init__(self, this): @@ -1680,14 +3393,19 @@ class PrintoutPtr(Printout): _windows.Printout_swigregister(PrintoutPtr) class PreviewCanvas(ScrolledWindow): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas""" newobj = _windows.new_PreviewCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class PreviewCanvasPtr(PreviewCanvas): def __init__(self, this): @@ -1697,18 +3415,35 @@ class PreviewCanvasPtr(PreviewCanvas): _windows.PreviewCanvas_swigregister(PreviewCanvasPtr) class PreviewFrame(Frame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame""" newobj = _windows.new_PreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def Initialize(*args, **kwargs): return _windows.PreviewFrame_Initialize(*args, **kwargs) - def CreateControlBar(*args, **kwargs): return _windows.PreviewFrame_CreateControlBar(*args, **kwargs) - def CreateCanvas(*args, **kwargs): return _windows.PreviewFrame_CreateCanvas(*args, **kwargs) - def GetControlBar(*args, **kwargs): return _windows.PreviewFrame_GetControlBar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Initialize(*args, **kwargs): + """Initialize()""" + return _windows.PreviewFrame_Initialize(*args, **kwargs) + + def CreateControlBar(*args, **kwargs): + """CreateControlBar()""" + return _windows.PreviewFrame_CreateControlBar(*args, **kwargs) + + def CreateCanvas(*args, **kwargs): + """CreateCanvas()""" + return _windows.PreviewFrame_CreateCanvas(*args, **kwargs) + + def GetControlBar(*args, **kwargs): + """GetControlBar() -> PreviewControlBar""" + return _windows.PreviewFrame_GetControlBar(*args, **kwargs) + class PreviewFramePtr(PreviewFrame): def __init__(self, this): @@ -1734,22 +3469,51 @@ ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO class PreviewControlBar(Panel): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar""" newobj = _windows.new_PreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._self._setOORInfo(self) - def GetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs) - def SetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs) - def GetPrintPreview(*args, **kwargs): return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs) - def OnNext(*args, **kwargs): return _windows.PreviewControlBar_OnNext(*args, **kwargs) - def OnPrevious(*args, **kwargs): return _windows.PreviewControlBar_OnPrevious(*args, **kwargs) - def OnFirst(*args, **kwargs): return _windows.PreviewControlBar_OnFirst(*args, **kwargs) - def OnLast(*args, **kwargs): return _windows.PreviewControlBar_OnLast(*args, **kwargs) - def OnGoto(*args, **kwargs): return _windows.PreviewControlBar_OnGoto(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetZoomControl(*args, **kwargs): + """GetZoomControl() -> int""" + return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs) + + def SetZoomControl(*args, **kwargs): + """SetZoomControl(int zoom)""" + return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs) + + def GetPrintPreview(*args, **kwargs): + """GetPrintPreview() -> PrintPreview""" + return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs) + + def OnNext(*args, **kwargs): + """OnNext()""" + return _windows.PreviewControlBar_OnNext(*args, **kwargs) + + def OnPrevious(*args, **kwargs): + """OnPrevious()""" + return _windows.PreviewControlBar_OnPrevious(*args, **kwargs) + + def OnFirst(*args, **kwargs): + """OnFirst()""" + return _windows.PreviewControlBar_OnFirst(*args, **kwargs) + + def OnLast(*args, **kwargs): + """OnLast()""" + return _windows.PreviewControlBar_OnLast(*args, **kwargs) + + def OnGoto(*args, **kwargs): + """OnGoto()""" + return _windows.PreviewControlBar_OnGoto(*args, **kwargs) + class PreviewControlBarPtr(PreviewControlBar): def __init__(self, this): @@ -1759,36 +3523,104 @@ class PreviewControlBarPtr(PreviewControlBar): _windows.PreviewControlBar_swigregister(PreviewControlBarPtr) class PrintPreview(core.Object): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview""" newobj = _windows.new_PrintPreview(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def SetCurrentPage(*args, **kwargs): return _windows.PrintPreview_SetCurrentPage(*args, **kwargs) - def GetCurrentPage(*args, **kwargs): return _windows.PrintPreview_GetCurrentPage(*args, **kwargs) - def SetPrintout(*args, **kwargs): return _windows.PrintPreview_SetPrintout(*args, **kwargs) - def GetPrintout(*args, **kwargs): return _windows.PrintPreview_GetPrintout(*args, **kwargs) - def GetPrintoutForPrinting(*args, **kwargs): return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs) - def SetFrame(*args, **kwargs): return _windows.PrintPreview_SetFrame(*args, **kwargs) - def SetCanvas(*args, **kwargs): return _windows.PrintPreview_SetCanvas(*args, **kwargs) - def GetFrame(*args, **kwargs): return _windows.PrintPreview_GetFrame(*args, **kwargs) - def GetCanvas(*args, **kwargs): return _windows.PrintPreview_GetCanvas(*args, **kwargs) - def PaintPage(*args, **kwargs): return _windows.PrintPreview_PaintPage(*args, **kwargs) - def DrawBlankPage(*args, **kwargs): return _windows.PrintPreview_DrawBlankPage(*args, **kwargs) - def RenderPage(*args, **kwargs): return _windows.PrintPreview_RenderPage(*args, **kwargs) - def AdjustScrollbars(*args, **kwargs): return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs) - def GetPrintDialogData(*args, **kwargs): return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs) - def SetZoom(*args, **kwargs): return _windows.PrintPreview_SetZoom(*args, **kwargs) - def GetZoom(*args, **kwargs): return _windows.PrintPreview_GetZoom(*args, **kwargs) - def GetMaxPage(*args, **kwargs): return _windows.PrintPreview_GetMaxPage(*args, **kwargs) - def GetMinPage(*args, **kwargs): return _windows.PrintPreview_GetMinPage(*args, **kwargs) - def Ok(*args, **kwargs): return _windows.PrintPreview_Ok(*args, **kwargs) - def SetOk(*args, **kwargs): return _windows.PrintPreview_SetOk(*args, **kwargs) - def Print(*args, **kwargs): return _windows.PrintPreview_Print(*args, **kwargs) - def DetermineScaling(*args, **kwargs): return _windows.PrintPreview_DetermineScaling(*args, **kwargs) + def SetCurrentPage(*args, **kwargs): + """SetCurrentPage(int pageNum) -> bool""" + return _windows.PrintPreview_SetCurrentPage(*args, **kwargs) + + def GetCurrentPage(*args, **kwargs): + """GetCurrentPage() -> int""" + return _windows.PrintPreview_GetCurrentPage(*args, **kwargs) + + def SetPrintout(*args, **kwargs): + """SetPrintout(Printout printout)""" + return _windows.PrintPreview_SetPrintout(*args, **kwargs) + + def GetPrintout(*args, **kwargs): + """GetPrintout() -> Printout""" + return _windows.PrintPreview_GetPrintout(*args, **kwargs) + + def GetPrintoutForPrinting(*args, **kwargs): + """GetPrintoutForPrinting() -> Printout""" + return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs) + + def SetFrame(*args, **kwargs): + """SetFrame(Frame frame)""" + return _windows.PrintPreview_SetFrame(*args, **kwargs) + + def SetCanvas(*args, **kwargs): + """SetCanvas(PreviewCanvas canvas)""" + return _windows.PrintPreview_SetCanvas(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame() -> Frame""" + return _windows.PrintPreview_GetFrame(*args, **kwargs) + + def GetCanvas(*args, **kwargs): + """GetCanvas() -> PreviewCanvas""" + return _windows.PrintPreview_GetCanvas(*args, **kwargs) + + def PaintPage(*args, **kwargs): + """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PrintPreview_PaintPage(*args, **kwargs) + + def DrawBlankPage(*args, **kwargs): + """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PrintPreview_DrawBlankPage(*args, **kwargs) + + def RenderPage(*args, **kwargs): + """RenderPage(int pageNum) -> bool""" + return _windows.PrintPreview_RenderPage(*args, **kwargs) + + def AdjustScrollbars(*args, **kwargs): + """AdjustScrollbars(PreviewCanvas canvas)""" + return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs) + + def GetPrintDialogData(*args, **kwargs): + """GetPrintDialogData() -> PrintDialogData""" + return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs) + + def SetZoom(*args, **kwargs): + """SetZoom(int percent)""" + return _windows.PrintPreview_SetZoom(*args, **kwargs) + + def GetZoom(*args, **kwargs): + """GetZoom() -> int""" + return _windows.PrintPreview_GetZoom(*args, **kwargs) + + def GetMaxPage(*args, **kwargs): + """GetMaxPage() -> int""" + return _windows.PrintPreview_GetMaxPage(*args, **kwargs) + + def GetMinPage(*args, **kwargs): + """GetMinPage() -> int""" + return _windows.PrintPreview_GetMinPage(*args, **kwargs) + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _windows.PrintPreview_Ok(*args, **kwargs) + + def SetOk(*args, **kwargs): + """SetOk(bool ok)""" + return _windows.PrintPreview_SetOk(*args, **kwargs) + + def Print(*args, **kwargs): + """Print(bool interactive) -> bool""" + return _windows.PrintPreview_Print(*args, **kwargs) + + def DetermineScaling(*args, **kwargs): + """DetermineScaling()""" + return _windows.PrintPreview_DetermineScaling(*args, **kwargs) + def __nonzero__(self): return self.Ok() - def __repr__(self): - return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) class PrintPreviewPtr(PrintPreview): def __init__(self, this): @@ -1798,22 +3630,49 @@ class PrintPreviewPtr(PrintPreview): _windows.PrintPreview_swigregister(PrintPreviewPtr) class PyPrintPreview(PrintPreview): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview""" newobj = _windows.new_PyPrintPreview(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPrintPreview) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs) - def base_SetCurrentPage(*args, **kwargs): return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs) - def base_PaintPage(*args, **kwargs): return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs) - def base_DrawBlankPage(*args, **kwargs): return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs) - def base_RenderPage(*args, **kwargs): return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs) - def base_SetZoom(*args, **kwargs): return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs) - def base_Print(*args, **kwargs): return _windows.PyPrintPreview_base_Print(*args, **kwargs) - def base_DetermineScaling(*args, **kwargs): return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs) + + def base_SetCurrentPage(*args, **kwargs): + """base_SetCurrentPage(int pageNum) -> bool""" + return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs) + + def base_PaintPage(*args, **kwargs): + """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs) + + def base_DrawBlankPage(*args, **kwargs): + """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool""" + return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs) + + def base_RenderPage(*args, **kwargs): + """base_RenderPage(int pageNum) -> bool""" + return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs) + + def base_SetZoom(*args, **kwargs): + """base_SetZoom(int percent)""" + return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs) + + def base_Print(*args, **kwargs): + """base_Print(bool interactive) -> bool""" + return _windows.PyPrintPreview_base_Print(*args, **kwargs) + + def base_DetermineScaling(*args, **kwargs): + """base_DetermineScaling()""" + return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs) + class PyPrintPreviewPtr(PyPrintPreview): def __init__(self, this): @@ -1823,20 +3682,43 @@ class PyPrintPreviewPtr(PyPrintPreview): _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) class PyPreviewFrame(PreviewFrame): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame""" newobj = _windows.new_PyPreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs) - def SetPreviewCanvas(*args, **kwargs): return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs) - def SetControlBar(*args, **kwargs): return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs) - def base_Initialize(*args, **kwargs): return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs) - def base_CreateCanvas(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs) - def base_CreateControlBar(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs) + + def SetPreviewCanvas(*args, **kwargs): + """SetPreviewCanvas(PreviewCanvas canvas)""" + return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs) + + def SetControlBar(*args, **kwargs): + """SetControlBar(PreviewControlBar bar)""" + return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs) + + def base_Initialize(*args, **kwargs): + """base_Initialize()""" + return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs) + + def base_CreateCanvas(*args, **kwargs): + """base_CreateCanvas()""" + return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs) + + def base_CreateControlBar(*args, **kwargs): + """base_CreateControlBar()""" + return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs) + class PyPreviewFramePtr(PyPreviewFrame): def __init__(self, this): @@ -1846,18 +3728,35 @@ class PyPreviewFramePtr(PyPreviewFrame): _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) class PyPreviewControlBar(PreviewControlBar): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar""" newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs) - def SetPrintPreview(*args, **kwargs): return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs) - def base_CreateButtons(*args, **kwargs): return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs) - def base_SetZoomControl(*args, **kwargs): return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs) + + def SetPrintPreview(*args, **kwargs): + """SetPrintPreview(PrintPreview preview)""" + return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs) + + def base_CreateButtons(*args, **kwargs): + """base_CreateButtons()""" + return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs) + + def base_SetZoomControl(*args, **kwargs): + """base_SetZoomControl(int zoom)""" + return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs) + class PyPreviewControlBarPtr(PyPreviewControlBar): def __init__(self, this): diff --git a/wxPython/src/msw/windows_wrap.cpp b/wxPython/src/msw/windows_wrap.cpp index 7f11314ff4..c62f729e3a 100644 --- a/wxPython/src/msw/windows_wrap.cpp +++ b/wxPython/src/msw/windows_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -406,7 +400,7 @@ IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismis #include -wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,wxCoord maxLength,wxRect *rectBound){ +wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,int maxLength,wxRect *rectBound){ wxString tmp = *text; return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound); } @@ -471,7 +465,7 @@ public: // find the index of the line we need to show at the top of the window such // that the last (fully or partially) visible line is the given one - size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) + size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } // get the total height of the lines between lineMin (inclusive) and @@ -819,7 +813,7 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); // Since this one would be tough and ugly to do with the Macros... void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { - bool hadErr = FALSE; + bool hadErr = False; bool found; wxPyBeginBlockThreads(); @@ -830,22 +824,22 @@ void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *p val = PyTuple_GetItem(result, 0); if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 1); if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 2); if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; val = PyTuple_GetItem(result, 3); if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); - else hadErr = TRUE; + else hadErr = True; } else - hadErr = TRUE; + hadErr = True; if (hadErr) { PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); @@ -882,7 +876,7 @@ IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ - bool rval=FALSE; \ + bool rval=False; \ bool found; \ wxPyBeginBlockThreads(); \ if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ @@ -1005,7 +999,7 @@ extern "C" { static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -1016,7 +1010,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg wxPanel *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1025,7 +1019,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj2) { { @@ -1043,7 +1037,7 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -1094,7 +1088,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxPanel *arg1 = (wxPanel *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -1105,7 +1099,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1134,7 +1128,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1193,7 +1187,7 @@ static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ; + int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -1204,7 +1198,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObje wxScrolledWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -1231,7 +1225,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObje { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -1282,7 +1276,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ; + int arg3 = (int) (int)-1 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -1293,7 +1287,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -1322,7 +1316,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -1356,7 +1350,7 @@ static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *ar int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; - bool arg8 = (bool) FALSE ; + bool arg8 = (bool) False ; PyObject * obj0 = 0 ; PyObject * obj7 = 0 ; char *kwnames[] = { @@ -2439,7 +2433,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxString *arg1 = 0 ; wxAcceleratorEntry *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "label", NULL @@ -2449,7 +2443,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2476,7 +2470,7 @@ static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2530,7 +2524,7 @@ static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, Py static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; - bool arg2 = (bool) TRUE ; + bool arg2 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2755,7 +2749,7 @@ static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, P PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -2767,7 +2761,7 @@ static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -2863,7 +2857,7 @@ static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -2873,10 +2867,10 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -2891,7 +2885,7 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -2909,7 +2903,7 @@ static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwarg { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -2972,7 +2966,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -2982,10 +2976,10 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3002,7 +2996,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3020,7 +3014,7 @@ static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3191,11 +3185,11 @@ static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyO wxFrame *arg1 = (wxFrame *) 0 ; int arg2 = (int) 1 ; long arg3 = (long) wxST_SIZEGRIP ; - wxWindowID arg4 = (wxWindowID) 0 ; + int arg4 = (int) 0 ; wxString const &arg5_defvalue = wxPyStatusLineNameStr ; wxString *arg5 = (wxString *) &arg5_defvalue ; wxStatusBar *result; - bool temp5 = false ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj4 = 0 ; char *kwnames[] = { @@ -3208,7 +3202,7 @@ static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyO { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -3294,7 +3288,7 @@ static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObj wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3306,7 +3300,7 @@ static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3373,7 +3367,7 @@ static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyOb wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3385,7 +3379,7 @@ static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -3488,11 +3482,11 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObj PyObject *resultobj; wxFrame *arg1 = (wxFrame *) 0 ; long arg2 = (long) -1 ; - wxWindowID arg3 = (wxWindowID) -1 ; + int arg3 = (int) -1 ; wxString const &arg4_defvalue = wxPyToolBarNameStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxToolBar *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -3505,7 +3499,7 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -3591,7 +3585,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -3604,7 +3598,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } arg3 = PyInt_AsLong(obj2) ? true : false; if (PyErr_Occurred()) SWIG_fail; @@ -3669,7 +3663,7 @@ static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -3679,10 +3673,10 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar wxString const &arg7_defvalue = wxPyDialogNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxDialog *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -3697,7 +3691,7 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -3715,7 +3709,7 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -3774,7 +3768,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxDialog *arg1 = (wxDialog *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -3784,10 +3778,10 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k wxString const &arg8_defvalue = wxPyDialogNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -3804,7 +3798,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -3822,7 +3816,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *k { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -3910,7 +3904,7 @@ static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, Py wxDialog *arg1 = (wxDialog *) 0 ; wxString *arg2 = 0 ; wxSizer *result; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -3922,7 +3916,7 @@ static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4114,7 +4108,7 @@ static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -4124,10 +4118,10 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMiniFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -4142,7 +4136,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -4160,7 +4154,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -4219,7 +4213,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -4229,10 +4223,10 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -4249,7 +4243,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -4267,7 +4261,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -4311,7 +4305,7 @@ static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, Py PyObject *resultobj; wxBitmap *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -4431,7 +4425,7 @@ static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject long arg2 ; int arg3 ; wxWindow *arg4 = (wxWindow *) 0 ; - wxWindowID arg5 ; + int arg5 ; wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; wxSize const &arg7_defvalue = wxDefaultSize ; @@ -4565,12 +4559,12 @@ static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) -1 ; + int arg2 = (int) -1 ; long arg3 = (long) wxST_SIZEGRIP ; wxString const &arg4_defvalue = wxPyStatusLineNameStr ; wxString *arg4 = (wxString *) &arg4_defvalue ; wxStatusBar *result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj3 = 0 ; char *kwnames[] = { @@ -4583,7 +4577,7 @@ static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -4638,12 +4632,12 @@ static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; long arg4 = (long) wxST_SIZEGRIP ; wxString const &arg5_defvalue = wxPyStatusLineNameStr ; wxString *arg5 = (wxString *) &arg5_defvalue ; bool result; - bool temp5 = false ; + bool temp5 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj4 = 0 ; @@ -4658,7 +4652,7 @@ static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } { @@ -4738,7 +4732,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, P wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4750,7 +4744,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -4811,7 +4805,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -4823,7 +4817,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -5028,7 +5022,7 @@ static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -5039,7 +5033,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObje wxSplitterWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5066,7 +5060,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObje { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -5117,7 +5111,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -5128,7 +5122,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -5157,7 +5151,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -5567,7 +5561,7 @@ static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject * PyObject *resultobj; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -5946,7 +5940,7 @@ static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -5957,7 +5951,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject * wxSashWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -5984,7 +5978,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject * { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -6035,7 +6029,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -6046,7 +6040,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -6075,7 +6069,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -6788,7 +6782,7 @@ static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { } static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxQueryLayoutInfoEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -7078,7 +7072,7 @@ static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *ar } static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; - wxWindowID arg1 = (wxWindowID) 0 ; + int arg1 = (int) 0 ; wxCalculateLayoutEvent *result; char *kwnames[] = { (char *) "id", NULL @@ -7219,7 +7213,7 @@ static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *ar static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -7230,7 +7224,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyOb wxSashLayoutWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -7257,7 +7251,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyOb { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -7308,7 +7302,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P PyObject *resultobj; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -7319,7 +7313,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -7348,7 +7342,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, P { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -7927,7 +7921,7 @@ static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = (wxString *) 0 ; - wxCoord arg3 = (wxCoord) 100 ; + int arg3 = (int) 100 ; wxRect *arg4 = (wxRect *) NULL ; wxTipWindow *result; PyObject * obj0 = 0 ; @@ -8022,7 +8016,7 @@ static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8033,7 +8027,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObj wxPyVScrolledWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8060,7 +8054,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObj { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -8141,7 +8135,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py PyObject *resultobj; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8152,7 +8146,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8181,7 +8175,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, Py { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -8378,8 +8372,8 @@ static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *ar static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; int result; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8572,7 +8566,7 @@ static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -8583,7 +8577,7 @@ static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kw wxPyVListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -8610,7 +8604,7 @@ static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -8691,7 +8685,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -8702,7 +8696,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -8731,7 +8725,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -9114,7 +9108,7 @@ static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; - bool arg3 = (bool) true ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -9290,8 +9284,8 @@ static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; - wxCoord arg2 ; - wxCoord arg3 ; + int arg2 ; + int arg3 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self",(char *) "x",(char *) "y", NULL @@ -9354,7 +9348,7 @@ static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 = (wxWindowID) wxID_ANY ; + int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -9365,7 +9359,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject wxPyHtmlListBox *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -9392,7 +9386,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -9473,7 +9467,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 = (wxWindowID) wxID_ANY ; + int arg3 = (int) wxID_ANY ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; @@ -9484,7 +9478,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -9513,7 +9507,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -9700,7 +9694,7 @@ static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObj wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -9718,7 +9712,7 @@ static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObj { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -10166,11 +10160,11 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k wxString const &arg7_defvalue = wxPyDirDialogNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxDirDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10187,14 +10181,14 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -10213,7 +10207,7 @@ static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *k { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -10345,7 +10339,7 @@ static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10357,7 +10351,7 @@ static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10385,7 +10379,7 @@ static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObjec PyObject *resultobj; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10397,7 +10391,7 @@ static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10468,10 +10462,10 @@ static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject * wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxFileDialog *result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; - bool temp5 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; + bool temp5 = False ; wxPoint temp7 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10489,28 +10483,28 @@ static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { { arg5 = wxString_in_helper(obj4); if (arg5 == NULL) SWIG_fail; - temp5 = true; + temp5 = True; } } if (obj6) { @@ -10569,7 +10563,7 @@ static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10581,7 +10575,7 @@ static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10609,7 +10603,7 @@ static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObje PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10621,7 +10615,7 @@ static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10649,7 +10643,7 @@ static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, P PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10661,7 +10655,7 @@ static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, P { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10689,7 +10683,7 @@ static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, Py PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10701,7 +10695,7 @@ static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -10729,7 +10723,7 @@ static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, Py PyObject *resultobj; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -10741,7 +10735,7 @@ static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11088,8 +11082,8 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyO wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxMultiChoiceDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp7 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11105,12 +11099,12 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj6) { @@ -11239,8 +11233,8 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, Py wxPoint const &arg7_defvalue = wxDefaultPosition ; wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; wxSingleChoiceDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11256,12 +11250,12 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, Py { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { arg4 = PyList_Size(obj3); @@ -11435,9 +11429,9 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObj wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; wxTextEntryDialog *result; - bool temp2 = false ; - bool temp3 = false ; - bool temp4 = false ; + bool temp2 = False ; + bool temp3 = False ; + bool temp4 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11453,20 +11447,20 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObj { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj5) { @@ -11548,7 +11542,7 @@ static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *resultobj; wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -11560,7 +11554,7 @@ static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12133,8 +12127,8 @@ static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObjec wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; wxMessageDialog *result; - bool temp2 = false ; - bool temp3 = false ; + bool temp2 = False ; + bool temp3 = False ; wxPoint temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -12149,13 +12143,13 @@ static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObjec { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj2) { { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj4) { @@ -12234,8 +12228,8 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObje wxWindow *arg4 = (wxWindow *) NULL ; int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; wxProgressDialog *result; - bool temp1 = false ; - bool temp2 = false ; + bool temp1 = False ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -12247,12 +12241,12 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObje { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } if (obj3) { if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; @@ -12294,7 +12288,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyO wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; char *kwnames[] = { @@ -12307,7 +12301,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } { @@ -12525,7 +12519,7 @@ static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *a PyObject *resultobj; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12537,7 +12531,7 @@ static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12565,7 +12559,7 @@ static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject PyObject *resultobj; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12577,7 +12571,7 @@ static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12765,7 +12759,7 @@ static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *a PyObject *resultobj; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12777,7 +12771,7 @@ static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *a { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12805,7 +12799,7 @@ static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject PyObject *resultobj; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -12817,7 +12811,7 @@ static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12855,7 +12849,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyO wxString *arg3 = 0 ; int arg4 = (int) 0 ; wxFindReplaceDialog *result; - bool temp3 = false ; + bool temp3 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12869,7 +12863,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -12923,7 +12917,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, wxString *arg4 = 0 ; int arg5 = (int) 0 ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12939,7 +12933,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -13025,7 +13019,7 @@ static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -13035,10 +13029,10 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMDIParentFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13053,7 +13047,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -13071,7 +13065,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -13130,7 +13124,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -13140,10 +13134,10 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -13160,7 +13154,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -13178,7 +13172,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyO { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -13503,7 +13497,7 @@ static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxString *arg3 = 0 ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; @@ -13513,10 +13507,10 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxMDIChildFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13531,7 +13525,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -13549,7 +13543,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObjec { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -13612,7 +13606,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb PyObject *resultobj; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; - wxWindowID arg3 ; + int arg3 ; wxString *arg4 = 0 ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; @@ -13622,10 +13616,10 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb wxString const &arg8_defvalue = wxPyFrameNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = false ; + bool temp8 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; @@ -13642,7 +13636,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } if (obj4) { { @@ -13660,7 +13654,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyOb { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = true; + temp8 = True; } } { @@ -13867,7 +13861,7 @@ static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -13878,7 +13872,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kw wxPyWindow *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -13905,7 +13899,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kw { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -14483,7 +14477,7 @@ static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) 0 ; - wxWindowID arg2 ; + int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; wxSize const &arg4_defvalue = wxDefaultSize ; @@ -14494,7 +14488,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwa wxPyPanel *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -14521,7 +14515,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwa { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -15484,7 +15478,7 @@ static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15496,7 +15490,7 @@ static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15927,7 +15921,7 @@ static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15939,7 +15933,7 @@ static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -15967,7 +15961,7 @@ static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -15979,7 +15973,7 @@ static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16007,7 +16001,7 @@ static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16019,7 +16013,7 @@ static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16047,7 +16041,7 @@ static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyO PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16059,7 +16053,7 @@ static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16087,7 +16081,7 @@ static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *arg PyObject *resultobj; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; - bool temp2 = false ; + bool temp2 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -16099,7 +16093,7 @@ static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *arg { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = true; + temp2 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18348,7 +18342,7 @@ static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *k wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; - int arg4 = (int) TRUE ; + int arg4 = (int) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -18411,7 +18405,7 @@ static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObj wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; wxString *arg4 = 0 ; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -18427,7 +18421,7 @@ static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -18538,7 +18532,7 @@ static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kw wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyPrintout *result; - bool temp1 = false ; + bool temp1 = False ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "title", NULL @@ -18549,7 +18543,7 @@ static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kw { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = true; + temp1 = True; } } { @@ -19222,7 +19216,7 @@ static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObjec wxPreviewCanvas *result; wxPoint temp3 ; wxSize temp4 ; - bool temp6 = false ; + bool temp6 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -19251,7 +19245,7 @@ static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObjec { arg6 = wxString_in_helper(obj5); if (arg6 == NULL) SWIG_fail; - temp6 = true; + temp6 = True; } } { @@ -19296,10 +19290,10 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxPreviewFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -19316,7 +19310,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -19334,7 +19328,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -19486,7 +19480,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyO wxPreviewControlBar *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -19515,7 +19509,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyO { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20656,10 +20650,10 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje wxString const &arg7_defvalue = wxPyFrameNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; wxPyPreviewFrame *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -20676,7 +20670,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } if (obj3) { { @@ -20694,7 +20688,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObje { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { @@ -20905,7 +20899,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, P wxPyPreviewControlBar *result; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = false ; + bool temp7 = False ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; @@ -20934,7 +20928,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, P { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = true; + temp7 = True; } } { diff --git a/wxPython/src/msw/wizard.py b/wxPython/src/msw/wizard.py index 0389bce88a..55feb72b34 100644 --- a/wxPython/src/msw/wizard.py +++ b/wxPython/src/msw/wizard.py @@ -19,15 +19,24 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) class WizardEvent(core.NotifyEvent): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, + WizardPage page=None) -> WizardEvent""" newobj = _wizard.new_WizardEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetDirection(*args, **kwargs): return _wizard.WizardEvent_GetDirection(*args, **kwargs) - def GetPage(*args, **kwargs): return _wizard.WizardEvent_GetPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetDirection(*args, **kwargs): + """GetDirection() -> bool""" + return _wizard.WizardEvent_GetDirection(*args, **kwargs) + + def GetPage(*args, **kwargs): + """GetPage() -> WizardPage""" + return _wizard.WizardEvent_GetPage(*args, **kwargs) + class WizardEventPtr(WizardEvent): def __init__(self, this): @@ -37,13 +46,26 @@ class WizardEventPtr(WizardEvent): _wizard.WizardEvent_swigregister(WizardEventPtr) class WizardPage(windows.Panel): - def Create(*args, **kwargs): return _wizard.WizardPage_Create(*args, **kwargs) - def GetPrev(*args, **kwargs): return _wizard.WizardPage_GetPrev(*args, **kwargs) - def GetNext(*args, **kwargs): return _wizard.WizardPage_GetNext(*args, **kwargs) - def GetBitmap(*args, **kwargs): return _wizard.WizardPage_GetBitmap(*args, **kwargs) + """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Create(*args, **kwargs): + """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + return _wizard.WizardPage_Create(*args, **kwargs) + + def GetPrev(*args, **kwargs): + """GetPrev() -> WizardPage""" + return _wizard.WizardPage_GetPrev(*args, **kwargs) + + def GetNext(*args, **kwargs): + """GetNext() -> WizardPage""" + return _wizard.WizardPage_GetNext(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap() -> wxBitmap""" + return _wizard.WizardPage_GetBitmap(*args, **kwargs) + class WizardPagePtr(WizardPage): def __init__(self, this): @@ -53,34 +75,97 @@ class WizardPagePtr(WizardPage): _wizard.WizardPage_swigregister(WizardPagePtr) class PyWizardPage(WizardPage): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString resource=&wxPyEmptyString) -> PyWizardPage""" newobj = _wizard.new_PyWizardPage(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.PyWizardPage_Create(*args, **kwargs) - def _setCallbackInfo(*args, **kwargs): return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) - def base_DoMoveWindow(*args, **kwargs): return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) - def base_DoSetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) - def base_DoSetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) - def base_DoSetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) - def base_DoGetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) - def base_DoGetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) - def base_DoGetPosition(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) - def base_DoGetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) - def base_DoGetBestSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) - def base_InitDialog(*args, **kwargs): return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) - def base_TransferDataToWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) - def base_TransferDataFromWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) - def base_Validate(*args, **kwargs): return _wizard.PyWizardPage_base_Validate(*args, **kwargs) - def base_AcceptsFocus(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) - def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) - def base_GetMaxSize(*args, **kwargs): return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) - def base_AddChild(*args, **kwargs): return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) - def base_RemoveChild(*args, **kwargs): return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + return _wizard.PyWizardPage_Create(*args, **kwargs) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) + + def base_DoMoveWindow(*args, **kwargs): + """base_DoMoveWindow(int x, int y, int width, int height)""" + return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) + + def base_DoSetSize(*args, **kwargs): + """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) + + def base_DoSetClientSize(*args, **kwargs): + """base_DoSetClientSize(int width, int height)""" + return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) + + def base_DoSetVirtualSize(*args, **kwargs): + """base_DoSetVirtualSize(int x, int y)""" + return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) + + def base_DoGetSize(*args, **kwargs): + """base_DoGetSize(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) + + def base_DoGetClientSize(*args, **kwargs): + """base_DoGetClientSize(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) + + def base_DoGetPosition(*args, **kwargs): + """base_DoGetPosition(int OUTPUT, int OUTPUT)""" + return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) + + def base_DoGetVirtualSize(*args, **kwargs): + """base_DoGetVirtualSize() -> Size""" + return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) + + def base_DoGetBestSize(*args, **kwargs): + """base_DoGetBestSize() -> Size""" + return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) + + def base_InitDialog(*args, **kwargs): + """base_InitDialog()""" + return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) + + def base_TransferDataToWindow(*args, **kwargs): + """base_TransferDataToWindow() -> bool""" + return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) + + def base_TransferDataFromWindow(*args, **kwargs): + """base_TransferDataFromWindow() -> bool""" + return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) + + def base_Validate(*args, **kwargs): + """base_Validate() -> bool""" + return _wizard.PyWizardPage_base_Validate(*args, **kwargs) + + def base_AcceptsFocus(*args, **kwargs): + """base_AcceptsFocus() -> bool""" + return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) + + def base_AcceptsFocusFromKeyboard(*args, **kwargs): + """base_AcceptsFocusFromKeyboard() -> bool""" + return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) + + def base_GetMaxSize(*args, **kwargs): + """base_GetMaxSize() -> Size""" + return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) + + def base_AddChild(*args, **kwargs): + """base_AddChild(Window child)""" + return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) + + def base_RemoveChild(*args, **kwargs): + """base_RemoveChild(Window child)""" + return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) + class PyWizardPagePtr(PyWizardPage): def __init__(self, this): @@ -90,23 +175,42 @@ class PyWizardPagePtr(PyWizardPage): _wizard.PyWizardPage_swigregister(PyWizardPagePtr) def PrePyWizardPage(*args, **kwargs): + """PrePyWizardPage() -> PyWizardPage""" val = _wizard.new_PrePyWizardPage(*args, **kwargs) val.thisown = 1 return val class WizardPageSimple(WizardPage): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple""" newobj = _wizard.new_WizardPageSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.WizardPageSimple_Create(*args, **kwargs) - def SetPrev(*args, **kwargs): return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) - def SetNext(*args, **kwargs): return _wizard.WizardPageSimple_SetNext(*args, **kwargs) - Chain = staticmethod(_wizard.WizardPageSimple_Chain) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + return _wizard.WizardPageSimple_Create(*args, **kwargs) + + def SetPrev(*args, **kwargs): + """SetPrev(WizardPage prev)""" + return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) + + def SetNext(*args, **kwargs): + """SetNext(WizardPage next)""" + return _wizard.WizardPageSimple_SetNext(*args, **kwargs) + + def Chain(*args, **kwargs): + """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)""" + return _wizard.WizardPageSimple_Chain(*args, **kwargs) + + Chain = staticmethod(Chain) class WizardPageSimplePtr(WizardPageSimple): def __init__(self, this): @@ -116,34 +220,82 @@ class WizardPageSimplePtr(WizardPageSimple): _wizard.WizardPageSimple_swigregister(WizardPageSimplePtr) def PreWizardPageSimple(*args, **kwargs): + """PreWizardPageSimple() -> WizardPageSimple""" val = _wizard.new_PreWizardPageSimple(*args, **kwargs) val.thisown = 1 return val -WizardPageSimple_Chain = _wizard.WizardPageSimple_Chain +def WizardPageSimple_Chain(*args, **kwargs): + """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)""" + return _wizard.WizardPageSimple_Chain(*args, **kwargs) class Wizard(windows.Dialog): + """""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, + long style=DEFAULT_DIALOG_STYLE) -> Wizard""" newobj = _wizard.new_Wizard(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Create(*args, **kwargs): return _wizard.Wizard_Create(*args, **kwargs) - def Init(*args, **kwargs): return _wizard.Wizard_Init(*args, **kwargs) - def RunWizard(*args, **kwargs): return _wizard.Wizard_RunWizard(*args, **kwargs) - def GetCurrentPage(*args, **kwargs): return _wizard.Wizard_GetCurrentPage(*args, **kwargs) - def SetPageSize(*args, **kwargs): return _wizard.Wizard_SetPageSize(*args, **kwargs) - def GetPageSize(*args, **kwargs): return _wizard.Wizard_GetPageSize(*args, **kwargs) - def FitToPage(*args, **kwargs): return _wizard.Wizard_FitToPage(*args, **kwargs) - def GetPageAreaSizer(*args, **kwargs): return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) - def SetBorder(*args, **kwargs): return _wizard.Wizard_SetBorder(*args, **kwargs) - def IsRunning(*args, **kwargs): return _wizard.Wizard_IsRunning(*args, **kwargs) - def ShowPage(*args, **kwargs): return _wizard.Wizard_ShowPage(*args, **kwargs) - def HasNextPage(*args, **kwargs): return _wizard.Wizard_HasNextPage(*args, **kwargs) - def HasPrevPage(*args, **kwargs): return _wizard.Wizard_HasPrevPage(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Create(*args, **kwargs): + """Create(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + return _wizard.Wizard_Create(*args, **kwargs) + + def Init(*args, **kwargs): + """Init()""" + return _wizard.Wizard_Init(*args, **kwargs) + + def RunWizard(*args, **kwargs): + """RunWizard(WizardPage firstPage) -> bool""" + return _wizard.Wizard_RunWizard(*args, **kwargs) + + def GetCurrentPage(*args, **kwargs): + """GetCurrentPage() -> WizardPage""" + return _wizard.Wizard_GetCurrentPage(*args, **kwargs) + + def SetPageSize(*args, **kwargs): + """SetPageSize(Size size)""" + return _wizard.Wizard_SetPageSize(*args, **kwargs) + + def GetPageSize(*args, **kwargs): + """GetPageSize() -> Size""" + return _wizard.Wizard_GetPageSize(*args, **kwargs) + + def FitToPage(*args, **kwargs): + """FitToPage(WizardPage firstPage)""" + return _wizard.Wizard_FitToPage(*args, **kwargs) + + def GetPageAreaSizer(*args, **kwargs): + """GetPageAreaSizer() -> Sizer""" + return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) + + def SetBorder(*args, **kwargs): + """SetBorder(int border)""" + return _wizard.Wizard_SetBorder(*args, **kwargs) + + def IsRunning(*args, **kwargs): + """IsRunning() -> bool""" + return _wizard.Wizard_IsRunning(*args, **kwargs) + + def ShowPage(*args, **kwargs): + """ShowPage(WizardPage page, bool goingForward=True) -> bool""" + return _wizard.Wizard_ShowPage(*args, **kwargs) + + def HasNextPage(*args, **kwargs): + """HasNextPage(WizardPage page) -> bool""" + return _wizard.Wizard_HasNextPage(*args, **kwargs) + + def HasPrevPage(*args, **kwargs): + """HasPrevPage(WizardPage page) -> bool""" + return _wizard.Wizard_HasPrevPage(*args, **kwargs) + class WizardPtr(Wizard): def __init__(self, this): @@ -153,6 +305,7 @@ class WizardPtr(Wizard): _wizard.Wizard_swigregister(WizardPtr) def PreWizard(*args, **kwargs): + """PreWizard() -> Wizard""" val = _wizard.new_PreWizard(*args, **kwargs) val.thisown = 1 return val diff --git a/wxPython/src/msw/wizard_wrap.cpp b/wxPython/src/msw/wizard_wrap.cpp index 4dcdd082f8..8a6f687ff8 100644 --- a/wxPython/src/msw/wizard_wrap.cpp +++ b/wxPython/src/msw/wizard_wrap.cpp @@ -97,10 +97,10 @@ typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); typedef struct swig_type_info { - const char *name; + const char *name; swig_converter_func converter; const char *str; - void *clientdata; + void *clientdata; swig_dycast_func dcast; struct swig_type_info *next; struct swig_type_info *prev; @@ -118,6 +118,7 @@ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); #ifdef __cplusplus } + #endif /*********************************************************************** @@ -203,15 +204,8 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con /* Contract support */ -#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else - -#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else +#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else -#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else -#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else #ifdef __cplusplus } @@ -385,7 +379,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) -1 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; wxWizardPage *arg4 = (wxWizardPage *) NULL ; wxWizardEvent *result; PyObject * obj2 = 0 ; @@ -484,7 +478,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -506,7 +500,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -687,7 +681,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj wxString const &arg4_defvalue = wxPyEmptyString ; wxString *arg4 = (wxString *) &arg4_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -709,7 +703,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } { @@ -1509,7 +1503,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; wxWizard *result; - bool temp3 = false ; + bool temp3 = False ; wxPoint temp5 ; PyObject * obj0 = 0 ; PyObject * obj2 = 0 ; @@ -1525,7 +1519,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = true; + temp3 = True; } } if (obj3) { @@ -1596,7 +1590,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k wxPoint const &arg6_defvalue = wxDefaultPosition ; wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; bool result; - bool temp4 = false ; + bool temp4 = False ; wxPoint temp6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -1614,7 +1608,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = true; + temp4 = True; } } if (obj4) { @@ -1898,7 +1892,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *self, PyObject *args, PyObject PyObject *resultobj; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; - bool arg3 = (bool) TRUE ; + bool arg3 = (bool) True ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;