#define SWIG_TypeName SWIG_Python_TypeName
#define SWIG_TypeQuery SWIG_Python_TypeQuery
#define SWIG_TypeClientData SWIG_Python_TypeClientData
+#define SWIG_PackData SWIG_Python_PackData
+#define SWIG_UnpackData SWIG_Python_UnpackData
/***********************************************************************
#include <string.h>
-#if defined(_WIN32) || defined(__WIN32__)
-# if defined(_MSC_VER)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) extern a
-# else
-# define SWIGEXPORT(a) __declspec(dllexport) a
-# define SWIGIMPORT(a) extern a
-# endif
-# else
-# if defined(__BORLANDC__)
-# define SWIGEXPORT(a) a _export
-# define SWIGIMPORT(a) a _export
-# else
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) a
-# endif
-# endif
+#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
+# if defined(_MSC_VER) || defined(__GNUC__)
+# if defined(STATIC_LINKED)
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) extern a
+# else
+# define SWIGEXPORT(a) __declspec(dllexport) a
+# define SWIGIMPORT(a) extern a
+# endif
+# else
+# if defined(__BORLANDC__)
+# define SWIGEXPORT(a) a _export
+# define SWIGIMPORT(a) a _export
+# else
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) a
+# endif
+# endif
#else
-# define SWIGEXPORT(a) a
-# define SWIGIMPORT(a) a
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) a
#endif
#ifdef SWIG_GLOBAL
-#define SWIGRUNTIME(a) SWIGEXPORT(a)
+# define SWIGRUNTIME(a) SWIGEXPORT(a)
#else
-#define SWIGRUNTIME(a) static a
+# define SWIGRUNTIME(a) static a
#endif
-
#ifdef __cplusplus
extern "C" {
#endif
SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
+SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
+SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
#ifdef __cplusplus
}
+
#endif
+
/***********************************************************************
* pyrun.swg for wxPython
*
*
************************************************************************/
-
#include "Python.h"
#ifdef __cplusplus
swig_type_info **ptype;
} swig_const_info;
-
-
/* Common SWIG API */
#define SWIG_ConvertPtr(obj, pp, type, flags) \
SWIG_Python_ConvertPtr(obj, pp, type, flags)
SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
-#define SWIG_PackData(c, ptr, sz) \
- SWIG_Python_PackData(c, ptr, sz)
-#define SWIG_UnpackData(c, ptr, sz) \
- SWIG_Python_UnpackData(c, ptr, sz)
#define SWIG_NewPackedObj(ptr, sz, type) \
SWIG_Python_NewPackedObj(ptr, sz, type)
#define SWIG_InstallConstants(d, constants) \
SWIG_Python_InstallConstants(d, constants)
-SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
-SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
-SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
+SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
+SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
+SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
+SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
+SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
+SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
+SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
+SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
-SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
-SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
-SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
-SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
-SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
-SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
-SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
/* Contract support */
-#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-
-#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
-
-#define SWIG_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
+#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
#ifdef __cplusplus
}
#include <wx/grid.h>
#include <wx/generic/gridctrl.h>
- DECLARE_DEF_STRING(PanelNameStr);
- DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
- static const wxString wxPyEmptyString(wxT(""));
+ static const wxString wxPyEmptyString(wxEmptyString);
+ static const wxString wxPyPanelNameStr(wxPanelNameStr);
+ static const wxString wxPyDateTimeFormatStr(wxT(wxT("%c")));
#define wxPyMake_TEMPLATE(TYPE) \
/* 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)); \
} \
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);
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) {
**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;
}
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;
}
#ifdef __cplusplus
extern "C" {
#endif
+static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
+ PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_DateTimeFormatStr_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
static int _wrap_GridNoCellCoords_set(PyObject *_val) {
PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
return 1;
PyObject *resultobj;
wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
wxGridCellDateTimeRenderer *result;
- wxString *argp1 ;
- wxString *argp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
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();
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
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = true;
+ temp1 = True;
}
}
{
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
- wxWindowID arg3 ;
+ int arg3 ;
wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
int arg1 = (int) 0 ;
wxString *arg2 = (wxString *) NULL ;
- bool arg3 = (bool) FALSE ;
+ bool arg3 = (bool) False ;
wxGridCellChoiceEditor *result;
+ PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "LCOUNT",(char *) "choices",(char *) "allowOthers", NULL
+ (char *) "choices",(char *) "allowOthers", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOO:new_GridCellChoiceEditor",kwnames,&arg1,&obj1,&obj2)) goto fail;
- if (obj1) {
- if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
+ if (obj0) {
+ {
+ arg1 = PyList_Size(obj0);
+ arg2 = wxString_LIST_helper(obj0);
+ if (arg2 == NULL) SWIG_fail;
+ }
}
- if (obj2) {
- arg3 = PyInt_AsLong(obj2) ? true : false;
+ if (obj1) {
+ arg3 = PyInt_AsLong(obj1) ? true : false;
if (PyErr_Occurred()) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellChoiceEditor, 1);
+ {
+ if (arg2) delete [] arg2;
+ }
return resultobj;
fail:
+ {
+ if (arg2) delete [] arg2;
+ }
return NULL;
}
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
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = true;
+ temp1 = True;
}
}
{
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[] = {
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[] = {
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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 ;
wxGrid *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = false ;
+ bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = true;
+ temp6 = True;
}
}
{
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
arg4 = &temp4;
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 ;
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[] = {
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
- bool arg4 = (bool) TRUE ;
+ bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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[] = {
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[] = {
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[] = {
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = false ;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = true;
+ temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) FALSE ;
+ bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) FALSE ;
+ bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) TRUE ;
+ bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) TRUE ;
+ bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
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[] = {
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[] = {
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = false ;
+ bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = true;
+ temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
- bool arg4 = (bool) TRUE ;
+ bool arg4 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) FALSE ;
+ bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) FALSE ;
+ bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) FALSE ;
+ bool arg6 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj5 = 0 ;
char *kwnames[] = {
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 ;
{
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;
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellEditor *result;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellRenderer *result;
- bool temp2 = false ;
+ bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = true;
+ temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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 ;
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 ;
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 ;
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
}
-static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
-}
static void *_p_wxWindowTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
}
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
}
+static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
+}
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
}
SWIG_InstallConstants(d,swig_const_table);
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
+ SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));