reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-11-19 18:38:16 +00:00
parent 9d1d5697d5
commit 423f194a14
40 changed files with 42912 additions and 15857 deletions

View File

@ -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)

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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();

View File

@ -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)

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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();

View File

@ -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

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;

View File

@ -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

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); 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_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 ;