| 1 | /* ---------------------------------------------------------------------------- |
| 2 | * This file was automatically generated by SWIG (http://www.swig.org). |
| 3 | * Version 1.3.20 |
| 4 | * |
| 5 | * This file is not intended to be easily readable and contains a number of |
| 6 | * coding conventions designed to improve portability and efficiency. Do not make |
| 7 | * changes to this file unless you know what you are doing--modify the SWIG |
| 8 | * interface file instead. |
| 9 | * ----------------------------------------------------------------------------- */ |
| 10 | |
| 11 | #define SWIGPYTHON |
| 12 | #define SWIG_NOINCLUDE |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | template<class T> class SwigValueWrapper { |
| 16 | T *tt; |
| 17 | public: |
| 18 | SwigValueWrapper() : tt(0) { } |
| 19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } |
| 20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } |
| 21 | ~SwigValueWrapper() { delete tt; } |
| 22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } |
| 23 | operator T&() const { return *tt; } |
| 24 | T *operator&() { return tt; } |
| 25 | private: |
| 26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); |
| 27 | }; |
| 28 | #endif |
| 29 | |
| 30 | |
| 31 | #include "Python.h" |
| 32 | |
| 33 | /*************************************************************** -*- c -*- |
| 34 | * python/precommon.swg |
| 35 | * |
| 36 | * Rename all exported symbols from common.swg, to avoid symbol |
| 37 | * clashes if multiple interpreters are included |
| 38 | * |
| 39 | ************************************************************************/ |
| 40 | |
| 41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister |
| 42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck |
| 43 | #define SWIG_TypeCast SWIG_Python_TypeCast |
| 44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast |
| 45 | #define SWIG_TypeName SWIG_Python_TypeName |
| 46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
| 47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData |
| 48 | |
| 49 | |
| 50 | /*********************************************************************** |
| 51 | * common.swg for wxPython |
| 52 | * |
| 53 | * Include only the function prototypes and such from SWIG's common.swg, |
| 54 | * but not the runtime functions themselves. This helps keep the |
| 55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file |
| 56 | * anyway. |
| 57 | * |
| 58 | ************************************************************************/ |
| 59 | |
| 60 | #include <string.h> |
| 61 | |
| 62 | #if defined(_WIN32) || defined(__WIN32__) |
| 63 | # if defined(_MSC_VER) |
| 64 | # if defined(STATIC_LINKED) |
| 65 | # define SWIGEXPORT(a) a |
| 66 | # define SWIGIMPORT(a) extern a |
| 67 | # else |
| 68 | # define SWIGEXPORT(a) __declspec(dllexport) a |
| 69 | # define SWIGIMPORT(a) extern a |
| 70 | # endif |
| 71 | # else |
| 72 | # if defined(__BORLANDC__) |
| 73 | # define SWIGEXPORT(a) a _export |
| 74 | # define SWIGIMPORT(a) a _export |
| 75 | # else |
| 76 | # define SWIGEXPORT(a) a |
| 77 | # define SWIGIMPORT(a) a |
| 78 | # endif |
| 79 | # endif |
| 80 | #else |
| 81 | # define SWIGEXPORT(a) a |
| 82 | # define SWIGIMPORT(a) a |
| 83 | #endif |
| 84 | |
| 85 | #ifdef SWIG_GLOBAL |
| 86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) |
| 87 | #else |
| 88 | #define SWIGRUNTIME(a) static a |
| 89 | #endif |
| 90 | |
| 91 | |
| 92 | #ifdef __cplusplus |
| 93 | extern "C" { |
| 94 | #endif |
| 95 | |
| 96 | typedef void *(*swig_converter_func)(void *); |
| 97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); |
| 98 | |
| 99 | typedef struct swig_type_info { |
| 100 | const char *name; |
| 101 | swig_converter_func converter; |
| 102 | const char *str; |
| 103 | void *clientdata; |
| 104 | swig_dycast_func dcast; |
| 105 | struct swig_type_info *next; |
| 106 | struct swig_type_info *prev; |
| 107 | } swig_type_info; |
| 108 | |
| 109 | |
| 110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); |
| 111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); |
| 112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); |
| 113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); |
| 114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); |
| 115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
| 116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); |
| 117 | |
| 118 | |
| 119 | #ifdef __cplusplus |
| 120 | } |
| 121 | |
| 122 | #endif |
| 123 | |
| 124 | /*********************************************************************** |
| 125 | * pyrun.swg for wxPython |
| 126 | * |
| 127 | * Include only the function prototypes and such from SWIG's pyrun.swg, |
| 128 | * but not the runtime functions themselves. This helps keep the |
| 129 | * wrapper files clean of unnecessary stuff that is in the libpy.c file |
| 130 | * anyway. |
| 131 | * |
| 132 | ************************************************************************/ |
| 133 | |
| 134 | |
| 135 | #include "Python.h" |
| 136 | |
| 137 | #ifdef __cplusplus |
| 138 | extern "C" { |
| 139 | #endif |
| 140 | |
| 141 | #define SWIG_PY_INT 1 |
| 142 | #define SWIG_PY_FLOAT 2 |
| 143 | #define SWIG_PY_STRING 3 |
| 144 | #define SWIG_PY_POINTER 4 |
| 145 | #define SWIG_PY_BINARY 5 |
| 146 | |
| 147 | /* Flags for pointer conversion */ |
| 148 | |
| 149 | #define SWIG_POINTER_EXCEPTION 0x1 |
| 150 | #define SWIG_POINTER_DISOWN 0x2 |
| 151 | |
| 152 | /* Exception handling in wrappers */ |
| 153 | #define SWIG_fail goto fail |
| 154 | |
| 155 | /* Constant information structure */ |
| 156 | typedef struct swig_const_info { |
| 157 | int type; |
| 158 | char *name; |
| 159 | long lvalue; |
| 160 | double dvalue; |
| 161 | void *pvalue; |
| 162 | swig_type_info **ptype; |
| 163 | } swig_const_info; |
| 164 | |
| 165 | |
| 166 | |
| 167 | /* Common SWIG API */ |
| 168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ |
| 169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) |
| 170 | #define SWIG_NewPointerObj(p, type, flags) \ |
| 171 | SWIG_Python_NewPointerObj(p, type, flags) |
| 172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ |
| 173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) |
| 174 | |
| 175 | /* Python-specific SWIG API */ |
| 176 | #define SWIG_newvarlink() \ |
| 177 | SWIG_Python_newvarlink() |
| 178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ |
| 179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) |
| 180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ |
| 181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) |
| 182 | #define SWIG_PackData(c, ptr, sz) \ |
| 183 | SWIG_Python_PackData(c, ptr, sz) |
| 184 | #define SWIG_UnpackData(c, ptr, sz) \ |
| 185 | SWIG_Python_UnpackData(c, ptr, sz) |
| 186 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
| 187 | SWIG_Python_NewPackedObj(ptr, sz, type) |
| 188 | #define SWIG_InstallConstants(d, constants) \ |
| 189 | SWIG_Python_InstallConstants(d, constants) |
| 190 | |
| 191 | |
| 192 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
| 193 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); |
| 194 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); |
| 195 | |
| 196 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); |
| 197 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
| 198 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); |
| 199 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); |
| 200 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); |
| 201 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); |
| 202 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); |
| 203 | |
| 204 | |
| 205 | /* Contract support */ |
| 206 | |
| 207 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
| 208 | |
| 209 | |
| 210 | #ifdef __cplusplus |
| 211 | } |
| 212 | #endif |
| 213 | |
| 214 | |
| 215 | |
| 216 | /* -------- TYPES TABLE (BEGIN) -------- */ |
| 217 | |
| 218 | #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0] |
| 219 | #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1] |
| 220 | #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2] |
| 221 | #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3] |
| 222 | #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4] |
| 223 | #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5] |
| 224 | #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6] |
| 225 | #define SWIGTYPE_p_wxGridCellRenderer swig_types[7] |
| 226 | #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8] |
| 227 | #define SWIGTYPE_p_wxGridCellAttr swig_types[9] |
| 228 | #define SWIGTYPE_p_wxColour swig_types[10] |
| 229 | #define SWIGTYPE_p_wxDC swig_types[11] |
| 230 | #define SWIGTYPE_p_wxGridTableMessage swig_types[12] |
| 231 | #define SWIGTYPE_p_wxGrid swig_types[13] |
| 232 | #define SWIGTYPE_p_wxPanel swig_types[14] |
| 233 | #define SWIGTYPE_p_wxNotifyEvent swig_types[15] |
| 234 | #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16] |
| 235 | #define SWIGTYPE_p_wxSize swig_types[17] |
| 236 | #define SWIGTYPE_p_wxGridCellCoords swig_types[18] |
| 237 | #define SWIGTYPE_p_wxScrolledWindow swig_types[19] |
| 238 | #define SWIGTYPE_p_wxWindow swig_types[20] |
| 239 | #define SWIGTYPE_p_wxFont swig_types[21] |
| 240 | #define SWIGTYPE_p_wxControl swig_types[22] |
| 241 | #define SWIGTYPE_p_wxEvent swig_types[23] |
| 242 | #define SWIGTYPE_p_wxObject swig_types[24] |
| 243 | #define SWIGTYPE_p_wxGridSizeEvent swig_types[25] |
| 244 | #define SWIGTYPE_p_wxRect swig_types[26] |
| 245 | #define SWIGTYPE_p_long swig_types[27] |
| 246 | #define SWIGTYPE_p_wxString swig_types[28] |
| 247 | #define SWIGTYPE_p_wxEvtHandler swig_types[29] |
| 248 | #define SWIGTYPE_p_wxPoint swig_types[30] |
| 249 | #define SWIGTYPE_p_wxGridEvent swig_types[31] |
| 250 | #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32] |
| 251 | #define SWIGTYPE_p_wxGridTableBase swig_types[33] |
| 252 | #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34] |
| 253 | #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35] |
| 254 | #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36] |
| 255 | #define SWIGTYPE_p_wxGridCellEditor swig_types[37] |
| 256 | #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38] |
| 257 | #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39] |
| 258 | #define SWIGTYPE_p_wxPyGridTableBase swig_types[40] |
| 259 | #define SWIGTYPE_p_wxGridStringTable swig_types[41] |
| 260 | #define SWIGTYPE_p_wxArrayString swig_types[42] |
| 261 | #define SWIGTYPE_p_wxCommandEvent swig_types[43] |
| 262 | #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44] |
| 263 | #define SWIGTYPE_p_wxKeyEvent swig_types[45] |
| 264 | #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46] |
| 265 | #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47] |
| 266 | #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48] |
| 267 | #define SWIGTYPE_p_int swig_types[49] |
| 268 | #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50] |
| 269 | static swig_type_info *swig_types[52]; |
| 270 | |
| 271 | /* -------- TYPES TABLE (END) -------- */ |
| 272 | |
| 273 | |
| 274 | /*----------------------------------------------- |
| 275 | @(target):= _grid.so |
| 276 | ------------------------------------------------*/ |
| 277 | #define SWIG_init init_grid |
| 278 | |
| 279 | #define SWIG_name "_grid" |
| 280 | |
| 281 | #include "wx/wxPython/wxPython.h" |
| 282 | #include "wx/wxPython/pyclasses.h" |
| 283 | #include "wx/wxPython/printfw.h" |
| 284 | |
| 285 | #include <wx/grid.h> |
| 286 | #include <wx/generic/gridctrl.h> |
| 287 | |
| 288 | DECLARE_DEF_STRING(PanelNameStr); |
| 289 | DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c")); |
| 290 | static const wxString wxPyEmptyString(wxT("")); |
| 291 | |
| 292 | |
| 293 | |
| 294 | #define wxPyMake_TEMPLATE(TYPE) \ |
| 295 | PyObject* wxPyMake_##TYPE(TYPE* source) { \ |
| 296 | PyObject* target = NULL; \ |
| 297 | if (source) { \ |
| 298 | /* Check if there is already a pointer to a Python object in the \ |
| 299 | OOR data that we can use. */ \ |
| 300 | wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ |
| 301 | if (data) { \ |
| 302 | target = data->m_obj; \ |
| 303 | Py_INCREF(target); \ |
| 304 | } \ |
| 305 | /* Otherwise make a new wrapper for it the old fashioned way and \ |
| 306 | give it the OOR treatment */ \ |
| 307 | if (! target) { \ |
| 308 | target = wxPyConstructObject(source, wxT(#TYPE), False); \ |
| 309 | if (target) \ |
| 310 | source->SetClientObject(new wxPyOORClientData(target)); \ |
| 311 | } \ |
| 312 | } else { /* source was NULL so return None. */ \ |
| 313 | Py_INCREF(Py_None); target = Py_None; \ |
| 314 | } \ |
| 315 | return target; \ |
| 316 | } \ |
| 317 | |
| 318 | |
| 319 | wxPyMake_TEMPLATE(wxGridCellRenderer) |
| 320 | wxPyMake_TEMPLATE(wxGridCellEditor) |
| 321 | wxPyMake_TEMPLATE(wxGridCellAttr) |
| 322 | wxPyMake_TEMPLATE(wxGridCellAttrProvider) |
| 323 | wxPyMake_TEMPLATE(wxGridTableBase) |
| 324 | |
| 325 | |
| 326 | |
| 327 | #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \ |
| 328 | wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ |
| 329 | wxGridCellAttr* rval = NULL; \ |
| 330 | bool found; \ |
| 331 | wxPyBeginBlockThreads(); \ |
| 332 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 333 | PyObject* ro; \ |
| 334 | wxGridCellAttr* ptr; \ |
| 335 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ |
| 336 | if (ro) { \ |
| 337 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \ |
| 338 | rval = ptr; \ |
| 339 | Py_DECREF(ro); \ |
| 340 | } \ |
| 341 | } \ |
| 342 | wxPyEndBlockThreads(); \ |
| 343 | if (! found) \ |
| 344 | rval = PCLASS::CBNAME(a, b, c); \ |
| 345 | return rval; \ |
| 346 | } \ |
| 347 | wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ |
| 348 | return PCLASS::CBNAME(a, b, c); \ |
| 349 | } |
| 350 | |
| 351 | |
| 352 | |
| 353 | #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \ |
| 354 | void CBNAME(wxGridCellAttr *attr, int a, int b) { \ |
| 355 | wxPyBeginBlockThreads(); \ |
| 356 | bool found; \ |
| 357 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 358 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
| 359 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \ |
| 360 | Py_DECREF(obj); \ |
| 361 | } \ |
| 362 | wxPyEndBlockThreads(); \ |
| 363 | if (! found) \ |
| 364 | PCLASS::CBNAME(attr, a, b); \ |
| 365 | } \ |
| 366 | void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \ |
| 367 | PCLASS::CBNAME(attr, a, b); \ |
| 368 | } |
| 369 | |
| 370 | |
| 371 | |
| 372 | #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \ |
| 373 | void CBNAME(wxGridCellAttr *attr, int val) { \ |
| 374 | wxPyBeginBlockThreads(); \ |
| 375 | bool found; \ |
| 376 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 377 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
| 378 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \ |
| 379 | Py_DECREF(obj); \ |
| 380 | } \ |
| 381 | wxPyEndBlockThreads(); \ |
| 382 | if (! found) \ |
| 383 | PCLASS::CBNAME(attr, val); \ |
| 384 | } \ |
| 385 | void base_##CBNAME(wxGridCellAttr *attr, int val) { \ |
| 386 | PCLASS::CBNAME(attr, val); \ |
| 387 | } |
| 388 | |
| 389 | |
| 390 | |
| 391 | #define PYCALLBACK_INT__pure(CBNAME) \ |
| 392 | int CBNAME() { \ |
| 393 | wxPyBeginBlockThreads(); \ |
| 394 | int rval = 0; \ |
| 395 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ |
| 396 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ |
| 397 | wxPyEndBlockThreads(); \ |
| 398 | return rval; \ |
| 399 | } |
| 400 | |
| 401 | |
| 402 | |
| 403 | #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \ |
| 404 | bool CBNAME(int a, int b) { \ |
| 405 | wxPyBeginBlockThreads(); \ |
| 406 | bool rval = 0; \ |
| 407 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ |
| 408 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \ |
| 409 | wxPyEndBlockThreads(); \ |
| 410 | return rval; \ |
| 411 | } |
| 412 | |
| 413 | |
| 414 | #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \ |
| 415 | wxString CBNAME(int a, int b) { \ |
| 416 | wxPyBeginBlockThreads(); \ |
| 417 | wxString rval; \ |
| 418 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ |
| 419 | PyObject* ro; \ |
| 420 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ |
| 421 | if (ro) { \ |
| 422 | rval = Py2wxString(ro); \ |
| 423 | Py_DECREF(ro); \ |
| 424 | } \ |
| 425 | } \ |
| 426 | wxPyEndBlockThreads(); \ |
| 427 | return rval; \ |
| 428 | } |
| 429 | |
| 430 | |
| 431 | #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \ |
| 432 | void CBNAME(int a, int b, const wxString& c) { \ |
| 433 | wxPyBeginBlockThreads(); \ |
| 434 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ |
| 435 | PyObject* s = wx2PyString(c); \ |
| 436 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ |
| 437 | Py_DECREF(s); \ |
| 438 | } \ |
| 439 | wxPyEndBlockThreads(); \ |
| 440 | } |
| 441 | |
| 442 | |
| 443 | #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \ |
| 444 | wxString CBNAME(int a, int b) { \ |
| 445 | bool found; \ |
| 446 | wxPyBeginBlockThreads(); \ |
| 447 | wxString rval; \ |
| 448 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 449 | PyObject* ro; \ |
| 450 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ |
| 451 | if (ro) { \ |
| 452 | rval = Py2wxString(ro); \ |
| 453 | Py_DECREF(ro); \ |
| 454 | } \ |
| 455 | } \ |
| 456 | wxPyEndBlockThreads(); \ |
| 457 | if (! found) \ |
| 458 | rval = PCLASS::CBNAME(a, b); \ |
| 459 | return rval; \ |
| 460 | } \ |
| 461 | wxString base_##CBNAME(int a, int b) { \ |
| 462 | return PCLASS::CBNAME(a, b); \ |
| 463 | } |
| 464 | |
| 465 | |
| 466 | #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \ |
| 467 | bool CBNAME(int a, int b, const wxString& c) { \ |
| 468 | bool rval = 0; \ |
| 469 | bool found; \ |
| 470 | wxPyBeginBlockThreads(); \ |
| 471 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 472 | PyObject* s = wx2PyString(c); \ |
| 473 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ |
| 474 | Py_DECREF(s); \ |
| 475 | } \ |
| 476 | wxPyEndBlockThreads(); \ |
| 477 | if (! found) \ |
| 478 | rval = PCLASS::CBNAME(a,b,c); \ |
| 479 | return rval; \ |
| 480 | } \ |
| 481 | bool base_##CBNAME(int a, int b, const wxString& c) { \ |
| 482 | return PCLASS::CBNAME(a,b,c); \ |
| 483 | } |
| 484 | |
| 485 | |
| 486 | |
| 487 | |
| 488 | #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \ |
| 489 | long CBNAME(int a, int b) { \ |
| 490 | long rval; \ |
| 491 | bool found; \ |
| 492 | wxPyBeginBlockThreads(); \ |
| 493 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 494 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ |
| 495 | wxPyEndBlockThreads(); \ |
| 496 | if (! found) \ |
| 497 | rval = PCLASS::CBNAME(a,b); \ |
| 498 | return rval; \ |
| 499 | } \ |
| 500 | long base_##CBNAME(int a, int b) { \ |
| 501 | return PCLASS::CBNAME(a,b); \ |
| 502 | } |
| 503 | |
| 504 | |
| 505 | |
| 506 | #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \ |
| 507 | bool CBNAME(int a, int b) { \ |
| 508 | bool rval = 0; \ |
| 509 | bool found; \ |
| 510 | wxPyBeginBlockThreads(); \ |
| 511 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 512 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ |
| 513 | wxPyEndBlockThreads(); \ |
| 514 | if (! found) \ |
| 515 | rval = PCLASS::CBNAME(a,b); \ |
| 516 | return rval; \ |
| 517 | } \ |
| 518 | bool base_##CBNAME(int a, int b) { \ |
| 519 | return PCLASS::CBNAME(a,b); \ |
| 520 | } |
| 521 | |
| 522 | |
| 523 | |
| 524 | #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \ |
| 525 | double CBNAME(int a, int b) { \ |
| 526 | bool found; \ |
| 527 | wxPyBeginBlockThreads(); \ |
| 528 | double rval; \ |
| 529 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 530 | PyObject* ro; \ |
| 531 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ |
| 532 | if (ro) { \ |
| 533 | PyObject* str = PyObject_Str(ro); \ |
| 534 | rval = PyFloat_AsDouble(str); \ |
| 535 | Py_DECREF(ro); Py_DECREF(str); \ |
| 536 | } \ |
| 537 | } \ |
| 538 | wxPyEndBlockThreads(); \ |
| 539 | if (! found) \ |
| 540 | rval = PCLASS::CBNAME(a, b); \ |
| 541 | return rval; \ |
| 542 | } \ |
| 543 | double base_##CBNAME(int a, int b) { \ |
| 544 | return PCLASS::CBNAME(a, b); \ |
| 545 | } |
| 546 | |
| 547 | |
| 548 | |
| 549 | #define PYCALLBACK__(PCLASS, CBNAME) \ |
| 550 | void CBNAME() { \ |
| 551 | bool found; \ |
| 552 | wxPyBeginBlockThreads(); \ |
| 553 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 554 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ |
| 555 | wxPyEndBlockThreads(); \ |
| 556 | if (! found) \ |
| 557 | PCLASS::CBNAME(); \ |
| 558 | } \ |
| 559 | void base_##CBNAME() { \ |
| 560 | PCLASS::CBNAME(); \ |
| 561 | } |
| 562 | |
| 563 | |
| 564 | |
| 565 | |
| 566 | #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \ |
| 567 | bool CBNAME(size_t a, size_t b) { \ |
| 568 | bool rval = 0; \ |
| 569 | bool found; \ |
| 570 | wxPyBeginBlockThreads(); \ |
| 571 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 572 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ |
| 573 | wxPyEndBlockThreads(); \ |
| 574 | if (! found) \ |
| 575 | rval = PCLASS::CBNAME(a,b); \ |
| 576 | return rval; \ |
| 577 | } \ |
| 578 | bool base_##CBNAME(size_t a, size_t b) { \ |
| 579 | return PCLASS::CBNAME(a,b); \ |
| 580 | } |
| 581 | |
| 582 | |
| 583 | |
| 584 | #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \ |
| 585 | bool CBNAME(size_t a) { \ |
| 586 | bool rval = 0; \ |
| 587 | bool found; \ |
| 588 | wxPyBeginBlockThreads(); \ |
| 589 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 590 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \ |
| 591 | wxPyEndBlockThreads(); \ |
| 592 | if (! found) \ |
| 593 | rval = PCLASS::CBNAME(a); \ |
| 594 | return rval; \ |
| 595 | } \ |
| 596 | bool base_##CBNAME(size_t a) { \ |
| 597 | return PCLASS::CBNAME(a); \ |
| 598 | } |
| 599 | |
| 600 | |
| 601 | #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \ |
| 602 | wxString CBNAME(int a) { \ |
| 603 | bool found; \ |
| 604 | wxPyBeginBlockThreads(); \ |
| 605 | wxString rval; \ |
| 606 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 607 | PyObject* ro; \ |
| 608 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \ |
| 609 | if (ro) { \ |
| 610 | rval = Py2wxString(ro); \ |
| 611 | Py_DECREF(ro); \ |
| 612 | } \ |
| 613 | } \ |
| 614 | wxPyEndBlockThreads(); \ |
| 615 | if (! found) \ |
| 616 | rval = PCLASS::CBNAME(a); \ |
| 617 | return rval; \ |
| 618 | } \ |
| 619 | wxString base_##CBNAME(int a) { \ |
| 620 | return PCLASS::CBNAME(a); \ |
| 621 | } |
| 622 | |
| 623 | |
| 624 | #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \ |
| 625 | void CBNAME(int a, const wxString& c) { \ |
| 626 | bool found; \ |
| 627 | wxPyBeginBlockThreads(); \ |
| 628 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
| 629 | PyObject* s = wx2PyString(c); \ |
| 630 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \ |
| 631 | Py_DECREF(s); \ |
| 632 | } \ |
| 633 | wxPyEndBlockThreads(); \ |
| 634 | if (! found) \ |
| 635 | PCLASS::CBNAME(a,c); \ |
| 636 | } \ |
| 637 | void base_##CBNAME(int a, const wxString& c) { \ |
| 638 | PCLASS::CBNAME(a,c); \ |
| 639 | } |
| 640 | |
| 641 | |
| 642 | |
| 643 | |
| 644 | #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \ |
| 645 | bool CBNAME() { \ |
| 646 | bool rval = 0; \ |
| 647 | bool found; \ |
| 648 | wxPyBeginBlockThreads(); \ |
| 649 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 650 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ |
| 651 | wxPyEndBlockThreads(); \ |
| 652 | if (! found) \ |
| 653 | rval = PCLASS::CBNAME(); \ |
| 654 | return rval; \ |
| 655 | } \ |
| 656 | bool base_##CBNAME() { \ |
| 657 | return PCLASS::CBNAME(); \ |
| 658 | } |
| 659 | |
| 660 | |
| 661 | |
| 662 | #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \ |
| 663 | void CBNAME(size_t a, int b) { \ |
| 664 | bool found; \ |
| 665 | wxPyBeginBlockThreads(); \ |
| 666 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 667 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ |
| 668 | wxPyEndBlockThreads(); \ |
| 669 | if (! found) \ |
| 670 | PCLASS::CBNAME(a,b); \ |
| 671 | } \ |
| 672 | void base_##CBNAME(size_t a, int b) { \ |
| 673 | PCLASS::CBNAME(a,b); \ |
| 674 | } |
| 675 | |
| 676 | |
| 677 | |
| 678 | |
| 679 | #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \ |
| 680 | void CBNAME(int a, int b, long c) { \ |
| 681 | bool found; \ |
| 682 | wxPyBeginBlockThreads(); \ |
| 683 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 684 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ |
| 685 | wxPyEndBlockThreads(); \ |
| 686 | if (! found) \ |
| 687 | PCLASS::CBNAME(a,b,c); \ |
| 688 | } \ |
| 689 | void base_##CBNAME(int a, int b, long c) { \ |
| 690 | PCLASS::CBNAME(a,b,c); \ |
| 691 | } |
| 692 | |
| 693 | |
| 694 | |
| 695 | |
| 696 | #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \ |
| 697 | void CBNAME(int a, int b, double c) { \ |
| 698 | bool found; \ |
| 699 | wxPyBeginBlockThreads(); \ |
| 700 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 701 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \ |
| 702 | wxPyEndBlockThreads(); \ |
| 703 | if (! found) \ |
| 704 | PCLASS::CBNAME(a,b,c); \ |
| 705 | } \ |
| 706 | void base_##CBNAME(int a, int b, double c) { \ |
| 707 | PCLASS::CBNAME(a,b,c); \ |
| 708 | } |
| 709 | |
| 710 | |
| 711 | |
| 712 | #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \ |
| 713 | void CBNAME(int a, int b, bool c) { \ |
| 714 | bool found; \ |
| 715 | wxPyBeginBlockThreads(); \ |
| 716 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
| 717 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ |
| 718 | wxPyEndBlockThreads(); \ |
| 719 | if (! found) \ |
| 720 | PCLASS::CBNAME(a,b,c); \ |
| 721 | } \ |
| 722 | void base_##CBNAME(int a, int b, bool c) { \ |
| 723 | PCLASS::CBNAME(a,b,c); \ |
| 724 | } |
| 725 | |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){ |
| 731 | self->SetClientObject(new wxPyOORClientData(_self)); |
| 732 | } |
| 733 | |
| 734 | class wxPyGridCellRenderer : public wxGridCellRenderer |
| 735 | { |
| 736 | public: |
| 737 | wxPyGridCellRenderer() : wxGridCellRenderer() {}; |
| 738 | |
| 739 | // Implement Python callback aware virtual methods |
| 740 | void Draw(wxGrid& grid, wxGridCellAttr& attr, |
| 741 | wxDC& dc, const wxRect& rect, |
| 742 | int row, int col, bool isSelected) { |
| 743 | wxPyBeginBlockThreads(); |
| 744 | if (wxPyCBH_findCallback(m_myInst, "Draw")) { |
| 745 | PyObject* go = wxPyMake_wxObject(&grid); |
| 746 | PyObject* dco = wxPyMake_wxObject(&dc); |
| 747 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); |
| 748 | PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
| 749 | |
| 750 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro, |
| 751 | row, col, isSelected)); |
| 752 | Py_DECREF(go); |
| 753 | Py_DECREF(ao); |
| 754 | Py_DECREF(dco); |
| 755 | Py_DECREF(ro); |
| 756 | } |
| 757 | wxPyEndBlockThreads(); |
| 758 | } |
| 759 | |
| 760 | wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, |
| 761 | int row, int col) { |
| 762 | wxSize rval; |
| 763 | wxPyBeginBlockThreads(); |
| 764 | if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) { |
| 765 | PyObject* ro; |
| 766 | wxSize* ptr; |
| 767 | PyObject* go = wxPyMake_wxObject(&grid); |
| 768 | PyObject* dco = wxPyMake_wxObject(&dc); |
| 769 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); |
| 770 | |
| 771 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)", |
| 772 | go, ao, dco, |
| 773 | row, col)); |
| 774 | Py_DECREF(go); |
| 775 | Py_DECREF(ao); |
| 776 | Py_DECREF(dco); |
| 777 | |
| 778 | if (ro) { |
| 779 | const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object."; |
| 780 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) { |
| 781 | rval = *ptr; |
| 782 | } |
| 783 | else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { |
| 784 | PyObject* o1 = PySequence_GetItem(ro, 0); |
| 785 | PyObject* o2 = PySequence_GetItem(ro, 1); |
| 786 | if (PyNumber_Check(o1) && PyNumber_Check(o2)) |
| 787 | rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2)); |
| 788 | else |
| 789 | PyErr_SetString(PyExc_TypeError, errmsg); |
| 790 | Py_DECREF(o1); |
| 791 | Py_DECREF(o2); |
| 792 | } |
| 793 | else { |
| 794 | PyErr_SetString(PyExc_TypeError, errmsg); |
| 795 | } |
| 796 | Py_DECREF(ro); |
| 797 | } |
| 798 | } |
| 799 | wxPyEndBlockThreads(); |
| 800 | return rval; |
| 801 | } |
| 802 | |
| 803 | |
| 804 | wxGridCellRenderer *Clone() const { |
| 805 | wxGridCellRenderer* rval = NULL; |
| 806 | wxPyBeginBlockThreads(); |
| 807 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
| 808 | PyObject* ro; |
| 809 | wxGridCellRenderer* ptr; |
| 810 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
| 811 | if (ro) { |
| 812 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer"))) |
| 813 | rval = ptr; |
| 814 | Py_DECREF(ro); |
| 815 | } |
| 816 | } |
| 817 | wxPyEndBlockThreads(); |
| 818 | return rval; |
| 819 | } |
| 820 | |
| 821 | DEC_PYCALLBACK__STRING(SetParameters); |
| 822 | |
| 823 | PYPRIVATE; |
| 824 | }; |
| 825 | |
| 826 | IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters); |
| 827 | |
| 828 | |
| 829 | void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){ |
| 830 | self->SetClientObject(new wxPyOORClientData(_self)); |
| 831 | } |
| 832 | |
| 833 | class wxPyGridCellEditor : public wxGridCellEditor |
| 834 | { |
| 835 | public: |
| 836 | wxPyGridCellEditor() : wxGridCellEditor() {} |
| 837 | |
| 838 | void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) { |
| 839 | wxPyBeginBlockThreads(); |
| 840 | if (wxPyCBH_findCallback(m_myInst, "Create")) { |
| 841 | PyObject* po = wxPyMake_wxObject(parent); |
| 842 | PyObject* eo = wxPyMake_wxObject(evtHandler); |
| 843 | |
| 844 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo)); |
| 845 | Py_DECREF(po); |
| 846 | Py_DECREF(eo); |
| 847 | } |
| 848 | wxPyEndBlockThreads(); |
| 849 | } |
| 850 | |
| 851 | |
| 852 | void BeginEdit(int row, int col, wxGrid* grid) { |
| 853 | wxPyBeginBlockThreads(); |
| 854 | if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) { |
| 855 | PyObject* go = wxPyMake_wxObject(grid); |
| 856 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); |
| 857 | Py_DECREF(go); |
| 858 | } |
| 859 | wxPyEndBlockThreads(); |
| 860 | } |
| 861 | |
| 862 | |
| 863 | bool EndEdit(int row, int col, wxGrid* grid) { |
| 864 | bool rv = False; |
| 865 | wxPyBeginBlockThreads(); |
| 866 | if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { |
| 867 | PyObject* go = wxPyMake_wxObject(grid); |
| 868 | rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); |
| 869 | Py_DECREF(go); |
| 870 | } |
| 871 | wxPyEndBlockThreads(); |
| 872 | return rv; |
| 873 | } |
| 874 | |
| 875 | |
| 876 | wxGridCellEditor* Clone() const { |
| 877 | wxGridCellEditor* rval = NULL; |
| 878 | wxPyBeginBlockThreads(); |
| 879 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
| 880 | PyObject* ro; |
| 881 | wxGridCellEditor* ptr; |
| 882 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
| 883 | if (ro) { |
| 884 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor"))) |
| 885 | rval = ptr; |
| 886 | Py_DECREF(ro); |
| 887 | } |
| 888 | } |
| 889 | wxPyEndBlockThreads(); |
| 890 | return rval; |
| 891 | } |
| 892 | |
| 893 | |
| 894 | void Show(bool show, wxGridCellAttr *attr) { |
| 895 | bool found; |
| 896 | wxPyBeginBlockThreads(); |
| 897 | if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) { |
| 898 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); |
| 899 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao)); |
| 900 | Py_DECREF(ao); |
| 901 | } |
| 902 | wxPyEndBlockThreads(); |
| 903 | if (! found) |
| 904 | wxGridCellEditor::Show(show, attr); |
| 905 | } |
| 906 | void base_Show(bool show, wxGridCellAttr *attr) { |
| 907 | wxGridCellEditor::Show(show, attr); |
| 908 | } |
| 909 | |
| 910 | |
| 911 | void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { |
| 912 | bool found; |
| 913 | wxPyBeginBlockThreads(); |
| 914 | if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) { |
| 915 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); |
| 916 | PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0); |
| 917 | |
| 918 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao)); |
| 919 | |
| 920 | Py_DECREF(ro); |
| 921 | Py_DECREF(ao); |
| 922 | } |
| 923 | wxPyEndBlockThreads(); |
| 924 | if (! found) |
| 925 | wxGridCellEditor::PaintBackground(rectCell, attr); |
| 926 | } |
| 927 | void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { |
| 928 | wxGridCellEditor::PaintBackground(rectCell, attr); |
| 929 | } |
| 930 | |
| 931 | |
| 932 | DEC_PYCALLBACK___pure(Reset); |
| 933 | DEC_PYCALLBACK__constany(SetSize, wxRect); |
| 934 | DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent); |
| 935 | DEC_PYCALLBACK__any(StartingKey, wxKeyEvent); |
| 936 | DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent); |
| 937 | DEC_PYCALLBACK__(StartingClick); |
| 938 | DEC_PYCALLBACK__(Destroy); |
| 939 | DEC_PYCALLBACK__STRING(SetParameters); |
| 940 | DEC_PYCALLBACK_STRING__constpure(GetValue); |
| 941 | |
| 942 | PYPRIVATE; |
| 943 | }; |
| 944 | |
| 945 | |
| 946 | IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters); |
| 947 | IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset); |
| 948 | IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect); |
| 949 | IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent); |
| 950 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent); |
| 951 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent); |
| 952 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick); |
| 953 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy); |
| 954 | IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue); |
| 955 | |
| 956 | |
| 957 | void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){ |
| 958 | self->SetClientObject(new wxPyOORClientData(_self)); |
| 959 | } |
| 960 | |
| 961 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
| 962 | PyObject* o2; |
| 963 | PyObject* o3; |
| 964 | |
| 965 | if (!target) { |
| 966 | target = o; |
| 967 | } else if (target == Py_None) { |
| 968 | Py_DECREF(Py_None); |
| 969 | target = o; |
| 970 | } else { |
| 971 | if (!PyTuple_Check(target)) { |
| 972 | o2 = target; |
| 973 | target = PyTuple_New(1); |
| 974 | PyTuple_SetItem(target, 0, o2); |
| 975 | } |
| 976 | o3 = PyTuple_New(1); |
| 977 | PyTuple_SetItem(o3, 0, o); |
| 978 | |
| 979 | o2 = target; |
| 980 | target = PySequence_Concat(o2, o3); |
| 981 | Py_DECREF(o2); |
| 982 | Py_DECREF(o3); |
| 983 | } |
| 984 | return target; |
| 985 | } |
| 986 | |
| 987 | void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){ |
| 988 | self->SetClientObject(new wxPyOORClientData(_self)); |
| 989 | } |
| 990 | |
| 991 | class wxPyGridCellAttrProvider : public wxGridCellAttrProvider |
| 992 | { |
| 993 | public: |
| 994 | wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; |
| 995 | |
| 996 | PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr); |
| 997 | PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr); |
| 998 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr); |
| 999 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr); |
| 1000 | |
| 1001 | PYPRIVATE; |
| 1002 | }; |
| 1003 | |
| 1004 | void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){ |
| 1005 | self->SetClientObject(new wxPyOORClientData(_self)); |
| 1006 | } |
| 1007 | |
| 1008 | class wxPyGridTableBase : public wxGridTableBase |
| 1009 | { |
| 1010 | public: |
| 1011 | wxPyGridTableBase() : wxGridTableBase() {} |
| 1012 | |
| 1013 | PYCALLBACK_INT__pure(GetNumberRows); |
| 1014 | PYCALLBACK_INT__pure(GetNumberCols); |
| 1015 | PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell); |
| 1016 | PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName); |
| 1017 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs); |
| 1018 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs); |
| 1019 | PYCALLBACK__(wxGridTableBase, Clear); |
| 1020 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows); |
| 1021 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows); |
| 1022 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols); |
| 1023 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols); |
| 1024 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows); |
| 1025 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols); |
| 1026 | PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue); |
| 1027 | PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue); |
| 1028 | PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue); |
| 1029 | PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue); |
| 1030 | PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes); |
| 1031 | PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr); |
| 1032 | PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr); |
| 1033 | PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr); |
| 1034 | PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr); |
| 1035 | |
| 1036 | |
| 1037 | wxString GetValue(int row, int col) { |
| 1038 | wxPyBeginBlockThreads(); |
| 1039 | wxString rval; |
| 1040 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
| 1041 | PyObject* ro; |
| 1042 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col)); |
| 1043 | if (ro) { |
| 1044 | rval = Py2wxString(ro); |
| 1045 | Py_DECREF(ro); |
| 1046 | } |
| 1047 | } |
| 1048 | wxPyEndBlockThreads(); |
| 1049 | return rval; |
| 1050 | } |
| 1051 | |
| 1052 | void SetValue(int row, int col, const wxString& val) { |
| 1053 | wxPyBeginBlockThreads(); |
| 1054 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
| 1055 | PyObject* s = wx2PyString(val); |
| 1056 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s)); |
| 1057 | Py_DECREF(s); |
| 1058 | } |
| 1059 | wxPyEndBlockThreads(); |
| 1060 | } |
| 1061 | |
| 1062 | |
| 1063 | // Map the Get/Set methods for the standard non-string types to |
| 1064 | // the GetValue and SetValue python methods. |
| 1065 | long GetValueAsLong( int row, int col ) { |
| 1066 | long rval = 0; |
| 1067 | wxPyBeginBlockThreads(); |
| 1068 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
| 1069 | PyObject* ro; |
| 1070 | PyObject* num; |
| 1071 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
| 1072 | if (ro && PyNumber_Check(ro)) { |
| 1073 | num = PyNumber_Int(ro); |
| 1074 | if (num) { |
| 1075 | rval = PyInt_AsLong(num); |
| 1076 | Py_DECREF(num); |
| 1077 | } |
| 1078 | Py_DECREF(ro); |
| 1079 | } |
| 1080 | } |
| 1081 | wxPyEndBlockThreads(); |
| 1082 | return rval; |
| 1083 | } |
| 1084 | |
| 1085 | double GetValueAsDouble( int row, int col ) { |
| 1086 | double rval = 0.0; |
| 1087 | wxPyBeginBlockThreads(); |
| 1088 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
| 1089 | PyObject* ro; |
| 1090 | PyObject* num; |
| 1091 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
| 1092 | if (ro && PyNumber_Check(ro)) { |
| 1093 | num = PyNumber_Float(ro); |
| 1094 | if (num) { |
| 1095 | rval = PyFloat_AsDouble(num); |
| 1096 | Py_DECREF(num); |
| 1097 | } |
| 1098 | Py_DECREF(ro); |
| 1099 | } |
| 1100 | } |
| 1101 | wxPyEndBlockThreads(); |
| 1102 | return rval; |
| 1103 | } |
| 1104 | |
| 1105 | bool GetValueAsBool( int row, int col ) { |
| 1106 | return (bool)GetValueAsLong(row, col); |
| 1107 | } |
| 1108 | |
| 1109 | void SetValueAsLong( int row, int col, long value ) { |
| 1110 | wxPyBeginBlockThreads(); |
| 1111 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
| 1112 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value)); |
| 1113 | } |
| 1114 | wxPyEndBlockThreads(); |
| 1115 | } |
| 1116 | |
| 1117 | void SetValueAsDouble( int row, int col, double value ) { |
| 1118 | wxPyBeginBlockThreads(); |
| 1119 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
| 1120 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value)); |
| 1121 | } |
| 1122 | wxPyEndBlockThreads(); |
| 1123 | } |
| 1124 | |
| 1125 | void SetValueAsBool( int row, int col, bool value ) { |
| 1126 | SetValueAsLong( row, col, (long)value ); |
| 1127 | } |
| 1128 | |
| 1129 | |
| 1130 | PYPRIVATE; |
| 1131 | }; |
| 1132 | |
| 1133 | void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; } |
| 1134 | PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){ |
| 1135 | PyObject* tup = PyTuple_New(2); |
| 1136 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); |
| 1137 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol())); |
| 1138 | return tup; |
| 1139 | } |
| 1140 | |
| 1141 | bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { |
| 1142 | |
| 1143 | // If source is an object instance then it may already be the right type |
| 1144 | if (wxPySwigInstance_Check(source)) { |
| 1145 | wxGridCellCoords* ptr; |
| 1146 | if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) |
| 1147 | goto error; |
| 1148 | *obj = ptr; |
| 1149 | return True; |
| 1150 | } |
| 1151 | // otherwise a 2-tuple of integers is expected |
| 1152 | else if (PySequence_Check(source) && PyObject_Length(source) == 2) { |
| 1153 | PyObject* o1 = PySequence_GetItem(source, 0); |
| 1154 | PyObject* o2 = PySequence_GetItem(source, 1); |
| 1155 | if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) { |
| 1156 | Py_DECREF(o1); |
| 1157 | Py_DECREF(o2); |
| 1158 | goto error; |
| 1159 | } |
| 1160 | **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); |
| 1161 | Py_DECREF(o1); |
| 1162 | Py_DECREF(o2); |
| 1163 | return True; |
| 1164 | } |
| 1165 | |
| 1166 | error: |
| 1167 | PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); |
| 1168 | return False; |
| 1169 | } |
| 1170 | |
| 1171 | |
| 1172 | bool wxGridCellCoords_typecheck(PyObject* source) { |
| 1173 | void* ptr; |
| 1174 | |
| 1175 | if (wxPySwigInstance_Check(source) && |
| 1176 | wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords"))) |
| 1177 | return True; |
| 1178 | |
| 1179 | PyErr_Clear(); |
| 1180 | if (PySequence_Check(source) && PySequence_Length(source) == 2) |
| 1181 | return True; |
| 1182 | |
| 1183 | return False; |
| 1184 | } |
| 1185 | |
| 1186 | |
| 1187 | PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source) |
| 1188 | { |
| 1189 | PyObject* list = PyList_New(0); |
| 1190 | size_t idx; |
| 1191 | for (idx = 0; idx < source.GetCount(); idx += 1) { |
| 1192 | wxGridCellCoords& coord = source.Item(idx); |
| 1193 | PyObject* tup = PyTuple_New(2); |
| 1194 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow())); |
| 1195 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol())); |
| 1196 | PyList_Append(list, tup); |
| 1197 | Py_DECREF(tup); |
| 1198 | } |
| 1199 | return list; |
| 1200 | } |
| 1201 | |
| 1202 | |
| 1203 | typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES; |
| 1204 | |
| 1205 | wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){ |
| 1206 | wxGridCellCoords rv; |
| 1207 | self->XYToCell(x, y, rv); |
| 1208 | return rv; |
| 1209 | } |
| 1210 | #ifdef __cplusplus |
| 1211 | extern "C" { |
| 1212 | #endif |
| 1213 | static int _wrap_GridNoCellCoords_set(PyObject *_val) { |
| 1214 | PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only."); |
| 1215 | return 1; |
| 1216 | } |
| 1217 | |
| 1218 | |
| 1219 | static PyObject *_wrap_GridNoCellCoords_get() { |
| 1220 | PyObject *pyobj; |
| 1221 | |
| 1222 | pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellCoords, SWIGTYPE_p_wxGridCellCoords, 0); |
| 1223 | return pyobj; |
| 1224 | } |
| 1225 | |
| 1226 | |
| 1227 | static int _wrap_GridNoCellRect_set(PyObject *_val) { |
| 1228 | PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only."); |
| 1229 | return 1; |
| 1230 | } |
| 1231 | |
| 1232 | |
| 1233 | static PyObject *_wrap_GridNoCellRect_get() { |
| 1234 | PyObject *pyobj; |
| 1235 | |
| 1236 | pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellRect, SWIGTYPE_p_wxRect, 0); |
| 1237 | return pyobj; |
| 1238 | } |
| 1239 | |
| 1240 | |
| 1241 | static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1242 | PyObject *resultobj; |
| 1243 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1244 | PyObject *arg2 = (PyObject *) 0 ; |
| 1245 | PyObject * obj0 = 0 ; |
| 1246 | PyObject * obj1 = 0 ; |
| 1247 | char *kwnames[] = { |
| 1248 | (char *) "self",(char *) "_self", NULL |
| 1249 | }; |
| 1250 | |
| 1251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail; |
| 1252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1253 | arg2 = obj1; |
| 1254 | { |
| 1255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1256 | wxGridCellRenderer__setOORInfo(arg1,arg2); |
| 1257 | |
| 1258 | wxPyEndAllowThreads(__tstate); |
| 1259 | if (PyErr_Occurred()) SWIG_fail; |
| 1260 | } |
| 1261 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1262 | return resultobj; |
| 1263 | fail: |
| 1264 | return NULL; |
| 1265 | } |
| 1266 | |
| 1267 | |
| 1268 | static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1269 | PyObject *resultobj; |
| 1270 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1271 | wxString *arg2 = 0 ; |
| 1272 | bool temp2 = False ; |
| 1273 | PyObject * obj0 = 0 ; |
| 1274 | PyObject * obj1 = 0 ; |
| 1275 | char *kwnames[] = { |
| 1276 | (char *) "self",(char *) "params", NULL |
| 1277 | }; |
| 1278 | |
| 1279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail; |
| 1280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1281 | { |
| 1282 | arg2 = wxString_in_helper(obj1); |
| 1283 | if (arg2 == NULL) SWIG_fail; |
| 1284 | temp2 = True; |
| 1285 | } |
| 1286 | { |
| 1287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1288 | (arg1)->SetParameters((wxString const &)*arg2); |
| 1289 | |
| 1290 | wxPyEndAllowThreads(__tstate); |
| 1291 | if (PyErr_Occurred()) SWIG_fail; |
| 1292 | } |
| 1293 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1294 | { |
| 1295 | if (temp2) |
| 1296 | delete arg2; |
| 1297 | } |
| 1298 | return resultobj; |
| 1299 | fail: |
| 1300 | { |
| 1301 | if (temp2) |
| 1302 | delete arg2; |
| 1303 | } |
| 1304 | return NULL; |
| 1305 | } |
| 1306 | |
| 1307 | |
| 1308 | static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1309 | PyObject *resultobj; |
| 1310 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1311 | PyObject * obj0 = 0 ; |
| 1312 | char *kwnames[] = { |
| 1313 | (char *) "self", NULL |
| 1314 | }; |
| 1315 | |
| 1316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail; |
| 1317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1318 | { |
| 1319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1320 | (arg1)->IncRef(); |
| 1321 | |
| 1322 | wxPyEndAllowThreads(__tstate); |
| 1323 | if (PyErr_Occurred()) SWIG_fail; |
| 1324 | } |
| 1325 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1326 | return resultobj; |
| 1327 | fail: |
| 1328 | return NULL; |
| 1329 | } |
| 1330 | |
| 1331 | |
| 1332 | static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1333 | PyObject *resultobj; |
| 1334 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1335 | PyObject * obj0 = 0 ; |
| 1336 | char *kwnames[] = { |
| 1337 | (char *) "self", NULL |
| 1338 | }; |
| 1339 | |
| 1340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail; |
| 1341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1342 | { |
| 1343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1344 | (arg1)->DecRef(); |
| 1345 | |
| 1346 | wxPyEndAllowThreads(__tstate); |
| 1347 | if (PyErr_Occurred()) SWIG_fail; |
| 1348 | } |
| 1349 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1350 | return resultobj; |
| 1351 | fail: |
| 1352 | return NULL; |
| 1353 | } |
| 1354 | |
| 1355 | |
| 1356 | static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1357 | PyObject *resultobj; |
| 1358 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1359 | wxGrid *arg2 = 0 ; |
| 1360 | wxGridCellAttr *arg3 = 0 ; |
| 1361 | wxDC *arg4 = 0 ; |
| 1362 | wxRect *arg5 = 0 ; |
| 1363 | int arg6 ; |
| 1364 | int arg7 ; |
| 1365 | bool arg8 ; |
| 1366 | wxRect temp5 ; |
| 1367 | PyObject * obj0 = 0 ; |
| 1368 | PyObject * obj1 = 0 ; |
| 1369 | PyObject * obj2 = 0 ; |
| 1370 | PyObject * obj3 = 0 ; |
| 1371 | PyObject * obj4 = 0 ; |
| 1372 | PyObject * obj7 = 0 ; |
| 1373 | char *kwnames[] = { |
| 1374 | (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL |
| 1375 | }; |
| 1376 | |
| 1377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail; |
| 1378 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1379 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1380 | if (arg2 == NULL) { |
| 1381 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1382 | } |
| 1383 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1384 | if (arg3 == NULL) { |
| 1385 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1386 | } |
| 1387 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1388 | if (arg4 == NULL) { |
| 1389 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1390 | } |
| 1391 | { |
| 1392 | arg5 = &temp5; |
| 1393 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; |
| 1394 | } |
| 1395 | arg8 = PyInt_AsLong(obj7) ? true : false; |
| 1396 | if (PyErr_Occurred()) SWIG_fail; |
| 1397 | { |
| 1398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1399 | (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8); |
| 1400 | |
| 1401 | wxPyEndAllowThreads(__tstate); |
| 1402 | if (PyErr_Occurred()) SWIG_fail; |
| 1403 | } |
| 1404 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1405 | return resultobj; |
| 1406 | fail: |
| 1407 | return NULL; |
| 1408 | } |
| 1409 | |
| 1410 | |
| 1411 | static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1412 | PyObject *resultobj; |
| 1413 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1414 | wxGrid *arg2 = 0 ; |
| 1415 | wxGridCellAttr *arg3 = 0 ; |
| 1416 | wxDC *arg4 = 0 ; |
| 1417 | int arg5 ; |
| 1418 | int arg6 ; |
| 1419 | wxSize result; |
| 1420 | PyObject * obj0 = 0 ; |
| 1421 | PyObject * obj1 = 0 ; |
| 1422 | PyObject * obj2 = 0 ; |
| 1423 | PyObject * obj3 = 0 ; |
| 1424 | char *kwnames[] = { |
| 1425 | (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL |
| 1426 | }; |
| 1427 | |
| 1428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6)) goto fail; |
| 1429 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1430 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1431 | if (arg2 == NULL) { |
| 1432 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1433 | } |
| 1434 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1435 | if (arg3 == NULL) { |
| 1436 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1437 | } |
| 1438 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1439 | if (arg4 == NULL) { |
| 1440 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 1441 | } |
| 1442 | { |
| 1443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1444 | result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6); |
| 1445 | |
| 1446 | wxPyEndAllowThreads(__tstate); |
| 1447 | if (PyErr_Occurred()) SWIG_fail; |
| 1448 | } |
| 1449 | { |
| 1450 | wxSize * resultptr; |
| 1451 | resultptr = new wxSize((wxSize &) result); |
| 1452 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); |
| 1453 | } |
| 1454 | return resultobj; |
| 1455 | fail: |
| 1456 | return NULL; |
| 1457 | } |
| 1458 | |
| 1459 | |
| 1460 | static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1461 | PyObject *resultobj; |
| 1462 | wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; |
| 1463 | wxGridCellRenderer *result; |
| 1464 | PyObject * obj0 = 0 ; |
| 1465 | char *kwnames[] = { |
| 1466 | (char *) "self", NULL |
| 1467 | }; |
| 1468 | |
| 1469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail; |
| 1470 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1471 | { |
| 1472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1473 | result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone(); |
| 1474 | |
| 1475 | wxPyEndAllowThreads(__tstate); |
| 1476 | if (PyErr_Occurred()) SWIG_fail; |
| 1477 | } |
| 1478 | { |
| 1479 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 1480 | } |
| 1481 | return resultobj; |
| 1482 | fail: |
| 1483 | return NULL; |
| 1484 | } |
| 1485 | |
| 1486 | |
| 1487 | static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1488 | PyObject *obj; |
| 1489 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1490 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj); |
| 1491 | Py_INCREF(obj); |
| 1492 | return Py_BuildValue((char *)""); |
| 1493 | } |
| 1494 | static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1495 | PyObject *resultobj; |
| 1496 | wxPyGridCellRenderer *result; |
| 1497 | char *kwnames[] = { |
| 1498 | NULL |
| 1499 | }; |
| 1500 | |
| 1501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail; |
| 1502 | { |
| 1503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1504 | result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer(); |
| 1505 | |
| 1506 | wxPyEndAllowThreads(__tstate); |
| 1507 | if (PyErr_Occurred()) SWIG_fail; |
| 1508 | } |
| 1509 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellRenderer, 1); |
| 1510 | return resultobj; |
| 1511 | fail: |
| 1512 | return NULL; |
| 1513 | } |
| 1514 | |
| 1515 | |
| 1516 | static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1517 | PyObject *resultobj; |
| 1518 | wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; |
| 1519 | PyObject *arg2 = (PyObject *) 0 ; |
| 1520 | PyObject *arg3 = (PyObject *) 0 ; |
| 1521 | PyObject * obj0 = 0 ; |
| 1522 | PyObject * obj1 = 0 ; |
| 1523 | PyObject * obj2 = 0 ; |
| 1524 | char *kwnames[] = { |
| 1525 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 1526 | }; |
| 1527 | |
| 1528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 1529 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1530 | arg2 = obj1; |
| 1531 | arg3 = obj2; |
| 1532 | { |
| 1533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1534 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 1535 | |
| 1536 | wxPyEndAllowThreads(__tstate); |
| 1537 | if (PyErr_Occurred()) SWIG_fail; |
| 1538 | } |
| 1539 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1540 | return resultobj; |
| 1541 | fail: |
| 1542 | return NULL; |
| 1543 | } |
| 1544 | |
| 1545 | |
| 1546 | static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1547 | PyObject *resultobj; |
| 1548 | wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; |
| 1549 | wxString *arg2 = 0 ; |
| 1550 | bool temp2 = False ; |
| 1551 | PyObject * obj0 = 0 ; |
| 1552 | PyObject * obj1 = 0 ; |
| 1553 | char *kwnames[] = { |
| 1554 | (char *) "self",(char *) "params", NULL |
| 1555 | }; |
| 1556 | |
| 1557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail; |
| 1558 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1559 | { |
| 1560 | arg2 = wxString_in_helper(obj1); |
| 1561 | if (arg2 == NULL) SWIG_fail; |
| 1562 | temp2 = True; |
| 1563 | } |
| 1564 | { |
| 1565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1566 | (arg1)->base_SetParameters((wxString const &)*arg2); |
| 1567 | |
| 1568 | wxPyEndAllowThreads(__tstate); |
| 1569 | if (PyErr_Occurred()) SWIG_fail; |
| 1570 | } |
| 1571 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1572 | { |
| 1573 | if (temp2) |
| 1574 | delete arg2; |
| 1575 | } |
| 1576 | return resultobj; |
| 1577 | fail: |
| 1578 | { |
| 1579 | if (temp2) |
| 1580 | delete arg2; |
| 1581 | } |
| 1582 | return NULL; |
| 1583 | } |
| 1584 | |
| 1585 | |
| 1586 | static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1587 | PyObject *obj; |
| 1588 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1589 | SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj); |
| 1590 | Py_INCREF(obj); |
| 1591 | return Py_BuildValue((char *)""); |
| 1592 | } |
| 1593 | static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1594 | PyObject *resultobj; |
| 1595 | wxGridCellStringRenderer *result; |
| 1596 | char *kwnames[] = { |
| 1597 | NULL |
| 1598 | }; |
| 1599 | |
| 1600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail; |
| 1601 | { |
| 1602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1603 | result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer(); |
| 1604 | |
| 1605 | wxPyEndAllowThreads(__tstate); |
| 1606 | if (PyErr_Occurred()) SWIG_fail; |
| 1607 | } |
| 1608 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellStringRenderer, 1); |
| 1609 | return resultobj; |
| 1610 | fail: |
| 1611 | return NULL; |
| 1612 | } |
| 1613 | |
| 1614 | |
| 1615 | static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1616 | PyObject *obj; |
| 1617 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1618 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj); |
| 1619 | Py_INCREF(obj); |
| 1620 | return Py_BuildValue((char *)""); |
| 1621 | } |
| 1622 | static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1623 | PyObject *resultobj; |
| 1624 | wxGridCellNumberRenderer *result; |
| 1625 | char *kwnames[] = { |
| 1626 | NULL |
| 1627 | }; |
| 1628 | |
| 1629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail; |
| 1630 | { |
| 1631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1632 | result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer(); |
| 1633 | |
| 1634 | wxPyEndAllowThreads(__tstate); |
| 1635 | if (PyErr_Occurred()) SWIG_fail; |
| 1636 | } |
| 1637 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberRenderer, 1); |
| 1638 | return resultobj; |
| 1639 | fail: |
| 1640 | return NULL; |
| 1641 | } |
| 1642 | |
| 1643 | |
| 1644 | static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1645 | PyObject *obj; |
| 1646 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1647 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj); |
| 1648 | Py_INCREF(obj); |
| 1649 | return Py_BuildValue((char *)""); |
| 1650 | } |
| 1651 | static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1652 | PyObject *resultobj; |
| 1653 | int arg1 = (int) -1 ; |
| 1654 | int arg2 = (int) -1 ; |
| 1655 | wxGridCellFloatRenderer *result; |
| 1656 | char *kwnames[] = { |
| 1657 | (char *) "width",(char *) "precision", NULL |
| 1658 | }; |
| 1659 | |
| 1660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellFloatRenderer",kwnames,&arg1,&arg2)) goto fail; |
| 1661 | { |
| 1662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1663 | result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2); |
| 1664 | |
| 1665 | wxPyEndAllowThreads(__tstate); |
| 1666 | if (PyErr_Occurred()) SWIG_fail; |
| 1667 | } |
| 1668 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatRenderer, 1); |
| 1669 | return resultobj; |
| 1670 | fail: |
| 1671 | return NULL; |
| 1672 | } |
| 1673 | |
| 1674 | |
| 1675 | static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1676 | PyObject *resultobj; |
| 1677 | wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; |
| 1678 | int result; |
| 1679 | PyObject * obj0 = 0 ; |
| 1680 | char *kwnames[] = { |
| 1681 | (char *) "self", NULL |
| 1682 | }; |
| 1683 | |
| 1684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail; |
| 1685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1686 | { |
| 1687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1688 | result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth(); |
| 1689 | |
| 1690 | wxPyEndAllowThreads(__tstate); |
| 1691 | if (PyErr_Occurred()) SWIG_fail; |
| 1692 | } |
| 1693 | resultobj = PyInt_FromLong((long)result); |
| 1694 | return resultobj; |
| 1695 | fail: |
| 1696 | return NULL; |
| 1697 | } |
| 1698 | |
| 1699 | |
| 1700 | static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1701 | PyObject *resultobj; |
| 1702 | wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; |
| 1703 | int arg2 ; |
| 1704 | PyObject * obj0 = 0 ; |
| 1705 | char *kwnames[] = { |
| 1706 | (char *) "self",(char *) "width", NULL |
| 1707 | }; |
| 1708 | |
| 1709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&arg2)) goto fail; |
| 1710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1711 | { |
| 1712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1713 | (arg1)->SetWidth(arg2); |
| 1714 | |
| 1715 | wxPyEndAllowThreads(__tstate); |
| 1716 | if (PyErr_Occurred()) SWIG_fail; |
| 1717 | } |
| 1718 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1719 | return resultobj; |
| 1720 | fail: |
| 1721 | return NULL; |
| 1722 | } |
| 1723 | |
| 1724 | |
| 1725 | static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1726 | PyObject *resultobj; |
| 1727 | wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; |
| 1728 | int result; |
| 1729 | PyObject * obj0 = 0 ; |
| 1730 | char *kwnames[] = { |
| 1731 | (char *) "self", NULL |
| 1732 | }; |
| 1733 | |
| 1734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail; |
| 1735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1736 | { |
| 1737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1738 | result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision(); |
| 1739 | |
| 1740 | wxPyEndAllowThreads(__tstate); |
| 1741 | if (PyErr_Occurred()) SWIG_fail; |
| 1742 | } |
| 1743 | resultobj = PyInt_FromLong((long)result); |
| 1744 | return resultobj; |
| 1745 | fail: |
| 1746 | return NULL; |
| 1747 | } |
| 1748 | |
| 1749 | |
| 1750 | static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1751 | PyObject *resultobj; |
| 1752 | wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; |
| 1753 | int arg2 ; |
| 1754 | PyObject * obj0 = 0 ; |
| 1755 | char *kwnames[] = { |
| 1756 | (char *) "self",(char *) "precision", NULL |
| 1757 | }; |
| 1758 | |
| 1759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&arg2)) goto fail; |
| 1760 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1761 | { |
| 1762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1763 | (arg1)->SetPrecision(arg2); |
| 1764 | |
| 1765 | wxPyEndAllowThreads(__tstate); |
| 1766 | if (PyErr_Occurred()) SWIG_fail; |
| 1767 | } |
| 1768 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1769 | return resultobj; |
| 1770 | fail: |
| 1771 | return NULL; |
| 1772 | } |
| 1773 | |
| 1774 | |
| 1775 | static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1776 | PyObject *obj; |
| 1777 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1778 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj); |
| 1779 | Py_INCREF(obj); |
| 1780 | return Py_BuildValue((char *)""); |
| 1781 | } |
| 1782 | static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1783 | PyObject *resultobj; |
| 1784 | wxGridCellBoolRenderer *result; |
| 1785 | char *kwnames[] = { |
| 1786 | NULL |
| 1787 | }; |
| 1788 | |
| 1789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail; |
| 1790 | { |
| 1791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1792 | result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer(); |
| 1793 | |
| 1794 | wxPyEndAllowThreads(__tstate); |
| 1795 | if (PyErr_Occurred()) SWIG_fail; |
| 1796 | } |
| 1797 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolRenderer, 1); |
| 1798 | return resultobj; |
| 1799 | fail: |
| 1800 | return NULL; |
| 1801 | } |
| 1802 | |
| 1803 | |
| 1804 | static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1805 | PyObject *obj; |
| 1806 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1807 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj); |
| 1808 | Py_INCREF(obj); |
| 1809 | return Py_BuildValue((char *)""); |
| 1810 | } |
| 1811 | static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1812 | PyObject *resultobj; |
| 1813 | wxString arg1 = (wxString) wxPyDateTimeFormatStr ; |
| 1814 | wxString arg2 = (wxString) wxPyDateTimeFormatStr ; |
| 1815 | wxGridCellDateTimeRenderer *result; |
| 1816 | PyObject * obj0 = 0 ; |
| 1817 | PyObject * obj1 = 0 ; |
| 1818 | char *kwnames[] = { |
| 1819 | (char *) "outformat",(char *) "informat", NULL |
| 1820 | }; |
| 1821 | |
| 1822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail; |
| 1823 | if (obj0) { |
| 1824 | { |
| 1825 | wxString* sptr = wxString_in_helper(obj0); |
| 1826 | if (sptr == NULL) SWIG_fail; |
| 1827 | arg1 = *sptr; |
| 1828 | delete sptr; |
| 1829 | } |
| 1830 | } |
| 1831 | if (obj1) { |
| 1832 | { |
| 1833 | wxString* sptr = wxString_in_helper(obj1); |
| 1834 | if (sptr == NULL) SWIG_fail; |
| 1835 | arg2 = *sptr; |
| 1836 | delete sptr; |
| 1837 | } |
| 1838 | } |
| 1839 | { |
| 1840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1841 | result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2); |
| 1842 | |
| 1843 | wxPyEndAllowThreads(__tstate); |
| 1844 | if (PyErr_Occurred()) SWIG_fail; |
| 1845 | } |
| 1846 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellDateTimeRenderer, 1); |
| 1847 | return resultobj; |
| 1848 | fail: |
| 1849 | return NULL; |
| 1850 | } |
| 1851 | |
| 1852 | |
| 1853 | static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1854 | PyObject *obj; |
| 1855 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1856 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj); |
| 1857 | Py_INCREF(obj); |
| 1858 | return Py_BuildValue((char *)""); |
| 1859 | } |
| 1860 | static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1861 | PyObject *resultobj; |
| 1862 | wxString const &arg1_defvalue = wxPyEmptyString ; |
| 1863 | wxString *arg1 = (wxString *) &arg1_defvalue ; |
| 1864 | wxGridCellEnumRenderer *result; |
| 1865 | bool temp1 = False ; |
| 1866 | PyObject * obj0 = 0 ; |
| 1867 | char *kwnames[] = { |
| 1868 | (char *) "choices", NULL |
| 1869 | }; |
| 1870 | |
| 1871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail; |
| 1872 | if (obj0) { |
| 1873 | { |
| 1874 | arg1 = wxString_in_helper(obj0); |
| 1875 | if (arg1 == NULL) SWIG_fail; |
| 1876 | temp1 = True; |
| 1877 | } |
| 1878 | } |
| 1879 | { |
| 1880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1881 | result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1); |
| 1882 | |
| 1883 | wxPyEndAllowThreads(__tstate); |
| 1884 | if (PyErr_Occurred()) SWIG_fail; |
| 1885 | } |
| 1886 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumRenderer, 1); |
| 1887 | { |
| 1888 | if (temp1) |
| 1889 | delete arg1; |
| 1890 | } |
| 1891 | return resultobj; |
| 1892 | fail: |
| 1893 | { |
| 1894 | if (temp1) |
| 1895 | delete arg1; |
| 1896 | } |
| 1897 | return NULL; |
| 1898 | } |
| 1899 | |
| 1900 | |
| 1901 | static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1902 | PyObject *obj; |
| 1903 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1904 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj); |
| 1905 | Py_INCREF(obj); |
| 1906 | return Py_BuildValue((char *)""); |
| 1907 | } |
| 1908 | static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1909 | PyObject *resultobj; |
| 1910 | wxGridCellAutoWrapStringRenderer *result; |
| 1911 | char *kwnames[] = { |
| 1912 | NULL |
| 1913 | }; |
| 1914 | |
| 1915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail; |
| 1916 | { |
| 1917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1918 | result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer(); |
| 1919 | |
| 1920 | wxPyEndAllowThreads(__tstate); |
| 1921 | if (PyErr_Occurred()) SWIG_fail; |
| 1922 | } |
| 1923 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1); |
| 1924 | return resultobj; |
| 1925 | fail: |
| 1926 | return NULL; |
| 1927 | } |
| 1928 | |
| 1929 | |
| 1930 | static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) { |
| 1931 | PyObject *obj; |
| 1932 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 1933 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj); |
| 1934 | Py_INCREF(obj); |
| 1935 | return Py_BuildValue((char *)""); |
| 1936 | } |
| 1937 | static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1938 | PyObject *resultobj; |
| 1939 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 1940 | PyObject *arg2 = (PyObject *) 0 ; |
| 1941 | PyObject * obj0 = 0 ; |
| 1942 | PyObject * obj1 = 0 ; |
| 1943 | char *kwnames[] = { |
| 1944 | (char *) "self",(char *) "_self", NULL |
| 1945 | }; |
| 1946 | |
| 1947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail; |
| 1948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1949 | arg2 = obj1; |
| 1950 | { |
| 1951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1952 | wxGridCellEditor__setOORInfo(arg1,arg2); |
| 1953 | |
| 1954 | wxPyEndAllowThreads(__tstate); |
| 1955 | if (PyErr_Occurred()) SWIG_fail; |
| 1956 | } |
| 1957 | Py_INCREF(Py_None); resultobj = Py_None; |
| 1958 | return resultobj; |
| 1959 | fail: |
| 1960 | return NULL; |
| 1961 | } |
| 1962 | |
| 1963 | |
| 1964 | static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1965 | PyObject *resultobj; |
| 1966 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 1967 | bool result; |
| 1968 | PyObject * obj0 = 0 ; |
| 1969 | char *kwnames[] = { |
| 1970 | (char *) "self", NULL |
| 1971 | }; |
| 1972 | |
| 1973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail; |
| 1974 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 1975 | { |
| 1976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1977 | result = (bool)(arg1)->IsCreated(); |
| 1978 | |
| 1979 | wxPyEndAllowThreads(__tstate); |
| 1980 | if (PyErr_Occurred()) SWIG_fail; |
| 1981 | } |
| 1982 | resultobj = PyInt_FromLong((long)result); |
| 1983 | return resultobj; |
| 1984 | fail: |
| 1985 | return NULL; |
| 1986 | } |
| 1987 | |
| 1988 | |
| 1989 | static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 1990 | PyObject *resultobj; |
| 1991 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 1992 | wxControl *result; |
| 1993 | PyObject * obj0 = 0 ; |
| 1994 | char *kwnames[] = { |
| 1995 | (char *) "self", NULL |
| 1996 | }; |
| 1997 | |
| 1998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail; |
| 1999 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2000 | { |
| 2001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2002 | result = (wxControl *)(arg1)->GetControl(); |
| 2003 | |
| 2004 | wxPyEndAllowThreads(__tstate); |
| 2005 | if (PyErr_Occurred()) SWIG_fail; |
| 2006 | } |
| 2007 | { |
| 2008 | resultobj = wxPyMake_wxObject(result); |
| 2009 | } |
| 2010 | return resultobj; |
| 2011 | fail: |
| 2012 | return NULL; |
| 2013 | } |
| 2014 | |
| 2015 | |
| 2016 | static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2017 | PyObject *resultobj; |
| 2018 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2019 | wxControl *arg2 = (wxControl *) 0 ; |
| 2020 | PyObject * obj0 = 0 ; |
| 2021 | PyObject * obj1 = 0 ; |
| 2022 | char *kwnames[] = { |
| 2023 | (char *) "self",(char *) "control", NULL |
| 2024 | }; |
| 2025 | |
| 2026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail; |
| 2027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2028 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2029 | { |
| 2030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2031 | (arg1)->SetControl(arg2); |
| 2032 | |
| 2033 | wxPyEndAllowThreads(__tstate); |
| 2034 | if (PyErr_Occurred()) SWIG_fail; |
| 2035 | } |
| 2036 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2037 | return resultobj; |
| 2038 | fail: |
| 2039 | return NULL; |
| 2040 | } |
| 2041 | |
| 2042 | |
| 2043 | static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2044 | PyObject *resultobj; |
| 2045 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2046 | wxGridCellAttr *result; |
| 2047 | PyObject * obj0 = 0 ; |
| 2048 | char *kwnames[] = { |
| 2049 | (char *) "self", NULL |
| 2050 | }; |
| 2051 | |
| 2052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail; |
| 2053 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2054 | { |
| 2055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2056 | result = (wxGridCellAttr *)(arg1)->GetCellAttr(); |
| 2057 | |
| 2058 | wxPyEndAllowThreads(__tstate); |
| 2059 | if (PyErr_Occurred()) SWIG_fail; |
| 2060 | } |
| 2061 | { |
| 2062 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 2063 | } |
| 2064 | return resultobj; |
| 2065 | fail: |
| 2066 | return NULL; |
| 2067 | } |
| 2068 | |
| 2069 | |
| 2070 | static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2071 | PyObject *resultobj; |
| 2072 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2073 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 2074 | PyObject * obj0 = 0 ; |
| 2075 | PyObject * obj1 = 0 ; |
| 2076 | char *kwnames[] = { |
| 2077 | (char *) "self",(char *) "attr", NULL |
| 2078 | }; |
| 2079 | |
| 2080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail; |
| 2081 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2082 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2083 | { |
| 2084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2085 | (arg1)->SetCellAttr(arg2); |
| 2086 | |
| 2087 | wxPyEndAllowThreads(__tstate); |
| 2088 | if (PyErr_Occurred()) SWIG_fail; |
| 2089 | } |
| 2090 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2091 | return resultobj; |
| 2092 | fail: |
| 2093 | return NULL; |
| 2094 | } |
| 2095 | |
| 2096 | |
| 2097 | static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2098 | PyObject *resultobj; |
| 2099 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2100 | wxString *arg2 = 0 ; |
| 2101 | bool temp2 = False ; |
| 2102 | PyObject * obj0 = 0 ; |
| 2103 | PyObject * obj1 = 0 ; |
| 2104 | char *kwnames[] = { |
| 2105 | (char *) "self",(char *) "params", NULL |
| 2106 | }; |
| 2107 | |
| 2108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail; |
| 2109 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2110 | { |
| 2111 | arg2 = wxString_in_helper(obj1); |
| 2112 | if (arg2 == NULL) SWIG_fail; |
| 2113 | temp2 = True; |
| 2114 | } |
| 2115 | { |
| 2116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2117 | (arg1)->SetParameters((wxString const &)*arg2); |
| 2118 | |
| 2119 | wxPyEndAllowThreads(__tstate); |
| 2120 | if (PyErr_Occurred()) SWIG_fail; |
| 2121 | } |
| 2122 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2123 | { |
| 2124 | if (temp2) |
| 2125 | delete arg2; |
| 2126 | } |
| 2127 | return resultobj; |
| 2128 | fail: |
| 2129 | { |
| 2130 | if (temp2) |
| 2131 | delete arg2; |
| 2132 | } |
| 2133 | return NULL; |
| 2134 | } |
| 2135 | |
| 2136 | |
| 2137 | static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2138 | PyObject *resultobj; |
| 2139 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2140 | PyObject * obj0 = 0 ; |
| 2141 | char *kwnames[] = { |
| 2142 | (char *) "self", NULL |
| 2143 | }; |
| 2144 | |
| 2145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail; |
| 2146 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2147 | { |
| 2148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2149 | (arg1)->IncRef(); |
| 2150 | |
| 2151 | wxPyEndAllowThreads(__tstate); |
| 2152 | if (PyErr_Occurred()) SWIG_fail; |
| 2153 | } |
| 2154 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2155 | return resultobj; |
| 2156 | fail: |
| 2157 | return NULL; |
| 2158 | } |
| 2159 | |
| 2160 | |
| 2161 | static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2162 | PyObject *resultobj; |
| 2163 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2164 | PyObject * obj0 = 0 ; |
| 2165 | char *kwnames[] = { |
| 2166 | (char *) "self", NULL |
| 2167 | }; |
| 2168 | |
| 2169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail; |
| 2170 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2171 | { |
| 2172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2173 | (arg1)->DecRef(); |
| 2174 | |
| 2175 | wxPyEndAllowThreads(__tstate); |
| 2176 | if (PyErr_Occurred()) SWIG_fail; |
| 2177 | } |
| 2178 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2179 | return resultobj; |
| 2180 | fail: |
| 2181 | return NULL; |
| 2182 | } |
| 2183 | |
| 2184 | |
| 2185 | static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2186 | PyObject *resultobj; |
| 2187 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2188 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 2189 | int arg3 ; |
| 2190 | wxEvtHandler *arg4 = (wxEvtHandler *) 0 ; |
| 2191 | PyObject * obj0 = 0 ; |
| 2192 | PyObject * obj1 = 0 ; |
| 2193 | PyObject * obj3 = 0 ; |
| 2194 | char *kwnames[] = { |
| 2195 | (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL |
| 2196 | }; |
| 2197 | |
| 2198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO:GridCellEditor_Create",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail; |
| 2199 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2200 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2201 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2202 | { |
| 2203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2204 | (arg1)->Create(arg2,arg3,arg4); |
| 2205 | |
| 2206 | wxPyEndAllowThreads(__tstate); |
| 2207 | if (PyErr_Occurred()) SWIG_fail; |
| 2208 | } |
| 2209 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2210 | return resultobj; |
| 2211 | fail: |
| 2212 | return NULL; |
| 2213 | } |
| 2214 | |
| 2215 | |
| 2216 | static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2217 | PyObject *resultobj; |
| 2218 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2219 | int arg2 ; |
| 2220 | int arg3 ; |
| 2221 | wxGrid *arg4 = (wxGrid *) 0 ; |
| 2222 | PyObject * obj0 = 0 ; |
| 2223 | PyObject * obj3 = 0 ; |
| 2224 | char *kwnames[] = { |
| 2225 | (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL |
| 2226 | }; |
| 2227 | |
| 2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 2229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2230 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2231 | { |
| 2232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2233 | (arg1)->BeginEdit(arg2,arg3,arg4); |
| 2234 | |
| 2235 | wxPyEndAllowThreads(__tstate); |
| 2236 | if (PyErr_Occurred()) SWIG_fail; |
| 2237 | } |
| 2238 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2239 | return resultobj; |
| 2240 | fail: |
| 2241 | return NULL; |
| 2242 | } |
| 2243 | |
| 2244 | |
| 2245 | static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2246 | PyObject *resultobj; |
| 2247 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2248 | int arg2 ; |
| 2249 | int arg3 ; |
| 2250 | wxGrid *arg4 = (wxGrid *) 0 ; |
| 2251 | bool result; |
| 2252 | PyObject * obj0 = 0 ; |
| 2253 | PyObject * obj3 = 0 ; |
| 2254 | char *kwnames[] = { |
| 2255 | (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL |
| 2256 | }; |
| 2257 | |
| 2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_EndEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 2259 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2260 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2261 | { |
| 2262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2263 | result = (bool)(arg1)->EndEdit(arg2,arg3,arg4); |
| 2264 | |
| 2265 | wxPyEndAllowThreads(__tstate); |
| 2266 | if (PyErr_Occurred()) SWIG_fail; |
| 2267 | } |
| 2268 | resultobj = PyInt_FromLong((long)result); |
| 2269 | return resultobj; |
| 2270 | fail: |
| 2271 | return NULL; |
| 2272 | } |
| 2273 | |
| 2274 | |
| 2275 | static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2276 | PyObject *resultobj; |
| 2277 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2278 | PyObject * obj0 = 0 ; |
| 2279 | char *kwnames[] = { |
| 2280 | (char *) "self", NULL |
| 2281 | }; |
| 2282 | |
| 2283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail; |
| 2284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2285 | { |
| 2286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2287 | (arg1)->Reset(); |
| 2288 | |
| 2289 | wxPyEndAllowThreads(__tstate); |
| 2290 | if (PyErr_Occurred()) SWIG_fail; |
| 2291 | } |
| 2292 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2293 | return resultobj; |
| 2294 | fail: |
| 2295 | return NULL; |
| 2296 | } |
| 2297 | |
| 2298 | |
| 2299 | static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2300 | PyObject *resultobj; |
| 2301 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2302 | wxGridCellEditor *result; |
| 2303 | PyObject * obj0 = 0 ; |
| 2304 | char *kwnames[] = { |
| 2305 | (char *) "self", NULL |
| 2306 | }; |
| 2307 | |
| 2308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail; |
| 2309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2310 | { |
| 2311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2312 | result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone(); |
| 2313 | |
| 2314 | wxPyEndAllowThreads(__tstate); |
| 2315 | if (PyErr_Occurred()) SWIG_fail; |
| 2316 | } |
| 2317 | { |
| 2318 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 2319 | } |
| 2320 | return resultobj; |
| 2321 | fail: |
| 2322 | return NULL; |
| 2323 | } |
| 2324 | |
| 2325 | |
| 2326 | static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2327 | PyObject *resultobj; |
| 2328 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2329 | wxRect *arg2 = 0 ; |
| 2330 | wxRect temp2 ; |
| 2331 | PyObject * obj0 = 0 ; |
| 2332 | PyObject * obj1 = 0 ; |
| 2333 | char *kwnames[] = { |
| 2334 | (char *) "self",(char *) "rect", NULL |
| 2335 | }; |
| 2336 | |
| 2337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail; |
| 2338 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2339 | { |
| 2340 | arg2 = &temp2; |
| 2341 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; |
| 2342 | } |
| 2343 | { |
| 2344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2345 | (arg1)->SetSize((wxRect const &)*arg2); |
| 2346 | |
| 2347 | wxPyEndAllowThreads(__tstate); |
| 2348 | if (PyErr_Occurred()) SWIG_fail; |
| 2349 | } |
| 2350 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2351 | return resultobj; |
| 2352 | fail: |
| 2353 | return NULL; |
| 2354 | } |
| 2355 | |
| 2356 | |
| 2357 | static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2358 | PyObject *resultobj; |
| 2359 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2360 | bool arg2 ; |
| 2361 | wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; |
| 2362 | PyObject * obj0 = 0 ; |
| 2363 | PyObject * obj1 = 0 ; |
| 2364 | PyObject * obj2 = 0 ; |
| 2365 | char *kwnames[] = { |
| 2366 | (char *) "self",(char *) "show",(char *) "attr", NULL |
| 2367 | }; |
| 2368 | |
| 2369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 2370 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2371 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 2372 | if (PyErr_Occurred()) SWIG_fail; |
| 2373 | if (obj2) { |
| 2374 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2375 | } |
| 2376 | { |
| 2377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2378 | (arg1)->Show(arg2,arg3); |
| 2379 | |
| 2380 | wxPyEndAllowThreads(__tstate); |
| 2381 | if (PyErr_Occurred()) SWIG_fail; |
| 2382 | } |
| 2383 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2384 | return resultobj; |
| 2385 | fail: |
| 2386 | return NULL; |
| 2387 | } |
| 2388 | |
| 2389 | |
| 2390 | static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2391 | PyObject *resultobj; |
| 2392 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2393 | wxRect *arg2 = 0 ; |
| 2394 | wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; |
| 2395 | wxRect temp2 ; |
| 2396 | PyObject * obj0 = 0 ; |
| 2397 | PyObject * obj1 = 0 ; |
| 2398 | PyObject * obj2 = 0 ; |
| 2399 | char *kwnames[] = { |
| 2400 | (char *) "self",(char *) "rectCell",(char *) "attr", NULL |
| 2401 | }; |
| 2402 | |
| 2403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 2404 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2405 | { |
| 2406 | arg2 = &temp2; |
| 2407 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; |
| 2408 | } |
| 2409 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2410 | { |
| 2411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2412 | (arg1)->PaintBackground((wxRect const &)*arg2,arg3); |
| 2413 | |
| 2414 | wxPyEndAllowThreads(__tstate); |
| 2415 | if (PyErr_Occurred()) SWIG_fail; |
| 2416 | } |
| 2417 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2418 | return resultobj; |
| 2419 | fail: |
| 2420 | return NULL; |
| 2421 | } |
| 2422 | |
| 2423 | |
| 2424 | static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2425 | PyObject *resultobj; |
| 2426 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2427 | wxKeyEvent *arg2 = 0 ; |
| 2428 | bool result; |
| 2429 | PyObject * obj0 = 0 ; |
| 2430 | PyObject * obj1 = 0 ; |
| 2431 | char *kwnames[] = { |
| 2432 | (char *) "self",(char *) "event", NULL |
| 2433 | }; |
| 2434 | |
| 2435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail; |
| 2436 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2437 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2438 | if (arg2 == NULL) { |
| 2439 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2440 | } |
| 2441 | { |
| 2442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2443 | result = (bool)(arg1)->IsAcceptedKey(*arg2); |
| 2444 | |
| 2445 | wxPyEndAllowThreads(__tstate); |
| 2446 | if (PyErr_Occurred()) SWIG_fail; |
| 2447 | } |
| 2448 | resultobj = PyInt_FromLong((long)result); |
| 2449 | return resultobj; |
| 2450 | fail: |
| 2451 | return NULL; |
| 2452 | } |
| 2453 | |
| 2454 | |
| 2455 | static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2456 | PyObject *resultobj; |
| 2457 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2458 | wxKeyEvent *arg2 = 0 ; |
| 2459 | PyObject * obj0 = 0 ; |
| 2460 | PyObject * obj1 = 0 ; |
| 2461 | char *kwnames[] = { |
| 2462 | (char *) "self",(char *) "event", NULL |
| 2463 | }; |
| 2464 | |
| 2465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail; |
| 2466 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2467 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2468 | if (arg2 == NULL) { |
| 2469 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2470 | } |
| 2471 | { |
| 2472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2473 | (arg1)->StartingKey(*arg2); |
| 2474 | |
| 2475 | wxPyEndAllowThreads(__tstate); |
| 2476 | if (PyErr_Occurred()) SWIG_fail; |
| 2477 | } |
| 2478 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2479 | return resultobj; |
| 2480 | fail: |
| 2481 | return NULL; |
| 2482 | } |
| 2483 | |
| 2484 | |
| 2485 | static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2486 | PyObject *resultobj; |
| 2487 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2488 | PyObject * obj0 = 0 ; |
| 2489 | char *kwnames[] = { |
| 2490 | (char *) "self", NULL |
| 2491 | }; |
| 2492 | |
| 2493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail; |
| 2494 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2495 | { |
| 2496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2497 | (arg1)->StartingClick(); |
| 2498 | |
| 2499 | wxPyEndAllowThreads(__tstate); |
| 2500 | if (PyErr_Occurred()) SWIG_fail; |
| 2501 | } |
| 2502 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2503 | return resultobj; |
| 2504 | fail: |
| 2505 | return NULL; |
| 2506 | } |
| 2507 | |
| 2508 | |
| 2509 | static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2510 | PyObject *resultobj; |
| 2511 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2512 | wxKeyEvent *arg2 = 0 ; |
| 2513 | PyObject * obj0 = 0 ; |
| 2514 | PyObject * obj1 = 0 ; |
| 2515 | char *kwnames[] = { |
| 2516 | (char *) "self",(char *) "event", NULL |
| 2517 | }; |
| 2518 | |
| 2519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail; |
| 2520 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2521 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2522 | if (arg2 == NULL) { |
| 2523 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2524 | } |
| 2525 | { |
| 2526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2527 | (arg1)->HandleReturn(*arg2); |
| 2528 | |
| 2529 | wxPyEndAllowThreads(__tstate); |
| 2530 | if (PyErr_Occurred()) SWIG_fail; |
| 2531 | } |
| 2532 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2533 | return resultobj; |
| 2534 | fail: |
| 2535 | return NULL; |
| 2536 | } |
| 2537 | |
| 2538 | |
| 2539 | static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2540 | PyObject *resultobj; |
| 2541 | wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; |
| 2542 | PyObject * obj0 = 0 ; |
| 2543 | char *kwnames[] = { |
| 2544 | (char *) "self", NULL |
| 2545 | }; |
| 2546 | |
| 2547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail; |
| 2548 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2549 | { |
| 2550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2551 | (arg1)->Destroy(); |
| 2552 | |
| 2553 | wxPyEndAllowThreads(__tstate); |
| 2554 | if (PyErr_Occurred()) SWIG_fail; |
| 2555 | } |
| 2556 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2557 | return resultobj; |
| 2558 | fail: |
| 2559 | return NULL; |
| 2560 | } |
| 2561 | |
| 2562 | |
| 2563 | static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) { |
| 2564 | PyObject *obj; |
| 2565 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 2566 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj); |
| 2567 | Py_INCREF(obj); |
| 2568 | return Py_BuildValue((char *)""); |
| 2569 | } |
| 2570 | static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2571 | PyObject *resultobj; |
| 2572 | wxPyGridCellEditor *result; |
| 2573 | char *kwnames[] = { |
| 2574 | NULL |
| 2575 | }; |
| 2576 | |
| 2577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail; |
| 2578 | { |
| 2579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2580 | result = (wxPyGridCellEditor *)new wxPyGridCellEditor(); |
| 2581 | |
| 2582 | wxPyEndAllowThreads(__tstate); |
| 2583 | if (PyErr_Occurred()) SWIG_fail; |
| 2584 | } |
| 2585 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellEditor, 1); |
| 2586 | return resultobj; |
| 2587 | fail: |
| 2588 | return NULL; |
| 2589 | } |
| 2590 | |
| 2591 | |
| 2592 | static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2593 | PyObject *resultobj; |
| 2594 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2595 | PyObject *arg2 = (PyObject *) 0 ; |
| 2596 | PyObject *arg3 = (PyObject *) 0 ; |
| 2597 | PyObject * obj0 = 0 ; |
| 2598 | PyObject * obj1 = 0 ; |
| 2599 | PyObject * obj2 = 0 ; |
| 2600 | char *kwnames[] = { |
| 2601 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 2602 | }; |
| 2603 | |
| 2604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 2605 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2606 | arg2 = obj1; |
| 2607 | arg3 = obj2; |
| 2608 | { |
| 2609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2610 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 2611 | |
| 2612 | wxPyEndAllowThreads(__tstate); |
| 2613 | if (PyErr_Occurred()) SWIG_fail; |
| 2614 | } |
| 2615 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2616 | return resultobj; |
| 2617 | fail: |
| 2618 | return NULL; |
| 2619 | } |
| 2620 | |
| 2621 | |
| 2622 | static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2623 | PyObject *resultobj; |
| 2624 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2625 | wxRect *arg2 = 0 ; |
| 2626 | wxRect temp2 ; |
| 2627 | PyObject * obj0 = 0 ; |
| 2628 | PyObject * obj1 = 0 ; |
| 2629 | char *kwnames[] = { |
| 2630 | (char *) "self",(char *) "rect", NULL |
| 2631 | }; |
| 2632 | |
| 2633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail; |
| 2634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2635 | { |
| 2636 | arg2 = &temp2; |
| 2637 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; |
| 2638 | } |
| 2639 | { |
| 2640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2641 | (arg1)->base_SetSize((wxRect const &)*arg2); |
| 2642 | |
| 2643 | wxPyEndAllowThreads(__tstate); |
| 2644 | if (PyErr_Occurred()) SWIG_fail; |
| 2645 | } |
| 2646 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2647 | return resultobj; |
| 2648 | fail: |
| 2649 | return NULL; |
| 2650 | } |
| 2651 | |
| 2652 | |
| 2653 | static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2654 | PyObject *resultobj; |
| 2655 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2656 | bool arg2 ; |
| 2657 | wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; |
| 2658 | PyObject * obj0 = 0 ; |
| 2659 | PyObject * obj1 = 0 ; |
| 2660 | PyObject * obj2 = 0 ; |
| 2661 | char *kwnames[] = { |
| 2662 | (char *) "self",(char *) "show",(char *) "attr", NULL |
| 2663 | }; |
| 2664 | |
| 2665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 2666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2667 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 2668 | if (PyErr_Occurred()) SWIG_fail; |
| 2669 | if (obj2) { |
| 2670 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2671 | } |
| 2672 | { |
| 2673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2674 | (arg1)->base_Show(arg2,arg3); |
| 2675 | |
| 2676 | wxPyEndAllowThreads(__tstate); |
| 2677 | if (PyErr_Occurred()) SWIG_fail; |
| 2678 | } |
| 2679 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2680 | return resultobj; |
| 2681 | fail: |
| 2682 | return NULL; |
| 2683 | } |
| 2684 | |
| 2685 | |
| 2686 | static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2687 | PyObject *resultobj; |
| 2688 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2689 | wxRect *arg2 = 0 ; |
| 2690 | wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; |
| 2691 | wxRect temp2 ; |
| 2692 | PyObject * obj0 = 0 ; |
| 2693 | PyObject * obj1 = 0 ; |
| 2694 | PyObject * obj2 = 0 ; |
| 2695 | char *kwnames[] = { |
| 2696 | (char *) "self",(char *) "rectCell",(char *) "attr", NULL |
| 2697 | }; |
| 2698 | |
| 2699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 2700 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2701 | { |
| 2702 | arg2 = &temp2; |
| 2703 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; |
| 2704 | } |
| 2705 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2706 | { |
| 2707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2708 | (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3); |
| 2709 | |
| 2710 | wxPyEndAllowThreads(__tstate); |
| 2711 | if (PyErr_Occurred()) SWIG_fail; |
| 2712 | } |
| 2713 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2714 | return resultobj; |
| 2715 | fail: |
| 2716 | return NULL; |
| 2717 | } |
| 2718 | |
| 2719 | |
| 2720 | static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2721 | PyObject *resultobj; |
| 2722 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2723 | wxKeyEvent *arg2 = 0 ; |
| 2724 | bool result; |
| 2725 | PyObject * obj0 = 0 ; |
| 2726 | PyObject * obj1 = 0 ; |
| 2727 | char *kwnames[] = { |
| 2728 | (char *) "self",(char *) "event", NULL |
| 2729 | }; |
| 2730 | |
| 2731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail; |
| 2732 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2733 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2734 | if (arg2 == NULL) { |
| 2735 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2736 | } |
| 2737 | { |
| 2738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2739 | result = (bool)(arg1)->base_IsAcceptedKey(*arg2); |
| 2740 | |
| 2741 | wxPyEndAllowThreads(__tstate); |
| 2742 | if (PyErr_Occurred()) SWIG_fail; |
| 2743 | } |
| 2744 | resultobj = PyInt_FromLong((long)result); |
| 2745 | return resultobj; |
| 2746 | fail: |
| 2747 | return NULL; |
| 2748 | } |
| 2749 | |
| 2750 | |
| 2751 | static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2752 | PyObject *resultobj; |
| 2753 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2754 | wxKeyEvent *arg2 = 0 ; |
| 2755 | PyObject * obj0 = 0 ; |
| 2756 | PyObject * obj1 = 0 ; |
| 2757 | char *kwnames[] = { |
| 2758 | (char *) "self",(char *) "event", NULL |
| 2759 | }; |
| 2760 | |
| 2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail; |
| 2762 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2763 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2764 | if (arg2 == NULL) { |
| 2765 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2766 | } |
| 2767 | { |
| 2768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2769 | (arg1)->base_StartingKey(*arg2); |
| 2770 | |
| 2771 | wxPyEndAllowThreads(__tstate); |
| 2772 | if (PyErr_Occurred()) SWIG_fail; |
| 2773 | } |
| 2774 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2775 | return resultobj; |
| 2776 | fail: |
| 2777 | return NULL; |
| 2778 | } |
| 2779 | |
| 2780 | |
| 2781 | static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2782 | PyObject *resultobj; |
| 2783 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2784 | PyObject * obj0 = 0 ; |
| 2785 | char *kwnames[] = { |
| 2786 | (char *) "self", NULL |
| 2787 | }; |
| 2788 | |
| 2789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail; |
| 2790 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2791 | { |
| 2792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2793 | (arg1)->base_StartingClick(); |
| 2794 | |
| 2795 | wxPyEndAllowThreads(__tstate); |
| 2796 | if (PyErr_Occurred()) SWIG_fail; |
| 2797 | } |
| 2798 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2799 | return resultobj; |
| 2800 | fail: |
| 2801 | return NULL; |
| 2802 | } |
| 2803 | |
| 2804 | |
| 2805 | static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2806 | PyObject *resultobj; |
| 2807 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2808 | wxKeyEvent *arg2 = 0 ; |
| 2809 | PyObject * obj0 = 0 ; |
| 2810 | PyObject * obj1 = 0 ; |
| 2811 | char *kwnames[] = { |
| 2812 | (char *) "self",(char *) "event", NULL |
| 2813 | }; |
| 2814 | |
| 2815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail; |
| 2816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2817 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2818 | if (arg2 == NULL) { |
| 2819 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 2820 | } |
| 2821 | { |
| 2822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2823 | (arg1)->base_HandleReturn(*arg2); |
| 2824 | |
| 2825 | wxPyEndAllowThreads(__tstate); |
| 2826 | if (PyErr_Occurred()) SWIG_fail; |
| 2827 | } |
| 2828 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2829 | return resultobj; |
| 2830 | fail: |
| 2831 | return NULL; |
| 2832 | } |
| 2833 | |
| 2834 | |
| 2835 | static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2836 | PyObject *resultobj; |
| 2837 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2838 | PyObject * obj0 = 0 ; |
| 2839 | char *kwnames[] = { |
| 2840 | (char *) "self", NULL |
| 2841 | }; |
| 2842 | |
| 2843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail; |
| 2844 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2845 | { |
| 2846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2847 | (arg1)->base_Destroy(); |
| 2848 | |
| 2849 | wxPyEndAllowThreads(__tstate); |
| 2850 | if (PyErr_Occurred()) SWIG_fail; |
| 2851 | } |
| 2852 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2853 | return resultobj; |
| 2854 | fail: |
| 2855 | return NULL; |
| 2856 | } |
| 2857 | |
| 2858 | |
| 2859 | static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2860 | PyObject *resultobj; |
| 2861 | wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; |
| 2862 | wxString *arg2 = 0 ; |
| 2863 | bool temp2 = False ; |
| 2864 | PyObject * obj0 = 0 ; |
| 2865 | PyObject * obj1 = 0 ; |
| 2866 | char *kwnames[] = { |
| 2867 | (char *) "self",(char *) "params", NULL |
| 2868 | }; |
| 2869 | |
| 2870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail; |
| 2871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2872 | { |
| 2873 | arg2 = wxString_in_helper(obj1); |
| 2874 | if (arg2 == NULL) SWIG_fail; |
| 2875 | temp2 = True; |
| 2876 | } |
| 2877 | { |
| 2878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2879 | (arg1)->base_SetParameters((wxString const &)*arg2); |
| 2880 | |
| 2881 | wxPyEndAllowThreads(__tstate); |
| 2882 | if (PyErr_Occurred()) SWIG_fail; |
| 2883 | } |
| 2884 | Py_INCREF(Py_None); resultobj = Py_None; |
| 2885 | { |
| 2886 | if (temp2) |
| 2887 | delete arg2; |
| 2888 | } |
| 2889 | return resultobj; |
| 2890 | fail: |
| 2891 | { |
| 2892 | if (temp2) |
| 2893 | delete arg2; |
| 2894 | } |
| 2895 | return NULL; |
| 2896 | } |
| 2897 | |
| 2898 | |
| 2899 | static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) { |
| 2900 | PyObject *obj; |
| 2901 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 2902 | SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj); |
| 2903 | Py_INCREF(obj); |
| 2904 | return Py_BuildValue((char *)""); |
| 2905 | } |
| 2906 | static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2907 | PyObject *resultobj; |
| 2908 | wxGridCellTextEditor *result; |
| 2909 | char *kwnames[] = { |
| 2910 | NULL |
| 2911 | }; |
| 2912 | |
| 2913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail; |
| 2914 | { |
| 2915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2916 | result = (wxGridCellTextEditor *)new wxGridCellTextEditor(); |
| 2917 | |
| 2918 | wxPyEndAllowThreads(__tstate); |
| 2919 | if (PyErr_Occurred()) SWIG_fail; |
| 2920 | } |
| 2921 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellTextEditor, 1); |
| 2922 | return resultobj; |
| 2923 | fail: |
| 2924 | return NULL; |
| 2925 | } |
| 2926 | |
| 2927 | |
| 2928 | static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2929 | PyObject *resultobj; |
| 2930 | wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ; |
| 2931 | wxString result; |
| 2932 | PyObject * obj0 = 0 ; |
| 2933 | char *kwnames[] = { |
| 2934 | (char *) "self", NULL |
| 2935 | }; |
| 2936 | |
| 2937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail; |
| 2938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellTextEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 2939 | { |
| 2940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2941 | result = (arg1)->GetValue(); |
| 2942 | |
| 2943 | wxPyEndAllowThreads(__tstate); |
| 2944 | if (PyErr_Occurred()) SWIG_fail; |
| 2945 | } |
| 2946 | { |
| 2947 | #if wxUSE_UNICODE |
| 2948 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 2949 | #else |
| 2950 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 2951 | #endif |
| 2952 | } |
| 2953 | return resultobj; |
| 2954 | fail: |
| 2955 | return NULL; |
| 2956 | } |
| 2957 | |
| 2958 | |
| 2959 | static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) { |
| 2960 | PyObject *obj; |
| 2961 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 2962 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj); |
| 2963 | Py_INCREF(obj); |
| 2964 | return Py_BuildValue((char *)""); |
| 2965 | } |
| 2966 | static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2967 | PyObject *resultobj; |
| 2968 | int arg1 = (int) -1 ; |
| 2969 | int arg2 = (int) -1 ; |
| 2970 | wxGridCellNumberEditor *result; |
| 2971 | char *kwnames[] = { |
| 2972 | (char *) "min",(char *) "max", NULL |
| 2973 | }; |
| 2974 | |
| 2975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellNumberEditor",kwnames,&arg1,&arg2)) goto fail; |
| 2976 | { |
| 2977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2978 | result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2); |
| 2979 | |
| 2980 | wxPyEndAllowThreads(__tstate); |
| 2981 | if (PyErr_Occurred()) SWIG_fail; |
| 2982 | } |
| 2983 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberEditor, 1); |
| 2984 | return resultobj; |
| 2985 | fail: |
| 2986 | return NULL; |
| 2987 | } |
| 2988 | |
| 2989 | |
| 2990 | static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 2991 | PyObject *resultobj; |
| 2992 | wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ; |
| 2993 | wxString result; |
| 2994 | PyObject * obj0 = 0 ; |
| 2995 | char *kwnames[] = { |
| 2996 | (char *) "self", NULL |
| 2997 | }; |
| 2998 | |
| 2999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellNumberEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3001 | { |
| 3002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3003 | result = (arg1)->GetValue(); |
| 3004 | |
| 3005 | wxPyEndAllowThreads(__tstate); |
| 3006 | if (PyErr_Occurred()) SWIG_fail; |
| 3007 | } |
| 3008 | { |
| 3009 | #if wxUSE_UNICODE |
| 3010 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3011 | #else |
| 3012 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3013 | #endif |
| 3014 | } |
| 3015 | return resultobj; |
| 3016 | fail: |
| 3017 | return NULL; |
| 3018 | } |
| 3019 | |
| 3020 | |
| 3021 | static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) { |
| 3022 | PyObject *obj; |
| 3023 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3024 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj); |
| 3025 | Py_INCREF(obj); |
| 3026 | return Py_BuildValue((char *)""); |
| 3027 | } |
| 3028 | static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3029 | PyObject *resultobj; |
| 3030 | wxGridCellFloatEditor *result; |
| 3031 | char *kwnames[] = { |
| 3032 | NULL |
| 3033 | }; |
| 3034 | |
| 3035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail; |
| 3036 | { |
| 3037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3038 | result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(); |
| 3039 | |
| 3040 | wxPyEndAllowThreads(__tstate); |
| 3041 | if (PyErr_Occurred()) SWIG_fail; |
| 3042 | } |
| 3043 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatEditor, 1); |
| 3044 | return resultobj; |
| 3045 | fail: |
| 3046 | return NULL; |
| 3047 | } |
| 3048 | |
| 3049 | |
| 3050 | static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3051 | PyObject *resultobj; |
| 3052 | wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ; |
| 3053 | wxString result; |
| 3054 | PyObject * obj0 = 0 ; |
| 3055 | char *kwnames[] = { |
| 3056 | (char *) "self", NULL |
| 3057 | }; |
| 3058 | |
| 3059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3060 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3061 | { |
| 3062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3063 | result = (arg1)->GetValue(); |
| 3064 | |
| 3065 | wxPyEndAllowThreads(__tstate); |
| 3066 | if (PyErr_Occurred()) SWIG_fail; |
| 3067 | } |
| 3068 | { |
| 3069 | #if wxUSE_UNICODE |
| 3070 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3071 | #else |
| 3072 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3073 | #endif |
| 3074 | } |
| 3075 | return resultobj; |
| 3076 | fail: |
| 3077 | return NULL; |
| 3078 | } |
| 3079 | |
| 3080 | |
| 3081 | static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) { |
| 3082 | PyObject *obj; |
| 3083 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3084 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj); |
| 3085 | Py_INCREF(obj); |
| 3086 | return Py_BuildValue((char *)""); |
| 3087 | } |
| 3088 | static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3089 | PyObject *resultobj; |
| 3090 | wxGridCellBoolEditor *result; |
| 3091 | char *kwnames[] = { |
| 3092 | NULL |
| 3093 | }; |
| 3094 | |
| 3095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail; |
| 3096 | { |
| 3097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3098 | result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor(); |
| 3099 | |
| 3100 | wxPyEndAllowThreads(__tstate); |
| 3101 | if (PyErr_Occurred()) SWIG_fail; |
| 3102 | } |
| 3103 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolEditor, 1); |
| 3104 | return resultobj; |
| 3105 | fail: |
| 3106 | return NULL; |
| 3107 | } |
| 3108 | |
| 3109 | |
| 3110 | static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3111 | PyObject *resultobj; |
| 3112 | wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ; |
| 3113 | wxString result; |
| 3114 | PyObject * obj0 = 0 ; |
| 3115 | char *kwnames[] = { |
| 3116 | (char *) "self", NULL |
| 3117 | }; |
| 3118 | |
| 3119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3120 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellBoolEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3121 | { |
| 3122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3123 | result = (arg1)->GetValue(); |
| 3124 | |
| 3125 | wxPyEndAllowThreads(__tstate); |
| 3126 | if (PyErr_Occurred()) SWIG_fail; |
| 3127 | } |
| 3128 | { |
| 3129 | #if wxUSE_UNICODE |
| 3130 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3131 | #else |
| 3132 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3133 | #endif |
| 3134 | } |
| 3135 | return resultobj; |
| 3136 | fail: |
| 3137 | return NULL; |
| 3138 | } |
| 3139 | |
| 3140 | |
| 3141 | static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) { |
| 3142 | PyObject *obj; |
| 3143 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3144 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj); |
| 3145 | Py_INCREF(obj); |
| 3146 | return Py_BuildValue((char *)""); |
| 3147 | } |
| 3148 | static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3149 | PyObject *resultobj; |
| 3150 | int arg1 = (int) 0 ; |
| 3151 | wxString *arg2 = (wxString *) NULL ; |
| 3152 | bool arg3 = (bool) False ; |
| 3153 | wxGridCellChoiceEditor *result; |
| 3154 | PyObject * obj0 = 0 ; |
| 3155 | PyObject * obj1 = 0 ; |
| 3156 | char *kwnames[] = { |
| 3157 | (char *) "choices",(char *) "allowOthers", NULL |
| 3158 | }; |
| 3159 | |
| 3160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail; |
| 3161 | if (obj0) { |
| 3162 | { |
| 3163 | arg1 = PyList_Size(obj0); |
| 3164 | arg2 = wxString_LIST_helper(obj0); |
| 3165 | if (arg2 == NULL) SWIG_fail; |
| 3166 | } |
| 3167 | } |
| 3168 | if (obj1) { |
| 3169 | arg3 = PyInt_AsLong(obj1) ? true : false; |
| 3170 | if (PyErr_Occurred()) SWIG_fail; |
| 3171 | } |
| 3172 | { |
| 3173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3174 | result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3); |
| 3175 | |
| 3176 | wxPyEndAllowThreads(__tstate); |
| 3177 | if (PyErr_Occurred()) SWIG_fail; |
| 3178 | } |
| 3179 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellChoiceEditor, 1); |
| 3180 | { |
| 3181 | if (arg2) delete [] arg2; |
| 3182 | } |
| 3183 | return resultobj; |
| 3184 | fail: |
| 3185 | { |
| 3186 | if (arg2) delete [] arg2; |
| 3187 | } |
| 3188 | return NULL; |
| 3189 | } |
| 3190 | |
| 3191 | |
| 3192 | static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3193 | PyObject *resultobj; |
| 3194 | wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ; |
| 3195 | wxString result; |
| 3196 | PyObject * obj0 = 0 ; |
| 3197 | char *kwnames[] = { |
| 3198 | (char *) "self", NULL |
| 3199 | }; |
| 3200 | |
| 3201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellChoiceEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3203 | { |
| 3204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3205 | result = (arg1)->GetValue(); |
| 3206 | |
| 3207 | wxPyEndAllowThreads(__tstate); |
| 3208 | if (PyErr_Occurred()) SWIG_fail; |
| 3209 | } |
| 3210 | { |
| 3211 | #if wxUSE_UNICODE |
| 3212 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3213 | #else |
| 3214 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3215 | #endif |
| 3216 | } |
| 3217 | return resultobj; |
| 3218 | fail: |
| 3219 | return NULL; |
| 3220 | } |
| 3221 | |
| 3222 | |
| 3223 | static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) { |
| 3224 | PyObject *obj; |
| 3225 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3226 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj); |
| 3227 | Py_INCREF(obj); |
| 3228 | return Py_BuildValue((char *)""); |
| 3229 | } |
| 3230 | static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3231 | PyObject *resultobj; |
| 3232 | wxString const &arg1_defvalue = wxPyEmptyString ; |
| 3233 | wxString *arg1 = (wxString *) &arg1_defvalue ; |
| 3234 | wxGridCellEnumEditor *result; |
| 3235 | bool temp1 = False ; |
| 3236 | PyObject * obj0 = 0 ; |
| 3237 | char *kwnames[] = { |
| 3238 | (char *) "choices", NULL |
| 3239 | }; |
| 3240 | |
| 3241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail; |
| 3242 | if (obj0) { |
| 3243 | { |
| 3244 | arg1 = wxString_in_helper(obj0); |
| 3245 | if (arg1 == NULL) SWIG_fail; |
| 3246 | temp1 = True; |
| 3247 | } |
| 3248 | } |
| 3249 | { |
| 3250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3251 | result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1); |
| 3252 | |
| 3253 | wxPyEndAllowThreads(__tstate); |
| 3254 | if (PyErr_Occurred()) SWIG_fail; |
| 3255 | } |
| 3256 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumEditor, 1); |
| 3257 | { |
| 3258 | if (temp1) |
| 3259 | delete arg1; |
| 3260 | } |
| 3261 | return resultobj; |
| 3262 | fail: |
| 3263 | { |
| 3264 | if (temp1) |
| 3265 | delete arg1; |
| 3266 | } |
| 3267 | return NULL; |
| 3268 | } |
| 3269 | |
| 3270 | |
| 3271 | static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3272 | PyObject *resultobj; |
| 3273 | wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ; |
| 3274 | wxString result; |
| 3275 | PyObject * obj0 = 0 ; |
| 3276 | char *kwnames[] = { |
| 3277 | (char *) "self", NULL |
| 3278 | }; |
| 3279 | |
| 3280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEnumEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3282 | { |
| 3283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3284 | result = (arg1)->GetValue(); |
| 3285 | |
| 3286 | wxPyEndAllowThreads(__tstate); |
| 3287 | if (PyErr_Occurred()) SWIG_fail; |
| 3288 | } |
| 3289 | { |
| 3290 | #if wxUSE_UNICODE |
| 3291 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3292 | #else |
| 3293 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3294 | #endif |
| 3295 | } |
| 3296 | return resultobj; |
| 3297 | fail: |
| 3298 | return NULL; |
| 3299 | } |
| 3300 | |
| 3301 | |
| 3302 | static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) { |
| 3303 | PyObject *obj; |
| 3304 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3305 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj); |
| 3306 | Py_INCREF(obj); |
| 3307 | return Py_BuildValue((char *)""); |
| 3308 | } |
| 3309 | static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3310 | PyObject *resultobj; |
| 3311 | wxGridCellAutoWrapStringEditor *result; |
| 3312 | char *kwnames[] = { |
| 3313 | NULL |
| 3314 | }; |
| 3315 | |
| 3316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail; |
| 3317 | { |
| 3318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3319 | result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor(); |
| 3320 | |
| 3321 | wxPyEndAllowThreads(__tstate); |
| 3322 | if (PyErr_Occurred()) SWIG_fail; |
| 3323 | } |
| 3324 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1); |
| 3325 | return resultobj; |
| 3326 | fail: |
| 3327 | return NULL; |
| 3328 | } |
| 3329 | |
| 3330 | |
| 3331 | static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3332 | PyObject *resultobj; |
| 3333 | wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ; |
| 3334 | wxString result; |
| 3335 | PyObject * obj0 = 0 ; |
| 3336 | char *kwnames[] = { |
| 3337 | (char *) "self", NULL |
| 3338 | }; |
| 3339 | |
| 3340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail; |
| 3341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAutoWrapStringEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3342 | { |
| 3343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3344 | result = (arg1)->GetValue(); |
| 3345 | |
| 3346 | wxPyEndAllowThreads(__tstate); |
| 3347 | if (PyErr_Occurred()) SWIG_fail; |
| 3348 | } |
| 3349 | { |
| 3350 | #if wxUSE_UNICODE |
| 3351 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 3352 | #else |
| 3353 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 3354 | #endif |
| 3355 | } |
| 3356 | return resultobj; |
| 3357 | fail: |
| 3358 | return NULL; |
| 3359 | } |
| 3360 | |
| 3361 | |
| 3362 | static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) { |
| 3363 | PyObject *obj; |
| 3364 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 3365 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj); |
| 3366 | Py_INCREF(obj); |
| 3367 | return Py_BuildValue((char *)""); |
| 3368 | } |
| 3369 | static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3370 | PyObject *resultobj; |
| 3371 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3372 | PyObject *arg2 = (PyObject *) 0 ; |
| 3373 | PyObject * obj0 = 0 ; |
| 3374 | PyObject * obj1 = 0 ; |
| 3375 | char *kwnames[] = { |
| 3376 | (char *) "self",(char *) "_self", NULL |
| 3377 | }; |
| 3378 | |
| 3379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail; |
| 3380 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3381 | arg2 = obj1; |
| 3382 | { |
| 3383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3384 | wxGridCellAttr__setOORInfo(arg1,arg2); |
| 3385 | |
| 3386 | wxPyEndAllowThreads(__tstate); |
| 3387 | if (PyErr_Occurred()) SWIG_fail; |
| 3388 | } |
| 3389 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3390 | return resultobj; |
| 3391 | fail: |
| 3392 | return NULL; |
| 3393 | } |
| 3394 | |
| 3395 | |
| 3396 | static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3397 | PyObject *resultobj; |
| 3398 | wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ; |
| 3399 | wxGridCellAttr *result; |
| 3400 | PyObject * obj0 = 0 ; |
| 3401 | char *kwnames[] = { |
| 3402 | (char *) "attrDefault", NULL |
| 3403 | }; |
| 3404 | |
| 3405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail; |
| 3406 | if (obj0) { |
| 3407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3408 | } |
| 3409 | { |
| 3410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3411 | result = (wxGridCellAttr *)new wxGridCellAttr(arg1); |
| 3412 | |
| 3413 | wxPyEndAllowThreads(__tstate); |
| 3414 | if (PyErr_Occurred()) SWIG_fail; |
| 3415 | } |
| 3416 | { |
| 3417 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 3418 | } |
| 3419 | return resultobj; |
| 3420 | fail: |
| 3421 | return NULL; |
| 3422 | } |
| 3423 | |
| 3424 | |
| 3425 | static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3426 | PyObject *resultobj; |
| 3427 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3428 | wxGridCellAttr *result; |
| 3429 | PyObject * obj0 = 0 ; |
| 3430 | char *kwnames[] = { |
| 3431 | (char *) "self", NULL |
| 3432 | }; |
| 3433 | |
| 3434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail; |
| 3435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3436 | { |
| 3437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3438 | result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone(); |
| 3439 | |
| 3440 | wxPyEndAllowThreads(__tstate); |
| 3441 | if (PyErr_Occurred()) SWIG_fail; |
| 3442 | } |
| 3443 | { |
| 3444 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 3445 | } |
| 3446 | return resultobj; |
| 3447 | fail: |
| 3448 | return NULL; |
| 3449 | } |
| 3450 | |
| 3451 | |
| 3452 | static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3453 | PyObject *resultobj; |
| 3454 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3455 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 3456 | PyObject * obj0 = 0 ; |
| 3457 | PyObject * obj1 = 0 ; |
| 3458 | char *kwnames[] = { |
| 3459 | (char *) "self",(char *) "mergefrom", NULL |
| 3460 | }; |
| 3461 | |
| 3462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail; |
| 3463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3464 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3465 | { |
| 3466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3467 | (arg1)->MergeWith(arg2); |
| 3468 | |
| 3469 | wxPyEndAllowThreads(__tstate); |
| 3470 | if (PyErr_Occurred()) SWIG_fail; |
| 3471 | } |
| 3472 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3473 | return resultobj; |
| 3474 | fail: |
| 3475 | return NULL; |
| 3476 | } |
| 3477 | |
| 3478 | |
| 3479 | static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3480 | PyObject *resultobj; |
| 3481 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3482 | PyObject * obj0 = 0 ; |
| 3483 | char *kwnames[] = { |
| 3484 | (char *) "self", NULL |
| 3485 | }; |
| 3486 | |
| 3487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail; |
| 3488 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3489 | { |
| 3490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3491 | (arg1)->IncRef(); |
| 3492 | |
| 3493 | wxPyEndAllowThreads(__tstate); |
| 3494 | if (PyErr_Occurred()) SWIG_fail; |
| 3495 | } |
| 3496 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3497 | return resultobj; |
| 3498 | fail: |
| 3499 | return NULL; |
| 3500 | } |
| 3501 | |
| 3502 | |
| 3503 | static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3504 | PyObject *resultobj; |
| 3505 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3506 | PyObject * obj0 = 0 ; |
| 3507 | char *kwnames[] = { |
| 3508 | (char *) "self", NULL |
| 3509 | }; |
| 3510 | |
| 3511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail; |
| 3512 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3513 | { |
| 3514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3515 | (arg1)->DecRef(); |
| 3516 | |
| 3517 | wxPyEndAllowThreads(__tstate); |
| 3518 | if (PyErr_Occurred()) SWIG_fail; |
| 3519 | } |
| 3520 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3521 | return resultobj; |
| 3522 | fail: |
| 3523 | return NULL; |
| 3524 | } |
| 3525 | |
| 3526 | |
| 3527 | static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3528 | PyObject *resultobj; |
| 3529 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3530 | wxColour *arg2 = 0 ; |
| 3531 | wxColour temp2 ; |
| 3532 | PyObject * obj0 = 0 ; |
| 3533 | PyObject * obj1 = 0 ; |
| 3534 | char *kwnames[] = { |
| 3535 | (char *) "self",(char *) "colText", NULL |
| 3536 | }; |
| 3537 | |
| 3538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail; |
| 3539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3540 | { |
| 3541 | arg2 = &temp2; |
| 3542 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 3543 | } |
| 3544 | { |
| 3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3546 | (arg1)->SetTextColour((wxColour const &)*arg2); |
| 3547 | |
| 3548 | wxPyEndAllowThreads(__tstate); |
| 3549 | if (PyErr_Occurred()) SWIG_fail; |
| 3550 | } |
| 3551 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3552 | return resultobj; |
| 3553 | fail: |
| 3554 | return NULL; |
| 3555 | } |
| 3556 | |
| 3557 | |
| 3558 | static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3559 | PyObject *resultobj; |
| 3560 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3561 | wxColour *arg2 = 0 ; |
| 3562 | wxColour temp2 ; |
| 3563 | PyObject * obj0 = 0 ; |
| 3564 | PyObject * obj1 = 0 ; |
| 3565 | char *kwnames[] = { |
| 3566 | (char *) "self",(char *) "colBack", NULL |
| 3567 | }; |
| 3568 | |
| 3569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; |
| 3570 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3571 | { |
| 3572 | arg2 = &temp2; |
| 3573 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 3574 | } |
| 3575 | { |
| 3576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3577 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); |
| 3578 | |
| 3579 | wxPyEndAllowThreads(__tstate); |
| 3580 | if (PyErr_Occurred()) SWIG_fail; |
| 3581 | } |
| 3582 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3583 | return resultobj; |
| 3584 | fail: |
| 3585 | return NULL; |
| 3586 | } |
| 3587 | |
| 3588 | |
| 3589 | static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3590 | PyObject *resultobj; |
| 3591 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3592 | wxFont *arg2 = 0 ; |
| 3593 | PyObject * obj0 = 0 ; |
| 3594 | PyObject * obj1 = 0 ; |
| 3595 | char *kwnames[] = { |
| 3596 | (char *) "self",(char *) "font", NULL |
| 3597 | }; |
| 3598 | |
| 3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail; |
| 3600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3601 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3602 | if (arg2 == NULL) { |
| 3603 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 3604 | } |
| 3605 | { |
| 3606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3607 | (arg1)->SetFont((wxFont const &)*arg2); |
| 3608 | |
| 3609 | wxPyEndAllowThreads(__tstate); |
| 3610 | if (PyErr_Occurred()) SWIG_fail; |
| 3611 | } |
| 3612 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3613 | return resultobj; |
| 3614 | fail: |
| 3615 | return NULL; |
| 3616 | } |
| 3617 | |
| 3618 | |
| 3619 | static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3620 | PyObject *resultobj; |
| 3621 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3622 | int arg2 ; |
| 3623 | int arg3 ; |
| 3624 | PyObject * obj0 = 0 ; |
| 3625 | char *kwnames[] = { |
| 3626 | (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL |
| 3627 | }; |
| 3628 | |
| 3629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 3630 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3631 | { |
| 3632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3633 | (arg1)->SetAlignment(arg2,arg3); |
| 3634 | |
| 3635 | wxPyEndAllowThreads(__tstate); |
| 3636 | if (PyErr_Occurred()) SWIG_fail; |
| 3637 | } |
| 3638 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3639 | return resultobj; |
| 3640 | fail: |
| 3641 | return NULL; |
| 3642 | } |
| 3643 | |
| 3644 | |
| 3645 | static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3646 | PyObject *resultobj; |
| 3647 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3648 | int arg2 ; |
| 3649 | int arg3 ; |
| 3650 | PyObject * obj0 = 0 ; |
| 3651 | char *kwnames[] = { |
| 3652 | (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL |
| 3653 | }; |
| 3654 | |
| 3655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 3656 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3657 | { |
| 3658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3659 | (arg1)->SetSize(arg2,arg3); |
| 3660 | |
| 3661 | wxPyEndAllowThreads(__tstate); |
| 3662 | if (PyErr_Occurred()) SWIG_fail; |
| 3663 | } |
| 3664 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3665 | return resultobj; |
| 3666 | fail: |
| 3667 | return NULL; |
| 3668 | } |
| 3669 | |
| 3670 | |
| 3671 | static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3672 | PyObject *resultobj; |
| 3673 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3674 | bool arg2 = (bool) True ; |
| 3675 | PyObject * obj0 = 0 ; |
| 3676 | PyObject * obj1 = 0 ; |
| 3677 | char *kwnames[] = { |
| 3678 | (char *) "self",(char *) "allow", NULL |
| 3679 | }; |
| 3680 | |
| 3681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail; |
| 3682 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3683 | if (obj1) { |
| 3684 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 3685 | if (PyErr_Occurred()) SWIG_fail; |
| 3686 | } |
| 3687 | { |
| 3688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3689 | (arg1)->SetOverflow(arg2); |
| 3690 | |
| 3691 | wxPyEndAllowThreads(__tstate); |
| 3692 | if (PyErr_Occurred()) SWIG_fail; |
| 3693 | } |
| 3694 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3695 | return resultobj; |
| 3696 | fail: |
| 3697 | return NULL; |
| 3698 | } |
| 3699 | |
| 3700 | |
| 3701 | static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3702 | PyObject *resultobj; |
| 3703 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3704 | bool arg2 = (bool) True ; |
| 3705 | PyObject * obj0 = 0 ; |
| 3706 | PyObject * obj1 = 0 ; |
| 3707 | char *kwnames[] = { |
| 3708 | (char *) "self",(char *) "isReadOnly", NULL |
| 3709 | }; |
| 3710 | |
| 3711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; |
| 3712 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3713 | if (obj1) { |
| 3714 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 3715 | if (PyErr_Occurred()) SWIG_fail; |
| 3716 | } |
| 3717 | { |
| 3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3719 | (arg1)->SetReadOnly(arg2); |
| 3720 | |
| 3721 | wxPyEndAllowThreads(__tstate); |
| 3722 | if (PyErr_Occurred()) SWIG_fail; |
| 3723 | } |
| 3724 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3725 | return resultobj; |
| 3726 | fail: |
| 3727 | return NULL; |
| 3728 | } |
| 3729 | |
| 3730 | |
| 3731 | static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3732 | PyObject *resultobj; |
| 3733 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3734 | wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; |
| 3735 | PyObject * obj0 = 0 ; |
| 3736 | PyObject * obj1 = 0 ; |
| 3737 | char *kwnames[] = { |
| 3738 | (char *) "self",(char *) "renderer", NULL |
| 3739 | }; |
| 3740 | |
| 3741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail; |
| 3742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3743 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3744 | { |
| 3745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3746 | (arg1)->SetRenderer(arg2); |
| 3747 | |
| 3748 | wxPyEndAllowThreads(__tstate); |
| 3749 | if (PyErr_Occurred()) SWIG_fail; |
| 3750 | } |
| 3751 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3752 | return resultobj; |
| 3753 | fail: |
| 3754 | return NULL; |
| 3755 | } |
| 3756 | |
| 3757 | |
| 3758 | static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3759 | PyObject *resultobj; |
| 3760 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3761 | wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; |
| 3762 | PyObject * obj0 = 0 ; |
| 3763 | PyObject * obj1 = 0 ; |
| 3764 | char *kwnames[] = { |
| 3765 | (char *) "self",(char *) "editor", NULL |
| 3766 | }; |
| 3767 | |
| 3768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail; |
| 3769 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3770 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3771 | { |
| 3772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3773 | (arg1)->SetEditor(arg2); |
| 3774 | |
| 3775 | wxPyEndAllowThreads(__tstate); |
| 3776 | if (PyErr_Occurred()) SWIG_fail; |
| 3777 | } |
| 3778 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3779 | return resultobj; |
| 3780 | fail: |
| 3781 | return NULL; |
| 3782 | } |
| 3783 | |
| 3784 | |
| 3785 | static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3786 | PyObject *resultobj; |
| 3787 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3788 | int arg2 ; |
| 3789 | PyObject * obj0 = 0 ; |
| 3790 | char *kwnames[] = { |
| 3791 | (char *) "self",(char *) "kind", NULL |
| 3792 | }; |
| 3793 | |
| 3794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellAttr_SetKind",kwnames,&obj0,&arg2)) goto fail; |
| 3795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3796 | { |
| 3797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3798 | (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2); |
| 3799 | |
| 3800 | wxPyEndAllowThreads(__tstate); |
| 3801 | if (PyErr_Occurred()) SWIG_fail; |
| 3802 | } |
| 3803 | Py_INCREF(Py_None); resultobj = Py_None; |
| 3804 | return resultobj; |
| 3805 | fail: |
| 3806 | return NULL; |
| 3807 | } |
| 3808 | |
| 3809 | |
| 3810 | static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3811 | PyObject *resultobj; |
| 3812 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3813 | bool result; |
| 3814 | PyObject * obj0 = 0 ; |
| 3815 | char *kwnames[] = { |
| 3816 | (char *) "self", NULL |
| 3817 | }; |
| 3818 | |
| 3819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail; |
| 3820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3821 | { |
| 3822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3823 | result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour(); |
| 3824 | |
| 3825 | wxPyEndAllowThreads(__tstate); |
| 3826 | if (PyErr_Occurred()) SWIG_fail; |
| 3827 | } |
| 3828 | resultobj = PyInt_FromLong((long)result); |
| 3829 | return resultobj; |
| 3830 | fail: |
| 3831 | return NULL; |
| 3832 | } |
| 3833 | |
| 3834 | |
| 3835 | static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3836 | PyObject *resultobj; |
| 3837 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3838 | bool result; |
| 3839 | PyObject * obj0 = 0 ; |
| 3840 | char *kwnames[] = { |
| 3841 | (char *) "self", NULL |
| 3842 | }; |
| 3843 | |
| 3844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail; |
| 3845 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3846 | { |
| 3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3848 | result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour(); |
| 3849 | |
| 3850 | wxPyEndAllowThreads(__tstate); |
| 3851 | if (PyErr_Occurred()) SWIG_fail; |
| 3852 | } |
| 3853 | resultobj = PyInt_FromLong((long)result); |
| 3854 | return resultobj; |
| 3855 | fail: |
| 3856 | return NULL; |
| 3857 | } |
| 3858 | |
| 3859 | |
| 3860 | static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3861 | PyObject *resultobj; |
| 3862 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3863 | bool result; |
| 3864 | PyObject * obj0 = 0 ; |
| 3865 | char *kwnames[] = { |
| 3866 | (char *) "self", NULL |
| 3867 | }; |
| 3868 | |
| 3869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail; |
| 3870 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3871 | { |
| 3872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3873 | result = (bool)((wxGridCellAttr const *)arg1)->HasFont(); |
| 3874 | |
| 3875 | wxPyEndAllowThreads(__tstate); |
| 3876 | if (PyErr_Occurred()) SWIG_fail; |
| 3877 | } |
| 3878 | resultobj = PyInt_FromLong((long)result); |
| 3879 | return resultobj; |
| 3880 | fail: |
| 3881 | return NULL; |
| 3882 | } |
| 3883 | |
| 3884 | |
| 3885 | static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3886 | PyObject *resultobj; |
| 3887 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3888 | bool result; |
| 3889 | PyObject * obj0 = 0 ; |
| 3890 | char *kwnames[] = { |
| 3891 | (char *) "self", NULL |
| 3892 | }; |
| 3893 | |
| 3894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail; |
| 3895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3896 | { |
| 3897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3898 | result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment(); |
| 3899 | |
| 3900 | wxPyEndAllowThreads(__tstate); |
| 3901 | if (PyErr_Occurred()) SWIG_fail; |
| 3902 | } |
| 3903 | resultobj = PyInt_FromLong((long)result); |
| 3904 | return resultobj; |
| 3905 | fail: |
| 3906 | return NULL; |
| 3907 | } |
| 3908 | |
| 3909 | |
| 3910 | static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3911 | PyObject *resultobj; |
| 3912 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3913 | bool result; |
| 3914 | PyObject * obj0 = 0 ; |
| 3915 | char *kwnames[] = { |
| 3916 | (char *) "self", NULL |
| 3917 | }; |
| 3918 | |
| 3919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail; |
| 3920 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3921 | { |
| 3922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3923 | result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer(); |
| 3924 | |
| 3925 | wxPyEndAllowThreads(__tstate); |
| 3926 | if (PyErr_Occurred()) SWIG_fail; |
| 3927 | } |
| 3928 | resultobj = PyInt_FromLong((long)result); |
| 3929 | return resultobj; |
| 3930 | fail: |
| 3931 | return NULL; |
| 3932 | } |
| 3933 | |
| 3934 | |
| 3935 | static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3936 | PyObject *resultobj; |
| 3937 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3938 | bool result; |
| 3939 | PyObject * obj0 = 0 ; |
| 3940 | char *kwnames[] = { |
| 3941 | (char *) "self", NULL |
| 3942 | }; |
| 3943 | |
| 3944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail; |
| 3945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3946 | { |
| 3947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3948 | result = (bool)((wxGridCellAttr const *)arg1)->HasEditor(); |
| 3949 | |
| 3950 | wxPyEndAllowThreads(__tstate); |
| 3951 | if (PyErr_Occurred()) SWIG_fail; |
| 3952 | } |
| 3953 | resultobj = PyInt_FromLong((long)result); |
| 3954 | return resultobj; |
| 3955 | fail: |
| 3956 | return NULL; |
| 3957 | } |
| 3958 | |
| 3959 | |
| 3960 | static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3961 | PyObject *resultobj; |
| 3962 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3963 | bool result; |
| 3964 | PyObject * obj0 = 0 ; |
| 3965 | char *kwnames[] = { |
| 3966 | (char *) "self", NULL |
| 3967 | }; |
| 3968 | |
| 3969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail; |
| 3970 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3971 | { |
| 3972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3973 | result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode(); |
| 3974 | |
| 3975 | wxPyEndAllowThreads(__tstate); |
| 3976 | if (PyErr_Occurred()) SWIG_fail; |
| 3977 | } |
| 3978 | resultobj = PyInt_FromLong((long)result); |
| 3979 | return resultobj; |
| 3980 | fail: |
| 3981 | return NULL; |
| 3982 | } |
| 3983 | |
| 3984 | |
| 3985 | static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 3986 | PyObject *resultobj; |
| 3987 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 3988 | bool result; |
| 3989 | PyObject * obj0 = 0 ; |
| 3990 | char *kwnames[] = { |
| 3991 | (char *) "self", NULL |
| 3992 | }; |
| 3993 | |
| 3994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail; |
| 3995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 3996 | { |
| 3997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3998 | result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode(); |
| 3999 | |
| 4000 | wxPyEndAllowThreads(__tstate); |
| 4001 | if (PyErr_Occurred()) SWIG_fail; |
| 4002 | } |
| 4003 | resultobj = PyInt_FromLong((long)result); |
| 4004 | return resultobj; |
| 4005 | fail: |
| 4006 | return NULL; |
| 4007 | } |
| 4008 | |
| 4009 | |
| 4010 | static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4011 | PyObject *resultobj; |
| 4012 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4013 | wxColour result; |
| 4014 | PyObject * obj0 = 0 ; |
| 4015 | char *kwnames[] = { |
| 4016 | (char *) "self", NULL |
| 4017 | }; |
| 4018 | |
| 4019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail; |
| 4020 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4021 | { |
| 4022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4023 | result = ((wxGridCellAttr const *)arg1)->GetTextColour(); |
| 4024 | |
| 4025 | wxPyEndAllowThreads(__tstate); |
| 4026 | if (PyErr_Occurred()) SWIG_fail; |
| 4027 | } |
| 4028 | { |
| 4029 | wxColour * resultptr; |
| 4030 | resultptr = new wxColour((wxColour &) result); |
| 4031 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 4032 | } |
| 4033 | return resultobj; |
| 4034 | fail: |
| 4035 | return NULL; |
| 4036 | } |
| 4037 | |
| 4038 | |
| 4039 | static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4040 | PyObject *resultobj; |
| 4041 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4042 | wxColour result; |
| 4043 | PyObject * obj0 = 0 ; |
| 4044 | char *kwnames[] = { |
| 4045 | (char *) "self", NULL |
| 4046 | }; |
| 4047 | |
| 4048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail; |
| 4049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4050 | { |
| 4051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4052 | result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour(); |
| 4053 | |
| 4054 | wxPyEndAllowThreads(__tstate); |
| 4055 | if (PyErr_Occurred()) SWIG_fail; |
| 4056 | } |
| 4057 | { |
| 4058 | wxColour * resultptr; |
| 4059 | resultptr = new wxColour((wxColour &) result); |
| 4060 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 4061 | } |
| 4062 | return resultobj; |
| 4063 | fail: |
| 4064 | return NULL; |
| 4065 | } |
| 4066 | |
| 4067 | |
| 4068 | static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4069 | PyObject *resultobj; |
| 4070 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4071 | wxFont result; |
| 4072 | PyObject * obj0 = 0 ; |
| 4073 | char *kwnames[] = { |
| 4074 | (char *) "self", NULL |
| 4075 | }; |
| 4076 | |
| 4077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail; |
| 4078 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4079 | { |
| 4080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4081 | result = ((wxGridCellAttr const *)arg1)->GetFont(); |
| 4082 | |
| 4083 | wxPyEndAllowThreads(__tstate); |
| 4084 | if (PyErr_Occurred()) SWIG_fail; |
| 4085 | } |
| 4086 | { |
| 4087 | wxFont * resultptr; |
| 4088 | resultptr = new wxFont((wxFont &) result); |
| 4089 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); |
| 4090 | } |
| 4091 | return resultobj; |
| 4092 | fail: |
| 4093 | return NULL; |
| 4094 | } |
| 4095 | |
| 4096 | |
| 4097 | static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4098 | PyObject *resultobj; |
| 4099 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4100 | int *arg2 = (int *) 0 ; |
| 4101 | int *arg3 = (int *) 0 ; |
| 4102 | int temp2 ; |
| 4103 | int temp3 ; |
| 4104 | PyObject * obj0 = 0 ; |
| 4105 | char *kwnames[] = { |
| 4106 | (char *) "self", NULL |
| 4107 | }; |
| 4108 | |
| 4109 | arg2 = &temp2; |
| 4110 | arg3 = &temp3; |
| 4111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail; |
| 4112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4113 | { |
| 4114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4115 | ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3); |
| 4116 | |
| 4117 | wxPyEndAllowThreads(__tstate); |
| 4118 | if (PyErr_Occurred()) SWIG_fail; |
| 4119 | } |
| 4120 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4121 | { |
| 4122 | PyObject *o = PyInt_FromLong((long) (*arg2)); |
| 4123 | resultobj = t_output_helper(resultobj,o); |
| 4124 | } |
| 4125 | { |
| 4126 | PyObject *o = PyInt_FromLong((long) (*arg3)); |
| 4127 | resultobj = t_output_helper(resultobj,o); |
| 4128 | } |
| 4129 | return resultobj; |
| 4130 | fail: |
| 4131 | return NULL; |
| 4132 | } |
| 4133 | |
| 4134 | |
| 4135 | static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4136 | PyObject *resultobj; |
| 4137 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4138 | int *arg2 = (int *) 0 ; |
| 4139 | int *arg3 = (int *) 0 ; |
| 4140 | int temp2 ; |
| 4141 | int temp3 ; |
| 4142 | PyObject * obj0 = 0 ; |
| 4143 | char *kwnames[] = { |
| 4144 | (char *) "self", NULL |
| 4145 | }; |
| 4146 | |
| 4147 | arg2 = &temp2; |
| 4148 | arg3 = &temp3; |
| 4149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail; |
| 4150 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4151 | { |
| 4152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4153 | ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3); |
| 4154 | |
| 4155 | wxPyEndAllowThreads(__tstate); |
| 4156 | if (PyErr_Occurred()) SWIG_fail; |
| 4157 | } |
| 4158 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4159 | { |
| 4160 | PyObject *o = PyInt_FromLong((long) (*arg2)); |
| 4161 | resultobj = t_output_helper(resultobj,o); |
| 4162 | } |
| 4163 | { |
| 4164 | PyObject *o = PyInt_FromLong((long) (*arg3)); |
| 4165 | resultobj = t_output_helper(resultobj,o); |
| 4166 | } |
| 4167 | return resultobj; |
| 4168 | fail: |
| 4169 | return NULL; |
| 4170 | } |
| 4171 | |
| 4172 | |
| 4173 | static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4174 | PyObject *resultobj; |
| 4175 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4176 | bool result; |
| 4177 | PyObject * obj0 = 0 ; |
| 4178 | char *kwnames[] = { |
| 4179 | (char *) "self", NULL |
| 4180 | }; |
| 4181 | |
| 4182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail; |
| 4183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4184 | { |
| 4185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4186 | result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow(); |
| 4187 | |
| 4188 | wxPyEndAllowThreads(__tstate); |
| 4189 | if (PyErr_Occurred()) SWIG_fail; |
| 4190 | } |
| 4191 | resultobj = PyInt_FromLong((long)result); |
| 4192 | return resultobj; |
| 4193 | fail: |
| 4194 | return NULL; |
| 4195 | } |
| 4196 | |
| 4197 | |
| 4198 | static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4199 | PyObject *resultobj; |
| 4200 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4201 | wxGrid *arg2 = (wxGrid *) 0 ; |
| 4202 | int arg3 ; |
| 4203 | int arg4 ; |
| 4204 | wxGridCellRenderer *result; |
| 4205 | PyObject * obj0 = 0 ; |
| 4206 | PyObject * obj1 = 0 ; |
| 4207 | char *kwnames[] = { |
| 4208 | (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL |
| 4209 | }; |
| 4210 | |
| 4211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 4212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4213 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4214 | { |
| 4215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4216 | result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4); |
| 4217 | |
| 4218 | wxPyEndAllowThreads(__tstate); |
| 4219 | if (PyErr_Occurred()) SWIG_fail; |
| 4220 | } |
| 4221 | { |
| 4222 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 4223 | } |
| 4224 | return resultobj; |
| 4225 | fail: |
| 4226 | return NULL; |
| 4227 | } |
| 4228 | |
| 4229 | |
| 4230 | static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4231 | PyObject *resultobj; |
| 4232 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4233 | wxGrid *arg2 = (wxGrid *) 0 ; |
| 4234 | int arg3 ; |
| 4235 | int arg4 ; |
| 4236 | wxGridCellEditor *result; |
| 4237 | PyObject * obj0 = 0 ; |
| 4238 | PyObject * obj1 = 0 ; |
| 4239 | char *kwnames[] = { |
| 4240 | (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL |
| 4241 | }; |
| 4242 | |
| 4243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 4244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4245 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4246 | { |
| 4247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4248 | result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4); |
| 4249 | |
| 4250 | wxPyEndAllowThreads(__tstate); |
| 4251 | if (PyErr_Occurred()) SWIG_fail; |
| 4252 | } |
| 4253 | { |
| 4254 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 4255 | } |
| 4256 | return resultobj; |
| 4257 | fail: |
| 4258 | return NULL; |
| 4259 | } |
| 4260 | |
| 4261 | |
| 4262 | static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4263 | PyObject *resultobj; |
| 4264 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4265 | bool result; |
| 4266 | PyObject * obj0 = 0 ; |
| 4267 | char *kwnames[] = { |
| 4268 | (char *) "self", NULL |
| 4269 | }; |
| 4270 | |
| 4271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail; |
| 4272 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4273 | { |
| 4274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4275 | result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly(); |
| 4276 | |
| 4277 | wxPyEndAllowThreads(__tstate); |
| 4278 | if (PyErr_Occurred()) SWIG_fail; |
| 4279 | } |
| 4280 | resultobj = PyInt_FromLong((long)result); |
| 4281 | return resultobj; |
| 4282 | fail: |
| 4283 | return NULL; |
| 4284 | } |
| 4285 | |
| 4286 | |
| 4287 | static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4288 | PyObject *resultobj; |
| 4289 | wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; |
| 4290 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4291 | PyObject * obj0 = 0 ; |
| 4292 | PyObject * obj1 = 0 ; |
| 4293 | char *kwnames[] = { |
| 4294 | (char *) "self",(char *) "defAttr", NULL |
| 4295 | }; |
| 4296 | |
| 4297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail; |
| 4298 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4299 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4300 | { |
| 4301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4302 | (arg1)->SetDefAttr(arg2); |
| 4303 | |
| 4304 | wxPyEndAllowThreads(__tstate); |
| 4305 | if (PyErr_Occurred()) SWIG_fail; |
| 4306 | } |
| 4307 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4308 | return resultobj; |
| 4309 | fail: |
| 4310 | return NULL; |
| 4311 | } |
| 4312 | |
| 4313 | |
| 4314 | static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) { |
| 4315 | PyObject *obj; |
| 4316 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 4317 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj); |
| 4318 | Py_INCREF(obj); |
| 4319 | return Py_BuildValue((char *)""); |
| 4320 | } |
| 4321 | static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4322 | PyObject *resultobj; |
| 4323 | wxGridCellAttrProvider *result; |
| 4324 | char *kwnames[] = { |
| 4325 | NULL |
| 4326 | }; |
| 4327 | |
| 4328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail; |
| 4329 | { |
| 4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4331 | result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider(); |
| 4332 | |
| 4333 | wxPyEndAllowThreads(__tstate); |
| 4334 | if (PyErr_Occurred()) SWIG_fail; |
| 4335 | } |
| 4336 | { |
| 4337 | resultobj = wxPyMake_wxGridCellAttrProvider(result); |
| 4338 | } |
| 4339 | return resultobj; |
| 4340 | fail: |
| 4341 | return NULL; |
| 4342 | } |
| 4343 | |
| 4344 | |
| 4345 | static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4346 | PyObject *resultobj; |
| 4347 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4348 | PyObject *arg2 = (PyObject *) 0 ; |
| 4349 | PyObject * obj0 = 0 ; |
| 4350 | PyObject * obj1 = 0 ; |
| 4351 | char *kwnames[] = { |
| 4352 | (char *) "self",(char *) "_self", NULL |
| 4353 | }; |
| 4354 | |
| 4355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail; |
| 4356 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4357 | arg2 = obj1; |
| 4358 | { |
| 4359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4360 | wxGridCellAttrProvider__setOORInfo(arg1,arg2); |
| 4361 | |
| 4362 | wxPyEndAllowThreads(__tstate); |
| 4363 | if (PyErr_Occurred()) SWIG_fail; |
| 4364 | } |
| 4365 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4366 | return resultobj; |
| 4367 | fail: |
| 4368 | return NULL; |
| 4369 | } |
| 4370 | |
| 4371 | |
| 4372 | static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4373 | PyObject *resultobj; |
| 4374 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4375 | int arg2 ; |
| 4376 | int arg3 ; |
| 4377 | int arg4 ; |
| 4378 | wxGridCellAttr *result; |
| 4379 | PyObject * obj0 = 0 ; |
| 4380 | char *kwnames[] = { |
| 4381 | (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL |
| 4382 | }; |
| 4383 | |
| 4384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 4385 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4386 | { |
| 4387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4388 | result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); |
| 4389 | |
| 4390 | wxPyEndAllowThreads(__tstate); |
| 4391 | if (PyErr_Occurred()) SWIG_fail; |
| 4392 | } |
| 4393 | { |
| 4394 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 4395 | } |
| 4396 | return resultobj; |
| 4397 | fail: |
| 4398 | return NULL; |
| 4399 | } |
| 4400 | |
| 4401 | |
| 4402 | static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4403 | PyObject *resultobj; |
| 4404 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4405 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4406 | int arg3 ; |
| 4407 | int arg4 ; |
| 4408 | PyObject * obj0 = 0 ; |
| 4409 | PyObject * obj1 = 0 ; |
| 4410 | char *kwnames[] = { |
| 4411 | (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL |
| 4412 | }; |
| 4413 | |
| 4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 4415 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4416 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4417 | { |
| 4418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4419 | (arg1)->SetAttr(arg2,arg3,arg4); |
| 4420 | |
| 4421 | wxPyEndAllowThreads(__tstate); |
| 4422 | if (PyErr_Occurred()) SWIG_fail; |
| 4423 | } |
| 4424 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4425 | return resultobj; |
| 4426 | fail: |
| 4427 | return NULL; |
| 4428 | } |
| 4429 | |
| 4430 | |
| 4431 | static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4432 | PyObject *resultobj; |
| 4433 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4434 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4435 | int arg3 ; |
| 4436 | PyObject * obj0 = 0 ; |
| 4437 | PyObject * obj1 = 0 ; |
| 4438 | char *kwnames[] = { |
| 4439 | (char *) "self",(char *) "attr",(char *) "row", NULL |
| 4440 | }; |
| 4441 | |
| 4442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4444 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4445 | { |
| 4446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4447 | (arg1)->SetRowAttr(arg2,arg3); |
| 4448 | |
| 4449 | wxPyEndAllowThreads(__tstate); |
| 4450 | if (PyErr_Occurred()) SWIG_fail; |
| 4451 | } |
| 4452 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4453 | return resultobj; |
| 4454 | fail: |
| 4455 | return NULL; |
| 4456 | } |
| 4457 | |
| 4458 | |
| 4459 | static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4460 | PyObject *resultobj; |
| 4461 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4462 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4463 | int arg3 ; |
| 4464 | PyObject * obj0 = 0 ; |
| 4465 | PyObject * obj1 = 0 ; |
| 4466 | char *kwnames[] = { |
| 4467 | (char *) "self",(char *) "attr",(char *) "col", NULL |
| 4468 | }; |
| 4469 | |
| 4470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4471 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4472 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4473 | { |
| 4474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4475 | (arg1)->SetColAttr(arg2,arg3); |
| 4476 | |
| 4477 | wxPyEndAllowThreads(__tstate); |
| 4478 | if (PyErr_Occurred()) SWIG_fail; |
| 4479 | } |
| 4480 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4481 | return resultobj; |
| 4482 | fail: |
| 4483 | return NULL; |
| 4484 | } |
| 4485 | |
| 4486 | |
| 4487 | static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4488 | PyObject *resultobj; |
| 4489 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4490 | size_t arg2 ; |
| 4491 | int arg3 ; |
| 4492 | PyObject * obj0 = 0 ; |
| 4493 | PyObject * obj1 = 0 ; |
| 4494 | char *kwnames[] = { |
| 4495 | (char *) "self",(char *) "pos",(char *) "numRows", NULL |
| 4496 | }; |
| 4497 | |
| 4498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4500 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 4501 | if (PyErr_Occurred()) SWIG_fail; |
| 4502 | { |
| 4503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4504 | (arg1)->UpdateAttrRows(arg2,arg3); |
| 4505 | |
| 4506 | wxPyEndAllowThreads(__tstate); |
| 4507 | if (PyErr_Occurred()) SWIG_fail; |
| 4508 | } |
| 4509 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4510 | return resultobj; |
| 4511 | fail: |
| 4512 | return NULL; |
| 4513 | } |
| 4514 | |
| 4515 | |
| 4516 | static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4517 | PyObject *resultobj; |
| 4518 | wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; |
| 4519 | size_t arg2 ; |
| 4520 | int arg3 ; |
| 4521 | PyObject * obj0 = 0 ; |
| 4522 | PyObject * obj1 = 0 ; |
| 4523 | char *kwnames[] = { |
| 4524 | (char *) "self",(char *) "pos",(char *) "numCols", NULL |
| 4525 | }; |
| 4526 | |
| 4527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4529 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 4530 | if (PyErr_Occurred()) SWIG_fail; |
| 4531 | { |
| 4532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4533 | (arg1)->UpdateAttrCols(arg2,arg3); |
| 4534 | |
| 4535 | wxPyEndAllowThreads(__tstate); |
| 4536 | if (PyErr_Occurred()) SWIG_fail; |
| 4537 | } |
| 4538 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4539 | return resultobj; |
| 4540 | fail: |
| 4541 | return NULL; |
| 4542 | } |
| 4543 | |
| 4544 | |
| 4545 | static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) { |
| 4546 | PyObject *obj; |
| 4547 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 4548 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj); |
| 4549 | Py_INCREF(obj); |
| 4550 | return Py_BuildValue((char *)""); |
| 4551 | } |
| 4552 | static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4553 | PyObject *resultobj; |
| 4554 | wxPyGridCellAttrProvider *result; |
| 4555 | char *kwnames[] = { |
| 4556 | NULL |
| 4557 | }; |
| 4558 | |
| 4559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail; |
| 4560 | { |
| 4561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4562 | result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider(); |
| 4563 | |
| 4564 | wxPyEndAllowThreads(__tstate); |
| 4565 | if (PyErr_Occurred()) SWIG_fail; |
| 4566 | } |
| 4567 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellAttrProvider, 1); |
| 4568 | return resultobj; |
| 4569 | fail: |
| 4570 | return NULL; |
| 4571 | } |
| 4572 | |
| 4573 | |
| 4574 | static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4575 | PyObject *resultobj; |
| 4576 | wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; |
| 4577 | PyObject *arg2 = (PyObject *) 0 ; |
| 4578 | PyObject *arg3 = (PyObject *) 0 ; |
| 4579 | PyObject * obj0 = 0 ; |
| 4580 | PyObject * obj1 = 0 ; |
| 4581 | PyObject * obj2 = 0 ; |
| 4582 | char *kwnames[] = { |
| 4583 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 4584 | }; |
| 4585 | |
| 4586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 4587 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4588 | arg2 = obj1; |
| 4589 | arg3 = obj2; |
| 4590 | { |
| 4591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4592 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 4593 | |
| 4594 | wxPyEndAllowThreads(__tstate); |
| 4595 | if (PyErr_Occurred()) SWIG_fail; |
| 4596 | } |
| 4597 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4598 | return resultobj; |
| 4599 | fail: |
| 4600 | return NULL; |
| 4601 | } |
| 4602 | |
| 4603 | |
| 4604 | static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4605 | PyObject *resultobj; |
| 4606 | wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; |
| 4607 | int arg2 ; |
| 4608 | int arg3 ; |
| 4609 | int arg4 ; |
| 4610 | wxGridCellAttr *result; |
| 4611 | PyObject * obj0 = 0 ; |
| 4612 | char *kwnames[] = { |
| 4613 | (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL |
| 4614 | }; |
| 4615 | |
| 4616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 4617 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4618 | { |
| 4619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4620 | result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); |
| 4621 | |
| 4622 | wxPyEndAllowThreads(__tstate); |
| 4623 | if (PyErr_Occurred()) SWIG_fail; |
| 4624 | } |
| 4625 | { |
| 4626 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 4627 | } |
| 4628 | return resultobj; |
| 4629 | fail: |
| 4630 | return NULL; |
| 4631 | } |
| 4632 | |
| 4633 | |
| 4634 | static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4635 | PyObject *resultobj; |
| 4636 | wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; |
| 4637 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4638 | int arg3 ; |
| 4639 | int arg4 ; |
| 4640 | PyObject * obj0 = 0 ; |
| 4641 | PyObject * obj1 = 0 ; |
| 4642 | char *kwnames[] = { |
| 4643 | (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL |
| 4644 | }; |
| 4645 | |
| 4646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 4647 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4648 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4649 | { |
| 4650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4651 | (arg1)->base_SetAttr(arg2,arg3,arg4); |
| 4652 | |
| 4653 | wxPyEndAllowThreads(__tstate); |
| 4654 | if (PyErr_Occurred()) SWIG_fail; |
| 4655 | } |
| 4656 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4657 | return resultobj; |
| 4658 | fail: |
| 4659 | return NULL; |
| 4660 | } |
| 4661 | |
| 4662 | |
| 4663 | static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4664 | PyObject *resultobj; |
| 4665 | wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; |
| 4666 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4667 | int arg3 ; |
| 4668 | PyObject * obj0 = 0 ; |
| 4669 | PyObject * obj1 = 0 ; |
| 4670 | char *kwnames[] = { |
| 4671 | (char *) "self",(char *) "attr",(char *) "row", NULL |
| 4672 | }; |
| 4673 | |
| 4674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4675 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4676 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4677 | { |
| 4678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4679 | (arg1)->base_SetRowAttr(arg2,arg3); |
| 4680 | |
| 4681 | wxPyEndAllowThreads(__tstate); |
| 4682 | if (PyErr_Occurred()) SWIG_fail; |
| 4683 | } |
| 4684 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4685 | return resultobj; |
| 4686 | fail: |
| 4687 | return NULL; |
| 4688 | } |
| 4689 | |
| 4690 | |
| 4691 | static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4692 | PyObject *resultobj; |
| 4693 | wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; |
| 4694 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 4695 | int arg3 ; |
| 4696 | PyObject * obj0 = 0 ; |
| 4697 | PyObject * obj1 = 0 ; |
| 4698 | char *kwnames[] = { |
| 4699 | (char *) "self",(char *) "attr",(char *) "col", NULL |
| 4700 | }; |
| 4701 | |
| 4702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 4703 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4704 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4705 | { |
| 4706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4707 | (arg1)->base_SetColAttr(arg2,arg3); |
| 4708 | |
| 4709 | wxPyEndAllowThreads(__tstate); |
| 4710 | if (PyErr_Occurred()) SWIG_fail; |
| 4711 | } |
| 4712 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4713 | return resultobj; |
| 4714 | fail: |
| 4715 | return NULL; |
| 4716 | } |
| 4717 | |
| 4718 | |
| 4719 | static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) { |
| 4720 | PyObject *obj; |
| 4721 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 4722 | SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj); |
| 4723 | Py_INCREF(obj); |
| 4724 | return Py_BuildValue((char *)""); |
| 4725 | } |
| 4726 | static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4727 | PyObject *resultobj; |
| 4728 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4729 | PyObject *arg2 = (PyObject *) 0 ; |
| 4730 | PyObject * obj0 = 0 ; |
| 4731 | PyObject * obj1 = 0 ; |
| 4732 | char *kwnames[] = { |
| 4733 | (char *) "self",(char *) "_self", NULL |
| 4734 | }; |
| 4735 | |
| 4736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail; |
| 4737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4738 | arg2 = obj1; |
| 4739 | { |
| 4740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4741 | wxGridTableBase__setOORInfo(arg1,arg2); |
| 4742 | |
| 4743 | wxPyEndAllowThreads(__tstate); |
| 4744 | if (PyErr_Occurred()) SWIG_fail; |
| 4745 | } |
| 4746 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4747 | return resultobj; |
| 4748 | fail: |
| 4749 | return NULL; |
| 4750 | } |
| 4751 | |
| 4752 | |
| 4753 | static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4754 | PyObject *resultobj; |
| 4755 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4756 | wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ; |
| 4757 | PyObject * obj0 = 0 ; |
| 4758 | PyObject * obj1 = 0 ; |
| 4759 | char *kwnames[] = { |
| 4760 | (char *) "self",(char *) "attrProvider", NULL |
| 4761 | }; |
| 4762 | |
| 4763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail; |
| 4764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4765 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4766 | { |
| 4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4768 | (arg1)->SetAttrProvider(arg2); |
| 4769 | |
| 4770 | wxPyEndAllowThreads(__tstate); |
| 4771 | if (PyErr_Occurred()) SWIG_fail; |
| 4772 | } |
| 4773 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4774 | return resultobj; |
| 4775 | fail: |
| 4776 | return NULL; |
| 4777 | } |
| 4778 | |
| 4779 | |
| 4780 | static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4781 | PyObject *resultobj; |
| 4782 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4783 | wxGridCellAttrProvider *result; |
| 4784 | PyObject * obj0 = 0 ; |
| 4785 | char *kwnames[] = { |
| 4786 | (char *) "self", NULL |
| 4787 | }; |
| 4788 | |
| 4789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail; |
| 4790 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4791 | { |
| 4792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4793 | result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider(); |
| 4794 | |
| 4795 | wxPyEndAllowThreads(__tstate); |
| 4796 | if (PyErr_Occurred()) SWIG_fail; |
| 4797 | } |
| 4798 | { |
| 4799 | resultobj = wxPyMake_wxGridCellAttrProvider(result); |
| 4800 | } |
| 4801 | return resultobj; |
| 4802 | fail: |
| 4803 | return NULL; |
| 4804 | } |
| 4805 | |
| 4806 | |
| 4807 | static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4808 | PyObject *resultobj; |
| 4809 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4810 | wxGrid *arg2 = (wxGrid *) 0 ; |
| 4811 | PyObject * obj0 = 0 ; |
| 4812 | PyObject * obj1 = 0 ; |
| 4813 | char *kwnames[] = { |
| 4814 | (char *) "self",(char *) "grid", NULL |
| 4815 | }; |
| 4816 | |
| 4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail; |
| 4818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4819 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4820 | { |
| 4821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4822 | (arg1)->SetView(arg2); |
| 4823 | |
| 4824 | wxPyEndAllowThreads(__tstate); |
| 4825 | if (PyErr_Occurred()) SWIG_fail; |
| 4826 | } |
| 4827 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4828 | return resultobj; |
| 4829 | fail: |
| 4830 | return NULL; |
| 4831 | } |
| 4832 | |
| 4833 | |
| 4834 | static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4835 | PyObject *resultobj; |
| 4836 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4837 | wxGrid *result; |
| 4838 | PyObject * obj0 = 0 ; |
| 4839 | char *kwnames[] = { |
| 4840 | (char *) "self", NULL |
| 4841 | }; |
| 4842 | |
| 4843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail; |
| 4844 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4845 | { |
| 4846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4847 | result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView(); |
| 4848 | |
| 4849 | wxPyEndAllowThreads(__tstate); |
| 4850 | if (PyErr_Occurred()) SWIG_fail; |
| 4851 | } |
| 4852 | { |
| 4853 | resultobj = wxPyMake_wxObject(result); |
| 4854 | } |
| 4855 | return resultobj; |
| 4856 | fail: |
| 4857 | return NULL; |
| 4858 | } |
| 4859 | |
| 4860 | |
| 4861 | static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4862 | PyObject *resultobj; |
| 4863 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4864 | int result; |
| 4865 | PyObject * obj0 = 0 ; |
| 4866 | char *kwnames[] = { |
| 4867 | (char *) "self", NULL |
| 4868 | }; |
| 4869 | |
| 4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail; |
| 4871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4872 | { |
| 4873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4874 | result = (int)(arg1)->GetNumberRows(); |
| 4875 | |
| 4876 | wxPyEndAllowThreads(__tstate); |
| 4877 | if (PyErr_Occurred()) SWIG_fail; |
| 4878 | } |
| 4879 | resultobj = PyInt_FromLong((long)result); |
| 4880 | return resultobj; |
| 4881 | fail: |
| 4882 | return NULL; |
| 4883 | } |
| 4884 | |
| 4885 | |
| 4886 | static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4887 | PyObject *resultobj; |
| 4888 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4889 | int result; |
| 4890 | PyObject * obj0 = 0 ; |
| 4891 | char *kwnames[] = { |
| 4892 | (char *) "self", NULL |
| 4893 | }; |
| 4894 | |
| 4895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail; |
| 4896 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4897 | { |
| 4898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4899 | result = (int)(arg1)->GetNumberCols(); |
| 4900 | |
| 4901 | wxPyEndAllowThreads(__tstate); |
| 4902 | if (PyErr_Occurred()) SWIG_fail; |
| 4903 | } |
| 4904 | resultobj = PyInt_FromLong((long)result); |
| 4905 | return resultobj; |
| 4906 | fail: |
| 4907 | return NULL; |
| 4908 | } |
| 4909 | |
| 4910 | |
| 4911 | static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4912 | PyObject *resultobj; |
| 4913 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4914 | int arg2 ; |
| 4915 | int arg3 ; |
| 4916 | bool result; |
| 4917 | PyObject * obj0 = 0 ; |
| 4918 | char *kwnames[] = { |
| 4919 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 4920 | }; |
| 4921 | |
| 4922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 4923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4924 | { |
| 4925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4926 | result = (bool)(arg1)->IsEmptyCell(arg2,arg3); |
| 4927 | |
| 4928 | wxPyEndAllowThreads(__tstate); |
| 4929 | if (PyErr_Occurred()) SWIG_fail; |
| 4930 | } |
| 4931 | resultobj = PyInt_FromLong((long)result); |
| 4932 | return resultobj; |
| 4933 | fail: |
| 4934 | return NULL; |
| 4935 | } |
| 4936 | |
| 4937 | |
| 4938 | static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4939 | PyObject *resultobj; |
| 4940 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4941 | int arg2 ; |
| 4942 | int arg3 ; |
| 4943 | wxString result; |
| 4944 | PyObject * obj0 = 0 ; |
| 4945 | char *kwnames[] = { |
| 4946 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 4947 | }; |
| 4948 | |
| 4949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValue",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 4950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4951 | { |
| 4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4953 | result = (arg1)->GetValue(arg2,arg3); |
| 4954 | |
| 4955 | wxPyEndAllowThreads(__tstate); |
| 4956 | if (PyErr_Occurred()) SWIG_fail; |
| 4957 | } |
| 4958 | { |
| 4959 | #if wxUSE_UNICODE |
| 4960 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 4961 | #else |
| 4962 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 4963 | #endif |
| 4964 | } |
| 4965 | return resultobj; |
| 4966 | fail: |
| 4967 | return NULL; |
| 4968 | } |
| 4969 | |
| 4970 | |
| 4971 | static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 4972 | PyObject *resultobj; |
| 4973 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 4974 | int arg2 ; |
| 4975 | int arg3 ; |
| 4976 | wxString *arg4 = 0 ; |
| 4977 | bool temp4 = False ; |
| 4978 | PyObject * obj0 = 0 ; |
| 4979 | PyObject * obj3 = 0 ; |
| 4980 | char *kwnames[] = { |
| 4981 | (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL |
| 4982 | }; |
| 4983 | |
| 4984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 4985 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 4986 | { |
| 4987 | arg4 = wxString_in_helper(obj3); |
| 4988 | if (arg4 == NULL) SWIG_fail; |
| 4989 | temp4 = True; |
| 4990 | } |
| 4991 | { |
| 4992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4993 | (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4); |
| 4994 | |
| 4995 | wxPyEndAllowThreads(__tstate); |
| 4996 | if (PyErr_Occurred()) SWIG_fail; |
| 4997 | } |
| 4998 | Py_INCREF(Py_None); resultobj = Py_None; |
| 4999 | { |
| 5000 | if (temp4) |
| 5001 | delete arg4; |
| 5002 | } |
| 5003 | return resultobj; |
| 5004 | fail: |
| 5005 | { |
| 5006 | if (temp4) |
| 5007 | delete arg4; |
| 5008 | } |
| 5009 | return NULL; |
| 5010 | } |
| 5011 | |
| 5012 | |
| 5013 | static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5014 | PyObject *resultobj; |
| 5015 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5016 | int arg2 ; |
| 5017 | int arg3 ; |
| 5018 | wxString result; |
| 5019 | PyObject * obj0 = 0 ; |
| 5020 | char *kwnames[] = { |
| 5021 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 5022 | }; |
| 5023 | |
| 5024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 5025 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5026 | { |
| 5027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5028 | result = (arg1)->GetTypeName(arg2,arg3); |
| 5029 | |
| 5030 | wxPyEndAllowThreads(__tstate); |
| 5031 | if (PyErr_Occurred()) SWIG_fail; |
| 5032 | } |
| 5033 | { |
| 5034 | #if wxUSE_UNICODE |
| 5035 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 5036 | #else |
| 5037 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 5038 | #endif |
| 5039 | } |
| 5040 | return resultobj; |
| 5041 | fail: |
| 5042 | return NULL; |
| 5043 | } |
| 5044 | |
| 5045 | |
| 5046 | static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5047 | PyObject *resultobj; |
| 5048 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5049 | int arg2 ; |
| 5050 | int arg3 ; |
| 5051 | wxString *arg4 = 0 ; |
| 5052 | bool result; |
| 5053 | bool temp4 = False ; |
| 5054 | PyObject * obj0 = 0 ; |
| 5055 | PyObject * obj3 = 0 ; |
| 5056 | char *kwnames[] = { |
| 5057 | (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL |
| 5058 | }; |
| 5059 | |
| 5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 5061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5062 | { |
| 5063 | arg4 = wxString_in_helper(obj3); |
| 5064 | if (arg4 == NULL) SWIG_fail; |
| 5065 | temp4 = True; |
| 5066 | } |
| 5067 | { |
| 5068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5069 | result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4); |
| 5070 | |
| 5071 | wxPyEndAllowThreads(__tstate); |
| 5072 | if (PyErr_Occurred()) SWIG_fail; |
| 5073 | } |
| 5074 | resultobj = PyInt_FromLong((long)result); |
| 5075 | { |
| 5076 | if (temp4) |
| 5077 | delete arg4; |
| 5078 | } |
| 5079 | return resultobj; |
| 5080 | fail: |
| 5081 | { |
| 5082 | if (temp4) |
| 5083 | delete arg4; |
| 5084 | } |
| 5085 | return NULL; |
| 5086 | } |
| 5087 | |
| 5088 | |
| 5089 | static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5090 | PyObject *resultobj; |
| 5091 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5092 | int arg2 ; |
| 5093 | int arg3 ; |
| 5094 | wxString *arg4 = 0 ; |
| 5095 | bool result; |
| 5096 | bool temp4 = False ; |
| 5097 | PyObject * obj0 = 0 ; |
| 5098 | PyObject * obj3 = 0 ; |
| 5099 | char *kwnames[] = { |
| 5100 | (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL |
| 5101 | }; |
| 5102 | |
| 5103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 5104 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5105 | { |
| 5106 | arg4 = wxString_in_helper(obj3); |
| 5107 | if (arg4 == NULL) SWIG_fail; |
| 5108 | temp4 = True; |
| 5109 | } |
| 5110 | { |
| 5111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5112 | result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4); |
| 5113 | |
| 5114 | wxPyEndAllowThreads(__tstate); |
| 5115 | if (PyErr_Occurred()) SWIG_fail; |
| 5116 | } |
| 5117 | resultobj = PyInt_FromLong((long)result); |
| 5118 | { |
| 5119 | if (temp4) |
| 5120 | delete arg4; |
| 5121 | } |
| 5122 | return resultobj; |
| 5123 | fail: |
| 5124 | { |
| 5125 | if (temp4) |
| 5126 | delete arg4; |
| 5127 | } |
| 5128 | return NULL; |
| 5129 | } |
| 5130 | |
| 5131 | |
| 5132 | static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5133 | PyObject *resultobj; |
| 5134 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5135 | int arg2 ; |
| 5136 | int arg3 ; |
| 5137 | long result; |
| 5138 | PyObject * obj0 = 0 ; |
| 5139 | char *kwnames[] = { |
| 5140 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 5141 | }; |
| 5142 | |
| 5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 5144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5145 | { |
| 5146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5147 | result = (long)(arg1)->GetValueAsLong(arg2,arg3); |
| 5148 | |
| 5149 | wxPyEndAllowThreads(__tstate); |
| 5150 | if (PyErr_Occurred()) SWIG_fail; |
| 5151 | } |
| 5152 | resultobj = PyInt_FromLong((long)result); |
| 5153 | return resultobj; |
| 5154 | fail: |
| 5155 | return NULL; |
| 5156 | } |
| 5157 | |
| 5158 | |
| 5159 | static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5160 | PyObject *resultobj; |
| 5161 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5162 | int arg2 ; |
| 5163 | int arg3 ; |
| 5164 | double result; |
| 5165 | PyObject * obj0 = 0 ; |
| 5166 | char *kwnames[] = { |
| 5167 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 5168 | }; |
| 5169 | |
| 5170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 5171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5172 | { |
| 5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5174 | result = (double)(arg1)->GetValueAsDouble(arg2,arg3); |
| 5175 | |
| 5176 | wxPyEndAllowThreads(__tstate); |
| 5177 | if (PyErr_Occurred()) SWIG_fail; |
| 5178 | } |
| 5179 | resultobj = PyFloat_FromDouble(result); |
| 5180 | return resultobj; |
| 5181 | fail: |
| 5182 | return NULL; |
| 5183 | } |
| 5184 | |
| 5185 | |
| 5186 | static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5187 | PyObject *resultobj; |
| 5188 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5189 | int arg2 ; |
| 5190 | int arg3 ; |
| 5191 | bool result; |
| 5192 | PyObject * obj0 = 0 ; |
| 5193 | char *kwnames[] = { |
| 5194 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 5195 | }; |
| 5196 | |
| 5197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 5198 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5199 | { |
| 5200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5201 | result = (bool)(arg1)->GetValueAsBool(arg2,arg3); |
| 5202 | |
| 5203 | wxPyEndAllowThreads(__tstate); |
| 5204 | if (PyErr_Occurred()) SWIG_fail; |
| 5205 | } |
| 5206 | resultobj = PyInt_FromLong((long)result); |
| 5207 | return resultobj; |
| 5208 | fail: |
| 5209 | return NULL; |
| 5210 | } |
| 5211 | |
| 5212 | |
| 5213 | static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5214 | PyObject *resultobj; |
| 5215 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5216 | int arg2 ; |
| 5217 | int arg3 ; |
| 5218 | long arg4 ; |
| 5219 | PyObject * obj0 = 0 ; |
| 5220 | char *kwnames[] = { |
| 5221 | (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL |
| 5222 | }; |
| 5223 | |
| 5224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 5225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5226 | { |
| 5227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5228 | (arg1)->SetValueAsLong(arg2,arg3,arg4); |
| 5229 | |
| 5230 | wxPyEndAllowThreads(__tstate); |
| 5231 | if (PyErr_Occurred()) SWIG_fail; |
| 5232 | } |
| 5233 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5234 | return resultobj; |
| 5235 | fail: |
| 5236 | return NULL; |
| 5237 | } |
| 5238 | |
| 5239 | |
| 5240 | static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5241 | PyObject *resultobj; |
| 5242 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5243 | int arg2 ; |
| 5244 | int arg3 ; |
| 5245 | double arg4 ; |
| 5246 | PyObject * obj0 = 0 ; |
| 5247 | char *kwnames[] = { |
| 5248 | (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL |
| 5249 | }; |
| 5250 | |
| 5251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 5252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5253 | { |
| 5254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5255 | (arg1)->SetValueAsDouble(arg2,arg3,arg4); |
| 5256 | |
| 5257 | wxPyEndAllowThreads(__tstate); |
| 5258 | if (PyErr_Occurred()) SWIG_fail; |
| 5259 | } |
| 5260 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5261 | return resultobj; |
| 5262 | fail: |
| 5263 | return NULL; |
| 5264 | } |
| 5265 | |
| 5266 | |
| 5267 | static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5268 | PyObject *resultobj; |
| 5269 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5270 | int arg2 ; |
| 5271 | int arg3 ; |
| 5272 | bool arg4 ; |
| 5273 | PyObject * obj0 = 0 ; |
| 5274 | PyObject * obj3 = 0 ; |
| 5275 | char *kwnames[] = { |
| 5276 | (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL |
| 5277 | }; |
| 5278 | |
| 5279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 5280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5281 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 5282 | if (PyErr_Occurred()) SWIG_fail; |
| 5283 | { |
| 5284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5285 | (arg1)->SetValueAsBool(arg2,arg3,arg4); |
| 5286 | |
| 5287 | wxPyEndAllowThreads(__tstate); |
| 5288 | if (PyErr_Occurred()) SWIG_fail; |
| 5289 | } |
| 5290 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5291 | return resultobj; |
| 5292 | fail: |
| 5293 | return NULL; |
| 5294 | } |
| 5295 | |
| 5296 | |
| 5297 | static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5298 | PyObject *resultobj; |
| 5299 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5300 | PyObject * obj0 = 0 ; |
| 5301 | char *kwnames[] = { |
| 5302 | (char *) "self", NULL |
| 5303 | }; |
| 5304 | |
| 5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail; |
| 5306 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5307 | { |
| 5308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5309 | (arg1)->Clear(); |
| 5310 | |
| 5311 | wxPyEndAllowThreads(__tstate); |
| 5312 | if (PyErr_Occurred()) SWIG_fail; |
| 5313 | } |
| 5314 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5315 | return resultobj; |
| 5316 | fail: |
| 5317 | return NULL; |
| 5318 | } |
| 5319 | |
| 5320 | |
| 5321 | static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5322 | PyObject *resultobj; |
| 5323 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5324 | size_t arg2 = (size_t) 0 ; |
| 5325 | size_t arg3 = (size_t) 1 ; |
| 5326 | bool result; |
| 5327 | PyObject * obj0 = 0 ; |
| 5328 | PyObject * obj1 = 0 ; |
| 5329 | PyObject * obj2 = 0 ; |
| 5330 | char *kwnames[] = { |
| 5331 | (char *) "self",(char *) "pos",(char *) "numRows", NULL |
| 5332 | }; |
| 5333 | |
| 5334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 5335 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5336 | if (obj1) { |
| 5337 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5338 | if (PyErr_Occurred()) SWIG_fail; |
| 5339 | } |
| 5340 | if (obj2) { |
| 5341 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 5342 | if (PyErr_Occurred()) SWIG_fail; |
| 5343 | } |
| 5344 | { |
| 5345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5346 | result = (bool)(arg1)->InsertRows(arg2,arg3); |
| 5347 | |
| 5348 | wxPyEndAllowThreads(__tstate); |
| 5349 | if (PyErr_Occurred()) SWIG_fail; |
| 5350 | } |
| 5351 | resultobj = PyInt_FromLong((long)result); |
| 5352 | return resultobj; |
| 5353 | fail: |
| 5354 | return NULL; |
| 5355 | } |
| 5356 | |
| 5357 | |
| 5358 | static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5359 | PyObject *resultobj; |
| 5360 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5361 | size_t arg2 = (size_t) 1 ; |
| 5362 | bool result; |
| 5363 | PyObject * obj0 = 0 ; |
| 5364 | PyObject * obj1 = 0 ; |
| 5365 | char *kwnames[] = { |
| 5366 | (char *) "self",(char *) "numRows", NULL |
| 5367 | }; |
| 5368 | |
| 5369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail; |
| 5370 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5371 | if (obj1) { |
| 5372 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5373 | if (PyErr_Occurred()) SWIG_fail; |
| 5374 | } |
| 5375 | { |
| 5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5377 | result = (bool)(arg1)->AppendRows(arg2); |
| 5378 | |
| 5379 | wxPyEndAllowThreads(__tstate); |
| 5380 | if (PyErr_Occurred()) SWIG_fail; |
| 5381 | } |
| 5382 | resultobj = PyInt_FromLong((long)result); |
| 5383 | return resultobj; |
| 5384 | fail: |
| 5385 | return NULL; |
| 5386 | } |
| 5387 | |
| 5388 | |
| 5389 | static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5390 | PyObject *resultobj; |
| 5391 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5392 | size_t arg2 = (size_t) 0 ; |
| 5393 | size_t arg3 = (size_t) 1 ; |
| 5394 | bool result; |
| 5395 | PyObject * obj0 = 0 ; |
| 5396 | PyObject * obj1 = 0 ; |
| 5397 | PyObject * obj2 = 0 ; |
| 5398 | char *kwnames[] = { |
| 5399 | (char *) "self",(char *) "pos",(char *) "numRows", NULL |
| 5400 | }; |
| 5401 | |
| 5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 5403 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5404 | if (obj1) { |
| 5405 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5406 | if (PyErr_Occurred()) SWIG_fail; |
| 5407 | } |
| 5408 | if (obj2) { |
| 5409 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 5410 | if (PyErr_Occurred()) SWIG_fail; |
| 5411 | } |
| 5412 | { |
| 5413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5414 | result = (bool)(arg1)->DeleteRows(arg2,arg3); |
| 5415 | |
| 5416 | wxPyEndAllowThreads(__tstate); |
| 5417 | if (PyErr_Occurred()) SWIG_fail; |
| 5418 | } |
| 5419 | resultobj = PyInt_FromLong((long)result); |
| 5420 | return resultobj; |
| 5421 | fail: |
| 5422 | return NULL; |
| 5423 | } |
| 5424 | |
| 5425 | |
| 5426 | static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5427 | PyObject *resultobj; |
| 5428 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5429 | size_t arg2 = (size_t) 0 ; |
| 5430 | size_t arg3 = (size_t) 1 ; |
| 5431 | bool result; |
| 5432 | PyObject * obj0 = 0 ; |
| 5433 | PyObject * obj1 = 0 ; |
| 5434 | PyObject * obj2 = 0 ; |
| 5435 | char *kwnames[] = { |
| 5436 | (char *) "self",(char *) "pos",(char *) "numCols", NULL |
| 5437 | }; |
| 5438 | |
| 5439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 5440 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5441 | if (obj1) { |
| 5442 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5443 | if (PyErr_Occurred()) SWIG_fail; |
| 5444 | } |
| 5445 | if (obj2) { |
| 5446 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 5447 | if (PyErr_Occurred()) SWIG_fail; |
| 5448 | } |
| 5449 | { |
| 5450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5451 | result = (bool)(arg1)->InsertCols(arg2,arg3); |
| 5452 | |
| 5453 | wxPyEndAllowThreads(__tstate); |
| 5454 | if (PyErr_Occurred()) SWIG_fail; |
| 5455 | } |
| 5456 | resultobj = PyInt_FromLong((long)result); |
| 5457 | return resultobj; |
| 5458 | fail: |
| 5459 | return NULL; |
| 5460 | } |
| 5461 | |
| 5462 | |
| 5463 | static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5464 | PyObject *resultobj; |
| 5465 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5466 | size_t arg2 = (size_t) 1 ; |
| 5467 | bool result; |
| 5468 | PyObject * obj0 = 0 ; |
| 5469 | PyObject * obj1 = 0 ; |
| 5470 | char *kwnames[] = { |
| 5471 | (char *) "self",(char *) "numCols", NULL |
| 5472 | }; |
| 5473 | |
| 5474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail; |
| 5475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5476 | if (obj1) { |
| 5477 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5478 | if (PyErr_Occurred()) SWIG_fail; |
| 5479 | } |
| 5480 | { |
| 5481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5482 | result = (bool)(arg1)->AppendCols(arg2); |
| 5483 | |
| 5484 | wxPyEndAllowThreads(__tstate); |
| 5485 | if (PyErr_Occurred()) SWIG_fail; |
| 5486 | } |
| 5487 | resultobj = PyInt_FromLong((long)result); |
| 5488 | return resultobj; |
| 5489 | fail: |
| 5490 | return NULL; |
| 5491 | } |
| 5492 | |
| 5493 | |
| 5494 | static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5495 | PyObject *resultobj; |
| 5496 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5497 | size_t arg2 = (size_t) 0 ; |
| 5498 | size_t arg3 = (size_t) 1 ; |
| 5499 | bool result; |
| 5500 | PyObject * obj0 = 0 ; |
| 5501 | PyObject * obj1 = 0 ; |
| 5502 | PyObject * obj2 = 0 ; |
| 5503 | char *kwnames[] = { |
| 5504 | (char *) "self",(char *) "pos",(char *) "numCols", NULL |
| 5505 | }; |
| 5506 | |
| 5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 5508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5509 | if (obj1) { |
| 5510 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 5511 | if (PyErr_Occurred()) SWIG_fail; |
| 5512 | } |
| 5513 | if (obj2) { |
| 5514 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 5515 | if (PyErr_Occurred()) SWIG_fail; |
| 5516 | } |
| 5517 | { |
| 5518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5519 | result = (bool)(arg1)->DeleteCols(arg2,arg3); |
| 5520 | |
| 5521 | wxPyEndAllowThreads(__tstate); |
| 5522 | if (PyErr_Occurred()) SWIG_fail; |
| 5523 | } |
| 5524 | resultobj = PyInt_FromLong((long)result); |
| 5525 | return resultobj; |
| 5526 | fail: |
| 5527 | return NULL; |
| 5528 | } |
| 5529 | |
| 5530 | |
| 5531 | static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5532 | PyObject *resultobj; |
| 5533 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5534 | int arg2 ; |
| 5535 | wxString result; |
| 5536 | PyObject * obj0 = 0 ; |
| 5537 | char *kwnames[] = { |
| 5538 | (char *) "self",(char *) "row", NULL |
| 5539 | }; |
| 5540 | |
| 5541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 5542 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5543 | { |
| 5544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5545 | result = (arg1)->GetRowLabelValue(arg2); |
| 5546 | |
| 5547 | wxPyEndAllowThreads(__tstate); |
| 5548 | if (PyErr_Occurred()) SWIG_fail; |
| 5549 | } |
| 5550 | { |
| 5551 | #if wxUSE_UNICODE |
| 5552 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 5553 | #else |
| 5554 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 5555 | #endif |
| 5556 | } |
| 5557 | return resultobj; |
| 5558 | fail: |
| 5559 | return NULL; |
| 5560 | } |
| 5561 | |
| 5562 | |
| 5563 | static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5564 | PyObject *resultobj; |
| 5565 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5566 | int arg2 ; |
| 5567 | wxString result; |
| 5568 | PyObject * obj0 = 0 ; |
| 5569 | char *kwnames[] = { |
| 5570 | (char *) "self",(char *) "col", NULL |
| 5571 | }; |
| 5572 | |
| 5573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 5574 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5575 | { |
| 5576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5577 | result = (arg1)->GetColLabelValue(arg2); |
| 5578 | |
| 5579 | wxPyEndAllowThreads(__tstate); |
| 5580 | if (PyErr_Occurred()) SWIG_fail; |
| 5581 | } |
| 5582 | { |
| 5583 | #if wxUSE_UNICODE |
| 5584 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 5585 | #else |
| 5586 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 5587 | #endif |
| 5588 | } |
| 5589 | return resultobj; |
| 5590 | fail: |
| 5591 | return NULL; |
| 5592 | } |
| 5593 | |
| 5594 | |
| 5595 | static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5596 | PyObject *resultobj; |
| 5597 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5598 | int arg2 ; |
| 5599 | wxString *arg3 = 0 ; |
| 5600 | bool temp3 = False ; |
| 5601 | PyObject * obj0 = 0 ; |
| 5602 | PyObject * obj2 = 0 ; |
| 5603 | char *kwnames[] = { |
| 5604 | (char *) "self",(char *) "row",(char *) "value", NULL |
| 5605 | }; |
| 5606 | |
| 5607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 5608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5609 | { |
| 5610 | arg3 = wxString_in_helper(obj2); |
| 5611 | if (arg3 == NULL) SWIG_fail; |
| 5612 | temp3 = True; |
| 5613 | } |
| 5614 | { |
| 5615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5616 | (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3); |
| 5617 | |
| 5618 | wxPyEndAllowThreads(__tstate); |
| 5619 | if (PyErr_Occurred()) SWIG_fail; |
| 5620 | } |
| 5621 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5622 | { |
| 5623 | if (temp3) |
| 5624 | delete arg3; |
| 5625 | } |
| 5626 | return resultobj; |
| 5627 | fail: |
| 5628 | { |
| 5629 | if (temp3) |
| 5630 | delete arg3; |
| 5631 | } |
| 5632 | return NULL; |
| 5633 | } |
| 5634 | |
| 5635 | |
| 5636 | static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5637 | PyObject *resultobj; |
| 5638 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5639 | int arg2 ; |
| 5640 | wxString *arg3 = 0 ; |
| 5641 | bool temp3 = False ; |
| 5642 | PyObject * obj0 = 0 ; |
| 5643 | PyObject * obj2 = 0 ; |
| 5644 | char *kwnames[] = { |
| 5645 | (char *) "self",(char *) "col",(char *) "value", NULL |
| 5646 | }; |
| 5647 | |
| 5648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 5649 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5650 | { |
| 5651 | arg3 = wxString_in_helper(obj2); |
| 5652 | if (arg3 == NULL) SWIG_fail; |
| 5653 | temp3 = True; |
| 5654 | } |
| 5655 | { |
| 5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5657 | (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3); |
| 5658 | |
| 5659 | wxPyEndAllowThreads(__tstate); |
| 5660 | if (PyErr_Occurred()) SWIG_fail; |
| 5661 | } |
| 5662 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5663 | { |
| 5664 | if (temp3) |
| 5665 | delete arg3; |
| 5666 | } |
| 5667 | return resultobj; |
| 5668 | fail: |
| 5669 | { |
| 5670 | if (temp3) |
| 5671 | delete arg3; |
| 5672 | } |
| 5673 | return NULL; |
| 5674 | } |
| 5675 | |
| 5676 | |
| 5677 | static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5678 | PyObject *resultobj; |
| 5679 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5680 | bool result; |
| 5681 | PyObject * obj0 = 0 ; |
| 5682 | char *kwnames[] = { |
| 5683 | (char *) "self", NULL |
| 5684 | }; |
| 5685 | |
| 5686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail; |
| 5687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5688 | { |
| 5689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5690 | result = (bool)(arg1)->CanHaveAttributes(); |
| 5691 | |
| 5692 | wxPyEndAllowThreads(__tstate); |
| 5693 | if (PyErr_Occurred()) SWIG_fail; |
| 5694 | } |
| 5695 | resultobj = PyInt_FromLong((long)result); |
| 5696 | return resultobj; |
| 5697 | fail: |
| 5698 | return NULL; |
| 5699 | } |
| 5700 | |
| 5701 | |
| 5702 | static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5703 | PyObject *resultobj; |
| 5704 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5705 | int arg2 ; |
| 5706 | int arg3 ; |
| 5707 | int arg4 ; |
| 5708 | wxGridCellAttr *result; |
| 5709 | PyObject * obj0 = 0 ; |
| 5710 | char *kwnames[] = { |
| 5711 | (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL |
| 5712 | }; |
| 5713 | |
| 5714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridTableBase_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 5715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5716 | { |
| 5717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5718 | result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); |
| 5719 | |
| 5720 | wxPyEndAllowThreads(__tstate); |
| 5721 | if (PyErr_Occurred()) SWIG_fail; |
| 5722 | } |
| 5723 | { |
| 5724 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 5725 | } |
| 5726 | return resultobj; |
| 5727 | fail: |
| 5728 | return NULL; |
| 5729 | } |
| 5730 | |
| 5731 | |
| 5732 | static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5733 | PyObject *resultobj; |
| 5734 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5735 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 5736 | int arg3 ; |
| 5737 | int arg4 ; |
| 5738 | PyObject * obj0 = 0 ; |
| 5739 | PyObject * obj1 = 0 ; |
| 5740 | char *kwnames[] = { |
| 5741 | (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL |
| 5742 | }; |
| 5743 | |
| 5744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 5745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5746 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5747 | { |
| 5748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5749 | (arg1)->SetAttr(arg2,arg3,arg4); |
| 5750 | |
| 5751 | wxPyEndAllowThreads(__tstate); |
| 5752 | if (PyErr_Occurred()) SWIG_fail; |
| 5753 | } |
| 5754 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5755 | return resultobj; |
| 5756 | fail: |
| 5757 | return NULL; |
| 5758 | } |
| 5759 | |
| 5760 | |
| 5761 | static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5762 | PyObject *resultobj; |
| 5763 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5764 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 5765 | int arg3 ; |
| 5766 | PyObject * obj0 = 0 ; |
| 5767 | PyObject * obj1 = 0 ; |
| 5768 | char *kwnames[] = { |
| 5769 | (char *) "self",(char *) "attr",(char *) "row", NULL |
| 5770 | }; |
| 5771 | |
| 5772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 5773 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5774 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5775 | { |
| 5776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5777 | (arg1)->SetRowAttr(arg2,arg3); |
| 5778 | |
| 5779 | wxPyEndAllowThreads(__tstate); |
| 5780 | if (PyErr_Occurred()) SWIG_fail; |
| 5781 | } |
| 5782 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5783 | return resultobj; |
| 5784 | fail: |
| 5785 | return NULL; |
| 5786 | } |
| 5787 | |
| 5788 | |
| 5789 | static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5790 | PyObject *resultobj; |
| 5791 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 5792 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 5793 | int arg3 ; |
| 5794 | PyObject * obj0 = 0 ; |
| 5795 | PyObject * obj1 = 0 ; |
| 5796 | char *kwnames[] = { |
| 5797 | (char *) "self",(char *) "attr",(char *) "col", NULL |
| 5798 | }; |
| 5799 | |
| 5800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 5801 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5802 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5803 | { |
| 5804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5805 | (arg1)->SetColAttr(arg2,arg3); |
| 5806 | |
| 5807 | wxPyEndAllowThreads(__tstate); |
| 5808 | if (PyErr_Occurred()) SWIG_fail; |
| 5809 | } |
| 5810 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5811 | return resultobj; |
| 5812 | fail: |
| 5813 | return NULL; |
| 5814 | } |
| 5815 | |
| 5816 | |
| 5817 | static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) { |
| 5818 | PyObject *obj; |
| 5819 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 5820 | SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj); |
| 5821 | Py_INCREF(obj); |
| 5822 | return Py_BuildValue((char *)""); |
| 5823 | } |
| 5824 | static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5825 | PyObject *resultobj; |
| 5826 | wxPyGridTableBase *result; |
| 5827 | char *kwnames[] = { |
| 5828 | NULL |
| 5829 | }; |
| 5830 | |
| 5831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail; |
| 5832 | { |
| 5833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5834 | result = (wxPyGridTableBase *)new wxPyGridTableBase(); |
| 5835 | |
| 5836 | wxPyEndAllowThreads(__tstate); |
| 5837 | if (PyErr_Occurred()) SWIG_fail; |
| 5838 | } |
| 5839 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridTableBase, 1); |
| 5840 | return resultobj; |
| 5841 | fail: |
| 5842 | return NULL; |
| 5843 | } |
| 5844 | |
| 5845 | |
| 5846 | static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5847 | PyObject *resultobj; |
| 5848 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 5849 | PyObject *arg2 = (PyObject *) 0 ; |
| 5850 | PyObject *arg3 = (PyObject *) 0 ; |
| 5851 | PyObject * obj0 = 0 ; |
| 5852 | PyObject * obj1 = 0 ; |
| 5853 | PyObject * obj2 = 0 ; |
| 5854 | char *kwnames[] = { |
| 5855 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 5856 | }; |
| 5857 | |
| 5858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 5859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5860 | arg2 = obj1; |
| 5861 | arg3 = obj2; |
| 5862 | { |
| 5863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5864 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 5865 | |
| 5866 | wxPyEndAllowThreads(__tstate); |
| 5867 | if (PyErr_Occurred()) SWIG_fail; |
| 5868 | } |
| 5869 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5870 | return resultobj; |
| 5871 | fail: |
| 5872 | return NULL; |
| 5873 | } |
| 5874 | |
| 5875 | |
| 5876 | static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5877 | PyObject *resultobj; |
| 5878 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 5879 | PyObject * obj0 = 0 ; |
| 5880 | char *kwnames[] = { |
| 5881 | (char *) "self", NULL |
| 5882 | }; |
| 5883 | |
| 5884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail; |
| 5885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5886 | { |
| 5887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5888 | wxPyGridTableBase_Destroy(arg1); |
| 5889 | |
| 5890 | wxPyEndAllowThreads(__tstate); |
| 5891 | if (PyErr_Occurred()) SWIG_fail; |
| 5892 | } |
| 5893 | Py_INCREF(Py_None); resultobj = Py_None; |
| 5894 | return resultobj; |
| 5895 | fail: |
| 5896 | return NULL; |
| 5897 | } |
| 5898 | |
| 5899 | |
| 5900 | static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5901 | PyObject *resultobj; |
| 5902 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 5903 | int arg2 ; |
| 5904 | int arg3 ; |
| 5905 | wxString result; |
| 5906 | PyObject * obj0 = 0 ; |
| 5907 | char *kwnames[] = { |
| 5908 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 5909 | }; |
| 5910 | |
| 5911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 5912 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5913 | { |
| 5914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5915 | result = (arg1)->base_GetTypeName(arg2,arg3); |
| 5916 | |
| 5917 | wxPyEndAllowThreads(__tstate); |
| 5918 | if (PyErr_Occurred()) SWIG_fail; |
| 5919 | } |
| 5920 | { |
| 5921 | #if wxUSE_UNICODE |
| 5922 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 5923 | #else |
| 5924 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 5925 | #endif |
| 5926 | } |
| 5927 | return resultobj; |
| 5928 | fail: |
| 5929 | return NULL; |
| 5930 | } |
| 5931 | |
| 5932 | |
| 5933 | static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5934 | PyObject *resultobj; |
| 5935 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 5936 | int arg2 ; |
| 5937 | int arg3 ; |
| 5938 | wxString *arg4 = 0 ; |
| 5939 | bool result; |
| 5940 | bool temp4 = False ; |
| 5941 | PyObject * obj0 = 0 ; |
| 5942 | PyObject * obj3 = 0 ; |
| 5943 | char *kwnames[] = { |
| 5944 | (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL |
| 5945 | }; |
| 5946 | |
| 5947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 5948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5949 | { |
| 5950 | arg4 = wxString_in_helper(obj3); |
| 5951 | if (arg4 == NULL) SWIG_fail; |
| 5952 | temp4 = True; |
| 5953 | } |
| 5954 | { |
| 5955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5956 | result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4); |
| 5957 | |
| 5958 | wxPyEndAllowThreads(__tstate); |
| 5959 | if (PyErr_Occurred()) SWIG_fail; |
| 5960 | } |
| 5961 | resultobj = PyInt_FromLong((long)result); |
| 5962 | { |
| 5963 | if (temp4) |
| 5964 | delete arg4; |
| 5965 | } |
| 5966 | return resultobj; |
| 5967 | fail: |
| 5968 | { |
| 5969 | if (temp4) |
| 5970 | delete arg4; |
| 5971 | } |
| 5972 | return NULL; |
| 5973 | } |
| 5974 | |
| 5975 | |
| 5976 | static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 5977 | PyObject *resultobj; |
| 5978 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 5979 | int arg2 ; |
| 5980 | int arg3 ; |
| 5981 | wxString *arg4 = 0 ; |
| 5982 | bool result; |
| 5983 | bool temp4 = False ; |
| 5984 | PyObject * obj0 = 0 ; |
| 5985 | PyObject * obj3 = 0 ; |
| 5986 | char *kwnames[] = { |
| 5987 | (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL |
| 5988 | }; |
| 5989 | |
| 5990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 5991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 5992 | { |
| 5993 | arg4 = wxString_in_helper(obj3); |
| 5994 | if (arg4 == NULL) SWIG_fail; |
| 5995 | temp4 = True; |
| 5996 | } |
| 5997 | { |
| 5998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5999 | result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4); |
| 6000 | |
| 6001 | wxPyEndAllowThreads(__tstate); |
| 6002 | if (PyErr_Occurred()) SWIG_fail; |
| 6003 | } |
| 6004 | resultobj = PyInt_FromLong((long)result); |
| 6005 | { |
| 6006 | if (temp4) |
| 6007 | delete arg4; |
| 6008 | } |
| 6009 | return resultobj; |
| 6010 | fail: |
| 6011 | { |
| 6012 | if (temp4) |
| 6013 | delete arg4; |
| 6014 | } |
| 6015 | return NULL; |
| 6016 | } |
| 6017 | |
| 6018 | |
| 6019 | static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6020 | PyObject *resultobj; |
| 6021 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6022 | PyObject * obj0 = 0 ; |
| 6023 | char *kwnames[] = { |
| 6024 | (char *) "self", NULL |
| 6025 | }; |
| 6026 | |
| 6027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail; |
| 6028 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6029 | { |
| 6030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6031 | (arg1)->base_Clear(); |
| 6032 | |
| 6033 | wxPyEndAllowThreads(__tstate); |
| 6034 | if (PyErr_Occurred()) SWIG_fail; |
| 6035 | } |
| 6036 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6037 | return resultobj; |
| 6038 | fail: |
| 6039 | return NULL; |
| 6040 | } |
| 6041 | |
| 6042 | |
| 6043 | static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6044 | PyObject *resultobj; |
| 6045 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6046 | size_t arg2 = (size_t) 0 ; |
| 6047 | size_t arg3 = (size_t) 1 ; |
| 6048 | bool result; |
| 6049 | PyObject * obj0 = 0 ; |
| 6050 | PyObject * obj1 = 0 ; |
| 6051 | PyObject * obj2 = 0 ; |
| 6052 | char *kwnames[] = { |
| 6053 | (char *) "self",(char *) "pos",(char *) "numRows", NULL |
| 6054 | }; |
| 6055 | |
| 6056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 6057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6058 | if (obj1) { |
| 6059 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6060 | if (PyErr_Occurred()) SWIG_fail; |
| 6061 | } |
| 6062 | if (obj2) { |
| 6063 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 6064 | if (PyErr_Occurred()) SWIG_fail; |
| 6065 | } |
| 6066 | { |
| 6067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6068 | result = (bool)(arg1)->base_InsertRows(arg2,arg3); |
| 6069 | |
| 6070 | wxPyEndAllowThreads(__tstate); |
| 6071 | if (PyErr_Occurred()) SWIG_fail; |
| 6072 | } |
| 6073 | resultobj = PyInt_FromLong((long)result); |
| 6074 | return resultobj; |
| 6075 | fail: |
| 6076 | return NULL; |
| 6077 | } |
| 6078 | |
| 6079 | |
| 6080 | static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6081 | PyObject *resultobj; |
| 6082 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6083 | size_t arg2 = (size_t) 1 ; |
| 6084 | bool result; |
| 6085 | PyObject * obj0 = 0 ; |
| 6086 | PyObject * obj1 = 0 ; |
| 6087 | char *kwnames[] = { |
| 6088 | (char *) "self",(char *) "numRows", NULL |
| 6089 | }; |
| 6090 | |
| 6091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail; |
| 6092 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6093 | if (obj1) { |
| 6094 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6095 | if (PyErr_Occurred()) SWIG_fail; |
| 6096 | } |
| 6097 | { |
| 6098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6099 | result = (bool)(arg1)->base_AppendRows(arg2); |
| 6100 | |
| 6101 | wxPyEndAllowThreads(__tstate); |
| 6102 | if (PyErr_Occurred()) SWIG_fail; |
| 6103 | } |
| 6104 | resultobj = PyInt_FromLong((long)result); |
| 6105 | return resultobj; |
| 6106 | fail: |
| 6107 | return NULL; |
| 6108 | } |
| 6109 | |
| 6110 | |
| 6111 | static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6112 | PyObject *resultobj; |
| 6113 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6114 | size_t arg2 = (size_t) 0 ; |
| 6115 | size_t arg3 = (size_t) 1 ; |
| 6116 | bool result; |
| 6117 | PyObject * obj0 = 0 ; |
| 6118 | PyObject * obj1 = 0 ; |
| 6119 | PyObject * obj2 = 0 ; |
| 6120 | char *kwnames[] = { |
| 6121 | (char *) "self",(char *) "pos",(char *) "numRows", NULL |
| 6122 | }; |
| 6123 | |
| 6124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 6125 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6126 | if (obj1) { |
| 6127 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6128 | if (PyErr_Occurred()) SWIG_fail; |
| 6129 | } |
| 6130 | if (obj2) { |
| 6131 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 6132 | if (PyErr_Occurred()) SWIG_fail; |
| 6133 | } |
| 6134 | { |
| 6135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6136 | result = (bool)(arg1)->base_DeleteRows(arg2,arg3); |
| 6137 | |
| 6138 | wxPyEndAllowThreads(__tstate); |
| 6139 | if (PyErr_Occurred()) SWIG_fail; |
| 6140 | } |
| 6141 | resultobj = PyInt_FromLong((long)result); |
| 6142 | return resultobj; |
| 6143 | fail: |
| 6144 | return NULL; |
| 6145 | } |
| 6146 | |
| 6147 | |
| 6148 | static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6149 | PyObject *resultobj; |
| 6150 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6151 | size_t arg2 = (size_t) 0 ; |
| 6152 | size_t arg3 = (size_t) 1 ; |
| 6153 | bool result; |
| 6154 | PyObject * obj0 = 0 ; |
| 6155 | PyObject * obj1 = 0 ; |
| 6156 | PyObject * obj2 = 0 ; |
| 6157 | char *kwnames[] = { |
| 6158 | (char *) "self",(char *) "pos",(char *) "numCols", NULL |
| 6159 | }; |
| 6160 | |
| 6161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 6162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6163 | if (obj1) { |
| 6164 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6165 | if (PyErr_Occurred()) SWIG_fail; |
| 6166 | } |
| 6167 | if (obj2) { |
| 6168 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 6169 | if (PyErr_Occurred()) SWIG_fail; |
| 6170 | } |
| 6171 | { |
| 6172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6173 | result = (bool)(arg1)->base_InsertCols(arg2,arg3); |
| 6174 | |
| 6175 | wxPyEndAllowThreads(__tstate); |
| 6176 | if (PyErr_Occurred()) SWIG_fail; |
| 6177 | } |
| 6178 | resultobj = PyInt_FromLong((long)result); |
| 6179 | return resultobj; |
| 6180 | fail: |
| 6181 | return NULL; |
| 6182 | } |
| 6183 | |
| 6184 | |
| 6185 | static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6186 | PyObject *resultobj; |
| 6187 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6188 | size_t arg2 = (size_t) 1 ; |
| 6189 | bool result; |
| 6190 | PyObject * obj0 = 0 ; |
| 6191 | PyObject * obj1 = 0 ; |
| 6192 | char *kwnames[] = { |
| 6193 | (char *) "self",(char *) "numCols", NULL |
| 6194 | }; |
| 6195 | |
| 6196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail; |
| 6197 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6198 | if (obj1) { |
| 6199 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6200 | if (PyErr_Occurred()) SWIG_fail; |
| 6201 | } |
| 6202 | { |
| 6203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6204 | result = (bool)(arg1)->base_AppendCols(arg2); |
| 6205 | |
| 6206 | wxPyEndAllowThreads(__tstate); |
| 6207 | if (PyErr_Occurred()) SWIG_fail; |
| 6208 | } |
| 6209 | resultobj = PyInt_FromLong((long)result); |
| 6210 | return resultobj; |
| 6211 | fail: |
| 6212 | return NULL; |
| 6213 | } |
| 6214 | |
| 6215 | |
| 6216 | static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6217 | PyObject *resultobj; |
| 6218 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6219 | size_t arg2 = (size_t) 0 ; |
| 6220 | size_t arg3 = (size_t) 1 ; |
| 6221 | bool result; |
| 6222 | PyObject * obj0 = 0 ; |
| 6223 | PyObject * obj1 = 0 ; |
| 6224 | PyObject * obj2 = 0 ; |
| 6225 | char *kwnames[] = { |
| 6226 | (char *) "self",(char *) "pos",(char *) "numCols", NULL |
| 6227 | }; |
| 6228 | |
| 6229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 6230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6231 | if (obj1) { |
| 6232 | arg2 = (size_t) PyInt_AsLong(obj1); |
| 6233 | if (PyErr_Occurred()) SWIG_fail; |
| 6234 | } |
| 6235 | if (obj2) { |
| 6236 | arg3 = (size_t) PyInt_AsLong(obj2); |
| 6237 | if (PyErr_Occurred()) SWIG_fail; |
| 6238 | } |
| 6239 | { |
| 6240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6241 | result = (bool)(arg1)->base_DeleteCols(arg2,arg3); |
| 6242 | |
| 6243 | wxPyEndAllowThreads(__tstate); |
| 6244 | if (PyErr_Occurred()) SWIG_fail; |
| 6245 | } |
| 6246 | resultobj = PyInt_FromLong((long)result); |
| 6247 | return resultobj; |
| 6248 | fail: |
| 6249 | return NULL; |
| 6250 | } |
| 6251 | |
| 6252 | |
| 6253 | static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6254 | PyObject *resultobj; |
| 6255 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6256 | int arg2 ; |
| 6257 | wxString result; |
| 6258 | PyObject * obj0 = 0 ; |
| 6259 | char *kwnames[] = { |
| 6260 | (char *) "self",(char *) "row", NULL |
| 6261 | }; |
| 6262 | |
| 6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 6264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6265 | { |
| 6266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6267 | result = (arg1)->base_GetRowLabelValue(arg2); |
| 6268 | |
| 6269 | wxPyEndAllowThreads(__tstate); |
| 6270 | if (PyErr_Occurred()) SWIG_fail; |
| 6271 | } |
| 6272 | { |
| 6273 | #if wxUSE_UNICODE |
| 6274 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 6275 | #else |
| 6276 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 6277 | #endif |
| 6278 | } |
| 6279 | return resultobj; |
| 6280 | fail: |
| 6281 | return NULL; |
| 6282 | } |
| 6283 | |
| 6284 | |
| 6285 | static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6286 | PyObject *resultobj; |
| 6287 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6288 | int arg2 ; |
| 6289 | wxString result; |
| 6290 | PyObject * obj0 = 0 ; |
| 6291 | char *kwnames[] = { |
| 6292 | (char *) "self",(char *) "col", NULL |
| 6293 | }; |
| 6294 | |
| 6295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 6296 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6297 | { |
| 6298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6299 | result = (arg1)->base_GetColLabelValue(arg2); |
| 6300 | |
| 6301 | wxPyEndAllowThreads(__tstate); |
| 6302 | if (PyErr_Occurred()) SWIG_fail; |
| 6303 | } |
| 6304 | { |
| 6305 | #if wxUSE_UNICODE |
| 6306 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 6307 | #else |
| 6308 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 6309 | #endif |
| 6310 | } |
| 6311 | return resultobj; |
| 6312 | fail: |
| 6313 | return NULL; |
| 6314 | } |
| 6315 | |
| 6316 | |
| 6317 | static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6318 | PyObject *resultobj; |
| 6319 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6320 | int arg2 ; |
| 6321 | wxString *arg3 = 0 ; |
| 6322 | bool temp3 = False ; |
| 6323 | PyObject * obj0 = 0 ; |
| 6324 | PyObject * obj2 = 0 ; |
| 6325 | char *kwnames[] = { |
| 6326 | (char *) "self",(char *) "row",(char *) "value", NULL |
| 6327 | }; |
| 6328 | |
| 6329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 6330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6331 | { |
| 6332 | arg3 = wxString_in_helper(obj2); |
| 6333 | if (arg3 == NULL) SWIG_fail; |
| 6334 | temp3 = True; |
| 6335 | } |
| 6336 | { |
| 6337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6338 | (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3); |
| 6339 | |
| 6340 | wxPyEndAllowThreads(__tstate); |
| 6341 | if (PyErr_Occurred()) SWIG_fail; |
| 6342 | } |
| 6343 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6344 | { |
| 6345 | if (temp3) |
| 6346 | delete arg3; |
| 6347 | } |
| 6348 | return resultobj; |
| 6349 | fail: |
| 6350 | { |
| 6351 | if (temp3) |
| 6352 | delete arg3; |
| 6353 | } |
| 6354 | return NULL; |
| 6355 | } |
| 6356 | |
| 6357 | |
| 6358 | static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6359 | PyObject *resultobj; |
| 6360 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6361 | int arg2 ; |
| 6362 | wxString *arg3 = 0 ; |
| 6363 | bool temp3 = False ; |
| 6364 | PyObject * obj0 = 0 ; |
| 6365 | PyObject * obj2 = 0 ; |
| 6366 | char *kwnames[] = { |
| 6367 | (char *) "self",(char *) "col",(char *) "value", NULL |
| 6368 | }; |
| 6369 | |
| 6370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 6371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6372 | { |
| 6373 | arg3 = wxString_in_helper(obj2); |
| 6374 | if (arg3 == NULL) SWIG_fail; |
| 6375 | temp3 = True; |
| 6376 | } |
| 6377 | { |
| 6378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6379 | (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3); |
| 6380 | |
| 6381 | wxPyEndAllowThreads(__tstate); |
| 6382 | if (PyErr_Occurred()) SWIG_fail; |
| 6383 | } |
| 6384 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6385 | { |
| 6386 | if (temp3) |
| 6387 | delete arg3; |
| 6388 | } |
| 6389 | return resultobj; |
| 6390 | fail: |
| 6391 | { |
| 6392 | if (temp3) |
| 6393 | delete arg3; |
| 6394 | } |
| 6395 | return NULL; |
| 6396 | } |
| 6397 | |
| 6398 | |
| 6399 | static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6400 | PyObject *resultobj; |
| 6401 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6402 | bool result; |
| 6403 | PyObject * obj0 = 0 ; |
| 6404 | char *kwnames[] = { |
| 6405 | (char *) "self", NULL |
| 6406 | }; |
| 6407 | |
| 6408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail; |
| 6409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6410 | { |
| 6411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6412 | result = (bool)(arg1)->base_CanHaveAttributes(); |
| 6413 | |
| 6414 | wxPyEndAllowThreads(__tstate); |
| 6415 | if (PyErr_Occurred()) SWIG_fail; |
| 6416 | } |
| 6417 | resultobj = PyInt_FromLong((long)result); |
| 6418 | return resultobj; |
| 6419 | fail: |
| 6420 | return NULL; |
| 6421 | } |
| 6422 | |
| 6423 | |
| 6424 | static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6425 | PyObject *resultobj; |
| 6426 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6427 | int arg2 ; |
| 6428 | int arg3 ; |
| 6429 | int arg4 ; |
| 6430 | wxGridCellAttr *result; |
| 6431 | PyObject * obj0 = 0 ; |
| 6432 | char *kwnames[] = { |
| 6433 | (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL |
| 6434 | }; |
| 6435 | |
| 6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 6437 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6438 | { |
| 6439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6440 | result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); |
| 6441 | |
| 6442 | wxPyEndAllowThreads(__tstate); |
| 6443 | if (PyErr_Occurred()) SWIG_fail; |
| 6444 | } |
| 6445 | { |
| 6446 | resultobj = wxPyMake_wxGridCellAttr(result); |
| 6447 | } |
| 6448 | return resultobj; |
| 6449 | fail: |
| 6450 | return NULL; |
| 6451 | } |
| 6452 | |
| 6453 | |
| 6454 | static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6455 | PyObject *resultobj; |
| 6456 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6457 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 6458 | int arg3 ; |
| 6459 | int arg4 ; |
| 6460 | PyObject * obj0 = 0 ; |
| 6461 | PyObject * obj1 = 0 ; |
| 6462 | char *kwnames[] = { |
| 6463 | (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL |
| 6464 | }; |
| 6465 | |
| 6466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; |
| 6467 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6468 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6469 | { |
| 6470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6471 | (arg1)->base_SetAttr(arg2,arg3,arg4); |
| 6472 | |
| 6473 | wxPyEndAllowThreads(__tstate); |
| 6474 | if (PyErr_Occurred()) SWIG_fail; |
| 6475 | } |
| 6476 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6477 | return resultobj; |
| 6478 | fail: |
| 6479 | return NULL; |
| 6480 | } |
| 6481 | |
| 6482 | |
| 6483 | static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6484 | PyObject *resultobj; |
| 6485 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6486 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 6487 | int arg3 ; |
| 6488 | PyObject * obj0 = 0 ; |
| 6489 | PyObject * obj1 = 0 ; |
| 6490 | char *kwnames[] = { |
| 6491 | (char *) "self",(char *) "attr",(char *) "row", NULL |
| 6492 | }; |
| 6493 | |
| 6494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 6495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6496 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6497 | { |
| 6498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6499 | (arg1)->base_SetRowAttr(arg2,arg3); |
| 6500 | |
| 6501 | wxPyEndAllowThreads(__tstate); |
| 6502 | if (PyErr_Occurred()) SWIG_fail; |
| 6503 | } |
| 6504 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6505 | return resultobj; |
| 6506 | fail: |
| 6507 | return NULL; |
| 6508 | } |
| 6509 | |
| 6510 | |
| 6511 | static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6512 | PyObject *resultobj; |
| 6513 | wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; |
| 6514 | wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; |
| 6515 | int arg3 ; |
| 6516 | PyObject * obj0 = 0 ; |
| 6517 | PyObject * obj1 = 0 ; |
| 6518 | char *kwnames[] = { |
| 6519 | (char *) "self",(char *) "attr",(char *) "col", NULL |
| 6520 | }; |
| 6521 | |
| 6522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail; |
| 6523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6524 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6525 | { |
| 6526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6527 | (arg1)->base_SetColAttr(arg2,arg3); |
| 6528 | |
| 6529 | wxPyEndAllowThreads(__tstate); |
| 6530 | if (PyErr_Occurred()) SWIG_fail; |
| 6531 | } |
| 6532 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6533 | return resultobj; |
| 6534 | fail: |
| 6535 | return NULL; |
| 6536 | } |
| 6537 | |
| 6538 | |
| 6539 | static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) { |
| 6540 | PyObject *obj; |
| 6541 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 6542 | SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj); |
| 6543 | Py_INCREF(obj); |
| 6544 | return Py_BuildValue((char *)""); |
| 6545 | } |
| 6546 | static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6547 | PyObject *resultobj; |
| 6548 | int arg1 = (int) 0 ; |
| 6549 | int arg2 = (int) 0 ; |
| 6550 | wxGridStringTable *result; |
| 6551 | char *kwnames[] = { |
| 6552 | (char *) "numRows",(char *) "numCols", NULL |
| 6553 | }; |
| 6554 | |
| 6555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridStringTable",kwnames,&arg1,&arg2)) goto fail; |
| 6556 | { |
| 6557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6558 | result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2); |
| 6559 | |
| 6560 | wxPyEndAllowThreads(__tstate); |
| 6561 | if (PyErr_Occurred()) SWIG_fail; |
| 6562 | } |
| 6563 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridStringTable, 1); |
| 6564 | return resultobj; |
| 6565 | fail: |
| 6566 | return NULL; |
| 6567 | } |
| 6568 | |
| 6569 | |
| 6570 | static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) { |
| 6571 | PyObject *obj; |
| 6572 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 6573 | SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj); |
| 6574 | Py_INCREF(obj); |
| 6575 | return Py_BuildValue((char *)""); |
| 6576 | } |
| 6577 | static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6578 | PyObject *resultobj; |
| 6579 | wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; |
| 6580 | int arg2 ; |
| 6581 | int arg3 = (int) -1 ; |
| 6582 | int arg4 = (int) -1 ; |
| 6583 | wxGridTableMessage *result; |
| 6584 | PyObject * obj0 = 0 ; |
| 6585 | char *kwnames[] = { |
| 6586 | (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL |
| 6587 | }; |
| 6588 | |
| 6589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:new_GridTableMessage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 6590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6591 | { |
| 6592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6593 | result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4); |
| 6594 | |
| 6595 | wxPyEndAllowThreads(__tstate); |
| 6596 | if (PyErr_Occurred()) SWIG_fail; |
| 6597 | } |
| 6598 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridTableMessage, 1); |
| 6599 | return resultobj; |
| 6600 | fail: |
| 6601 | return NULL; |
| 6602 | } |
| 6603 | |
| 6604 | |
| 6605 | static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6606 | PyObject *resultobj; |
| 6607 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6608 | PyObject * obj0 = 0 ; |
| 6609 | char *kwnames[] = { |
| 6610 | (char *) "self", NULL |
| 6611 | }; |
| 6612 | |
| 6613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail; |
| 6614 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6615 | { |
| 6616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6617 | delete arg1; |
| 6618 | |
| 6619 | wxPyEndAllowThreads(__tstate); |
| 6620 | if (PyErr_Occurred()) SWIG_fail; |
| 6621 | } |
| 6622 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6623 | return resultobj; |
| 6624 | fail: |
| 6625 | return NULL; |
| 6626 | } |
| 6627 | |
| 6628 | |
| 6629 | static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6630 | PyObject *resultobj; |
| 6631 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6632 | wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; |
| 6633 | PyObject * obj0 = 0 ; |
| 6634 | PyObject * obj1 = 0 ; |
| 6635 | char *kwnames[] = { |
| 6636 | (char *) "self",(char *) "table", NULL |
| 6637 | }; |
| 6638 | |
| 6639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail; |
| 6640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6641 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6642 | { |
| 6643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6644 | (arg1)->SetTableObject(arg2); |
| 6645 | |
| 6646 | wxPyEndAllowThreads(__tstate); |
| 6647 | if (PyErr_Occurred()) SWIG_fail; |
| 6648 | } |
| 6649 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6650 | return resultobj; |
| 6651 | fail: |
| 6652 | return NULL; |
| 6653 | } |
| 6654 | |
| 6655 | |
| 6656 | static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6657 | PyObject *resultobj; |
| 6658 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6659 | wxGridTableBase *result; |
| 6660 | PyObject * obj0 = 0 ; |
| 6661 | char *kwnames[] = { |
| 6662 | (char *) "self", NULL |
| 6663 | }; |
| 6664 | |
| 6665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail; |
| 6666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6667 | { |
| 6668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6669 | result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject(); |
| 6670 | |
| 6671 | wxPyEndAllowThreads(__tstate); |
| 6672 | if (PyErr_Occurred()) SWIG_fail; |
| 6673 | } |
| 6674 | { |
| 6675 | resultobj = wxPyMake_wxGridTableBase(result); |
| 6676 | } |
| 6677 | return resultobj; |
| 6678 | fail: |
| 6679 | return NULL; |
| 6680 | } |
| 6681 | |
| 6682 | |
| 6683 | static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6684 | PyObject *resultobj; |
| 6685 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6686 | int arg2 ; |
| 6687 | PyObject * obj0 = 0 ; |
| 6688 | char *kwnames[] = { |
| 6689 | (char *) "self",(char *) "id", NULL |
| 6690 | }; |
| 6691 | |
| 6692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetId",kwnames,&obj0,&arg2)) goto fail; |
| 6693 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6694 | { |
| 6695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6696 | (arg1)->SetId(arg2); |
| 6697 | |
| 6698 | wxPyEndAllowThreads(__tstate); |
| 6699 | if (PyErr_Occurred()) SWIG_fail; |
| 6700 | } |
| 6701 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6702 | return resultobj; |
| 6703 | fail: |
| 6704 | return NULL; |
| 6705 | } |
| 6706 | |
| 6707 | |
| 6708 | static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6709 | PyObject *resultobj; |
| 6710 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6711 | int result; |
| 6712 | PyObject * obj0 = 0 ; |
| 6713 | char *kwnames[] = { |
| 6714 | (char *) "self", NULL |
| 6715 | }; |
| 6716 | |
| 6717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail; |
| 6718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6719 | { |
| 6720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6721 | result = (int)(arg1)->GetId(); |
| 6722 | |
| 6723 | wxPyEndAllowThreads(__tstate); |
| 6724 | if (PyErr_Occurred()) SWIG_fail; |
| 6725 | } |
| 6726 | resultobj = PyInt_FromLong((long)result); |
| 6727 | return resultobj; |
| 6728 | fail: |
| 6729 | return NULL; |
| 6730 | } |
| 6731 | |
| 6732 | |
| 6733 | static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6734 | PyObject *resultobj; |
| 6735 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6736 | int arg2 ; |
| 6737 | PyObject * obj0 = 0 ; |
| 6738 | char *kwnames[] = { |
| 6739 | (char *) "self",(char *) "comInt1", NULL |
| 6740 | }; |
| 6741 | |
| 6742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames,&obj0,&arg2)) goto fail; |
| 6743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6744 | { |
| 6745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6746 | (arg1)->SetCommandInt(arg2); |
| 6747 | |
| 6748 | wxPyEndAllowThreads(__tstate); |
| 6749 | if (PyErr_Occurred()) SWIG_fail; |
| 6750 | } |
| 6751 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6752 | return resultobj; |
| 6753 | fail: |
| 6754 | return NULL; |
| 6755 | } |
| 6756 | |
| 6757 | |
| 6758 | static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6759 | PyObject *resultobj; |
| 6760 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6761 | int result; |
| 6762 | PyObject * obj0 = 0 ; |
| 6763 | char *kwnames[] = { |
| 6764 | (char *) "self", NULL |
| 6765 | }; |
| 6766 | |
| 6767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail; |
| 6768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6769 | { |
| 6770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6771 | result = (int)(arg1)->GetCommandInt(); |
| 6772 | |
| 6773 | wxPyEndAllowThreads(__tstate); |
| 6774 | if (PyErr_Occurred()) SWIG_fail; |
| 6775 | } |
| 6776 | resultobj = PyInt_FromLong((long)result); |
| 6777 | return resultobj; |
| 6778 | fail: |
| 6779 | return NULL; |
| 6780 | } |
| 6781 | |
| 6782 | |
| 6783 | static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6784 | PyObject *resultobj; |
| 6785 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6786 | int arg2 ; |
| 6787 | PyObject * obj0 = 0 ; |
| 6788 | char *kwnames[] = { |
| 6789 | (char *) "self",(char *) "comInt2", NULL |
| 6790 | }; |
| 6791 | |
| 6792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames,&obj0,&arg2)) goto fail; |
| 6793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6794 | { |
| 6795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6796 | (arg1)->SetCommandInt2(arg2); |
| 6797 | |
| 6798 | wxPyEndAllowThreads(__tstate); |
| 6799 | if (PyErr_Occurred()) SWIG_fail; |
| 6800 | } |
| 6801 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6802 | return resultobj; |
| 6803 | fail: |
| 6804 | return NULL; |
| 6805 | } |
| 6806 | |
| 6807 | |
| 6808 | static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6809 | PyObject *resultobj; |
| 6810 | wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; |
| 6811 | int result; |
| 6812 | PyObject * obj0 = 0 ; |
| 6813 | char *kwnames[] = { |
| 6814 | (char *) "self", NULL |
| 6815 | }; |
| 6816 | |
| 6817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail; |
| 6818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6819 | { |
| 6820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6821 | result = (int)(arg1)->GetCommandInt2(); |
| 6822 | |
| 6823 | wxPyEndAllowThreads(__tstate); |
| 6824 | if (PyErr_Occurred()) SWIG_fail; |
| 6825 | } |
| 6826 | resultobj = PyInt_FromLong((long)result); |
| 6827 | return resultobj; |
| 6828 | fail: |
| 6829 | return NULL; |
| 6830 | } |
| 6831 | |
| 6832 | |
| 6833 | static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) { |
| 6834 | PyObject *obj; |
| 6835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 6836 | SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj); |
| 6837 | Py_INCREF(obj); |
| 6838 | return Py_BuildValue((char *)""); |
| 6839 | } |
| 6840 | static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6841 | PyObject *resultobj; |
| 6842 | int arg1 = (int) -1 ; |
| 6843 | int arg2 = (int) -1 ; |
| 6844 | wxGridCellCoords *result; |
| 6845 | char *kwnames[] = { |
| 6846 | (char *) "r",(char *) "c", NULL |
| 6847 | }; |
| 6848 | |
| 6849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellCoords",kwnames,&arg1,&arg2)) goto fail; |
| 6850 | { |
| 6851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6852 | result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2); |
| 6853 | |
| 6854 | wxPyEndAllowThreads(__tstate); |
| 6855 | if (PyErr_Occurred()) SWIG_fail; |
| 6856 | } |
| 6857 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellCoords, 1); |
| 6858 | return resultobj; |
| 6859 | fail: |
| 6860 | return NULL; |
| 6861 | } |
| 6862 | |
| 6863 | |
| 6864 | static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6865 | PyObject *resultobj; |
| 6866 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6867 | PyObject * obj0 = 0 ; |
| 6868 | char *kwnames[] = { |
| 6869 | (char *) "self", NULL |
| 6870 | }; |
| 6871 | |
| 6872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail; |
| 6873 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6874 | { |
| 6875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6876 | delete arg1; |
| 6877 | |
| 6878 | wxPyEndAllowThreads(__tstate); |
| 6879 | if (PyErr_Occurred()) SWIG_fail; |
| 6880 | } |
| 6881 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6882 | return resultobj; |
| 6883 | fail: |
| 6884 | return NULL; |
| 6885 | } |
| 6886 | |
| 6887 | |
| 6888 | static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6889 | PyObject *resultobj; |
| 6890 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6891 | int result; |
| 6892 | PyObject * obj0 = 0 ; |
| 6893 | char *kwnames[] = { |
| 6894 | (char *) "self", NULL |
| 6895 | }; |
| 6896 | |
| 6897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail; |
| 6898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6899 | { |
| 6900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6901 | result = (int)((wxGridCellCoords const *)arg1)->GetRow(); |
| 6902 | |
| 6903 | wxPyEndAllowThreads(__tstate); |
| 6904 | if (PyErr_Occurred()) SWIG_fail; |
| 6905 | } |
| 6906 | resultobj = PyInt_FromLong((long)result); |
| 6907 | return resultobj; |
| 6908 | fail: |
| 6909 | return NULL; |
| 6910 | } |
| 6911 | |
| 6912 | |
| 6913 | static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6914 | PyObject *resultobj; |
| 6915 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6916 | int arg2 ; |
| 6917 | PyObject * obj0 = 0 ; |
| 6918 | char *kwnames[] = { |
| 6919 | (char *) "self",(char *) "n", NULL |
| 6920 | }; |
| 6921 | |
| 6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetRow",kwnames,&obj0,&arg2)) goto fail; |
| 6923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6924 | { |
| 6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6926 | (arg1)->SetRow(arg2); |
| 6927 | |
| 6928 | wxPyEndAllowThreads(__tstate); |
| 6929 | if (PyErr_Occurred()) SWIG_fail; |
| 6930 | } |
| 6931 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6932 | return resultobj; |
| 6933 | fail: |
| 6934 | return NULL; |
| 6935 | } |
| 6936 | |
| 6937 | |
| 6938 | static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6939 | PyObject *resultobj; |
| 6940 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6941 | int result; |
| 6942 | PyObject * obj0 = 0 ; |
| 6943 | char *kwnames[] = { |
| 6944 | (char *) "self", NULL |
| 6945 | }; |
| 6946 | |
| 6947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail; |
| 6948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6949 | { |
| 6950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6951 | result = (int)((wxGridCellCoords const *)arg1)->GetCol(); |
| 6952 | |
| 6953 | wxPyEndAllowThreads(__tstate); |
| 6954 | if (PyErr_Occurred()) SWIG_fail; |
| 6955 | } |
| 6956 | resultobj = PyInt_FromLong((long)result); |
| 6957 | return resultobj; |
| 6958 | fail: |
| 6959 | return NULL; |
| 6960 | } |
| 6961 | |
| 6962 | |
| 6963 | static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6964 | PyObject *resultobj; |
| 6965 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6966 | int arg2 ; |
| 6967 | PyObject * obj0 = 0 ; |
| 6968 | char *kwnames[] = { |
| 6969 | (char *) "self",(char *) "n", NULL |
| 6970 | }; |
| 6971 | |
| 6972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetCol",kwnames,&obj0,&arg2)) goto fail; |
| 6973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 6974 | { |
| 6975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6976 | (arg1)->SetCol(arg2); |
| 6977 | |
| 6978 | wxPyEndAllowThreads(__tstate); |
| 6979 | if (PyErr_Occurred()) SWIG_fail; |
| 6980 | } |
| 6981 | Py_INCREF(Py_None); resultobj = Py_None; |
| 6982 | return resultobj; |
| 6983 | fail: |
| 6984 | return NULL; |
| 6985 | } |
| 6986 | |
| 6987 | |
| 6988 | static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 6989 | PyObject *resultobj; |
| 6990 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 6991 | int arg2 ; |
| 6992 | int arg3 ; |
| 6993 | PyObject * obj0 = 0 ; |
| 6994 | char *kwnames[] = { |
| 6995 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 6996 | }; |
| 6997 | |
| 6998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellCoords_Set",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 6999 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7000 | { |
| 7001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7002 | (arg1)->Set(arg2,arg3); |
| 7003 | |
| 7004 | wxPyEndAllowThreads(__tstate); |
| 7005 | if (PyErr_Occurred()) SWIG_fail; |
| 7006 | } |
| 7007 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7008 | return resultobj; |
| 7009 | fail: |
| 7010 | return NULL; |
| 7011 | } |
| 7012 | |
| 7013 | |
| 7014 | static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7015 | PyObject *resultobj; |
| 7016 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 7017 | wxGridCellCoords *arg2 = 0 ; |
| 7018 | bool result; |
| 7019 | PyObject * obj0 = 0 ; |
| 7020 | PyObject * obj1 = 0 ; |
| 7021 | char *kwnames[] = { |
| 7022 | (char *) "self",(char *) "other", NULL |
| 7023 | }; |
| 7024 | |
| 7025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail; |
| 7026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7027 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7028 | if (arg2 == NULL) { |
| 7029 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7030 | } |
| 7031 | { |
| 7032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7033 | result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2); |
| 7034 | |
| 7035 | wxPyEndAllowThreads(__tstate); |
| 7036 | if (PyErr_Occurred()) SWIG_fail; |
| 7037 | } |
| 7038 | resultobj = PyInt_FromLong((long)result); |
| 7039 | return resultobj; |
| 7040 | fail: |
| 7041 | return NULL; |
| 7042 | } |
| 7043 | |
| 7044 | |
| 7045 | static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7046 | PyObject *resultobj; |
| 7047 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 7048 | wxGridCellCoords *arg2 = 0 ; |
| 7049 | bool result; |
| 7050 | PyObject * obj0 = 0 ; |
| 7051 | PyObject * obj1 = 0 ; |
| 7052 | char *kwnames[] = { |
| 7053 | (char *) "self",(char *) "other", NULL |
| 7054 | }; |
| 7055 | |
| 7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail; |
| 7057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7058 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7059 | if (arg2 == NULL) { |
| 7060 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7061 | } |
| 7062 | { |
| 7063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7064 | result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2); |
| 7065 | |
| 7066 | wxPyEndAllowThreads(__tstate); |
| 7067 | if (PyErr_Occurred()) SWIG_fail; |
| 7068 | } |
| 7069 | resultobj = PyInt_FromLong((long)result); |
| 7070 | return resultobj; |
| 7071 | fail: |
| 7072 | return NULL; |
| 7073 | } |
| 7074 | |
| 7075 | |
| 7076 | static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7077 | PyObject *resultobj; |
| 7078 | wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; |
| 7079 | PyObject *result; |
| 7080 | PyObject * obj0 = 0 ; |
| 7081 | char *kwnames[] = { |
| 7082 | (char *) "self", NULL |
| 7083 | }; |
| 7084 | |
| 7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail; |
| 7086 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7087 | { |
| 7088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7089 | result = (PyObject *)wxGridCellCoords_asTuple(arg1); |
| 7090 | |
| 7091 | wxPyEndAllowThreads(__tstate); |
| 7092 | if (PyErr_Occurred()) SWIG_fail; |
| 7093 | } |
| 7094 | resultobj = result; |
| 7095 | return resultobj; |
| 7096 | fail: |
| 7097 | return NULL; |
| 7098 | } |
| 7099 | |
| 7100 | |
| 7101 | static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) { |
| 7102 | PyObject *obj; |
| 7103 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 7104 | SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj); |
| 7105 | Py_INCREF(obj); |
| 7106 | return Py_BuildValue((char *)""); |
| 7107 | } |
| 7108 | static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7109 | PyObject *resultobj; |
| 7110 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 7111 | int arg2 ; |
| 7112 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
| 7113 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
| 7114 | wxSize const &arg4_defvalue = wxDefaultSize ; |
| 7115 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
| 7116 | long arg5 = (long) wxWANTS_CHARS ; |
| 7117 | wxString const &arg6_defvalue = wxPyPanelNameStr ; |
| 7118 | wxString *arg6 = (wxString *) &arg6_defvalue ; |
| 7119 | wxGrid *result; |
| 7120 | wxPoint temp3 ; |
| 7121 | wxSize temp4 ; |
| 7122 | bool temp6 = False ; |
| 7123 | PyObject * obj0 = 0 ; |
| 7124 | PyObject * obj2 = 0 ; |
| 7125 | PyObject * obj3 = 0 ; |
| 7126 | PyObject * obj5 = 0 ; |
| 7127 | char *kwnames[] = { |
| 7128 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 7129 | }; |
| 7130 | |
| 7131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Grid",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; |
| 7132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7133 | if (obj2) { |
| 7134 | { |
| 7135 | arg3 = &temp3; |
| 7136 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
| 7137 | } |
| 7138 | } |
| 7139 | if (obj3) { |
| 7140 | { |
| 7141 | arg4 = &temp4; |
| 7142 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
| 7143 | } |
| 7144 | } |
| 7145 | if (obj5) { |
| 7146 | { |
| 7147 | arg6 = wxString_in_helper(obj5); |
| 7148 | if (arg6 == NULL) SWIG_fail; |
| 7149 | temp6 = True; |
| 7150 | } |
| 7151 | } |
| 7152 | { |
| 7153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7154 | result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
| 7155 | |
| 7156 | wxPyEndAllowThreads(__tstate); |
| 7157 | if (PyErr_Occurred()) SWIG_fail; |
| 7158 | } |
| 7159 | { |
| 7160 | resultobj = wxPyMake_wxObject(result); |
| 7161 | } |
| 7162 | { |
| 7163 | if (temp6) |
| 7164 | delete arg6; |
| 7165 | } |
| 7166 | return resultobj; |
| 7167 | fail: |
| 7168 | { |
| 7169 | if (temp6) |
| 7170 | delete arg6; |
| 7171 | } |
| 7172 | return NULL; |
| 7173 | } |
| 7174 | |
| 7175 | |
| 7176 | static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7177 | PyObject *resultobj; |
| 7178 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7179 | int arg2 ; |
| 7180 | int arg3 ; |
| 7181 | WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ; |
| 7182 | bool result; |
| 7183 | PyObject * obj0 = 0 ; |
| 7184 | char *kwnames[] = { |
| 7185 | (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL |
| 7186 | }; |
| 7187 | |
| 7188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Grid_CreateGrid",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 7189 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7190 | { |
| 7191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7192 | result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4); |
| 7193 | |
| 7194 | wxPyEndAllowThreads(__tstate); |
| 7195 | if (PyErr_Occurred()) SWIG_fail; |
| 7196 | } |
| 7197 | resultobj = PyInt_FromLong((long)result); |
| 7198 | return resultobj; |
| 7199 | fail: |
| 7200 | return NULL; |
| 7201 | } |
| 7202 | |
| 7203 | |
| 7204 | static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7205 | PyObject *resultobj; |
| 7206 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7207 | WXGRIDSELECTIONMODES arg2 ; |
| 7208 | PyObject * obj0 = 0 ; |
| 7209 | char *kwnames[] = { |
| 7210 | (char *) "self",(char *) "selmode", NULL |
| 7211 | }; |
| 7212 | |
| 7213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetSelectionMode",kwnames,&obj0,&arg2)) goto fail; |
| 7214 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7215 | { |
| 7216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7217 | (arg1)->SetSelectionMode(arg2); |
| 7218 | |
| 7219 | wxPyEndAllowThreads(__tstate); |
| 7220 | if (PyErr_Occurred()) SWIG_fail; |
| 7221 | } |
| 7222 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7223 | return resultobj; |
| 7224 | fail: |
| 7225 | return NULL; |
| 7226 | } |
| 7227 | |
| 7228 | |
| 7229 | static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7230 | PyObject *resultobj; |
| 7231 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7232 | WXGRIDSELECTIONMODES result; |
| 7233 | PyObject * obj0 = 0 ; |
| 7234 | char *kwnames[] = { |
| 7235 | (char *) "self", NULL |
| 7236 | }; |
| 7237 | |
| 7238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail; |
| 7239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7240 | { |
| 7241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7242 | result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode(); |
| 7243 | |
| 7244 | wxPyEndAllowThreads(__tstate); |
| 7245 | if (PyErr_Occurred()) SWIG_fail; |
| 7246 | } |
| 7247 | resultobj = PyInt_FromLong((long)result); |
| 7248 | return resultobj; |
| 7249 | fail: |
| 7250 | return NULL; |
| 7251 | } |
| 7252 | |
| 7253 | |
| 7254 | static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7255 | PyObject *resultobj; |
| 7256 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7257 | int result; |
| 7258 | PyObject * obj0 = 0 ; |
| 7259 | char *kwnames[] = { |
| 7260 | (char *) "self", NULL |
| 7261 | }; |
| 7262 | |
| 7263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail; |
| 7264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7265 | { |
| 7266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7267 | result = (int)(arg1)->GetNumberRows(); |
| 7268 | |
| 7269 | wxPyEndAllowThreads(__tstate); |
| 7270 | if (PyErr_Occurred()) SWIG_fail; |
| 7271 | } |
| 7272 | resultobj = PyInt_FromLong((long)result); |
| 7273 | return resultobj; |
| 7274 | fail: |
| 7275 | return NULL; |
| 7276 | } |
| 7277 | |
| 7278 | |
| 7279 | static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7280 | PyObject *resultobj; |
| 7281 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7282 | int result; |
| 7283 | PyObject * obj0 = 0 ; |
| 7284 | char *kwnames[] = { |
| 7285 | (char *) "self", NULL |
| 7286 | }; |
| 7287 | |
| 7288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail; |
| 7289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7290 | { |
| 7291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7292 | result = (int)(arg1)->GetNumberCols(); |
| 7293 | |
| 7294 | wxPyEndAllowThreads(__tstate); |
| 7295 | if (PyErr_Occurred()) SWIG_fail; |
| 7296 | } |
| 7297 | resultobj = PyInt_FromLong((long)result); |
| 7298 | return resultobj; |
| 7299 | fail: |
| 7300 | return NULL; |
| 7301 | } |
| 7302 | |
| 7303 | |
| 7304 | static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7305 | PyObject *resultobj; |
| 7306 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7307 | wxGridTableMessage *arg2 = 0 ; |
| 7308 | bool result; |
| 7309 | PyObject * obj0 = 0 ; |
| 7310 | PyObject * obj1 = 0 ; |
| 7311 | char *kwnames[] = { |
| 7312 | (char *) "self","arg2", NULL |
| 7313 | }; |
| 7314 | |
| 7315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail; |
| 7316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7317 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7318 | if (arg2 == NULL) { |
| 7319 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7320 | } |
| 7321 | { |
| 7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7323 | result = (bool)(arg1)->ProcessTableMessage(*arg2); |
| 7324 | |
| 7325 | wxPyEndAllowThreads(__tstate); |
| 7326 | if (PyErr_Occurred()) SWIG_fail; |
| 7327 | } |
| 7328 | resultobj = PyInt_FromLong((long)result); |
| 7329 | return resultobj; |
| 7330 | fail: |
| 7331 | return NULL; |
| 7332 | } |
| 7333 | |
| 7334 | |
| 7335 | static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7336 | PyObject *resultobj; |
| 7337 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7338 | wxGridTableBase *result; |
| 7339 | PyObject * obj0 = 0 ; |
| 7340 | char *kwnames[] = { |
| 7341 | (char *) "self", NULL |
| 7342 | }; |
| 7343 | |
| 7344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail; |
| 7345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7346 | { |
| 7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7348 | result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable(); |
| 7349 | |
| 7350 | wxPyEndAllowThreads(__tstate); |
| 7351 | if (PyErr_Occurred()) SWIG_fail; |
| 7352 | } |
| 7353 | { |
| 7354 | resultobj = wxPyMake_wxGridTableBase(result); |
| 7355 | } |
| 7356 | return resultobj; |
| 7357 | fail: |
| 7358 | return NULL; |
| 7359 | } |
| 7360 | |
| 7361 | |
| 7362 | static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7363 | PyObject *resultobj; |
| 7364 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7365 | wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; |
| 7366 | bool arg3 = (bool) False ; |
| 7367 | WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ; |
| 7368 | bool result; |
| 7369 | PyObject * obj0 = 0 ; |
| 7370 | PyObject * obj1 = 0 ; |
| 7371 | PyObject * obj2 = 0 ; |
| 7372 | char *kwnames[] = { |
| 7373 | (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL |
| 7374 | }; |
| 7375 | |
| 7376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|Oi:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; |
| 7377 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7378 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7379 | if (obj2) { |
| 7380 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 7381 | if (PyErr_Occurred()) SWIG_fail; |
| 7382 | } |
| 7383 | { |
| 7384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7385 | result = (bool)(arg1)->SetTable(arg2,arg3,arg4); |
| 7386 | |
| 7387 | wxPyEndAllowThreads(__tstate); |
| 7388 | if (PyErr_Occurred()) SWIG_fail; |
| 7389 | } |
| 7390 | resultobj = PyInt_FromLong((long)result); |
| 7391 | return resultobj; |
| 7392 | fail: |
| 7393 | return NULL; |
| 7394 | } |
| 7395 | |
| 7396 | |
| 7397 | static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7398 | PyObject *resultobj; |
| 7399 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7400 | PyObject * obj0 = 0 ; |
| 7401 | char *kwnames[] = { |
| 7402 | (char *) "self", NULL |
| 7403 | }; |
| 7404 | |
| 7405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail; |
| 7406 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7407 | { |
| 7408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7409 | (arg1)->ClearGrid(); |
| 7410 | |
| 7411 | wxPyEndAllowThreads(__tstate); |
| 7412 | if (PyErr_Occurred()) SWIG_fail; |
| 7413 | } |
| 7414 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7415 | return resultobj; |
| 7416 | fail: |
| 7417 | return NULL; |
| 7418 | } |
| 7419 | |
| 7420 | |
| 7421 | static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7422 | PyObject *resultobj; |
| 7423 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7424 | int arg2 = (int) 0 ; |
| 7425 | int arg3 = (int) 1 ; |
| 7426 | bool arg4 = (bool) True ; |
| 7427 | bool result; |
| 7428 | PyObject * obj0 = 0 ; |
| 7429 | PyObject * obj3 = 0 ; |
| 7430 | char *kwnames[] = { |
| 7431 | (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL |
| 7432 | }; |
| 7433 | |
| 7434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 7435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7436 | if (obj3) { |
| 7437 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 7438 | if (PyErr_Occurred()) SWIG_fail; |
| 7439 | } |
| 7440 | { |
| 7441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7442 | result = (bool)(arg1)->InsertRows(arg2,arg3,arg4); |
| 7443 | |
| 7444 | wxPyEndAllowThreads(__tstate); |
| 7445 | if (PyErr_Occurred()) SWIG_fail; |
| 7446 | } |
| 7447 | resultobj = PyInt_FromLong((long)result); |
| 7448 | return resultobj; |
| 7449 | fail: |
| 7450 | return NULL; |
| 7451 | } |
| 7452 | |
| 7453 | |
| 7454 | static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7455 | PyObject *resultobj; |
| 7456 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7457 | int arg2 = (int) 1 ; |
| 7458 | bool arg3 = (bool) True ; |
| 7459 | bool result; |
| 7460 | PyObject * obj0 = 0 ; |
| 7461 | PyObject * obj2 = 0 ; |
| 7462 | char *kwnames[] = { |
| 7463 | (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL |
| 7464 | }; |
| 7465 | |
| 7466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendRows",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 7467 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7468 | if (obj2) { |
| 7469 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 7470 | if (PyErr_Occurred()) SWIG_fail; |
| 7471 | } |
| 7472 | { |
| 7473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7474 | result = (bool)(arg1)->AppendRows(arg2,arg3); |
| 7475 | |
| 7476 | wxPyEndAllowThreads(__tstate); |
| 7477 | if (PyErr_Occurred()) SWIG_fail; |
| 7478 | } |
| 7479 | resultobj = PyInt_FromLong((long)result); |
| 7480 | return resultobj; |
| 7481 | fail: |
| 7482 | return NULL; |
| 7483 | } |
| 7484 | |
| 7485 | |
| 7486 | static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7487 | PyObject *resultobj; |
| 7488 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7489 | int arg2 = (int) 0 ; |
| 7490 | int arg3 = (int) 1 ; |
| 7491 | bool arg4 = (bool) True ; |
| 7492 | bool result; |
| 7493 | PyObject * obj0 = 0 ; |
| 7494 | PyObject * obj3 = 0 ; |
| 7495 | char *kwnames[] = { |
| 7496 | (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL |
| 7497 | }; |
| 7498 | |
| 7499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 7500 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7501 | if (obj3) { |
| 7502 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 7503 | if (PyErr_Occurred()) SWIG_fail; |
| 7504 | } |
| 7505 | { |
| 7506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7507 | result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4); |
| 7508 | |
| 7509 | wxPyEndAllowThreads(__tstate); |
| 7510 | if (PyErr_Occurred()) SWIG_fail; |
| 7511 | } |
| 7512 | resultobj = PyInt_FromLong((long)result); |
| 7513 | return resultobj; |
| 7514 | fail: |
| 7515 | return NULL; |
| 7516 | } |
| 7517 | |
| 7518 | |
| 7519 | static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7520 | PyObject *resultobj; |
| 7521 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7522 | int arg2 = (int) 0 ; |
| 7523 | int arg3 = (int) 1 ; |
| 7524 | bool arg4 = (bool) True ; |
| 7525 | bool result; |
| 7526 | PyObject * obj0 = 0 ; |
| 7527 | PyObject * obj3 = 0 ; |
| 7528 | char *kwnames[] = { |
| 7529 | (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL |
| 7530 | }; |
| 7531 | |
| 7532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 7533 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7534 | if (obj3) { |
| 7535 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 7536 | if (PyErr_Occurred()) SWIG_fail; |
| 7537 | } |
| 7538 | { |
| 7539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7540 | result = (bool)(arg1)->InsertCols(arg2,arg3,arg4); |
| 7541 | |
| 7542 | wxPyEndAllowThreads(__tstate); |
| 7543 | if (PyErr_Occurred()) SWIG_fail; |
| 7544 | } |
| 7545 | resultobj = PyInt_FromLong((long)result); |
| 7546 | return resultobj; |
| 7547 | fail: |
| 7548 | return NULL; |
| 7549 | } |
| 7550 | |
| 7551 | |
| 7552 | static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7553 | PyObject *resultobj; |
| 7554 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7555 | int arg2 = (int) 1 ; |
| 7556 | bool arg3 = (bool) True ; |
| 7557 | bool result; |
| 7558 | PyObject * obj0 = 0 ; |
| 7559 | PyObject * obj2 = 0 ; |
| 7560 | char *kwnames[] = { |
| 7561 | (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL |
| 7562 | }; |
| 7563 | |
| 7564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendCols",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 7565 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7566 | if (obj2) { |
| 7567 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 7568 | if (PyErr_Occurred()) SWIG_fail; |
| 7569 | } |
| 7570 | { |
| 7571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7572 | result = (bool)(arg1)->AppendCols(arg2,arg3); |
| 7573 | |
| 7574 | wxPyEndAllowThreads(__tstate); |
| 7575 | if (PyErr_Occurred()) SWIG_fail; |
| 7576 | } |
| 7577 | resultobj = PyInt_FromLong((long)result); |
| 7578 | return resultobj; |
| 7579 | fail: |
| 7580 | return NULL; |
| 7581 | } |
| 7582 | |
| 7583 | |
| 7584 | static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7585 | PyObject *resultobj; |
| 7586 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7587 | int arg2 = (int) 0 ; |
| 7588 | int arg3 = (int) 1 ; |
| 7589 | bool arg4 = (bool) True ; |
| 7590 | bool result; |
| 7591 | PyObject * obj0 = 0 ; |
| 7592 | PyObject * obj3 = 0 ; |
| 7593 | char *kwnames[] = { |
| 7594 | (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL |
| 7595 | }; |
| 7596 | |
| 7597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 7598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7599 | if (obj3) { |
| 7600 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 7601 | if (PyErr_Occurred()) SWIG_fail; |
| 7602 | } |
| 7603 | { |
| 7604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7605 | result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4); |
| 7606 | |
| 7607 | wxPyEndAllowThreads(__tstate); |
| 7608 | if (PyErr_Occurred()) SWIG_fail; |
| 7609 | } |
| 7610 | resultobj = PyInt_FromLong((long)result); |
| 7611 | return resultobj; |
| 7612 | fail: |
| 7613 | return NULL; |
| 7614 | } |
| 7615 | |
| 7616 | |
| 7617 | static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7618 | PyObject *resultobj; |
| 7619 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7620 | wxDC *arg2 = 0 ; |
| 7621 | wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; |
| 7622 | PyObject * obj0 = 0 ; |
| 7623 | PyObject * obj1 = 0 ; |
| 7624 | PyObject * obj2 = 0 ; |
| 7625 | char *kwnames[] = { |
| 7626 | (char *) "self",(char *) "dc",(char *) "attr", NULL |
| 7627 | }; |
| 7628 | |
| 7629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 7630 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7631 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7632 | if (arg2 == NULL) { |
| 7633 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7634 | } |
| 7635 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7636 | { |
| 7637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7638 | (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3); |
| 7639 | |
| 7640 | wxPyEndAllowThreads(__tstate); |
| 7641 | if (PyErr_Occurred()) SWIG_fail; |
| 7642 | } |
| 7643 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7644 | return resultobj; |
| 7645 | fail: |
| 7646 | return NULL; |
| 7647 | } |
| 7648 | |
| 7649 | |
| 7650 | static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7651 | PyObject *resultobj; |
| 7652 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7653 | wxDC *arg2 = 0 ; |
| 7654 | wxString *arg3 = 0 ; |
| 7655 | wxRect *arg4 = 0 ; |
| 7656 | int arg5 = (int) wxLEFT ; |
| 7657 | int arg6 = (int) wxTOP ; |
| 7658 | int arg7 = (int) wxHORIZONTAL ; |
| 7659 | bool temp3 = False ; |
| 7660 | wxRect temp4 ; |
| 7661 | PyObject * obj0 = 0 ; |
| 7662 | PyObject * obj1 = 0 ; |
| 7663 | PyObject * obj2 = 0 ; |
| 7664 | PyObject * obj3 = 0 ; |
| 7665 | char *kwnames[] = { |
| 7666 | (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL |
| 7667 | }; |
| 7668 | |
| 7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&arg7)) goto fail; |
| 7670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7671 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7672 | if (arg2 == NULL) { |
| 7673 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7674 | } |
| 7675 | { |
| 7676 | arg3 = wxString_in_helper(obj2); |
| 7677 | if (arg3 == NULL) SWIG_fail; |
| 7678 | temp3 = True; |
| 7679 | } |
| 7680 | { |
| 7681 | arg4 = &temp4; |
| 7682 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; |
| 7683 | } |
| 7684 | { |
| 7685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7686 | (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7); |
| 7687 | |
| 7688 | wxPyEndAllowThreads(__tstate); |
| 7689 | if (PyErr_Occurred()) SWIG_fail; |
| 7690 | } |
| 7691 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7692 | { |
| 7693 | if (temp3) |
| 7694 | delete arg3; |
| 7695 | } |
| 7696 | return resultobj; |
| 7697 | fail: |
| 7698 | { |
| 7699 | if (temp3) |
| 7700 | delete arg3; |
| 7701 | } |
| 7702 | return NULL; |
| 7703 | } |
| 7704 | |
| 7705 | |
| 7706 | static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7707 | PyObject *resultobj; |
| 7708 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7709 | wxDC *arg2 = 0 ; |
| 7710 | wxArrayString *arg3 = 0 ; |
| 7711 | long *arg4 = (long *) 0 ; |
| 7712 | long *arg5 = (long *) 0 ; |
| 7713 | long temp4 ; |
| 7714 | long temp5 ; |
| 7715 | PyObject * obj0 = 0 ; |
| 7716 | PyObject * obj1 = 0 ; |
| 7717 | PyObject * obj2 = 0 ; |
| 7718 | char *kwnames[] = { |
| 7719 | (char *) "self",(char *) "dc",(char *) "lines", NULL |
| 7720 | }; |
| 7721 | |
| 7722 | arg4 = &temp4; |
| 7723 | arg5 = &temp5; |
| 7724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 7725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7726 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7727 | if (arg2 == NULL) { |
| 7728 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 7729 | } |
| 7730 | { |
| 7731 | if (! PySequence_Check(obj2)) { |
| 7732 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); |
| 7733 | SWIG_fail; |
| 7734 | } |
| 7735 | arg3 = new wxArrayString; |
| 7736 | int i, len=PySequence_Length(obj2); |
| 7737 | for (i=0; i<len; i++) { |
| 7738 | PyObject* item = PySequence_GetItem(obj2, i); |
| 7739 | #if wxUSE_UNICODE |
| 7740 | PyObject* str = PyObject_Unicode(item); |
| 7741 | #else |
| 7742 | PyObject* str = PyObject_Str(item); |
| 7743 | #endif |
| 7744 | arg3->Add(Py2wxString(str)); |
| 7745 | Py_DECREF(item); |
| 7746 | Py_DECREF(str); |
| 7747 | } |
| 7748 | } |
| 7749 | { |
| 7750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7751 | (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5); |
| 7752 | |
| 7753 | wxPyEndAllowThreads(__tstate); |
| 7754 | if (PyErr_Occurred()) SWIG_fail; |
| 7755 | } |
| 7756 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7757 | { |
| 7758 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
| 7759 | resultobj = t_output_helper(resultobj,o); |
| 7760 | } |
| 7761 | { |
| 7762 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
| 7763 | resultobj = t_output_helper(resultobj,o); |
| 7764 | } |
| 7765 | { |
| 7766 | if (arg3) delete arg3; |
| 7767 | } |
| 7768 | return resultobj; |
| 7769 | fail: |
| 7770 | { |
| 7771 | if (arg3) delete arg3; |
| 7772 | } |
| 7773 | return NULL; |
| 7774 | } |
| 7775 | |
| 7776 | |
| 7777 | static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7778 | PyObject *resultobj; |
| 7779 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7780 | PyObject * obj0 = 0 ; |
| 7781 | char *kwnames[] = { |
| 7782 | (char *) "self", NULL |
| 7783 | }; |
| 7784 | |
| 7785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail; |
| 7786 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7787 | { |
| 7788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7789 | (arg1)->BeginBatch(); |
| 7790 | |
| 7791 | wxPyEndAllowThreads(__tstate); |
| 7792 | if (PyErr_Occurred()) SWIG_fail; |
| 7793 | } |
| 7794 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7795 | return resultobj; |
| 7796 | fail: |
| 7797 | return NULL; |
| 7798 | } |
| 7799 | |
| 7800 | |
| 7801 | static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7802 | PyObject *resultobj; |
| 7803 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7804 | PyObject * obj0 = 0 ; |
| 7805 | char *kwnames[] = { |
| 7806 | (char *) "self", NULL |
| 7807 | }; |
| 7808 | |
| 7809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail; |
| 7810 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7811 | { |
| 7812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7813 | (arg1)->EndBatch(); |
| 7814 | |
| 7815 | wxPyEndAllowThreads(__tstate); |
| 7816 | if (PyErr_Occurred()) SWIG_fail; |
| 7817 | } |
| 7818 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7819 | return resultobj; |
| 7820 | fail: |
| 7821 | return NULL; |
| 7822 | } |
| 7823 | |
| 7824 | |
| 7825 | static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7826 | PyObject *resultobj; |
| 7827 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7828 | int result; |
| 7829 | PyObject * obj0 = 0 ; |
| 7830 | char *kwnames[] = { |
| 7831 | (char *) "self", NULL |
| 7832 | }; |
| 7833 | |
| 7834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail; |
| 7835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7836 | { |
| 7837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7838 | result = (int)(arg1)->GetBatchCount(); |
| 7839 | |
| 7840 | wxPyEndAllowThreads(__tstate); |
| 7841 | if (PyErr_Occurred()) SWIG_fail; |
| 7842 | } |
| 7843 | resultobj = PyInt_FromLong((long)result); |
| 7844 | return resultobj; |
| 7845 | fail: |
| 7846 | return NULL; |
| 7847 | } |
| 7848 | |
| 7849 | |
| 7850 | static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7851 | PyObject *resultobj; |
| 7852 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7853 | PyObject * obj0 = 0 ; |
| 7854 | char *kwnames[] = { |
| 7855 | (char *) "self", NULL |
| 7856 | }; |
| 7857 | |
| 7858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail; |
| 7859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7860 | { |
| 7861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7862 | (arg1)->ForceRefresh(); |
| 7863 | |
| 7864 | wxPyEndAllowThreads(__tstate); |
| 7865 | if (PyErr_Occurred()) SWIG_fail; |
| 7866 | } |
| 7867 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7868 | return resultobj; |
| 7869 | fail: |
| 7870 | return NULL; |
| 7871 | } |
| 7872 | |
| 7873 | |
| 7874 | static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7875 | PyObject *resultobj; |
| 7876 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7877 | bool arg2 = (bool) True ; |
| 7878 | wxRect *arg3 = (wxRect *) NULL ; |
| 7879 | PyObject * obj0 = 0 ; |
| 7880 | PyObject * obj1 = 0 ; |
| 7881 | PyObject * obj2 = 0 ; |
| 7882 | char *kwnames[] = { |
| 7883 | (char *) "self",(char *) "eraseb",(char *) "rect", NULL |
| 7884 | }; |
| 7885 | |
| 7886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 7887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7888 | if (obj1) { |
| 7889 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 7890 | if (PyErr_Occurred()) SWIG_fail; |
| 7891 | } |
| 7892 | if (obj2) { |
| 7893 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7894 | } |
| 7895 | { |
| 7896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7897 | (arg1)->Refresh(arg2,(wxRect const *)arg3); |
| 7898 | |
| 7899 | wxPyEndAllowThreads(__tstate); |
| 7900 | if (PyErr_Occurred()) SWIG_fail; |
| 7901 | } |
| 7902 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7903 | return resultobj; |
| 7904 | fail: |
| 7905 | return NULL; |
| 7906 | } |
| 7907 | |
| 7908 | |
| 7909 | static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7910 | PyObject *resultobj; |
| 7911 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7912 | bool result; |
| 7913 | PyObject * obj0 = 0 ; |
| 7914 | char *kwnames[] = { |
| 7915 | (char *) "self", NULL |
| 7916 | }; |
| 7917 | |
| 7918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail; |
| 7919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7920 | { |
| 7921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7922 | result = (bool)(arg1)->IsEditable(); |
| 7923 | |
| 7924 | wxPyEndAllowThreads(__tstate); |
| 7925 | if (PyErr_Occurred()) SWIG_fail; |
| 7926 | } |
| 7927 | resultobj = PyInt_FromLong((long)result); |
| 7928 | return resultobj; |
| 7929 | fail: |
| 7930 | return NULL; |
| 7931 | } |
| 7932 | |
| 7933 | |
| 7934 | static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7935 | PyObject *resultobj; |
| 7936 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7937 | bool arg2 ; |
| 7938 | PyObject * obj0 = 0 ; |
| 7939 | PyObject * obj1 = 0 ; |
| 7940 | char *kwnames[] = { |
| 7941 | (char *) "self",(char *) "edit", NULL |
| 7942 | }; |
| 7943 | |
| 7944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail; |
| 7945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7946 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 7947 | if (PyErr_Occurred()) SWIG_fail; |
| 7948 | { |
| 7949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7950 | (arg1)->EnableEditing(arg2); |
| 7951 | |
| 7952 | wxPyEndAllowThreads(__tstate); |
| 7953 | if (PyErr_Occurred()) SWIG_fail; |
| 7954 | } |
| 7955 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7956 | return resultobj; |
| 7957 | fail: |
| 7958 | return NULL; |
| 7959 | } |
| 7960 | |
| 7961 | |
| 7962 | static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7963 | PyObject *resultobj; |
| 7964 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7965 | bool arg2 = (bool) True ; |
| 7966 | PyObject * obj0 = 0 ; |
| 7967 | PyObject * obj1 = 0 ; |
| 7968 | char *kwnames[] = { |
| 7969 | (char *) "self",(char *) "enable", NULL |
| 7970 | }; |
| 7971 | |
| 7972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail; |
| 7973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 7974 | if (obj1) { |
| 7975 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 7976 | if (PyErr_Occurred()) SWIG_fail; |
| 7977 | } |
| 7978 | { |
| 7979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7980 | (arg1)->EnableCellEditControl(arg2); |
| 7981 | |
| 7982 | wxPyEndAllowThreads(__tstate); |
| 7983 | if (PyErr_Occurred()) SWIG_fail; |
| 7984 | } |
| 7985 | Py_INCREF(Py_None); resultobj = Py_None; |
| 7986 | return resultobj; |
| 7987 | fail: |
| 7988 | return NULL; |
| 7989 | } |
| 7990 | |
| 7991 | |
| 7992 | static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 7993 | PyObject *resultobj; |
| 7994 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 7995 | PyObject * obj0 = 0 ; |
| 7996 | char *kwnames[] = { |
| 7997 | (char *) "self", NULL |
| 7998 | }; |
| 7999 | |
| 8000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail; |
| 8001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8002 | { |
| 8003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8004 | (arg1)->DisableCellEditControl(); |
| 8005 | |
| 8006 | wxPyEndAllowThreads(__tstate); |
| 8007 | if (PyErr_Occurred()) SWIG_fail; |
| 8008 | } |
| 8009 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8010 | return resultobj; |
| 8011 | fail: |
| 8012 | return NULL; |
| 8013 | } |
| 8014 | |
| 8015 | |
| 8016 | static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8017 | PyObject *resultobj; |
| 8018 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8019 | bool result; |
| 8020 | PyObject * obj0 = 0 ; |
| 8021 | char *kwnames[] = { |
| 8022 | (char *) "self", NULL |
| 8023 | }; |
| 8024 | |
| 8025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail; |
| 8026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8027 | { |
| 8028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8029 | result = (bool)((wxGrid const *)arg1)->CanEnableCellControl(); |
| 8030 | |
| 8031 | wxPyEndAllowThreads(__tstate); |
| 8032 | if (PyErr_Occurred()) SWIG_fail; |
| 8033 | } |
| 8034 | resultobj = PyInt_FromLong((long)result); |
| 8035 | return resultobj; |
| 8036 | fail: |
| 8037 | return NULL; |
| 8038 | } |
| 8039 | |
| 8040 | |
| 8041 | static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8042 | PyObject *resultobj; |
| 8043 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8044 | bool result; |
| 8045 | PyObject * obj0 = 0 ; |
| 8046 | char *kwnames[] = { |
| 8047 | (char *) "self", NULL |
| 8048 | }; |
| 8049 | |
| 8050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail; |
| 8051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8052 | { |
| 8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8054 | result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled(); |
| 8055 | |
| 8056 | wxPyEndAllowThreads(__tstate); |
| 8057 | if (PyErr_Occurred()) SWIG_fail; |
| 8058 | } |
| 8059 | resultobj = PyInt_FromLong((long)result); |
| 8060 | return resultobj; |
| 8061 | fail: |
| 8062 | return NULL; |
| 8063 | } |
| 8064 | |
| 8065 | |
| 8066 | static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8067 | PyObject *resultobj; |
| 8068 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8069 | bool result; |
| 8070 | PyObject * obj0 = 0 ; |
| 8071 | char *kwnames[] = { |
| 8072 | (char *) "self", NULL |
| 8073 | }; |
| 8074 | |
| 8075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail; |
| 8076 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8077 | { |
| 8078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8079 | result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown(); |
| 8080 | |
| 8081 | wxPyEndAllowThreads(__tstate); |
| 8082 | if (PyErr_Occurred()) SWIG_fail; |
| 8083 | } |
| 8084 | resultobj = PyInt_FromLong((long)result); |
| 8085 | return resultobj; |
| 8086 | fail: |
| 8087 | return NULL; |
| 8088 | } |
| 8089 | |
| 8090 | |
| 8091 | static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8092 | PyObject *resultobj; |
| 8093 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8094 | bool result; |
| 8095 | PyObject * obj0 = 0 ; |
| 8096 | char *kwnames[] = { |
| 8097 | (char *) "self", NULL |
| 8098 | }; |
| 8099 | |
| 8100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail; |
| 8101 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8102 | { |
| 8103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8104 | result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly(); |
| 8105 | |
| 8106 | wxPyEndAllowThreads(__tstate); |
| 8107 | if (PyErr_Occurred()) SWIG_fail; |
| 8108 | } |
| 8109 | resultobj = PyInt_FromLong((long)result); |
| 8110 | return resultobj; |
| 8111 | fail: |
| 8112 | return NULL; |
| 8113 | } |
| 8114 | |
| 8115 | |
| 8116 | static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8117 | PyObject *resultobj; |
| 8118 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8119 | PyObject * obj0 = 0 ; |
| 8120 | char *kwnames[] = { |
| 8121 | (char *) "self", NULL |
| 8122 | }; |
| 8123 | |
| 8124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail; |
| 8125 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8126 | { |
| 8127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8128 | (arg1)->ShowCellEditControl(); |
| 8129 | |
| 8130 | wxPyEndAllowThreads(__tstate); |
| 8131 | if (PyErr_Occurred()) SWIG_fail; |
| 8132 | } |
| 8133 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8134 | return resultobj; |
| 8135 | fail: |
| 8136 | return NULL; |
| 8137 | } |
| 8138 | |
| 8139 | |
| 8140 | static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8141 | PyObject *resultobj; |
| 8142 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8143 | PyObject * obj0 = 0 ; |
| 8144 | char *kwnames[] = { |
| 8145 | (char *) "self", NULL |
| 8146 | }; |
| 8147 | |
| 8148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail; |
| 8149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8150 | { |
| 8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8152 | (arg1)->HideCellEditControl(); |
| 8153 | |
| 8154 | wxPyEndAllowThreads(__tstate); |
| 8155 | if (PyErr_Occurred()) SWIG_fail; |
| 8156 | } |
| 8157 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8158 | return resultobj; |
| 8159 | fail: |
| 8160 | return NULL; |
| 8161 | } |
| 8162 | |
| 8163 | |
| 8164 | static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8165 | PyObject *resultobj; |
| 8166 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8167 | PyObject * obj0 = 0 ; |
| 8168 | char *kwnames[] = { |
| 8169 | (char *) "self", NULL |
| 8170 | }; |
| 8171 | |
| 8172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail; |
| 8173 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8174 | { |
| 8175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8176 | (arg1)->SaveEditControlValue(); |
| 8177 | |
| 8178 | wxPyEndAllowThreads(__tstate); |
| 8179 | if (PyErr_Occurred()) SWIG_fail; |
| 8180 | } |
| 8181 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8182 | return resultobj; |
| 8183 | fail: |
| 8184 | return NULL; |
| 8185 | } |
| 8186 | |
| 8187 | |
| 8188 | static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8189 | PyObject *resultobj; |
| 8190 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8191 | int arg2 ; |
| 8192 | int arg3 ; |
| 8193 | wxGridCellCoords result; |
| 8194 | PyObject * obj0 = 0 ; |
| 8195 | char *kwnames[] = { |
| 8196 | (char *) "self",(char *) "x",(char *) "y", NULL |
| 8197 | }; |
| 8198 | |
| 8199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_XYToCell",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 8200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8201 | { |
| 8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8203 | result = wxGrid_XYToCell(arg1,arg2,arg3); |
| 8204 | |
| 8205 | wxPyEndAllowThreads(__tstate); |
| 8206 | if (PyErr_Occurred()) SWIG_fail; |
| 8207 | } |
| 8208 | { |
| 8209 | wxGridCellCoords * resultptr; |
| 8210 | resultptr = new wxGridCellCoords((wxGridCellCoords &) result); |
| 8211 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1); |
| 8212 | } |
| 8213 | return resultobj; |
| 8214 | fail: |
| 8215 | return NULL; |
| 8216 | } |
| 8217 | |
| 8218 | |
| 8219 | static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8220 | PyObject *resultobj; |
| 8221 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8222 | int arg2 ; |
| 8223 | int result; |
| 8224 | PyObject * obj0 = 0 ; |
| 8225 | char *kwnames[] = { |
| 8226 | (char *) "self",(char *) "y", NULL |
| 8227 | }; |
| 8228 | |
| 8229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToRow",kwnames,&obj0,&arg2)) goto fail; |
| 8230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8231 | { |
| 8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8233 | result = (int)(arg1)->YToRow(arg2); |
| 8234 | |
| 8235 | wxPyEndAllowThreads(__tstate); |
| 8236 | if (PyErr_Occurred()) SWIG_fail; |
| 8237 | } |
| 8238 | resultobj = PyInt_FromLong((long)result); |
| 8239 | return resultobj; |
| 8240 | fail: |
| 8241 | return NULL; |
| 8242 | } |
| 8243 | |
| 8244 | |
| 8245 | static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8246 | PyObject *resultobj; |
| 8247 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8248 | int arg2 ; |
| 8249 | int result; |
| 8250 | PyObject * obj0 = 0 ; |
| 8251 | char *kwnames[] = { |
| 8252 | (char *) "self",(char *) "x", NULL |
| 8253 | }; |
| 8254 | |
| 8255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToCol",kwnames,&obj0,&arg2)) goto fail; |
| 8256 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8257 | { |
| 8258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8259 | result = (int)(arg1)->XToCol(arg2); |
| 8260 | |
| 8261 | wxPyEndAllowThreads(__tstate); |
| 8262 | if (PyErr_Occurred()) SWIG_fail; |
| 8263 | } |
| 8264 | resultobj = PyInt_FromLong((long)result); |
| 8265 | return resultobj; |
| 8266 | fail: |
| 8267 | return NULL; |
| 8268 | } |
| 8269 | |
| 8270 | |
| 8271 | static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8272 | PyObject *resultobj; |
| 8273 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8274 | int arg2 ; |
| 8275 | int result; |
| 8276 | PyObject * obj0 = 0 ; |
| 8277 | char *kwnames[] = { |
| 8278 | (char *) "self",(char *) "y", NULL |
| 8279 | }; |
| 8280 | |
| 8281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToEdgeOfRow",kwnames,&obj0,&arg2)) goto fail; |
| 8282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8283 | { |
| 8284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8285 | result = (int)(arg1)->YToEdgeOfRow(arg2); |
| 8286 | |
| 8287 | wxPyEndAllowThreads(__tstate); |
| 8288 | if (PyErr_Occurred()) SWIG_fail; |
| 8289 | } |
| 8290 | resultobj = PyInt_FromLong((long)result); |
| 8291 | return resultobj; |
| 8292 | fail: |
| 8293 | return NULL; |
| 8294 | } |
| 8295 | |
| 8296 | |
| 8297 | static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8298 | PyObject *resultobj; |
| 8299 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8300 | int arg2 ; |
| 8301 | int result; |
| 8302 | PyObject * obj0 = 0 ; |
| 8303 | char *kwnames[] = { |
| 8304 | (char *) "self",(char *) "x", NULL |
| 8305 | }; |
| 8306 | |
| 8307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToEdgeOfCol",kwnames,&obj0,&arg2)) goto fail; |
| 8308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8309 | { |
| 8310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8311 | result = (int)(arg1)->XToEdgeOfCol(arg2); |
| 8312 | |
| 8313 | wxPyEndAllowThreads(__tstate); |
| 8314 | if (PyErr_Occurred()) SWIG_fail; |
| 8315 | } |
| 8316 | resultobj = PyInt_FromLong((long)result); |
| 8317 | return resultobj; |
| 8318 | fail: |
| 8319 | return NULL; |
| 8320 | } |
| 8321 | |
| 8322 | |
| 8323 | static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8324 | PyObject *resultobj; |
| 8325 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8326 | int arg2 ; |
| 8327 | int arg3 ; |
| 8328 | wxRect result; |
| 8329 | PyObject * obj0 = 0 ; |
| 8330 | char *kwnames[] = { |
| 8331 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 8332 | }; |
| 8333 | |
| 8334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_CellToRect",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 8335 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8336 | { |
| 8337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8338 | result = (arg1)->CellToRect(arg2,arg3); |
| 8339 | |
| 8340 | wxPyEndAllowThreads(__tstate); |
| 8341 | if (PyErr_Occurred()) SWIG_fail; |
| 8342 | } |
| 8343 | { |
| 8344 | wxRect * resultptr; |
| 8345 | resultptr = new wxRect((wxRect &) result); |
| 8346 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); |
| 8347 | } |
| 8348 | return resultobj; |
| 8349 | fail: |
| 8350 | return NULL; |
| 8351 | } |
| 8352 | |
| 8353 | |
| 8354 | static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8355 | PyObject *resultobj; |
| 8356 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8357 | int result; |
| 8358 | PyObject * obj0 = 0 ; |
| 8359 | char *kwnames[] = { |
| 8360 | (char *) "self", NULL |
| 8361 | }; |
| 8362 | |
| 8363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail; |
| 8364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8365 | { |
| 8366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8367 | result = (int)(arg1)->GetGridCursorRow(); |
| 8368 | |
| 8369 | wxPyEndAllowThreads(__tstate); |
| 8370 | if (PyErr_Occurred()) SWIG_fail; |
| 8371 | } |
| 8372 | resultobj = PyInt_FromLong((long)result); |
| 8373 | return resultobj; |
| 8374 | fail: |
| 8375 | return NULL; |
| 8376 | } |
| 8377 | |
| 8378 | |
| 8379 | static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8380 | PyObject *resultobj; |
| 8381 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8382 | int result; |
| 8383 | PyObject * obj0 = 0 ; |
| 8384 | char *kwnames[] = { |
| 8385 | (char *) "self", NULL |
| 8386 | }; |
| 8387 | |
| 8388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail; |
| 8389 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8390 | { |
| 8391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8392 | result = (int)(arg1)->GetGridCursorCol(); |
| 8393 | |
| 8394 | wxPyEndAllowThreads(__tstate); |
| 8395 | if (PyErr_Occurred()) SWIG_fail; |
| 8396 | } |
| 8397 | resultobj = PyInt_FromLong((long)result); |
| 8398 | return resultobj; |
| 8399 | fail: |
| 8400 | return NULL; |
| 8401 | } |
| 8402 | |
| 8403 | |
| 8404 | static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8405 | PyObject *resultobj; |
| 8406 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8407 | int arg2 ; |
| 8408 | int arg3 ; |
| 8409 | bool arg4 = (bool) True ; |
| 8410 | bool result; |
| 8411 | PyObject * obj0 = 0 ; |
| 8412 | PyObject * obj3 = 0 ; |
| 8413 | char *kwnames[] = { |
| 8414 | (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL |
| 8415 | }; |
| 8416 | |
| 8417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_IsVisible",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 8418 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8419 | if (obj3) { |
| 8420 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 8421 | if (PyErr_Occurred()) SWIG_fail; |
| 8422 | } |
| 8423 | { |
| 8424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8425 | result = (bool)(arg1)->IsVisible(arg2,arg3,arg4); |
| 8426 | |
| 8427 | wxPyEndAllowThreads(__tstate); |
| 8428 | if (PyErr_Occurred()) SWIG_fail; |
| 8429 | } |
| 8430 | resultobj = PyInt_FromLong((long)result); |
| 8431 | return resultobj; |
| 8432 | fail: |
| 8433 | return NULL; |
| 8434 | } |
| 8435 | |
| 8436 | |
| 8437 | static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8438 | PyObject *resultobj; |
| 8439 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8440 | int arg2 ; |
| 8441 | int arg3 ; |
| 8442 | PyObject * obj0 = 0 ; |
| 8443 | char *kwnames[] = { |
| 8444 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 8445 | }; |
| 8446 | |
| 8447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_MakeCellVisible",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 8448 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8449 | { |
| 8450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8451 | (arg1)->MakeCellVisible(arg2,arg3); |
| 8452 | |
| 8453 | wxPyEndAllowThreads(__tstate); |
| 8454 | if (PyErr_Occurred()) SWIG_fail; |
| 8455 | } |
| 8456 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8457 | return resultobj; |
| 8458 | fail: |
| 8459 | return NULL; |
| 8460 | } |
| 8461 | |
| 8462 | |
| 8463 | static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8464 | PyObject *resultobj; |
| 8465 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8466 | int arg2 ; |
| 8467 | int arg3 ; |
| 8468 | PyObject * obj0 = 0 ; |
| 8469 | char *kwnames[] = { |
| 8470 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 8471 | }; |
| 8472 | |
| 8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetGridCursor",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 8474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8475 | { |
| 8476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8477 | (arg1)->SetGridCursor(arg2,arg3); |
| 8478 | |
| 8479 | wxPyEndAllowThreads(__tstate); |
| 8480 | if (PyErr_Occurred()) SWIG_fail; |
| 8481 | } |
| 8482 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8483 | return resultobj; |
| 8484 | fail: |
| 8485 | return NULL; |
| 8486 | } |
| 8487 | |
| 8488 | |
| 8489 | static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8490 | PyObject *resultobj; |
| 8491 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8492 | bool arg2 ; |
| 8493 | bool result; |
| 8494 | PyObject * obj0 = 0 ; |
| 8495 | PyObject * obj1 = 0 ; |
| 8496 | char *kwnames[] = { |
| 8497 | (char *) "self",(char *) "expandSelection", NULL |
| 8498 | }; |
| 8499 | |
| 8500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail; |
| 8501 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8502 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8503 | if (PyErr_Occurred()) SWIG_fail; |
| 8504 | { |
| 8505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8506 | result = (bool)(arg1)->MoveCursorUp(arg2); |
| 8507 | |
| 8508 | wxPyEndAllowThreads(__tstate); |
| 8509 | if (PyErr_Occurred()) SWIG_fail; |
| 8510 | } |
| 8511 | resultobj = PyInt_FromLong((long)result); |
| 8512 | return resultobj; |
| 8513 | fail: |
| 8514 | return NULL; |
| 8515 | } |
| 8516 | |
| 8517 | |
| 8518 | static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8519 | PyObject *resultobj; |
| 8520 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8521 | bool arg2 ; |
| 8522 | bool result; |
| 8523 | PyObject * obj0 = 0 ; |
| 8524 | PyObject * obj1 = 0 ; |
| 8525 | char *kwnames[] = { |
| 8526 | (char *) "self",(char *) "expandSelection", NULL |
| 8527 | }; |
| 8528 | |
| 8529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail; |
| 8530 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8531 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8532 | if (PyErr_Occurred()) SWIG_fail; |
| 8533 | { |
| 8534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8535 | result = (bool)(arg1)->MoveCursorDown(arg2); |
| 8536 | |
| 8537 | wxPyEndAllowThreads(__tstate); |
| 8538 | if (PyErr_Occurred()) SWIG_fail; |
| 8539 | } |
| 8540 | resultobj = PyInt_FromLong((long)result); |
| 8541 | return resultobj; |
| 8542 | fail: |
| 8543 | return NULL; |
| 8544 | } |
| 8545 | |
| 8546 | |
| 8547 | static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8548 | PyObject *resultobj; |
| 8549 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8550 | bool arg2 ; |
| 8551 | bool result; |
| 8552 | PyObject * obj0 = 0 ; |
| 8553 | PyObject * obj1 = 0 ; |
| 8554 | char *kwnames[] = { |
| 8555 | (char *) "self",(char *) "expandSelection", NULL |
| 8556 | }; |
| 8557 | |
| 8558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail; |
| 8559 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8560 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8561 | if (PyErr_Occurred()) SWIG_fail; |
| 8562 | { |
| 8563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8564 | result = (bool)(arg1)->MoveCursorLeft(arg2); |
| 8565 | |
| 8566 | wxPyEndAllowThreads(__tstate); |
| 8567 | if (PyErr_Occurred()) SWIG_fail; |
| 8568 | } |
| 8569 | resultobj = PyInt_FromLong((long)result); |
| 8570 | return resultobj; |
| 8571 | fail: |
| 8572 | return NULL; |
| 8573 | } |
| 8574 | |
| 8575 | |
| 8576 | static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8577 | PyObject *resultobj; |
| 8578 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8579 | bool arg2 ; |
| 8580 | bool result; |
| 8581 | PyObject * obj0 = 0 ; |
| 8582 | PyObject * obj1 = 0 ; |
| 8583 | char *kwnames[] = { |
| 8584 | (char *) "self",(char *) "expandSelection", NULL |
| 8585 | }; |
| 8586 | |
| 8587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail; |
| 8588 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8589 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8590 | if (PyErr_Occurred()) SWIG_fail; |
| 8591 | { |
| 8592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8593 | result = (bool)(arg1)->MoveCursorRight(arg2); |
| 8594 | |
| 8595 | wxPyEndAllowThreads(__tstate); |
| 8596 | if (PyErr_Occurred()) SWIG_fail; |
| 8597 | } |
| 8598 | resultobj = PyInt_FromLong((long)result); |
| 8599 | return resultobj; |
| 8600 | fail: |
| 8601 | return NULL; |
| 8602 | } |
| 8603 | |
| 8604 | |
| 8605 | static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8606 | PyObject *resultobj; |
| 8607 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8608 | bool result; |
| 8609 | PyObject * obj0 = 0 ; |
| 8610 | char *kwnames[] = { |
| 8611 | (char *) "self", NULL |
| 8612 | }; |
| 8613 | |
| 8614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail; |
| 8615 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8616 | { |
| 8617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8618 | result = (bool)(arg1)->MovePageDown(); |
| 8619 | |
| 8620 | wxPyEndAllowThreads(__tstate); |
| 8621 | if (PyErr_Occurred()) SWIG_fail; |
| 8622 | } |
| 8623 | resultobj = PyInt_FromLong((long)result); |
| 8624 | return resultobj; |
| 8625 | fail: |
| 8626 | return NULL; |
| 8627 | } |
| 8628 | |
| 8629 | |
| 8630 | static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8631 | PyObject *resultobj; |
| 8632 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8633 | bool result; |
| 8634 | PyObject * obj0 = 0 ; |
| 8635 | char *kwnames[] = { |
| 8636 | (char *) "self", NULL |
| 8637 | }; |
| 8638 | |
| 8639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail; |
| 8640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8641 | { |
| 8642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8643 | result = (bool)(arg1)->MovePageUp(); |
| 8644 | |
| 8645 | wxPyEndAllowThreads(__tstate); |
| 8646 | if (PyErr_Occurred()) SWIG_fail; |
| 8647 | } |
| 8648 | resultobj = PyInt_FromLong((long)result); |
| 8649 | return resultobj; |
| 8650 | fail: |
| 8651 | return NULL; |
| 8652 | } |
| 8653 | |
| 8654 | |
| 8655 | static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8656 | PyObject *resultobj; |
| 8657 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8658 | bool arg2 ; |
| 8659 | bool result; |
| 8660 | PyObject * obj0 = 0 ; |
| 8661 | PyObject * obj1 = 0 ; |
| 8662 | char *kwnames[] = { |
| 8663 | (char *) "self",(char *) "expandSelection", NULL |
| 8664 | }; |
| 8665 | |
| 8666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail; |
| 8667 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8668 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8669 | if (PyErr_Occurred()) SWIG_fail; |
| 8670 | { |
| 8671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8672 | result = (bool)(arg1)->MoveCursorUpBlock(arg2); |
| 8673 | |
| 8674 | wxPyEndAllowThreads(__tstate); |
| 8675 | if (PyErr_Occurred()) SWIG_fail; |
| 8676 | } |
| 8677 | resultobj = PyInt_FromLong((long)result); |
| 8678 | return resultobj; |
| 8679 | fail: |
| 8680 | return NULL; |
| 8681 | } |
| 8682 | |
| 8683 | |
| 8684 | static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8685 | PyObject *resultobj; |
| 8686 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8687 | bool arg2 ; |
| 8688 | bool result; |
| 8689 | PyObject * obj0 = 0 ; |
| 8690 | PyObject * obj1 = 0 ; |
| 8691 | char *kwnames[] = { |
| 8692 | (char *) "self",(char *) "expandSelection", NULL |
| 8693 | }; |
| 8694 | |
| 8695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail; |
| 8696 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8697 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8698 | if (PyErr_Occurred()) SWIG_fail; |
| 8699 | { |
| 8700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8701 | result = (bool)(arg1)->MoveCursorDownBlock(arg2); |
| 8702 | |
| 8703 | wxPyEndAllowThreads(__tstate); |
| 8704 | if (PyErr_Occurred()) SWIG_fail; |
| 8705 | } |
| 8706 | resultobj = PyInt_FromLong((long)result); |
| 8707 | return resultobj; |
| 8708 | fail: |
| 8709 | return NULL; |
| 8710 | } |
| 8711 | |
| 8712 | |
| 8713 | static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8714 | PyObject *resultobj; |
| 8715 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8716 | bool arg2 ; |
| 8717 | bool result; |
| 8718 | PyObject * obj0 = 0 ; |
| 8719 | PyObject * obj1 = 0 ; |
| 8720 | char *kwnames[] = { |
| 8721 | (char *) "self",(char *) "expandSelection", NULL |
| 8722 | }; |
| 8723 | |
| 8724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail; |
| 8725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8726 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8727 | if (PyErr_Occurred()) SWIG_fail; |
| 8728 | { |
| 8729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8730 | result = (bool)(arg1)->MoveCursorLeftBlock(arg2); |
| 8731 | |
| 8732 | wxPyEndAllowThreads(__tstate); |
| 8733 | if (PyErr_Occurred()) SWIG_fail; |
| 8734 | } |
| 8735 | resultobj = PyInt_FromLong((long)result); |
| 8736 | return resultobj; |
| 8737 | fail: |
| 8738 | return NULL; |
| 8739 | } |
| 8740 | |
| 8741 | |
| 8742 | static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8743 | PyObject *resultobj; |
| 8744 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8745 | bool arg2 ; |
| 8746 | bool result; |
| 8747 | PyObject * obj0 = 0 ; |
| 8748 | PyObject * obj1 = 0 ; |
| 8749 | char *kwnames[] = { |
| 8750 | (char *) "self",(char *) "expandSelection", NULL |
| 8751 | }; |
| 8752 | |
| 8753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail; |
| 8754 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8755 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 8756 | if (PyErr_Occurred()) SWIG_fail; |
| 8757 | { |
| 8758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8759 | result = (bool)(arg1)->MoveCursorRightBlock(arg2); |
| 8760 | |
| 8761 | wxPyEndAllowThreads(__tstate); |
| 8762 | if (PyErr_Occurred()) SWIG_fail; |
| 8763 | } |
| 8764 | resultobj = PyInt_FromLong((long)result); |
| 8765 | return resultobj; |
| 8766 | fail: |
| 8767 | return NULL; |
| 8768 | } |
| 8769 | |
| 8770 | |
| 8771 | static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8772 | PyObject *resultobj; |
| 8773 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8774 | int result; |
| 8775 | PyObject * obj0 = 0 ; |
| 8776 | char *kwnames[] = { |
| 8777 | (char *) "self", NULL |
| 8778 | }; |
| 8779 | |
| 8780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail; |
| 8781 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8782 | { |
| 8783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8784 | result = (int)(arg1)->GetDefaultRowLabelSize(); |
| 8785 | |
| 8786 | wxPyEndAllowThreads(__tstate); |
| 8787 | if (PyErr_Occurred()) SWIG_fail; |
| 8788 | } |
| 8789 | resultobj = PyInt_FromLong((long)result); |
| 8790 | return resultobj; |
| 8791 | fail: |
| 8792 | return NULL; |
| 8793 | } |
| 8794 | |
| 8795 | |
| 8796 | static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8797 | PyObject *resultobj; |
| 8798 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8799 | int result; |
| 8800 | PyObject * obj0 = 0 ; |
| 8801 | char *kwnames[] = { |
| 8802 | (char *) "self", NULL |
| 8803 | }; |
| 8804 | |
| 8805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail; |
| 8806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8807 | { |
| 8808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8809 | result = (int)(arg1)->GetRowLabelSize(); |
| 8810 | |
| 8811 | wxPyEndAllowThreads(__tstate); |
| 8812 | if (PyErr_Occurred()) SWIG_fail; |
| 8813 | } |
| 8814 | resultobj = PyInt_FromLong((long)result); |
| 8815 | return resultobj; |
| 8816 | fail: |
| 8817 | return NULL; |
| 8818 | } |
| 8819 | |
| 8820 | |
| 8821 | static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8822 | PyObject *resultobj; |
| 8823 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8824 | int result; |
| 8825 | PyObject * obj0 = 0 ; |
| 8826 | char *kwnames[] = { |
| 8827 | (char *) "self", NULL |
| 8828 | }; |
| 8829 | |
| 8830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail; |
| 8831 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8832 | { |
| 8833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8834 | result = (int)(arg1)->GetDefaultColLabelSize(); |
| 8835 | |
| 8836 | wxPyEndAllowThreads(__tstate); |
| 8837 | if (PyErr_Occurred()) SWIG_fail; |
| 8838 | } |
| 8839 | resultobj = PyInt_FromLong((long)result); |
| 8840 | return resultobj; |
| 8841 | fail: |
| 8842 | return NULL; |
| 8843 | } |
| 8844 | |
| 8845 | |
| 8846 | static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8847 | PyObject *resultobj; |
| 8848 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8849 | int result; |
| 8850 | PyObject * obj0 = 0 ; |
| 8851 | char *kwnames[] = { |
| 8852 | (char *) "self", NULL |
| 8853 | }; |
| 8854 | |
| 8855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail; |
| 8856 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8857 | { |
| 8858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8859 | result = (int)(arg1)->GetColLabelSize(); |
| 8860 | |
| 8861 | wxPyEndAllowThreads(__tstate); |
| 8862 | if (PyErr_Occurred()) SWIG_fail; |
| 8863 | } |
| 8864 | resultobj = PyInt_FromLong((long)result); |
| 8865 | return resultobj; |
| 8866 | fail: |
| 8867 | return NULL; |
| 8868 | } |
| 8869 | |
| 8870 | |
| 8871 | static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8872 | PyObject *resultobj; |
| 8873 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8874 | wxColour result; |
| 8875 | PyObject * obj0 = 0 ; |
| 8876 | char *kwnames[] = { |
| 8877 | (char *) "self", NULL |
| 8878 | }; |
| 8879 | |
| 8880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail; |
| 8881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8882 | { |
| 8883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8884 | result = (arg1)->GetLabelBackgroundColour(); |
| 8885 | |
| 8886 | wxPyEndAllowThreads(__tstate); |
| 8887 | if (PyErr_Occurred()) SWIG_fail; |
| 8888 | } |
| 8889 | { |
| 8890 | wxColour * resultptr; |
| 8891 | resultptr = new wxColour((wxColour &) result); |
| 8892 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 8893 | } |
| 8894 | return resultobj; |
| 8895 | fail: |
| 8896 | return NULL; |
| 8897 | } |
| 8898 | |
| 8899 | |
| 8900 | static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8901 | PyObject *resultobj; |
| 8902 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8903 | wxColour result; |
| 8904 | PyObject * obj0 = 0 ; |
| 8905 | char *kwnames[] = { |
| 8906 | (char *) "self", NULL |
| 8907 | }; |
| 8908 | |
| 8909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail; |
| 8910 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8911 | { |
| 8912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8913 | result = (arg1)->GetLabelTextColour(); |
| 8914 | |
| 8915 | wxPyEndAllowThreads(__tstate); |
| 8916 | if (PyErr_Occurred()) SWIG_fail; |
| 8917 | } |
| 8918 | { |
| 8919 | wxColour * resultptr; |
| 8920 | resultptr = new wxColour((wxColour &) result); |
| 8921 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 8922 | } |
| 8923 | return resultobj; |
| 8924 | fail: |
| 8925 | return NULL; |
| 8926 | } |
| 8927 | |
| 8928 | |
| 8929 | static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8930 | PyObject *resultobj; |
| 8931 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8932 | wxFont result; |
| 8933 | PyObject * obj0 = 0 ; |
| 8934 | char *kwnames[] = { |
| 8935 | (char *) "self", NULL |
| 8936 | }; |
| 8937 | |
| 8938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail; |
| 8939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8940 | { |
| 8941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8942 | result = (arg1)->GetLabelFont(); |
| 8943 | |
| 8944 | wxPyEndAllowThreads(__tstate); |
| 8945 | if (PyErr_Occurred()) SWIG_fail; |
| 8946 | } |
| 8947 | { |
| 8948 | wxFont * resultptr; |
| 8949 | resultptr = new wxFont((wxFont &) result); |
| 8950 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); |
| 8951 | } |
| 8952 | return resultobj; |
| 8953 | fail: |
| 8954 | return NULL; |
| 8955 | } |
| 8956 | |
| 8957 | |
| 8958 | static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8959 | PyObject *resultobj; |
| 8960 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8961 | int *arg2 = (int *) 0 ; |
| 8962 | int *arg3 = (int *) 0 ; |
| 8963 | int temp2 ; |
| 8964 | int temp3 ; |
| 8965 | PyObject * obj0 = 0 ; |
| 8966 | char *kwnames[] = { |
| 8967 | (char *) "self", NULL |
| 8968 | }; |
| 8969 | |
| 8970 | arg2 = &temp2; |
| 8971 | arg3 = &temp3; |
| 8972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail; |
| 8973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 8974 | { |
| 8975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8976 | (arg1)->GetRowLabelAlignment(arg2,arg3); |
| 8977 | |
| 8978 | wxPyEndAllowThreads(__tstate); |
| 8979 | if (PyErr_Occurred()) SWIG_fail; |
| 8980 | } |
| 8981 | Py_INCREF(Py_None); resultobj = Py_None; |
| 8982 | { |
| 8983 | PyObject *o = PyInt_FromLong((long) (*arg2)); |
| 8984 | resultobj = t_output_helper(resultobj,o); |
| 8985 | } |
| 8986 | { |
| 8987 | PyObject *o = PyInt_FromLong((long) (*arg3)); |
| 8988 | resultobj = t_output_helper(resultobj,o); |
| 8989 | } |
| 8990 | return resultobj; |
| 8991 | fail: |
| 8992 | return NULL; |
| 8993 | } |
| 8994 | |
| 8995 | |
| 8996 | static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 8997 | PyObject *resultobj; |
| 8998 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 8999 | int *arg2 = (int *) 0 ; |
| 9000 | int *arg3 = (int *) 0 ; |
| 9001 | int temp2 ; |
| 9002 | int temp3 ; |
| 9003 | PyObject * obj0 = 0 ; |
| 9004 | char *kwnames[] = { |
| 9005 | (char *) "self", NULL |
| 9006 | }; |
| 9007 | |
| 9008 | arg2 = &temp2; |
| 9009 | arg3 = &temp3; |
| 9010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail; |
| 9011 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9012 | { |
| 9013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9014 | (arg1)->GetColLabelAlignment(arg2,arg3); |
| 9015 | |
| 9016 | wxPyEndAllowThreads(__tstate); |
| 9017 | if (PyErr_Occurred()) SWIG_fail; |
| 9018 | } |
| 9019 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9020 | { |
| 9021 | PyObject *o = PyInt_FromLong((long) (*arg2)); |
| 9022 | resultobj = t_output_helper(resultobj,o); |
| 9023 | } |
| 9024 | { |
| 9025 | PyObject *o = PyInt_FromLong((long) (*arg3)); |
| 9026 | resultobj = t_output_helper(resultobj,o); |
| 9027 | } |
| 9028 | return resultobj; |
| 9029 | fail: |
| 9030 | return NULL; |
| 9031 | } |
| 9032 | |
| 9033 | |
| 9034 | static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9035 | PyObject *resultobj; |
| 9036 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9037 | int result; |
| 9038 | PyObject * obj0 = 0 ; |
| 9039 | char *kwnames[] = { |
| 9040 | (char *) "self", NULL |
| 9041 | }; |
| 9042 | |
| 9043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail; |
| 9044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9045 | { |
| 9046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9047 | result = (int)(arg1)->GetColLabelTextOrientation(); |
| 9048 | |
| 9049 | wxPyEndAllowThreads(__tstate); |
| 9050 | if (PyErr_Occurred()) SWIG_fail; |
| 9051 | } |
| 9052 | resultobj = PyInt_FromLong((long)result); |
| 9053 | return resultobj; |
| 9054 | fail: |
| 9055 | return NULL; |
| 9056 | } |
| 9057 | |
| 9058 | |
| 9059 | static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9060 | PyObject *resultobj; |
| 9061 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9062 | int arg2 ; |
| 9063 | wxString result; |
| 9064 | PyObject * obj0 = 0 ; |
| 9065 | char *kwnames[] = { |
| 9066 | (char *) "self",(char *) "row", NULL |
| 9067 | }; |
| 9068 | |
| 9069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 9070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9071 | { |
| 9072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9073 | result = (arg1)->GetRowLabelValue(arg2); |
| 9074 | |
| 9075 | wxPyEndAllowThreads(__tstate); |
| 9076 | if (PyErr_Occurred()) SWIG_fail; |
| 9077 | } |
| 9078 | { |
| 9079 | #if wxUSE_UNICODE |
| 9080 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 9081 | #else |
| 9082 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 9083 | #endif |
| 9084 | } |
| 9085 | return resultobj; |
| 9086 | fail: |
| 9087 | return NULL; |
| 9088 | } |
| 9089 | |
| 9090 | |
| 9091 | static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9092 | PyObject *resultobj; |
| 9093 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9094 | int arg2 ; |
| 9095 | wxString result; |
| 9096 | PyObject * obj0 = 0 ; |
| 9097 | char *kwnames[] = { |
| 9098 | (char *) "self",(char *) "col", NULL |
| 9099 | }; |
| 9100 | |
| 9101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail; |
| 9102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9103 | { |
| 9104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9105 | result = (arg1)->GetColLabelValue(arg2); |
| 9106 | |
| 9107 | wxPyEndAllowThreads(__tstate); |
| 9108 | if (PyErr_Occurred()) SWIG_fail; |
| 9109 | } |
| 9110 | { |
| 9111 | #if wxUSE_UNICODE |
| 9112 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 9113 | #else |
| 9114 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 9115 | #endif |
| 9116 | } |
| 9117 | return resultobj; |
| 9118 | fail: |
| 9119 | return NULL; |
| 9120 | } |
| 9121 | |
| 9122 | |
| 9123 | static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9124 | PyObject *resultobj; |
| 9125 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9126 | wxColour result; |
| 9127 | PyObject * obj0 = 0 ; |
| 9128 | char *kwnames[] = { |
| 9129 | (char *) "self", NULL |
| 9130 | }; |
| 9131 | |
| 9132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail; |
| 9133 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9134 | { |
| 9135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9136 | result = (arg1)->GetGridLineColour(); |
| 9137 | |
| 9138 | wxPyEndAllowThreads(__tstate); |
| 9139 | if (PyErr_Occurred()) SWIG_fail; |
| 9140 | } |
| 9141 | { |
| 9142 | wxColour * resultptr; |
| 9143 | resultptr = new wxColour((wxColour &) result); |
| 9144 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 9145 | } |
| 9146 | return resultobj; |
| 9147 | fail: |
| 9148 | return NULL; |
| 9149 | } |
| 9150 | |
| 9151 | |
| 9152 | static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9153 | PyObject *resultobj; |
| 9154 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9155 | wxColour result; |
| 9156 | PyObject * obj0 = 0 ; |
| 9157 | char *kwnames[] = { |
| 9158 | (char *) "self", NULL |
| 9159 | }; |
| 9160 | |
| 9161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail; |
| 9162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9163 | { |
| 9164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9165 | result = (arg1)->GetCellHighlightColour(); |
| 9166 | |
| 9167 | wxPyEndAllowThreads(__tstate); |
| 9168 | if (PyErr_Occurred()) SWIG_fail; |
| 9169 | } |
| 9170 | { |
| 9171 | wxColour * resultptr; |
| 9172 | resultptr = new wxColour((wxColour &) result); |
| 9173 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 9174 | } |
| 9175 | return resultobj; |
| 9176 | fail: |
| 9177 | return NULL; |
| 9178 | } |
| 9179 | |
| 9180 | |
| 9181 | static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9182 | PyObject *resultobj; |
| 9183 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9184 | int result; |
| 9185 | PyObject * obj0 = 0 ; |
| 9186 | char *kwnames[] = { |
| 9187 | (char *) "self", NULL |
| 9188 | }; |
| 9189 | |
| 9190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail; |
| 9191 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9192 | { |
| 9193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9194 | result = (int)(arg1)->GetCellHighlightPenWidth(); |
| 9195 | |
| 9196 | wxPyEndAllowThreads(__tstate); |
| 9197 | if (PyErr_Occurred()) SWIG_fail; |
| 9198 | } |
| 9199 | resultobj = PyInt_FromLong((long)result); |
| 9200 | return resultobj; |
| 9201 | fail: |
| 9202 | return NULL; |
| 9203 | } |
| 9204 | |
| 9205 | |
| 9206 | static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9207 | PyObject *resultobj; |
| 9208 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9209 | int result; |
| 9210 | PyObject * obj0 = 0 ; |
| 9211 | char *kwnames[] = { |
| 9212 | (char *) "self", NULL |
| 9213 | }; |
| 9214 | |
| 9215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail; |
| 9216 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9217 | { |
| 9218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9219 | result = (int)(arg1)->GetCellHighlightROPenWidth(); |
| 9220 | |
| 9221 | wxPyEndAllowThreads(__tstate); |
| 9222 | if (PyErr_Occurred()) SWIG_fail; |
| 9223 | } |
| 9224 | resultobj = PyInt_FromLong((long)result); |
| 9225 | return resultobj; |
| 9226 | fail: |
| 9227 | return NULL; |
| 9228 | } |
| 9229 | |
| 9230 | |
| 9231 | static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9232 | PyObject *resultobj; |
| 9233 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9234 | int arg2 ; |
| 9235 | PyObject * obj0 = 0 ; |
| 9236 | char *kwnames[] = { |
| 9237 | (char *) "self",(char *) "width", NULL |
| 9238 | }; |
| 9239 | |
| 9240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowLabelSize",kwnames,&obj0,&arg2)) goto fail; |
| 9241 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9242 | { |
| 9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9244 | (arg1)->SetRowLabelSize(arg2); |
| 9245 | |
| 9246 | wxPyEndAllowThreads(__tstate); |
| 9247 | if (PyErr_Occurred()) SWIG_fail; |
| 9248 | } |
| 9249 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9250 | return resultobj; |
| 9251 | fail: |
| 9252 | return NULL; |
| 9253 | } |
| 9254 | |
| 9255 | |
| 9256 | static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9257 | PyObject *resultobj; |
| 9258 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9259 | int arg2 ; |
| 9260 | PyObject * obj0 = 0 ; |
| 9261 | char *kwnames[] = { |
| 9262 | (char *) "self",(char *) "height", NULL |
| 9263 | }; |
| 9264 | |
| 9265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelSize",kwnames,&obj0,&arg2)) goto fail; |
| 9266 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9267 | { |
| 9268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9269 | (arg1)->SetColLabelSize(arg2); |
| 9270 | |
| 9271 | wxPyEndAllowThreads(__tstate); |
| 9272 | if (PyErr_Occurred()) SWIG_fail; |
| 9273 | } |
| 9274 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9275 | return resultobj; |
| 9276 | fail: |
| 9277 | return NULL; |
| 9278 | } |
| 9279 | |
| 9280 | |
| 9281 | static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9282 | PyObject *resultobj; |
| 9283 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9284 | wxColour *arg2 = 0 ; |
| 9285 | wxColour temp2 ; |
| 9286 | PyObject * obj0 = 0 ; |
| 9287 | PyObject * obj1 = 0 ; |
| 9288 | char *kwnames[] = { |
| 9289 | (char *) "self","arg2", NULL |
| 9290 | }; |
| 9291 | |
| 9292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail; |
| 9293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9294 | { |
| 9295 | arg2 = &temp2; |
| 9296 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 9297 | } |
| 9298 | { |
| 9299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9300 | (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2); |
| 9301 | |
| 9302 | wxPyEndAllowThreads(__tstate); |
| 9303 | if (PyErr_Occurred()) SWIG_fail; |
| 9304 | } |
| 9305 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9306 | return resultobj; |
| 9307 | fail: |
| 9308 | return NULL; |
| 9309 | } |
| 9310 | |
| 9311 | |
| 9312 | static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9313 | PyObject *resultobj; |
| 9314 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9315 | wxColour *arg2 = 0 ; |
| 9316 | wxColour temp2 ; |
| 9317 | PyObject * obj0 = 0 ; |
| 9318 | PyObject * obj1 = 0 ; |
| 9319 | char *kwnames[] = { |
| 9320 | (char *) "self","arg2", NULL |
| 9321 | }; |
| 9322 | |
| 9323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail; |
| 9324 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9325 | { |
| 9326 | arg2 = &temp2; |
| 9327 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 9328 | } |
| 9329 | { |
| 9330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9331 | (arg1)->SetLabelTextColour((wxColour const &)*arg2); |
| 9332 | |
| 9333 | wxPyEndAllowThreads(__tstate); |
| 9334 | if (PyErr_Occurred()) SWIG_fail; |
| 9335 | } |
| 9336 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9337 | return resultobj; |
| 9338 | fail: |
| 9339 | return NULL; |
| 9340 | } |
| 9341 | |
| 9342 | |
| 9343 | static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9344 | PyObject *resultobj; |
| 9345 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9346 | wxFont *arg2 = 0 ; |
| 9347 | PyObject * obj0 = 0 ; |
| 9348 | PyObject * obj1 = 0 ; |
| 9349 | char *kwnames[] = { |
| 9350 | (char *) "self","arg2", NULL |
| 9351 | }; |
| 9352 | |
| 9353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail; |
| 9354 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9355 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9356 | if (arg2 == NULL) { |
| 9357 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 9358 | } |
| 9359 | { |
| 9360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9361 | (arg1)->SetLabelFont((wxFont const &)*arg2); |
| 9362 | |
| 9363 | wxPyEndAllowThreads(__tstate); |
| 9364 | if (PyErr_Occurred()) SWIG_fail; |
| 9365 | } |
| 9366 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9367 | return resultobj; |
| 9368 | fail: |
| 9369 | return NULL; |
| 9370 | } |
| 9371 | |
| 9372 | |
| 9373 | static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9374 | PyObject *resultobj; |
| 9375 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9376 | int arg2 ; |
| 9377 | int arg3 ; |
| 9378 | PyObject * obj0 = 0 ; |
| 9379 | char *kwnames[] = { |
| 9380 | (char *) "self",(char *) "horiz",(char *) "vert", NULL |
| 9381 | }; |
| 9382 | |
| 9383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 9384 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9385 | { |
| 9386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9387 | (arg1)->SetRowLabelAlignment(arg2,arg3); |
| 9388 | |
| 9389 | wxPyEndAllowThreads(__tstate); |
| 9390 | if (PyErr_Occurred()) SWIG_fail; |
| 9391 | } |
| 9392 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9393 | return resultobj; |
| 9394 | fail: |
| 9395 | return NULL; |
| 9396 | } |
| 9397 | |
| 9398 | |
| 9399 | static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9400 | PyObject *resultobj; |
| 9401 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9402 | int arg2 ; |
| 9403 | int arg3 ; |
| 9404 | PyObject * obj0 = 0 ; |
| 9405 | char *kwnames[] = { |
| 9406 | (char *) "self",(char *) "horiz",(char *) "vert", NULL |
| 9407 | }; |
| 9408 | |
| 9409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 9410 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9411 | { |
| 9412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9413 | (arg1)->SetColLabelAlignment(arg2,arg3); |
| 9414 | |
| 9415 | wxPyEndAllowThreads(__tstate); |
| 9416 | if (PyErr_Occurred()) SWIG_fail; |
| 9417 | } |
| 9418 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9419 | return resultobj; |
| 9420 | fail: |
| 9421 | return NULL; |
| 9422 | } |
| 9423 | |
| 9424 | |
| 9425 | static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9426 | PyObject *resultobj; |
| 9427 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9428 | int arg2 ; |
| 9429 | PyObject * obj0 = 0 ; |
| 9430 | char *kwnames[] = { |
| 9431 | (char *) "self",(char *) "textOrientation", NULL |
| 9432 | }; |
| 9433 | |
| 9434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames,&obj0,&arg2)) goto fail; |
| 9435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9436 | { |
| 9437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9438 | (arg1)->SetColLabelTextOrientation(arg2); |
| 9439 | |
| 9440 | wxPyEndAllowThreads(__tstate); |
| 9441 | if (PyErr_Occurred()) SWIG_fail; |
| 9442 | } |
| 9443 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9444 | return resultobj; |
| 9445 | fail: |
| 9446 | return NULL; |
| 9447 | } |
| 9448 | |
| 9449 | |
| 9450 | static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9451 | PyObject *resultobj; |
| 9452 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9453 | int arg2 ; |
| 9454 | wxString *arg3 = 0 ; |
| 9455 | bool temp3 = False ; |
| 9456 | PyObject * obj0 = 0 ; |
| 9457 | PyObject * obj2 = 0 ; |
| 9458 | char *kwnames[] = { |
| 9459 | (char *) "self",(char *) "row","arg3", NULL |
| 9460 | }; |
| 9461 | |
| 9462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 9463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9464 | { |
| 9465 | arg3 = wxString_in_helper(obj2); |
| 9466 | if (arg3 == NULL) SWIG_fail; |
| 9467 | temp3 = True; |
| 9468 | } |
| 9469 | { |
| 9470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9471 | (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3); |
| 9472 | |
| 9473 | wxPyEndAllowThreads(__tstate); |
| 9474 | if (PyErr_Occurred()) SWIG_fail; |
| 9475 | } |
| 9476 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9477 | { |
| 9478 | if (temp3) |
| 9479 | delete arg3; |
| 9480 | } |
| 9481 | return resultobj; |
| 9482 | fail: |
| 9483 | { |
| 9484 | if (temp3) |
| 9485 | delete arg3; |
| 9486 | } |
| 9487 | return NULL; |
| 9488 | } |
| 9489 | |
| 9490 | |
| 9491 | static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9492 | PyObject *resultobj; |
| 9493 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9494 | int arg2 ; |
| 9495 | wxString *arg3 = 0 ; |
| 9496 | bool temp3 = False ; |
| 9497 | PyObject * obj0 = 0 ; |
| 9498 | PyObject * obj2 = 0 ; |
| 9499 | char *kwnames[] = { |
| 9500 | (char *) "self",(char *) "col","arg3", NULL |
| 9501 | }; |
| 9502 | |
| 9503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 9504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9505 | { |
| 9506 | arg3 = wxString_in_helper(obj2); |
| 9507 | if (arg3 == NULL) SWIG_fail; |
| 9508 | temp3 = True; |
| 9509 | } |
| 9510 | { |
| 9511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9512 | (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3); |
| 9513 | |
| 9514 | wxPyEndAllowThreads(__tstate); |
| 9515 | if (PyErr_Occurred()) SWIG_fail; |
| 9516 | } |
| 9517 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9518 | { |
| 9519 | if (temp3) |
| 9520 | delete arg3; |
| 9521 | } |
| 9522 | return resultobj; |
| 9523 | fail: |
| 9524 | { |
| 9525 | if (temp3) |
| 9526 | delete arg3; |
| 9527 | } |
| 9528 | return NULL; |
| 9529 | } |
| 9530 | |
| 9531 | |
| 9532 | static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9533 | PyObject *resultobj; |
| 9534 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9535 | wxColour *arg2 = 0 ; |
| 9536 | wxColour temp2 ; |
| 9537 | PyObject * obj0 = 0 ; |
| 9538 | PyObject * obj1 = 0 ; |
| 9539 | char *kwnames[] = { |
| 9540 | (char *) "self","arg2", NULL |
| 9541 | }; |
| 9542 | |
| 9543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail; |
| 9544 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9545 | { |
| 9546 | arg2 = &temp2; |
| 9547 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 9548 | } |
| 9549 | { |
| 9550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9551 | (arg1)->SetGridLineColour((wxColour const &)*arg2); |
| 9552 | |
| 9553 | wxPyEndAllowThreads(__tstate); |
| 9554 | if (PyErr_Occurred()) SWIG_fail; |
| 9555 | } |
| 9556 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9557 | return resultobj; |
| 9558 | fail: |
| 9559 | return NULL; |
| 9560 | } |
| 9561 | |
| 9562 | |
| 9563 | static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9564 | PyObject *resultobj; |
| 9565 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9566 | wxColour *arg2 = 0 ; |
| 9567 | wxColour temp2 ; |
| 9568 | PyObject * obj0 = 0 ; |
| 9569 | PyObject * obj1 = 0 ; |
| 9570 | char *kwnames[] = { |
| 9571 | (char *) "self","arg2", NULL |
| 9572 | }; |
| 9573 | |
| 9574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail; |
| 9575 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9576 | { |
| 9577 | arg2 = &temp2; |
| 9578 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 9579 | } |
| 9580 | { |
| 9581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9582 | (arg1)->SetCellHighlightColour((wxColour const &)*arg2); |
| 9583 | |
| 9584 | wxPyEndAllowThreads(__tstate); |
| 9585 | if (PyErr_Occurred()) SWIG_fail; |
| 9586 | } |
| 9587 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9588 | return resultobj; |
| 9589 | fail: |
| 9590 | return NULL; |
| 9591 | } |
| 9592 | |
| 9593 | |
| 9594 | static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9595 | PyObject *resultobj; |
| 9596 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9597 | int arg2 ; |
| 9598 | PyObject * obj0 = 0 ; |
| 9599 | char *kwnames[] = { |
| 9600 | (char *) "self",(char *) "width", NULL |
| 9601 | }; |
| 9602 | |
| 9603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&arg2)) goto fail; |
| 9604 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9605 | { |
| 9606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9607 | (arg1)->SetCellHighlightPenWidth(arg2); |
| 9608 | |
| 9609 | wxPyEndAllowThreads(__tstate); |
| 9610 | if (PyErr_Occurred()) SWIG_fail; |
| 9611 | } |
| 9612 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9613 | return resultobj; |
| 9614 | fail: |
| 9615 | return NULL; |
| 9616 | } |
| 9617 | |
| 9618 | |
| 9619 | static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9620 | PyObject *resultobj; |
| 9621 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9622 | int arg2 ; |
| 9623 | PyObject * obj0 = 0 ; |
| 9624 | char *kwnames[] = { |
| 9625 | (char *) "self",(char *) "width", NULL |
| 9626 | }; |
| 9627 | |
| 9628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&arg2)) goto fail; |
| 9629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9630 | { |
| 9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9632 | (arg1)->SetCellHighlightROPenWidth(arg2); |
| 9633 | |
| 9634 | wxPyEndAllowThreads(__tstate); |
| 9635 | if (PyErr_Occurred()) SWIG_fail; |
| 9636 | } |
| 9637 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9638 | return resultobj; |
| 9639 | fail: |
| 9640 | return NULL; |
| 9641 | } |
| 9642 | |
| 9643 | |
| 9644 | static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9645 | PyObject *resultobj; |
| 9646 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9647 | bool arg2 = (bool) True ; |
| 9648 | PyObject * obj0 = 0 ; |
| 9649 | PyObject * obj1 = 0 ; |
| 9650 | char *kwnames[] = { |
| 9651 | (char *) "self",(char *) "enable", NULL |
| 9652 | }; |
| 9653 | |
| 9654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail; |
| 9655 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9656 | if (obj1) { |
| 9657 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 9658 | if (PyErr_Occurred()) SWIG_fail; |
| 9659 | } |
| 9660 | { |
| 9661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9662 | (arg1)->EnableDragRowSize(arg2); |
| 9663 | |
| 9664 | wxPyEndAllowThreads(__tstate); |
| 9665 | if (PyErr_Occurred()) SWIG_fail; |
| 9666 | } |
| 9667 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9668 | return resultobj; |
| 9669 | fail: |
| 9670 | return NULL; |
| 9671 | } |
| 9672 | |
| 9673 | |
| 9674 | static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9675 | PyObject *resultobj; |
| 9676 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9677 | PyObject * obj0 = 0 ; |
| 9678 | char *kwnames[] = { |
| 9679 | (char *) "self", NULL |
| 9680 | }; |
| 9681 | |
| 9682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail; |
| 9683 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9684 | { |
| 9685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9686 | (arg1)->DisableDragRowSize(); |
| 9687 | |
| 9688 | wxPyEndAllowThreads(__tstate); |
| 9689 | if (PyErr_Occurred()) SWIG_fail; |
| 9690 | } |
| 9691 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9692 | return resultobj; |
| 9693 | fail: |
| 9694 | return NULL; |
| 9695 | } |
| 9696 | |
| 9697 | |
| 9698 | static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9699 | PyObject *resultobj; |
| 9700 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9701 | bool result; |
| 9702 | PyObject * obj0 = 0 ; |
| 9703 | char *kwnames[] = { |
| 9704 | (char *) "self", NULL |
| 9705 | }; |
| 9706 | |
| 9707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail; |
| 9708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9709 | { |
| 9710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9711 | result = (bool)(arg1)->CanDragRowSize(); |
| 9712 | |
| 9713 | wxPyEndAllowThreads(__tstate); |
| 9714 | if (PyErr_Occurred()) SWIG_fail; |
| 9715 | } |
| 9716 | resultobj = PyInt_FromLong((long)result); |
| 9717 | return resultobj; |
| 9718 | fail: |
| 9719 | return NULL; |
| 9720 | } |
| 9721 | |
| 9722 | |
| 9723 | static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9724 | PyObject *resultobj; |
| 9725 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9726 | bool arg2 = (bool) True ; |
| 9727 | PyObject * obj0 = 0 ; |
| 9728 | PyObject * obj1 = 0 ; |
| 9729 | char *kwnames[] = { |
| 9730 | (char *) "self",(char *) "enable", NULL |
| 9731 | }; |
| 9732 | |
| 9733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail; |
| 9734 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9735 | if (obj1) { |
| 9736 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 9737 | if (PyErr_Occurred()) SWIG_fail; |
| 9738 | } |
| 9739 | { |
| 9740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9741 | (arg1)->EnableDragColSize(arg2); |
| 9742 | |
| 9743 | wxPyEndAllowThreads(__tstate); |
| 9744 | if (PyErr_Occurred()) SWIG_fail; |
| 9745 | } |
| 9746 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9747 | return resultobj; |
| 9748 | fail: |
| 9749 | return NULL; |
| 9750 | } |
| 9751 | |
| 9752 | |
| 9753 | static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9754 | PyObject *resultobj; |
| 9755 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9756 | PyObject * obj0 = 0 ; |
| 9757 | char *kwnames[] = { |
| 9758 | (char *) "self", NULL |
| 9759 | }; |
| 9760 | |
| 9761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail; |
| 9762 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9763 | { |
| 9764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9765 | (arg1)->DisableDragColSize(); |
| 9766 | |
| 9767 | wxPyEndAllowThreads(__tstate); |
| 9768 | if (PyErr_Occurred()) SWIG_fail; |
| 9769 | } |
| 9770 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9771 | return resultobj; |
| 9772 | fail: |
| 9773 | return NULL; |
| 9774 | } |
| 9775 | |
| 9776 | |
| 9777 | static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9778 | PyObject *resultobj; |
| 9779 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9780 | bool result; |
| 9781 | PyObject * obj0 = 0 ; |
| 9782 | char *kwnames[] = { |
| 9783 | (char *) "self", NULL |
| 9784 | }; |
| 9785 | |
| 9786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail; |
| 9787 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9788 | { |
| 9789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9790 | result = (bool)(arg1)->CanDragColSize(); |
| 9791 | |
| 9792 | wxPyEndAllowThreads(__tstate); |
| 9793 | if (PyErr_Occurred()) SWIG_fail; |
| 9794 | } |
| 9795 | resultobj = PyInt_FromLong((long)result); |
| 9796 | return resultobj; |
| 9797 | fail: |
| 9798 | return NULL; |
| 9799 | } |
| 9800 | |
| 9801 | |
| 9802 | static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9803 | PyObject *resultobj; |
| 9804 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9805 | bool arg2 = (bool) True ; |
| 9806 | PyObject * obj0 = 0 ; |
| 9807 | PyObject * obj1 = 0 ; |
| 9808 | char *kwnames[] = { |
| 9809 | (char *) "self",(char *) "enable", NULL |
| 9810 | }; |
| 9811 | |
| 9812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail; |
| 9813 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9814 | if (obj1) { |
| 9815 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 9816 | if (PyErr_Occurred()) SWIG_fail; |
| 9817 | } |
| 9818 | { |
| 9819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9820 | (arg1)->EnableDragGridSize(arg2); |
| 9821 | |
| 9822 | wxPyEndAllowThreads(__tstate); |
| 9823 | if (PyErr_Occurred()) SWIG_fail; |
| 9824 | } |
| 9825 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9826 | return resultobj; |
| 9827 | fail: |
| 9828 | return NULL; |
| 9829 | } |
| 9830 | |
| 9831 | |
| 9832 | static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9833 | PyObject *resultobj; |
| 9834 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9835 | PyObject * obj0 = 0 ; |
| 9836 | char *kwnames[] = { |
| 9837 | (char *) "self", NULL |
| 9838 | }; |
| 9839 | |
| 9840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail; |
| 9841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9842 | { |
| 9843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9844 | (arg1)->DisableDragGridSize(); |
| 9845 | |
| 9846 | wxPyEndAllowThreads(__tstate); |
| 9847 | if (PyErr_Occurred()) SWIG_fail; |
| 9848 | } |
| 9849 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9850 | return resultobj; |
| 9851 | fail: |
| 9852 | return NULL; |
| 9853 | } |
| 9854 | |
| 9855 | |
| 9856 | static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9857 | PyObject *resultobj; |
| 9858 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9859 | bool result; |
| 9860 | PyObject * obj0 = 0 ; |
| 9861 | char *kwnames[] = { |
| 9862 | (char *) "self", NULL |
| 9863 | }; |
| 9864 | |
| 9865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail; |
| 9866 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9867 | { |
| 9868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9869 | result = (bool)(arg1)->CanDragGridSize(); |
| 9870 | |
| 9871 | wxPyEndAllowThreads(__tstate); |
| 9872 | if (PyErr_Occurred()) SWIG_fail; |
| 9873 | } |
| 9874 | resultobj = PyInt_FromLong((long)result); |
| 9875 | return resultobj; |
| 9876 | fail: |
| 9877 | return NULL; |
| 9878 | } |
| 9879 | |
| 9880 | |
| 9881 | static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9882 | PyObject *resultobj; |
| 9883 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9884 | int arg2 ; |
| 9885 | int arg3 ; |
| 9886 | wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ; |
| 9887 | PyObject * obj0 = 0 ; |
| 9888 | PyObject * obj3 = 0 ; |
| 9889 | char *kwnames[] = { |
| 9890 | (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL |
| 9891 | }; |
| 9892 | |
| 9893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetAttr",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 9894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9895 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9896 | { |
| 9897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9898 | (arg1)->SetAttr(arg2,arg3,arg4); |
| 9899 | |
| 9900 | wxPyEndAllowThreads(__tstate); |
| 9901 | if (PyErr_Occurred()) SWIG_fail; |
| 9902 | } |
| 9903 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9904 | return resultobj; |
| 9905 | fail: |
| 9906 | return NULL; |
| 9907 | } |
| 9908 | |
| 9909 | |
| 9910 | static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9911 | PyObject *resultobj; |
| 9912 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9913 | int arg2 ; |
| 9914 | wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; |
| 9915 | PyObject * obj0 = 0 ; |
| 9916 | PyObject * obj2 = 0 ; |
| 9917 | char *kwnames[] = { |
| 9918 | (char *) "self",(char *) "row",(char *) "attr", NULL |
| 9919 | }; |
| 9920 | |
| 9921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowAttr",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 9922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9923 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9924 | { |
| 9925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9926 | (arg1)->SetRowAttr(arg2,arg3); |
| 9927 | |
| 9928 | wxPyEndAllowThreads(__tstate); |
| 9929 | if (PyErr_Occurred()) SWIG_fail; |
| 9930 | } |
| 9931 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9932 | return resultobj; |
| 9933 | fail: |
| 9934 | return NULL; |
| 9935 | } |
| 9936 | |
| 9937 | |
| 9938 | static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9939 | PyObject *resultobj; |
| 9940 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9941 | int arg2 ; |
| 9942 | wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; |
| 9943 | PyObject * obj0 = 0 ; |
| 9944 | PyObject * obj2 = 0 ; |
| 9945 | char *kwnames[] = { |
| 9946 | (char *) "self",(char *) "col",(char *) "attr", NULL |
| 9947 | }; |
| 9948 | |
| 9949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColAttr",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 9950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9951 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9952 | { |
| 9953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9954 | (arg1)->SetColAttr(arg2,arg3); |
| 9955 | |
| 9956 | wxPyEndAllowThreads(__tstate); |
| 9957 | if (PyErr_Occurred()) SWIG_fail; |
| 9958 | } |
| 9959 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9960 | return resultobj; |
| 9961 | fail: |
| 9962 | return NULL; |
| 9963 | } |
| 9964 | |
| 9965 | |
| 9966 | static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9967 | PyObject *resultobj; |
| 9968 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9969 | int arg2 ; |
| 9970 | PyObject * obj0 = 0 ; |
| 9971 | char *kwnames[] = { |
| 9972 | (char *) "self",(char *) "col", NULL |
| 9973 | }; |
| 9974 | |
| 9975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatBool",kwnames,&obj0,&arg2)) goto fail; |
| 9976 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 9977 | { |
| 9978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9979 | (arg1)->SetColFormatBool(arg2); |
| 9980 | |
| 9981 | wxPyEndAllowThreads(__tstate); |
| 9982 | if (PyErr_Occurred()) SWIG_fail; |
| 9983 | } |
| 9984 | Py_INCREF(Py_None); resultobj = Py_None; |
| 9985 | return resultobj; |
| 9986 | fail: |
| 9987 | return NULL; |
| 9988 | } |
| 9989 | |
| 9990 | |
| 9991 | static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 9992 | PyObject *resultobj; |
| 9993 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 9994 | int arg2 ; |
| 9995 | PyObject * obj0 = 0 ; |
| 9996 | char *kwnames[] = { |
| 9997 | (char *) "self",(char *) "col", NULL |
| 9998 | }; |
| 9999 | |
| 10000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatNumber",kwnames,&obj0,&arg2)) goto fail; |
| 10001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10002 | { |
| 10003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10004 | (arg1)->SetColFormatNumber(arg2); |
| 10005 | |
| 10006 | wxPyEndAllowThreads(__tstate); |
| 10007 | if (PyErr_Occurred()) SWIG_fail; |
| 10008 | } |
| 10009 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10010 | return resultobj; |
| 10011 | fail: |
| 10012 | return NULL; |
| 10013 | } |
| 10014 | |
| 10015 | |
| 10016 | static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10017 | PyObject *resultobj; |
| 10018 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10019 | int arg2 ; |
| 10020 | int arg3 = (int) -1 ; |
| 10021 | int arg4 = (int) -1 ; |
| 10022 | PyObject * obj0 = 0 ; |
| 10023 | char *kwnames[] = { |
| 10024 | (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL |
| 10025 | }; |
| 10026 | |
| 10027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; |
| 10028 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10029 | { |
| 10030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10031 | (arg1)->SetColFormatFloat(arg2,arg3,arg4); |
| 10032 | |
| 10033 | wxPyEndAllowThreads(__tstate); |
| 10034 | if (PyErr_Occurred()) SWIG_fail; |
| 10035 | } |
| 10036 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10037 | return resultobj; |
| 10038 | fail: |
| 10039 | return NULL; |
| 10040 | } |
| 10041 | |
| 10042 | |
| 10043 | static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10044 | PyObject *resultobj; |
| 10045 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10046 | int arg2 ; |
| 10047 | wxString *arg3 = 0 ; |
| 10048 | bool temp3 = False ; |
| 10049 | PyObject * obj0 = 0 ; |
| 10050 | PyObject * obj2 = 0 ; |
| 10051 | char *kwnames[] = { |
| 10052 | (char *) "self",(char *) "col",(char *) "typeName", NULL |
| 10053 | }; |
| 10054 | |
| 10055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColFormatCustom",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 10056 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10057 | { |
| 10058 | arg3 = wxString_in_helper(obj2); |
| 10059 | if (arg3 == NULL) SWIG_fail; |
| 10060 | temp3 = True; |
| 10061 | } |
| 10062 | { |
| 10063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10064 | (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3); |
| 10065 | |
| 10066 | wxPyEndAllowThreads(__tstate); |
| 10067 | if (PyErr_Occurred()) SWIG_fail; |
| 10068 | } |
| 10069 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10070 | { |
| 10071 | if (temp3) |
| 10072 | delete arg3; |
| 10073 | } |
| 10074 | return resultobj; |
| 10075 | fail: |
| 10076 | { |
| 10077 | if (temp3) |
| 10078 | delete arg3; |
| 10079 | } |
| 10080 | return NULL; |
| 10081 | } |
| 10082 | |
| 10083 | |
| 10084 | static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10085 | PyObject *resultobj; |
| 10086 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10087 | bool arg2 = (bool) True ; |
| 10088 | PyObject * obj0 = 0 ; |
| 10089 | PyObject * obj1 = 0 ; |
| 10090 | char *kwnames[] = { |
| 10091 | (char *) "self",(char *) "enable", NULL |
| 10092 | }; |
| 10093 | |
| 10094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail; |
| 10095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10096 | if (obj1) { |
| 10097 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 10098 | if (PyErr_Occurred()) SWIG_fail; |
| 10099 | } |
| 10100 | { |
| 10101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10102 | (arg1)->EnableGridLines(arg2); |
| 10103 | |
| 10104 | wxPyEndAllowThreads(__tstate); |
| 10105 | if (PyErr_Occurred()) SWIG_fail; |
| 10106 | } |
| 10107 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10108 | return resultobj; |
| 10109 | fail: |
| 10110 | return NULL; |
| 10111 | } |
| 10112 | |
| 10113 | |
| 10114 | static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10115 | PyObject *resultobj; |
| 10116 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10117 | bool result; |
| 10118 | PyObject * obj0 = 0 ; |
| 10119 | char *kwnames[] = { |
| 10120 | (char *) "self", NULL |
| 10121 | }; |
| 10122 | |
| 10123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail; |
| 10124 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10125 | { |
| 10126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10127 | result = (bool)(arg1)->GridLinesEnabled(); |
| 10128 | |
| 10129 | wxPyEndAllowThreads(__tstate); |
| 10130 | if (PyErr_Occurred()) SWIG_fail; |
| 10131 | } |
| 10132 | resultobj = PyInt_FromLong((long)result); |
| 10133 | return resultobj; |
| 10134 | fail: |
| 10135 | return NULL; |
| 10136 | } |
| 10137 | |
| 10138 | |
| 10139 | static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10140 | PyObject *resultobj; |
| 10141 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10142 | int result; |
| 10143 | PyObject * obj0 = 0 ; |
| 10144 | char *kwnames[] = { |
| 10145 | (char *) "self", NULL |
| 10146 | }; |
| 10147 | |
| 10148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail; |
| 10149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10150 | { |
| 10151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10152 | result = (int)(arg1)->GetDefaultRowSize(); |
| 10153 | |
| 10154 | wxPyEndAllowThreads(__tstate); |
| 10155 | if (PyErr_Occurred()) SWIG_fail; |
| 10156 | } |
| 10157 | resultobj = PyInt_FromLong((long)result); |
| 10158 | return resultobj; |
| 10159 | fail: |
| 10160 | return NULL; |
| 10161 | } |
| 10162 | |
| 10163 | |
| 10164 | static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10165 | PyObject *resultobj; |
| 10166 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10167 | int arg2 ; |
| 10168 | int result; |
| 10169 | PyObject * obj0 = 0 ; |
| 10170 | char *kwnames[] = { |
| 10171 | (char *) "self",(char *) "row", NULL |
| 10172 | }; |
| 10173 | |
| 10174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowSize",kwnames,&obj0,&arg2)) goto fail; |
| 10175 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10176 | { |
| 10177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10178 | result = (int)(arg1)->GetRowSize(arg2); |
| 10179 | |
| 10180 | wxPyEndAllowThreads(__tstate); |
| 10181 | if (PyErr_Occurred()) SWIG_fail; |
| 10182 | } |
| 10183 | resultobj = PyInt_FromLong((long)result); |
| 10184 | return resultobj; |
| 10185 | fail: |
| 10186 | return NULL; |
| 10187 | } |
| 10188 | |
| 10189 | |
| 10190 | static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10191 | PyObject *resultobj; |
| 10192 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10193 | int result; |
| 10194 | PyObject * obj0 = 0 ; |
| 10195 | char *kwnames[] = { |
| 10196 | (char *) "self", NULL |
| 10197 | }; |
| 10198 | |
| 10199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail; |
| 10200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10201 | { |
| 10202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10203 | result = (int)(arg1)->GetDefaultColSize(); |
| 10204 | |
| 10205 | wxPyEndAllowThreads(__tstate); |
| 10206 | if (PyErr_Occurred()) SWIG_fail; |
| 10207 | } |
| 10208 | resultobj = PyInt_FromLong((long)result); |
| 10209 | return resultobj; |
| 10210 | fail: |
| 10211 | return NULL; |
| 10212 | } |
| 10213 | |
| 10214 | |
| 10215 | static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10216 | PyObject *resultobj; |
| 10217 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10218 | int arg2 ; |
| 10219 | int result; |
| 10220 | PyObject * obj0 = 0 ; |
| 10221 | char *kwnames[] = { |
| 10222 | (char *) "self",(char *) "col", NULL |
| 10223 | }; |
| 10224 | |
| 10225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColSize",kwnames,&obj0,&arg2)) goto fail; |
| 10226 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10227 | { |
| 10228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10229 | result = (int)(arg1)->GetColSize(arg2); |
| 10230 | |
| 10231 | wxPyEndAllowThreads(__tstate); |
| 10232 | if (PyErr_Occurred()) SWIG_fail; |
| 10233 | } |
| 10234 | resultobj = PyInt_FromLong((long)result); |
| 10235 | return resultobj; |
| 10236 | fail: |
| 10237 | return NULL; |
| 10238 | } |
| 10239 | |
| 10240 | |
| 10241 | static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10242 | PyObject *resultobj; |
| 10243 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10244 | wxColour result; |
| 10245 | PyObject * obj0 = 0 ; |
| 10246 | char *kwnames[] = { |
| 10247 | (char *) "self", NULL |
| 10248 | }; |
| 10249 | |
| 10250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail; |
| 10251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10252 | { |
| 10253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10254 | result = (arg1)->GetDefaultCellBackgroundColour(); |
| 10255 | |
| 10256 | wxPyEndAllowThreads(__tstate); |
| 10257 | if (PyErr_Occurred()) SWIG_fail; |
| 10258 | } |
| 10259 | { |
| 10260 | wxColour * resultptr; |
| 10261 | resultptr = new wxColour((wxColour &) result); |
| 10262 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 10263 | } |
| 10264 | return resultobj; |
| 10265 | fail: |
| 10266 | return NULL; |
| 10267 | } |
| 10268 | |
| 10269 | |
| 10270 | static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10271 | PyObject *resultobj; |
| 10272 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10273 | int arg2 ; |
| 10274 | int arg3 ; |
| 10275 | wxColour result; |
| 10276 | PyObject * obj0 = 0 ; |
| 10277 | char *kwnames[] = { |
| 10278 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10279 | }; |
| 10280 | |
| 10281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10283 | { |
| 10284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10285 | result = (arg1)->GetCellBackgroundColour(arg2,arg3); |
| 10286 | |
| 10287 | wxPyEndAllowThreads(__tstate); |
| 10288 | if (PyErr_Occurred()) SWIG_fail; |
| 10289 | } |
| 10290 | { |
| 10291 | wxColour * resultptr; |
| 10292 | resultptr = new wxColour((wxColour &) result); |
| 10293 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 10294 | } |
| 10295 | return resultobj; |
| 10296 | fail: |
| 10297 | return NULL; |
| 10298 | } |
| 10299 | |
| 10300 | |
| 10301 | static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10302 | PyObject *resultobj; |
| 10303 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10304 | wxColour result; |
| 10305 | PyObject * obj0 = 0 ; |
| 10306 | char *kwnames[] = { |
| 10307 | (char *) "self", NULL |
| 10308 | }; |
| 10309 | |
| 10310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail; |
| 10311 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10312 | { |
| 10313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10314 | result = (arg1)->GetDefaultCellTextColour(); |
| 10315 | |
| 10316 | wxPyEndAllowThreads(__tstate); |
| 10317 | if (PyErr_Occurred()) SWIG_fail; |
| 10318 | } |
| 10319 | { |
| 10320 | wxColour * resultptr; |
| 10321 | resultptr = new wxColour((wxColour &) result); |
| 10322 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 10323 | } |
| 10324 | return resultobj; |
| 10325 | fail: |
| 10326 | return NULL; |
| 10327 | } |
| 10328 | |
| 10329 | |
| 10330 | static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10331 | PyObject *resultobj; |
| 10332 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10333 | int arg2 ; |
| 10334 | int arg3 ; |
| 10335 | wxColour result; |
| 10336 | PyObject * obj0 = 0 ; |
| 10337 | char *kwnames[] = { |
| 10338 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10339 | }; |
| 10340 | |
| 10341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellTextColour",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10343 | { |
| 10344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10345 | result = (arg1)->GetCellTextColour(arg2,arg3); |
| 10346 | |
| 10347 | wxPyEndAllowThreads(__tstate); |
| 10348 | if (PyErr_Occurred()) SWIG_fail; |
| 10349 | } |
| 10350 | { |
| 10351 | wxColour * resultptr; |
| 10352 | resultptr = new wxColour((wxColour &) result); |
| 10353 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 10354 | } |
| 10355 | return resultobj; |
| 10356 | fail: |
| 10357 | return NULL; |
| 10358 | } |
| 10359 | |
| 10360 | |
| 10361 | static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10362 | PyObject *resultobj; |
| 10363 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10364 | wxFont result; |
| 10365 | PyObject * obj0 = 0 ; |
| 10366 | char *kwnames[] = { |
| 10367 | (char *) "self", NULL |
| 10368 | }; |
| 10369 | |
| 10370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail; |
| 10371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10372 | { |
| 10373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10374 | result = (arg1)->GetDefaultCellFont(); |
| 10375 | |
| 10376 | wxPyEndAllowThreads(__tstate); |
| 10377 | if (PyErr_Occurred()) SWIG_fail; |
| 10378 | } |
| 10379 | { |
| 10380 | wxFont * resultptr; |
| 10381 | resultptr = new wxFont((wxFont &) result); |
| 10382 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); |
| 10383 | } |
| 10384 | return resultobj; |
| 10385 | fail: |
| 10386 | return NULL; |
| 10387 | } |
| 10388 | |
| 10389 | |
| 10390 | static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10391 | PyObject *resultobj; |
| 10392 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10393 | int arg2 ; |
| 10394 | int arg3 ; |
| 10395 | wxFont result; |
| 10396 | PyObject * obj0 = 0 ; |
| 10397 | char *kwnames[] = { |
| 10398 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10399 | }; |
| 10400 | |
| 10401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellFont",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10402 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10403 | { |
| 10404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10405 | result = (arg1)->GetCellFont(arg2,arg3); |
| 10406 | |
| 10407 | wxPyEndAllowThreads(__tstate); |
| 10408 | if (PyErr_Occurred()) SWIG_fail; |
| 10409 | } |
| 10410 | { |
| 10411 | wxFont * resultptr; |
| 10412 | resultptr = new wxFont((wxFont &) result); |
| 10413 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); |
| 10414 | } |
| 10415 | return resultobj; |
| 10416 | fail: |
| 10417 | return NULL; |
| 10418 | } |
| 10419 | |
| 10420 | |
| 10421 | static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10422 | PyObject *resultobj; |
| 10423 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10424 | int *arg2 = (int *) 0 ; |
| 10425 | int *arg3 = (int *) 0 ; |
| 10426 | int temp2 ; |
| 10427 | int temp3 ; |
| 10428 | PyObject * obj0 = 0 ; |
| 10429 | char *kwnames[] = { |
| 10430 | (char *) "self", NULL |
| 10431 | }; |
| 10432 | |
| 10433 | arg2 = &temp2; |
| 10434 | arg3 = &temp3; |
| 10435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail; |
| 10436 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10437 | { |
| 10438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10439 | (arg1)->GetDefaultCellAlignment(arg2,arg3); |
| 10440 | |
| 10441 | wxPyEndAllowThreads(__tstate); |
| 10442 | if (PyErr_Occurred()) SWIG_fail; |
| 10443 | } |
| 10444 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10445 | { |
| 10446 | PyObject *o = PyInt_FromLong((long) (*arg2)); |
| 10447 | resultobj = t_output_helper(resultobj,o); |
| 10448 | } |
| 10449 | { |
| 10450 | PyObject *o = PyInt_FromLong((long) (*arg3)); |
| 10451 | resultobj = t_output_helper(resultobj,o); |
| 10452 | } |
| 10453 | return resultobj; |
| 10454 | fail: |
| 10455 | return NULL; |
| 10456 | } |
| 10457 | |
| 10458 | |
| 10459 | static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10460 | PyObject *resultobj; |
| 10461 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10462 | int arg2 ; |
| 10463 | int arg3 ; |
| 10464 | int *arg4 = (int *) 0 ; |
| 10465 | int *arg5 = (int *) 0 ; |
| 10466 | int temp4 ; |
| 10467 | int temp5 ; |
| 10468 | PyObject * obj0 = 0 ; |
| 10469 | char *kwnames[] = { |
| 10470 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10471 | }; |
| 10472 | |
| 10473 | arg4 = &temp4; |
| 10474 | arg5 = &temp5; |
| 10475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10476 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10477 | { |
| 10478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10479 | (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5); |
| 10480 | |
| 10481 | wxPyEndAllowThreads(__tstate); |
| 10482 | if (PyErr_Occurred()) SWIG_fail; |
| 10483 | } |
| 10484 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10485 | { |
| 10486 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
| 10487 | resultobj = t_output_helper(resultobj,o); |
| 10488 | } |
| 10489 | { |
| 10490 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
| 10491 | resultobj = t_output_helper(resultobj,o); |
| 10492 | } |
| 10493 | return resultobj; |
| 10494 | fail: |
| 10495 | return NULL; |
| 10496 | } |
| 10497 | |
| 10498 | |
| 10499 | static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10500 | PyObject *resultobj; |
| 10501 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10502 | bool result; |
| 10503 | PyObject * obj0 = 0 ; |
| 10504 | char *kwnames[] = { |
| 10505 | (char *) "self", NULL |
| 10506 | }; |
| 10507 | |
| 10508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail; |
| 10509 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10510 | { |
| 10511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10512 | result = (bool)(arg1)->GetDefaultCellOverflow(); |
| 10513 | |
| 10514 | wxPyEndAllowThreads(__tstate); |
| 10515 | if (PyErr_Occurred()) SWIG_fail; |
| 10516 | } |
| 10517 | resultobj = PyInt_FromLong((long)result); |
| 10518 | return resultobj; |
| 10519 | fail: |
| 10520 | return NULL; |
| 10521 | } |
| 10522 | |
| 10523 | |
| 10524 | static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10525 | PyObject *resultobj; |
| 10526 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10527 | int arg2 ; |
| 10528 | int arg3 ; |
| 10529 | bool result; |
| 10530 | PyObject * obj0 = 0 ; |
| 10531 | char *kwnames[] = { |
| 10532 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10533 | }; |
| 10534 | |
| 10535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellOverflow",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10536 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10537 | { |
| 10538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10539 | result = (bool)(arg1)->GetCellOverflow(arg2,arg3); |
| 10540 | |
| 10541 | wxPyEndAllowThreads(__tstate); |
| 10542 | if (PyErr_Occurred()) SWIG_fail; |
| 10543 | } |
| 10544 | resultobj = PyInt_FromLong((long)result); |
| 10545 | return resultobj; |
| 10546 | fail: |
| 10547 | return NULL; |
| 10548 | } |
| 10549 | |
| 10550 | |
| 10551 | static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10552 | PyObject *resultobj; |
| 10553 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10554 | int arg2 ; |
| 10555 | int arg3 ; |
| 10556 | int *arg4 = (int *) 0 ; |
| 10557 | int *arg5 = (int *) 0 ; |
| 10558 | int temp4 ; |
| 10559 | int temp5 ; |
| 10560 | PyObject * obj0 = 0 ; |
| 10561 | char *kwnames[] = { |
| 10562 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 10563 | }; |
| 10564 | |
| 10565 | arg4 = &temp4; |
| 10566 | arg5 = &temp5; |
| 10567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellSize",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10569 | { |
| 10570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10571 | (arg1)->GetCellSize(arg2,arg3,arg4,arg5); |
| 10572 | |
| 10573 | wxPyEndAllowThreads(__tstate); |
| 10574 | if (PyErr_Occurred()) SWIG_fail; |
| 10575 | } |
| 10576 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10577 | { |
| 10578 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
| 10579 | resultobj = t_output_helper(resultobj,o); |
| 10580 | } |
| 10581 | { |
| 10582 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
| 10583 | resultobj = t_output_helper(resultobj,o); |
| 10584 | } |
| 10585 | return resultobj; |
| 10586 | fail: |
| 10587 | return NULL; |
| 10588 | } |
| 10589 | |
| 10590 | |
| 10591 | static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10592 | PyObject *resultobj; |
| 10593 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10594 | int arg2 ; |
| 10595 | bool arg3 = (bool) False ; |
| 10596 | PyObject * obj0 = 0 ; |
| 10597 | PyObject * obj2 = 0 ; |
| 10598 | char *kwnames[] = { |
| 10599 | (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL |
| 10600 | }; |
| 10601 | |
| 10602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 10603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10604 | if (obj2) { |
| 10605 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 10606 | if (PyErr_Occurred()) SWIG_fail; |
| 10607 | } |
| 10608 | { |
| 10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10610 | (arg1)->SetDefaultRowSize(arg2,arg3); |
| 10611 | |
| 10612 | wxPyEndAllowThreads(__tstate); |
| 10613 | if (PyErr_Occurred()) SWIG_fail; |
| 10614 | } |
| 10615 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10616 | return resultobj; |
| 10617 | fail: |
| 10618 | return NULL; |
| 10619 | } |
| 10620 | |
| 10621 | |
| 10622 | static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10623 | PyObject *resultobj; |
| 10624 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10625 | int arg2 ; |
| 10626 | int arg3 ; |
| 10627 | PyObject * obj0 = 0 ; |
| 10628 | char *kwnames[] = { |
| 10629 | (char *) "self",(char *) "row",(char *) "height", NULL |
| 10630 | }; |
| 10631 | |
| 10632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowSize",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10634 | { |
| 10635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10636 | (arg1)->SetRowSize(arg2,arg3); |
| 10637 | |
| 10638 | wxPyEndAllowThreads(__tstate); |
| 10639 | if (PyErr_Occurred()) SWIG_fail; |
| 10640 | } |
| 10641 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10642 | return resultobj; |
| 10643 | fail: |
| 10644 | return NULL; |
| 10645 | } |
| 10646 | |
| 10647 | |
| 10648 | static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10649 | PyObject *resultobj; |
| 10650 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10651 | int arg2 ; |
| 10652 | bool arg3 = (bool) False ; |
| 10653 | PyObject * obj0 = 0 ; |
| 10654 | PyObject * obj2 = 0 ; |
| 10655 | char *kwnames[] = { |
| 10656 | (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL |
| 10657 | }; |
| 10658 | |
| 10659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 10660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10661 | if (obj2) { |
| 10662 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 10663 | if (PyErr_Occurred()) SWIG_fail; |
| 10664 | } |
| 10665 | { |
| 10666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10667 | (arg1)->SetDefaultColSize(arg2,arg3); |
| 10668 | |
| 10669 | wxPyEndAllowThreads(__tstate); |
| 10670 | if (PyErr_Occurred()) SWIG_fail; |
| 10671 | } |
| 10672 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10673 | return resultobj; |
| 10674 | fail: |
| 10675 | return NULL; |
| 10676 | } |
| 10677 | |
| 10678 | |
| 10679 | static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10680 | PyObject *resultobj; |
| 10681 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10682 | int arg2 ; |
| 10683 | int arg3 ; |
| 10684 | PyObject * obj0 = 0 ; |
| 10685 | char *kwnames[] = { |
| 10686 | (char *) "self",(char *) "col",(char *) "width", NULL |
| 10687 | }; |
| 10688 | |
| 10689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColSize",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10691 | { |
| 10692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10693 | (arg1)->SetColSize(arg2,arg3); |
| 10694 | |
| 10695 | wxPyEndAllowThreads(__tstate); |
| 10696 | if (PyErr_Occurred()) SWIG_fail; |
| 10697 | } |
| 10698 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10699 | return resultobj; |
| 10700 | fail: |
| 10701 | return NULL; |
| 10702 | } |
| 10703 | |
| 10704 | |
| 10705 | static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10706 | PyObject *resultobj; |
| 10707 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10708 | int arg2 ; |
| 10709 | bool arg3 = (bool) True ; |
| 10710 | PyObject * obj0 = 0 ; |
| 10711 | PyObject * obj2 = 0 ; |
| 10712 | char *kwnames[] = { |
| 10713 | (char *) "self",(char *) "col",(char *) "setAsMin", NULL |
| 10714 | }; |
| 10715 | |
| 10716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 10717 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10718 | if (obj2) { |
| 10719 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 10720 | if (PyErr_Occurred()) SWIG_fail; |
| 10721 | } |
| 10722 | { |
| 10723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10724 | (arg1)->AutoSizeColumn(arg2,arg3); |
| 10725 | |
| 10726 | wxPyEndAllowThreads(__tstate); |
| 10727 | if (PyErr_Occurred()) SWIG_fail; |
| 10728 | } |
| 10729 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10730 | return resultobj; |
| 10731 | fail: |
| 10732 | return NULL; |
| 10733 | } |
| 10734 | |
| 10735 | |
| 10736 | static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10737 | PyObject *resultobj; |
| 10738 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10739 | int arg2 ; |
| 10740 | bool arg3 = (bool) True ; |
| 10741 | PyObject * obj0 = 0 ; |
| 10742 | PyObject * obj2 = 0 ; |
| 10743 | char *kwnames[] = { |
| 10744 | (char *) "self",(char *) "row",(char *) "setAsMin", NULL |
| 10745 | }; |
| 10746 | |
| 10747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeRow",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 10748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10749 | if (obj2) { |
| 10750 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 10751 | if (PyErr_Occurred()) SWIG_fail; |
| 10752 | } |
| 10753 | { |
| 10754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10755 | (arg1)->AutoSizeRow(arg2,arg3); |
| 10756 | |
| 10757 | wxPyEndAllowThreads(__tstate); |
| 10758 | if (PyErr_Occurred()) SWIG_fail; |
| 10759 | } |
| 10760 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10761 | return resultobj; |
| 10762 | fail: |
| 10763 | return NULL; |
| 10764 | } |
| 10765 | |
| 10766 | |
| 10767 | static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10768 | PyObject *resultobj; |
| 10769 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10770 | bool arg2 = (bool) True ; |
| 10771 | PyObject * obj0 = 0 ; |
| 10772 | PyObject * obj1 = 0 ; |
| 10773 | char *kwnames[] = { |
| 10774 | (char *) "self",(char *) "setAsMin", NULL |
| 10775 | }; |
| 10776 | |
| 10777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail; |
| 10778 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10779 | if (obj1) { |
| 10780 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 10781 | if (PyErr_Occurred()) SWIG_fail; |
| 10782 | } |
| 10783 | { |
| 10784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10785 | (arg1)->AutoSizeColumns(arg2); |
| 10786 | |
| 10787 | wxPyEndAllowThreads(__tstate); |
| 10788 | if (PyErr_Occurred()) SWIG_fail; |
| 10789 | } |
| 10790 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10791 | return resultobj; |
| 10792 | fail: |
| 10793 | return NULL; |
| 10794 | } |
| 10795 | |
| 10796 | |
| 10797 | static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10798 | PyObject *resultobj; |
| 10799 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10800 | bool arg2 = (bool) True ; |
| 10801 | PyObject * obj0 = 0 ; |
| 10802 | PyObject * obj1 = 0 ; |
| 10803 | char *kwnames[] = { |
| 10804 | (char *) "self",(char *) "setAsMin", NULL |
| 10805 | }; |
| 10806 | |
| 10807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail; |
| 10808 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10809 | if (obj1) { |
| 10810 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 10811 | if (PyErr_Occurred()) SWIG_fail; |
| 10812 | } |
| 10813 | { |
| 10814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10815 | (arg1)->AutoSizeRows(arg2); |
| 10816 | |
| 10817 | wxPyEndAllowThreads(__tstate); |
| 10818 | if (PyErr_Occurred()) SWIG_fail; |
| 10819 | } |
| 10820 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10821 | return resultobj; |
| 10822 | fail: |
| 10823 | return NULL; |
| 10824 | } |
| 10825 | |
| 10826 | |
| 10827 | static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10828 | PyObject *resultobj; |
| 10829 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10830 | PyObject * obj0 = 0 ; |
| 10831 | char *kwnames[] = { |
| 10832 | (char *) "self", NULL |
| 10833 | }; |
| 10834 | |
| 10835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail; |
| 10836 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10837 | { |
| 10838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10839 | (arg1)->AutoSize(); |
| 10840 | |
| 10841 | wxPyEndAllowThreads(__tstate); |
| 10842 | if (PyErr_Occurred()) SWIG_fail; |
| 10843 | } |
| 10844 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10845 | return resultobj; |
| 10846 | fail: |
| 10847 | return NULL; |
| 10848 | } |
| 10849 | |
| 10850 | |
| 10851 | static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10852 | PyObject *resultobj; |
| 10853 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10854 | int arg2 ; |
| 10855 | PyObject * obj0 = 0 ; |
| 10856 | char *kwnames[] = { |
| 10857 | (char *) "self",(char *) "row", NULL |
| 10858 | }; |
| 10859 | |
| 10860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&arg2)) goto fail; |
| 10861 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10862 | { |
| 10863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10864 | (arg1)->AutoSizeRowLabelSize(arg2); |
| 10865 | |
| 10866 | wxPyEndAllowThreads(__tstate); |
| 10867 | if (PyErr_Occurred()) SWIG_fail; |
| 10868 | } |
| 10869 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10870 | return resultobj; |
| 10871 | fail: |
| 10872 | return NULL; |
| 10873 | } |
| 10874 | |
| 10875 | |
| 10876 | static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10877 | PyObject *resultobj; |
| 10878 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10879 | int arg2 ; |
| 10880 | PyObject * obj0 = 0 ; |
| 10881 | char *kwnames[] = { |
| 10882 | (char *) "self",(char *) "col", NULL |
| 10883 | }; |
| 10884 | |
| 10885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames,&obj0,&arg2)) goto fail; |
| 10886 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10887 | { |
| 10888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10889 | (arg1)->AutoSizeColLabelSize(arg2); |
| 10890 | |
| 10891 | wxPyEndAllowThreads(__tstate); |
| 10892 | if (PyErr_Occurred()) SWIG_fail; |
| 10893 | } |
| 10894 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10895 | return resultobj; |
| 10896 | fail: |
| 10897 | return NULL; |
| 10898 | } |
| 10899 | |
| 10900 | |
| 10901 | static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10902 | PyObject *resultobj; |
| 10903 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10904 | int arg2 ; |
| 10905 | int arg3 ; |
| 10906 | PyObject * obj0 = 0 ; |
| 10907 | char *kwnames[] = { |
| 10908 | (char *) "self",(char *) "col",(char *) "width", NULL |
| 10909 | }; |
| 10910 | |
| 10911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColMinimalWidth",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10912 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10913 | { |
| 10914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10915 | (arg1)->SetColMinimalWidth(arg2,arg3); |
| 10916 | |
| 10917 | wxPyEndAllowThreads(__tstate); |
| 10918 | if (PyErr_Occurred()) SWIG_fail; |
| 10919 | } |
| 10920 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10921 | return resultobj; |
| 10922 | fail: |
| 10923 | return NULL; |
| 10924 | } |
| 10925 | |
| 10926 | |
| 10927 | static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10928 | PyObject *resultobj; |
| 10929 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10930 | int arg2 ; |
| 10931 | int arg3 ; |
| 10932 | PyObject * obj0 = 0 ; |
| 10933 | char *kwnames[] = { |
| 10934 | (char *) "self",(char *) "row",(char *) "width", NULL |
| 10935 | }; |
| 10936 | |
| 10937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 10938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10939 | { |
| 10940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10941 | (arg1)->SetRowMinimalHeight(arg2,arg3); |
| 10942 | |
| 10943 | wxPyEndAllowThreads(__tstate); |
| 10944 | if (PyErr_Occurred()) SWIG_fail; |
| 10945 | } |
| 10946 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10947 | return resultobj; |
| 10948 | fail: |
| 10949 | return NULL; |
| 10950 | } |
| 10951 | |
| 10952 | |
| 10953 | static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10954 | PyObject *resultobj; |
| 10955 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10956 | int arg2 ; |
| 10957 | PyObject * obj0 = 0 ; |
| 10958 | char *kwnames[] = { |
| 10959 | (char *) "self",(char *) "width", NULL |
| 10960 | }; |
| 10961 | |
| 10962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&arg2)) goto fail; |
| 10963 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10964 | { |
| 10965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10966 | (arg1)->SetColMinimalAcceptableWidth(arg2); |
| 10967 | |
| 10968 | wxPyEndAllowThreads(__tstate); |
| 10969 | if (PyErr_Occurred()) SWIG_fail; |
| 10970 | } |
| 10971 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10972 | return resultobj; |
| 10973 | fail: |
| 10974 | return NULL; |
| 10975 | } |
| 10976 | |
| 10977 | |
| 10978 | static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 10979 | PyObject *resultobj; |
| 10980 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 10981 | int arg2 ; |
| 10982 | PyObject * obj0 = 0 ; |
| 10983 | char *kwnames[] = { |
| 10984 | (char *) "self",(char *) "width", NULL |
| 10985 | }; |
| 10986 | |
| 10987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&arg2)) goto fail; |
| 10988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 10989 | { |
| 10990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10991 | (arg1)->SetRowMinimalAcceptableHeight(arg2); |
| 10992 | |
| 10993 | wxPyEndAllowThreads(__tstate); |
| 10994 | if (PyErr_Occurred()) SWIG_fail; |
| 10995 | } |
| 10996 | Py_INCREF(Py_None); resultobj = Py_None; |
| 10997 | return resultobj; |
| 10998 | fail: |
| 10999 | return NULL; |
| 11000 | } |
| 11001 | |
| 11002 | |
| 11003 | static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11004 | PyObject *resultobj; |
| 11005 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11006 | int result; |
| 11007 | PyObject * obj0 = 0 ; |
| 11008 | char *kwnames[] = { |
| 11009 | (char *) "self", NULL |
| 11010 | }; |
| 11011 | |
| 11012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail; |
| 11013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11014 | { |
| 11015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11016 | result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth(); |
| 11017 | |
| 11018 | wxPyEndAllowThreads(__tstate); |
| 11019 | if (PyErr_Occurred()) SWIG_fail; |
| 11020 | } |
| 11021 | resultobj = PyInt_FromLong((long)result); |
| 11022 | return resultobj; |
| 11023 | fail: |
| 11024 | return NULL; |
| 11025 | } |
| 11026 | |
| 11027 | |
| 11028 | static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11029 | PyObject *resultobj; |
| 11030 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11031 | int result; |
| 11032 | PyObject * obj0 = 0 ; |
| 11033 | char *kwnames[] = { |
| 11034 | (char *) "self", NULL |
| 11035 | }; |
| 11036 | |
| 11037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail; |
| 11038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11039 | { |
| 11040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11041 | result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight(); |
| 11042 | |
| 11043 | wxPyEndAllowThreads(__tstate); |
| 11044 | if (PyErr_Occurred()) SWIG_fail; |
| 11045 | } |
| 11046 | resultobj = PyInt_FromLong((long)result); |
| 11047 | return resultobj; |
| 11048 | fail: |
| 11049 | return NULL; |
| 11050 | } |
| 11051 | |
| 11052 | |
| 11053 | static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11054 | PyObject *resultobj; |
| 11055 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11056 | wxColour *arg2 = 0 ; |
| 11057 | wxColour temp2 ; |
| 11058 | PyObject * obj0 = 0 ; |
| 11059 | PyObject * obj1 = 0 ; |
| 11060 | char *kwnames[] = { |
| 11061 | (char *) "self","arg2", NULL |
| 11062 | }; |
| 11063 | |
| 11064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail; |
| 11065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11066 | { |
| 11067 | arg2 = &temp2; |
| 11068 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 11069 | } |
| 11070 | { |
| 11071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11072 | (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2); |
| 11073 | |
| 11074 | wxPyEndAllowThreads(__tstate); |
| 11075 | if (PyErr_Occurred()) SWIG_fail; |
| 11076 | } |
| 11077 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11078 | return resultobj; |
| 11079 | fail: |
| 11080 | return NULL; |
| 11081 | } |
| 11082 | |
| 11083 | |
| 11084 | static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11085 | PyObject *resultobj; |
| 11086 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11087 | int arg2 ; |
| 11088 | int arg3 ; |
| 11089 | wxColour *arg4 = 0 ; |
| 11090 | wxColour temp4 ; |
| 11091 | PyObject * obj0 = 0 ; |
| 11092 | PyObject * obj3 = 0 ; |
| 11093 | char *kwnames[] = { |
| 11094 | (char *) "self",(char *) "row",(char *) "col","arg4", NULL |
| 11095 | }; |
| 11096 | |
| 11097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11098 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11099 | { |
| 11100 | arg4 = &temp4; |
| 11101 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; |
| 11102 | } |
| 11103 | { |
| 11104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11105 | (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4); |
| 11106 | |
| 11107 | wxPyEndAllowThreads(__tstate); |
| 11108 | if (PyErr_Occurred()) SWIG_fail; |
| 11109 | } |
| 11110 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11111 | return resultobj; |
| 11112 | fail: |
| 11113 | return NULL; |
| 11114 | } |
| 11115 | |
| 11116 | |
| 11117 | static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11118 | PyObject *resultobj; |
| 11119 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11120 | wxColour *arg2 = 0 ; |
| 11121 | wxColour temp2 ; |
| 11122 | PyObject * obj0 = 0 ; |
| 11123 | PyObject * obj1 = 0 ; |
| 11124 | char *kwnames[] = { |
| 11125 | (char *) "self","arg2", NULL |
| 11126 | }; |
| 11127 | |
| 11128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail; |
| 11129 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11130 | { |
| 11131 | arg2 = &temp2; |
| 11132 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 11133 | } |
| 11134 | { |
| 11135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11136 | (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2); |
| 11137 | |
| 11138 | wxPyEndAllowThreads(__tstate); |
| 11139 | if (PyErr_Occurred()) SWIG_fail; |
| 11140 | } |
| 11141 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11142 | return resultobj; |
| 11143 | fail: |
| 11144 | return NULL; |
| 11145 | } |
| 11146 | |
| 11147 | |
| 11148 | static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11149 | PyObject *resultobj; |
| 11150 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11151 | int arg2 ; |
| 11152 | int arg3 ; |
| 11153 | wxColour *arg4 = 0 ; |
| 11154 | wxColour temp4 ; |
| 11155 | PyObject * obj0 = 0 ; |
| 11156 | PyObject * obj3 = 0 ; |
| 11157 | char *kwnames[] = { |
| 11158 | (char *) "self",(char *) "row",(char *) "col","arg4", NULL |
| 11159 | }; |
| 11160 | |
| 11161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellTextColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11163 | { |
| 11164 | arg4 = &temp4; |
| 11165 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; |
| 11166 | } |
| 11167 | { |
| 11168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11169 | (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4); |
| 11170 | |
| 11171 | wxPyEndAllowThreads(__tstate); |
| 11172 | if (PyErr_Occurred()) SWIG_fail; |
| 11173 | } |
| 11174 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11175 | return resultobj; |
| 11176 | fail: |
| 11177 | return NULL; |
| 11178 | } |
| 11179 | |
| 11180 | |
| 11181 | static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11182 | PyObject *resultobj; |
| 11183 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11184 | wxFont *arg2 = 0 ; |
| 11185 | PyObject * obj0 = 0 ; |
| 11186 | PyObject * obj1 = 0 ; |
| 11187 | char *kwnames[] = { |
| 11188 | (char *) "self","arg2", NULL |
| 11189 | }; |
| 11190 | |
| 11191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail; |
| 11192 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11193 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11194 | if (arg2 == NULL) { |
| 11195 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 11196 | } |
| 11197 | { |
| 11198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11199 | (arg1)->SetDefaultCellFont((wxFont const &)*arg2); |
| 11200 | |
| 11201 | wxPyEndAllowThreads(__tstate); |
| 11202 | if (PyErr_Occurred()) SWIG_fail; |
| 11203 | } |
| 11204 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11205 | return resultobj; |
| 11206 | fail: |
| 11207 | return NULL; |
| 11208 | } |
| 11209 | |
| 11210 | |
| 11211 | static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11212 | PyObject *resultobj; |
| 11213 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11214 | int arg2 ; |
| 11215 | int arg3 ; |
| 11216 | wxFont *arg4 = 0 ; |
| 11217 | PyObject * obj0 = 0 ; |
| 11218 | PyObject * obj3 = 0 ; |
| 11219 | char *kwnames[] = { |
| 11220 | (char *) "self",(char *) "row",(char *) "col","arg4", NULL |
| 11221 | }; |
| 11222 | |
| 11223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellFont",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11224 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11225 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11226 | if (arg4 == NULL) { |
| 11227 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; |
| 11228 | } |
| 11229 | { |
| 11230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11231 | (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4); |
| 11232 | |
| 11233 | wxPyEndAllowThreads(__tstate); |
| 11234 | if (PyErr_Occurred()) SWIG_fail; |
| 11235 | } |
| 11236 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11237 | return resultobj; |
| 11238 | fail: |
| 11239 | return NULL; |
| 11240 | } |
| 11241 | |
| 11242 | |
| 11243 | static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11244 | PyObject *resultobj; |
| 11245 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11246 | int arg2 ; |
| 11247 | int arg3 ; |
| 11248 | PyObject * obj0 = 0 ; |
| 11249 | char *kwnames[] = { |
| 11250 | (char *) "self",(char *) "horiz",(char *) "vert", NULL |
| 11251 | }; |
| 11252 | |
| 11253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11254 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11255 | { |
| 11256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11257 | (arg1)->SetDefaultCellAlignment(arg2,arg3); |
| 11258 | |
| 11259 | wxPyEndAllowThreads(__tstate); |
| 11260 | if (PyErr_Occurred()) SWIG_fail; |
| 11261 | } |
| 11262 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11263 | return resultobj; |
| 11264 | fail: |
| 11265 | return NULL; |
| 11266 | } |
| 11267 | |
| 11268 | |
| 11269 | static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11270 | PyObject *resultobj; |
| 11271 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11272 | int arg2 ; |
| 11273 | int arg3 ; |
| 11274 | int arg4 ; |
| 11275 | int arg5 ; |
| 11276 | PyObject * obj0 = 0 ; |
| 11277 | char *kwnames[] = { |
| 11278 | (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL |
| 11279 | }; |
| 11280 | |
| 11281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellAlignment",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; |
| 11282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11283 | { |
| 11284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11285 | (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5); |
| 11286 | |
| 11287 | wxPyEndAllowThreads(__tstate); |
| 11288 | if (PyErr_Occurred()) SWIG_fail; |
| 11289 | } |
| 11290 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11291 | return resultobj; |
| 11292 | fail: |
| 11293 | return NULL; |
| 11294 | } |
| 11295 | |
| 11296 | |
| 11297 | static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11298 | PyObject *resultobj; |
| 11299 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11300 | bool arg2 ; |
| 11301 | PyObject * obj0 = 0 ; |
| 11302 | PyObject * obj1 = 0 ; |
| 11303 | char *kwnames[] = { |
| 11304 | (char *) "self",(char *) "allow", NULL |
| 11305 | }; |
| 11306 | |
| 11307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail; |
| 11308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11309 | arg2 = PyInt_AsLong(obj1) ? true : false; |
| 11310 | if (PyErr_Occurred()) SWIG_fail; |
| 11311 | { |
| 11312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11313 | (arg1)->SetDefaultCellOverflow(arg2); |
| 11314 | |
| 11315 | wxPyEndAllowThreads(__tstate); |
| 11316 | if (PyErr_Occurred()) SWIG_fail; |
| 11317 | } |
| 11318 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11319 | return resultobj; |
| 11320 | fail: |
| 11321 | return NULL; |
| 11322 | } |
| 11323 | |
| 11324 | |
| 11325 | static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11326 | PyObject *resultobj; |
| 11327 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11328 | int arg2 ; |
| 11329 | int arg3 ; |
| 11330 | bool arg4 ; |
| 11331 | PyObject * obj0 = 0 ; |
| 11332 | PyObject * obj3 = 0 ; |
| 11333 | char *kwnames[] = { |
| 11334 | (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL |
| 11335 | }; |
| 11336 | |
| 11337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellOverflow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11338 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11339 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 11340 | if (PyErr_Occurred()) SWIG_fail; |
| 11341 | { |
| 11342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11343 | (arg1)->SetCellOverflow(arg2,arg3,arg4); |
| 11344 | |
| 11345 | wxPyEndAllowThreads(__tstate); |
| 11346 | if (PyErr_Occurred()) SWIG_fail; |
| 11347 | } |
| 11348 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11349 | return resultobj; |
| 11350 | fail: |
| 11351 | return NULL; |
| 11352 | } |
| 11353 | |
| 11354 | |
| 11355 | static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11356 | PyObject *resultobj; |
| 11357 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11358 | int arg2 ; |
| 11359 | int arg3 ; |
| 11360 | int arg4 ; |
| 11361 | int arg5 ; |
| 11362 | PyObject * obj0 = 0 ; |
| 11363 | char *kwnames[] = { |
| 11364 | (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL |
| 11365 | }; |
| 11366 | |
| 11367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; |
| 11368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11369 | { |
| 11370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11371 | (arg1)->SetCellSize(arg2,arg3,arg4,arg5); |
| 11372 | |
| 11373 | wxPyEndAllowThreads(__tstate); |
| 11374 | if (PyErr_Occurred()) SWIG_fail; |
| 11375 | } |
| 11376 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11377 | return resultobj; |
| 11378 | fail: |
| 11379 | return NULL; |
| 11380 | } |
| 11381 | |
| 11382 | |
| 11383 | static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11384 | PyObject *resultobj; |
| 11385 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11386 | wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; |
| 11387 | PyObject * obj0 = 0 ; |
| 11388 | PyObject * obj1 = 0 ; |
| 11389 | char *kwnames[] = { |
| 11390 | (char *) "self",(char *) "renderer", NULL |
| 11391 | }; |
| 11392 | |
| 11393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail; |
| 11394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11395 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11396 | { |
| 11397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11398 | (arg1)->SetDefaultRenderer(arg2); |
| 11399 | |
| 11400 | wxPyEndAllowThreads(__tstate); |
| 11401 | if (PyErr_Occurred()) SWIG_fail; |
| 11402 | } |
| 11403 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11404 | return resultobj; |
| 11405 | fail: |
| 11406 | return NULL; |
| 11407 | } |
| 11408 | |
| 11409 | |
| 11410 | static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11411 | PyObject *resultobj; |
| 11412 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11413 | int arg2 ; |
| 11414 | int arg3 ; |
| 11415 | wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ; |
| 11416 | PyObject * obj0 = 0 ; |
| 11417 | PyObject * obj3 = 0 ; |
| 11418 | char *kwnames[] = { |
| 11419 | (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL |
| 11420 | }; |
| 11421 | |
| 11422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellRenderer",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11424 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11425 | { |
| 11426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11427 | (arg1)->SetCellRenderer(arg2,arg3,arg4); |
| 11428 | |
| 11429 | wxPyEndAllowThreads(__tstate); |
| 11430 | if (PyErr_Occurred()) SWIG_fail; |
| 11431 | } |
| 11432 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11433 | return resultobj; |
| 11434 | fail: |
| 11435 | return NULL; |
| 11436 | } |
| 11437 | |
| 11438 | |
| 11439 | static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11440 | PyObject *resultobj; |
| 11441 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11442 | wxGridCellRenderer *result; |
| 11443 | PyObject * obj0 = 0 ; |
| 11444 | char *kwnames[] = { |
| 11445 | (char *) "self", NULL |
| 11446 | }; |
| 11447 | |
| 11448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail; |
| 11449 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11450 | { |
| 11451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11452 | result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer(); |
| 11453 | |
| 11454 | wxPyEndAllowThreads(__tstate); |
| 11455 | if (PyErr_Occurred()) SWIG_fail; |
| 11456 | } |
| 11457 | { |
| 11458 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 11459 | } |
| 11460 | return resultobj; |
| 11461 | fail: |
| 11462 | return NULL; |
| 11463 | } |
| 11464 | |
| 11465 | |
| 11466 | static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11467 | PyObject *resultobj; |
| 11468 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11469 | int arg2 ; |
| 11470 | int arg3 ; |
| 11471 | wxGridCellRenderer *result; |
| 11472 | PyObject * obj0 = 0 ; |
| 11473 | char *kwnames[] = { |
| 11474 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 11475 | }; |
| 11476 | |
| 11477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellRenderer",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11478 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11479 | { |
| 11480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11481 | result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3); |
| 11482 | |
| 11483 | wxPyEndAllowThreads(__tstate); |
| 11484 | if (PyErr_Occurred()) SWIG_fail; |
| 11485 | } |
| 11486 | { |
| 11487 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 11488 | } |
| 11489 | return resultobj; |
| 11490 | fail: |
| 11491 | return NULL; |
| 11492 | } |
| 11493 | |
| 11494 | |
| 11495 | static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11496 | PyObject *resultobj; |
| 11497 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11498 | wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; |
| 11499 | PyObject * obj0 = 0 ; |
| 11500 | PyObject * obj1 = 0 ; |
| 11501 | char *kwnames[] = { |
| 11502 | (char *) "self",(char *) "editor", NULL |
| 11503 | }; |
| 11504 | |
| 11505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail; |
| 11506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11507 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11508 | { |
| 11509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11510 | (arg1)->SetDefaultEditor(arg2); |
| 11511 | |
| 11512 | wxPyEndAllowThreads(__tstate); |
| 11513 | if (PyErr_Occurred()) SWIG_fail; |
| 11514 | } |
| 11515 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11516 | return resultobj; |
| 11517 | fail: |
| 11518 | return NULL; |
| 11519 | } |
| 11520 | |
| 11521 | |
| 11522 | static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11523 | PyObject *resultobj; |
| 11524 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11525 | int arg2 ; |
| 11526 | int arg3 ; |
| 11527 | wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ; |
| 11528 | PyObject * obj0 = 0 ; |
| 11529 | PyObject * obj3 = 0 ; |
| 11530 | char *kwnames[] = { |
| 11531 | (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL |
| 11532 | }; |
| 11533 | |
| 11534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellEditor",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11535 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11536 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11537 | { |
| 11538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11539 | (arg1)->SetCellEditor(arg2,arg3,arg4); |
| 11540 | |
| 11541 | wxPyEndAllowThreads(__tstate); |
| 11542 | if (PyErr_Occurred()) SWIG_fail; |
| 11543 | } |
| 11544 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11545 | return resultobj; |
| 11546 | fail: |
| 11547 | return NULL; |
| 11548 | } |
| 11549 | |
| 11550 | |
| 11551 | static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11552 | PyObject *resultobj; |
| 11553 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11554 | wxGridCellEditor *result; |
| 11555 | PyObject * obj0 = 0 ; |
| 11556 | char *kwnames[] = { |
| 11557 | (char *) "self", NULL |
| 11558 | }; |
| 11559 | |
| 11560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail; |
| 11561 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11562 | { |
| 11563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11564 | result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor(); |
| 11565 | |
| 11566 | wxPyEndAllowThreads(__tstate); |
| 11567 | if (PyErr_Occurred()) SWIG_fail; |
| 11568 | } |
| 11569 | { |
| 11570 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 11571 | } |
| 11572 | return resultobj; |
| 11573 | fail: |
| 11574 | return NULL; |
| 11575 | } |
| 11576 | |
| 11577 | |
| 11578 | static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11579 | PyObject *resultobj; |
| 11580 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11581 | int arg2 ; |
| 11582 | int arg3 ; |
| 11583 | wxGridCellEditor *result; |
| 11584 | PyObject * obj0 = 0 ; |
| 11585 | char *kwnames[] = { |
| 11586 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 11587 | }; |
| 11588 | |
| 11589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellEditor",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11591 | { |
| 11592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11593 | result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3); |
| 11594 | |
| 11595 | wxPyEndAllowThreads(__tstate); |
| 11596 | if (PyErr_Occurred()) SWIG_fail; |
| 11597 | } |
| 11598 | { |
| 11599 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 11600 | } |
| 11601 | return resultobj; |
| 11602 | fail: |
| 11603 | return NULL; |
| 11604 | } |
| 11605 | |
| 11606 | |
| 11607 | static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11608 | PyObject *resultobj; |
| 11609 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11610 | int arg2 ; |
| 11611 | int arg3 ; |
| 11612 | wxString result; |
| 11613 | PyObject * obj0 = 0 ; |
| 11614 | char *kwnames[] = { |
| 11615 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 11616 | }; |
| 11617 | |
| 11618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellValue",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11619 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11620 | { |
| 11621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11622 | result = (arg1)->GetCellValue(arg2,arg3); |
| 11623 | |
| 11624 | wxPyEndAllowThreads(__tstate); |
| 11625 | if (PyErr_Occurred()) SWIG_fail; |
| 11626 | } |
| 11627 | { |
| 11628 | #if wxUSE_UNICODE |
| 11629 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 11630 | #else |
| 11631 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 11632 | #endif |
| 11633 | } |
| 11634 | return resultobj; |
| 11635 | fail: |
| 11636 | return NULL; |
| 11637 | } |
| 11638 | |
| 11639 | |
| 11640 | static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11641 | PyObject *resultobj; |
| 11642 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11643 | int arg2 ; |
| 11644 | int arg3 ; |
| 11645 | wxString *arg4 = 0 ; |
| 11646 | bool temp4 = False ; |
| 11647 | PyObject * obj0 = 0 ; |
| 11648 | PyObject * obj3 = 0 ; |
| 11649 | char *kwnames[] = { |
| 11650 | (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL |
| 11651 | }; |
| 11652 | |
| 11653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11655 | { |
| 11656 | arg4 = wxString_in_helper(obj3); |
| 11657 | if (arg4 == NULL) SWIG_fail; |
| 11658 | temp4 = True; |
| 11659 | } |
| 11660 | { |
| 11661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11662 | (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4); |
| 11663 | |
| 11664 | wxPyEndAllowThreads(__tstate); |
| 11665 | if (PyErr_Occurred()) SWIG_fail; |
| 11666 | } |
| 11667 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11668 | { |
| 11669 | if (temp4) |
| 11670 | delete arg4; |
| 11671 | } |
| 11672 | return resultobj; |
| 11673 | fail: |
| 11674 | { |
| 11675 | if (temp4) |
| 11676 | delete arg4; |
| 11677 | } |
| 11678 | return NULL; |
| 11679 | } |
| 11680 | |
| 11681 | |
| 11682 | static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11683 | PyObject *resultobj; |
| 11684 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11685 | int arg2 ; |
| 11686 | int arg3 ; |
| 11687 | bool result; |
| 11688 | PyObject * obj0 = 0 ; |
| 11689 | char *kwnames[] = { |
| 11690 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 11691 | }; |
| 11692 | |
| 11693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsReadOnly",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11694 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11695 | { |
| 11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11697 | result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3); |
| 11698 | |
| 11699 | wxPyEndAllowThreads(__tstate); |
| 11700 | if (PyErr_Occurred()) SWIG_fail; |
| 11701 | } |
| 11702 | resultobj = PyInt_FromLong((long)result); |
| 11703 | return resultobj; |
| 11704 | fail: |
| 11705 | return NULL; |
| 11706 | } |
| 11707 | |
| 11708 | |
| 11709 | static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11710 | PyObject *resultobj; |
| 11711 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11712 | int arg2 ; |
| 11713 | int arg3 ; |
| 11714 | bool arg4 = (bool) True ; |
| 11715 | PyObject * obj0 = 0 ; |
| 11716 | PyObject * obj3 = 0 ; |
| 11717 | char *kwnames[] = { |
| 11718 | (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL |
| 11719 | }; |
| 11720 | |
| 11721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_SetReadOnly",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; |
| 11722 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11723 | if (obj3) { |
| 11724 | arg4 = PyInt_AsLong(obj3) ? true : false; |
| 11725 | if (PyErr_Occurred()) SWIG_fail; |
| 11726 | } |
| 11727 | { |
| 11728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11729 | (arg1)->SetReadOnly(arg2,arg3,arg4); |
| 11730 | |
| 11731 | wxPyEndAllowThreads(__tstate); |
| 11732 | if (PyErr_Occurred()) SWIG_fail; |
| 11733 | } |
| 11734 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11735 | return resultobj; |
| 11736 | fail: |
| 11737 | return NULL; |
| 11738 | } |
| 11739 | |
| 11740 | |
| 11741 | static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11742 | PyObject *resultobj; |
| 11743 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11744 | int arg2 ; |
| 11745 | bool arg3 = (bool) False ; |
| 11746 | PyObject * obj0 = 0 ; |
| 11747 | PyObject * obj2 = 0 ; |
| 11748 | char *kwnames[] = { |
| 11749 | (char *) "self",(char *) "row",(char *) "addToSelected", NULL |
| 11750 | }; |
| 11751 | |
| 11752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectRow",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 11753 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11754 | if (obj2) { |
| 11755 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 11756 | if (PyErr_Occurred()) SWIG_fail; |
| 11757 | } |
| 11758 | { |
| 11759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11760 | (arg1)->SelectRow(arg2,arg3); |
| 11761 | |
| 11762 | wxPyEndAllowThreads(__tstate); |
| 11763 | if (PyErr_Occurred()) SWIG_fail; |
| 11764 | } |
| 11765 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11766 | return resultobj; |
| 11767 | fail: |
| 11768 | return NULL; |
| 11769 | } |
| 11770 | |
| 11771 | |
| 11772 | static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11773 | PyObject *resultobj; |
| 11774 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11775 | int arg2 ; |
| 11776 | bool arg3 = (bool) False ; |
| 11777 | PyObject * obj0 = 0 ; |
| 11778 | PyObject * obj2 = 0 ; |
| 11779 | char *kwnames[] = { |
| 11780 | (char *) "self",(char *) "col",(char *) "addToSelected", NULL |
| 11781 | }; |
| 11782 | |
| 11783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectCol",kwnames,&obj0,&arg2,&obj2)) goto fail; |
| 11784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11785 | if (obj2) { |
| 11786 | arg3 = PyInt_AsLong(obj2) ? true : false; |
| 11787 | if (PyErr_Occurred()) SWIG_fail; |
| 11788 | } |
| 11789 | { |
| 11790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11791 | (arg1)->SelectCol(arg2,arg3); |
| 11792 | |
| 11793 | wxPyEndAllowThreads(__tstate); |
| 11794 | if (PyErr_Occurred()) SWIG_fail; |
| 11795 | } |
| 11796 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11797 | return resultobj; |
| 11798 | fail: |
| 11799 | return NULL; |
| 11800 | } |
| 11801 | |
| 11802 | |
| 11803 | static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11804 | PyObject *resultobj; |
| 11805 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11806 | int arg2 ; |
| 11807 | int arg3 ; |
| 11808 | int arg4 ; |
| 11809 | int arg5 ; |
| 11810 | bool arg6 = (bool) False ; |
| 11811 | PyObject * obj0 = 0 ; |
| 11812 | PyObject * obj5 = 0 ; |
| 11813 | char *kwnames[] = { |
| 11814 | (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL |
| 11815 | }; |
| 11816 | |
| 11817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Grid_SelectBlock",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail; |
| 11818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11819 | if (obj5) { |
| 11820 | arg6 = PyInt_AsLong(obj5) ? true : false; |
| 11821 | if (PyErr_Occurred()) SWIG_fail; |
| 11822 | } |
| 11823 | { |
| 11824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11825 | (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6); |
| 11826 | |
| 11827 | wxPyEndAllowThreads(__tstate); |
| 11828 | if (PyErr_Occurred()) SWIG_fail; |
| 11829 | } |
| 11830 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11831 | return resultobj; |
| 11832 | fail: |
| 11833 | return NULL; |
| 11834 | } |
| 11835 | |
| 11836 | |
| 11837 | static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11838 | PyObject *resultobj; |
| 11839 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11840 | PyObject * obj0 = 0 ; |
| 11841 | char *kwnames[] = { |
| 11842 | (char *) "self", NULL |
| 11843 | }; |
| 11844 | |
| 11845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail; |
| 11846 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11847 | { |
| 11848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11849 | (arg1)->SelectAll(); |
| 11850 | |
| 11851 | wxPyEndAllowThreads(__tstate); |
| 11852 | if (PyErr_Occurred()) SWIG_fail; |
| 11853 | } |
| 11854 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11855 | return resultobj; |
| 11856 | fail: |
| 11857 | return NULL; |
| 11858 | } |
| 11859 | |
| 11860 | |
| 11861 | static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11862 | PyObject *resultobj; |
| 11863 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11864 | bool result; |
| 11865 | PyObject * obj0 = 0 ; |
| 11866 | char *kwnames[] = { |
| 11867 | (char *) "self", NULL |
| 11868 | }; |
| 11869 | |
| 11870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail; |
| 11871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11872 | { |
| 11873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11874 | result = (bool)(arg1)->IsSelection(); |
| 11875 | |
| 11876 | wxPyEndAllowThreads(__tstate); |
| 11877 | if (PyErr_Occurred()) SWIG_fail; |
| 11878 | } |
| 11879 | resultobj = PyInt_FromLong((long)result); |
| 11880 | return resultobj; |
| 11881 | fail: |
| 11882 | return NULL; |
| 11883 | } |
| 11884 | |
| 11885 | |
| 11886 | static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11887 | PyObject *resultobj; |
| 11888 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11889 | PyObject * obj0 = 0 ; |
| 11890 | char *kwnames[] = { |
| 11891 | (char *) "self", NULL |
| 11892 | }; |
| 11893 | |
| 11894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail; |
| 11895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11896 | { |
| 11897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11898 | (arg1)->ClearSelection(); |
| 11899 | |
| 11900 | wxPyEndAllowThreads(__tstate); |
| 11901 | if (PyErr_Occurred()) SWIG_fail; |
| 11902 | } |
| 11903 | Py_INCREF(Py_None); resultobj = Py_None; |
| 11904 | return resultobj; |
| 11905 | fail: |
| 11906 | return NULL; |
| 11907 | } |
| 11908 | |
| 11909 | |
| 11910 | static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11911 | PyObject *resultobj; |
| 11912 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11913 | int arg2 ; |
| 11914 | int arg3 ; |
| 11915 | bool result; |
| 11916 | PyObject * obj0 = 0 ; |
| 11917 | char *kwnames[] = { |
| 11918 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 11919 | }; |
| 11920 | |
| 11921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsInSelection",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 11922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11923 | { |
| 11924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11925 | result = (bool)(arg1)->IsInSelection(arg2,arg3); |
| 11926 | |
| 11927 | wxPyEndAllowThreads(__tstate); |
| 11928 | if (PyErr_Occurred()) SWIG_fail; |
| 11929 | } |
| 11930 | resultobj = PyInt_FromLong((long)result); |
| 11931 | return resultobj; |
| 11932 | fail: |
| 11933 | return NULL; |
| 11934 | } |
| 11935 | |
| 11936 | |
| 11937 | static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11938 | PyObject *resultobj; |
| 11939 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11940 | wxGridCellCoordsArray result; |
| 11941 | PyObject * obj0 = 0 ; |
| 11942 | char *kwnames[] = { |
| 11943 | (char *) "self", NULL |
| 11944 | }; |
| 11945 | |
| 11946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail; |
| 11947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11948 | { |
| 11949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11950 | result = ((wxGrid const *)arg1)->GetSelectedCells(); |
| 11951 | |
| 11952 | wxPyEndAllowThreads(__tstate); |
| 11953 | if (PyErr_Occurred()) SWIG_fail; |
| 11954 | } |
| 11955 | { |
| 11956 | resultobj = wxGridCellCoordsArray_helper(result); |
| 11957 | } |
| 11958 | return resultobj; |
| 11959 | fail: |
| 11960 | return NULL; |
| 11961 | } |
| 11962 | |
| 11963 | |
| 11964 | static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11965 | PyObject *resultobj; |
| 11966 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11967 | wxGridCellCoordsArray result; |
| 11968 | PyObject * obj0 = 0 ; |
| 11969 | char *kwnames[] = { |
| 11970 | (char *) "self", NULL |
| 11971 | }; |
| 11972 | |
| 11973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail; |
| 11974 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 11975 | { |
| 11976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11977 | result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft(); |
| 11978 | |
| 11979 | wxPyEndAllowThreads(__tstate); |
| 11980 | if (PyErr_Occurred()) SWIG_fail; |
| 11981 | } |
| 11982 | { |
| 11983 | resultobj = wxGridCellCoordsArray_helper(result); |
| 11984 | } |
| 11985 | return resultobj; |
| 11986 | fail: |
| 11987 | return NULL; |
| 11988 | } |
| 11989 | |
| 11990 | |
| 11991 | static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 11992 | PyObject *resultobj; |
| 11993 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 11994 | wxGridCellCoordsArray result; |
| 11995 | PyObject * obj0 = 0 ; |
| 11996 | char *kwnames[] = { |
| 11997 | (char *) "self", NULL |
| 11998 | }; |
| 11999 | |
| 12000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail; |
| 12001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12002 | { |
| 12003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12004 | result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight(); |
| 12005 | |
| 12006 | wxPyEndAllowThreads(__tstate); |
| 12007 | if (PyErr_Occurred()) SWIG_fail; |
| 12008 | } |
| 12009 | { |
| 12010 | resultobj = wxGridCellCoordsArray_helper(result); |
| 12011 | } |
| 12012 | return resultobj; |
| 12013 | fail: |
| 12014 | return NULL; |
| 12015 | } |
| 12016 | |
| 12017 | |
| 12018 | static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12019 | PyObject *resultobj; |
| 12020 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12021 | wxArrayInt result; |
| 12022 | PyObject * obj0 = 0 ; |
| 12023 | char *kwnames[] = { |
| 12024 | (char *) "self", NULL |
| 12025 | }; |
| 12026 | |
| 12027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail; |
| 12028 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12029 | { |
| 12030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12031 | result = ((wxGrid const *)arg1)->GetSelectedRows(); |
| 12032 | |
| 12033 | wxPyEndAllowThreads(__tstate); |
| 12034 | if (PyErr_Occurred()) SWIG_fail; |
| 12035 | } |
| 12036 | { |
| 12037 | resultobj = PyList_New(0); |
| 12038 | size_t idx; |
| 12039 | for (idx = 0; idx < (&result)->GetCount(); idx += 1) { |
| 12040 | PyObject* val = PyInt_FromLong( (&result)->Item(idx) ); |
| 12041 | PyList_Append(resultobj, val); |
| 12042 | Py_DECREF(val); |
| 12043 | } |
| 12044 | } |
| 12045 | return resultobj; |
| 12046 | fail: |
| 12047 | return NULL; |
| 12048 | } |
| 12049 | |
| 12050 | |
| 12051 | static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12052 | PyObject *resultobj; |
| 12053 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12054 | wxArrayInt result; |
| 12055 | PyObject * obj0 = 0 ; |
| 12056 | char *kwnames[] = { |
| 12057 | (char *) "self", NULL |
| 12058 | }; |
| 12059 | |
| 12060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail; |
| 12061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12062 | { |
| 12063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12064 | result = ((wxGrid const *)arg1)->GetSelectedCols(); |
| 12065 | |
| 12066 | wxPyEndAllowThreads(__tstate); |
| 12067 | if (PyErr_Occurred()) SWIG_fail; |
| 12068 | } |
| 12069 | { |
| 12070 | resultobj = PyList_New(0); |
| 12071 | size_t idx; |
| 12072 | for (idx = 0; idx < (&result)->GetCount(); idx += 1) { |
| 12073 | PyObject* val = PyInt_FromLong( (&result)->Item(idx) ); |
| 12074 | PyList_Append(resultobj, val); |
| 12075 | Py_DECREF(val); |
| 12076 | } |
| 12077 | } |
| 12078 | return resultobj; |
| 12079 | fail: |
| 12080 | return NULL; |
| 12081 | } |
| 12082 | |
| 12083 | |
| 12084 | static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12085 | PyObject *resultobj; |
| 12086 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12087 | int arg2 ; |
| 12088 | PyObject * obj0 = 0 ; |
| 12089 | char *kwnames[] = { |
| 12090 | (char *) "self",(char *) "row", NULL |
| 12091 | }; |
| 12092 | |
| 12093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectRow",kwnames,&obj0,&arg2)) goto fail; |
| 12094 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12095 | { |
| 12096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12097 | (arg1)->DeselectRow(arg2); |
| 12098 | |
| 12099 | wxPyEndAllowThreads(__tstate); |
| 12100 | if (PyErr_Occurred()) SWIG_fail; |
| 12101 | } |
| 12102 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12103 | return resultobj; |
| 12104 | fail: |
| 12105 | return NULL; |
| 12106 | } |
| 12107 | |
| 12108 | |
| 12109 | static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12110 | PyObject *resultobj; |
| 12111 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12112 | int arg2 ; |
| 12113 | PyObject * obj0 = 0 ; |
| 12114 | char *kwnames[] = { |
| 12115 | (char *) "self",(char *) "col", NULL |
| 12116 | }; |
| 12117 | |
| 12118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectCol",kwnames,&obj0,&arg2)) goto fail; |
| 12119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12120 | { |
| 12121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12122 | (arg1)->DeselectCol(arg2); |
| 12123 | |
| 12124 | wxPyEndAllowThreads(__tstate); |
| 12125 | if (PyErr_Occurred()) SWIG_fail; |
| 12126 | } |
| 12127 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12128 | return resultobj; |
| 12129 | fail: |
| 12130 | return NULL; |
| 12131 | } |
| 12132 | |
| 12133 | |
| 12134 | static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12135 | PyObject *resultobj; |
| 12136 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12137 | int arg2 ; |
| 12138 | int arg3 ; |
| 12139 | PyObject * obj0 = 0 ; |
| 12140 | char *kwnames[] = { |
| 12141 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 12142 | }; |
| 12143 | |
| 12144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_DeselectCell",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 12145 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12146 | { |
| 12147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12148 | (arg1)->DeselectCell(arg2,arg3); |
| 12149 | |
| 12150 | wxPyEndAllowThreads(__tstate); |
| 12151 | if (PyErr_Occurred()) SWIG_fail; |
| 12152 | } |
| 12153 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12154 | return resultobj; |
| 12155 | fail: |
| 12156 | return NULL; |
| 12157 | } |
| 12158 | |
| 12159 | |
| 12160 | static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12161 | PyObject *resultobj; |
| 12162 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12163 | wxGridCellCoords *arg2 = 0 ; |
| 12164 | wxGridCellCoords *arg3 = 0 ; |
| 12165 | wxRect result; |
| 12166 | wxGridCellCoords temp2 ; |
| 12167 | wxGridCellCoords temp3 ; |
| 12168 | PyObject * obj0 = 0 ; |
| 12169 | PyObject * obj1 = 0 ; |
| 12170 | PyObject * obj2 = 0 ; |
| 12171 | char *kwnames[] = { |
| 12172 | (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL |
| 12173 | }; |
| 12174 | |
| 12175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 12176 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12177 | { |
| 12178 | arg2 = &temp2; |
| 12179 | if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail; |
| 12180 | } |
| 12181 | { |
| 12182 | arg3 = &temp3; |
| 12183 | if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail; |
| 12184 | } |
| 12185 | { |
| 12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12187 | result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3); |
| 12188 | |
| 12189 | wxPyEndAllowThreads(__tstate); |
| 12190 | if (PyErr_Occurred()) SWIG_fail; |
| 12191 | } |
| 12192 | { |
| 12193 | wxRect * resultptr; |
| 12194 | resultptr = new wxRect((wxRect &) result); |
| 12195 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); |
| 12196 | } |
| 12197 | return resultobj; |
| 12198 | fail: |
| 12199 | return NULL; |
| 12200 | } |
| 12201 | |
| 12202 | |
| 12203 | static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12204 | PyObject *resultobj; |
| 12205 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12206 | wxColour result; |
| 12207 | PyObject * obj0 = 0 ; |
| 12208 | char *kwnames[] = { |
| 12209 | (char *) "self", NULL |
| 12210 | }; |
| 12211 | |
| 12212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail; |
| 12213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12214 | { |
| 12215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12216 | result = ((wxGrid const *)arg1)->GetSelectionBackground(); |
| 12217 | |
| 12218 | wxPyEndAllowThreads(__tstate); |
| 12219 | if (PyErr_Occurred()) SWIG_fail; |
| 12220 | } |
| 12221 | { |
| 12222 | wxColour * resultptr; |
| 12223 | resultptr = new wxColour((wxColour &) result); |
| 12224 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 12225 | } |
| 12226 | return resultobj; |
| 12227 | fail: |
| 12228 | return NULL; |
| 12229 | } |
| 12230 | |
| 12231 | |
| 12232 | static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12233 | PyObject *resultobj; |
| 12234 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12235 | wxColour result; |
| 12236 | PyObject * obj0 = 0 ; |
| 12237 | char *kwnames[] = { |
| 12238 | (char *) "self", NULL |
| 12239 | }; |
| 12240 | |
| 12241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail; |
| 12242 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12243 | { |
| 12244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12245 | result = ((wxGrid const *)arg1)->GetSelectionForeground(); |
| 12246 | |
| 12247 | wxPyEndAllowThreads(__tstate); |
| 12248 | if (PyErr_Occurred()) SWIG_fail; |
| 12249 | } |
| 12250 | { |
| 12251 | wxColour * resultptr; |
| 12252 | resultptr = new wxColour((wxColour &) result); |
| 12253 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); |
| 12254 | } |
| 12255 | return resultobj; |
| 12256 | fail: |
| 12257 | return NULL; |
| 12258 | } |
| 12259 | |
| 12260 | |
| 12261 | static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12262 | PyObject *resultobj; |
| 12263 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12264 | wxColour *arg2 = 0 ; |
| 12265 | wxColour temp2 ; |
| 12266 | PyObject * obj0 = 0 ; |
| 12267 | PyObject * obj1 = 0 ; |
| 12268 | char *kwnames[] = { |
| 12269 | (char *) "self",(char *) "c", NULL |
| 12270 | }; |
| 12271 | |
| 12272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; |
| 12273 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12274 | { |
| 12275 | arg2 = &temp2; |
| 12276 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 12277 | } |
| 12278 | { |
| 12279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12280 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); |
| 12281 | |
| 12282 | wxPyEndAllowThreads(__tstate); |
| 12283 | if (PyErr_Occurred()) SWIG_fail; |
| 12284 | } |
| 12285 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12286 | return resultobj; |
| 12287 | fail: |
| 12288 | return NULL; |
| 12289 | } |
| 12290 | |
| 12291 | |
| 12292 | static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12293 | PyObject *resultobj; |
| 12294 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12295 | wxColour *arg2 = 0 ; |
| 12296 | wxColour temp2 ; |
| 12297 | PyObject * obj0 = 0 ; |
| 12298 | PyObject * obj1 = 0 ; |
| 12299 | char *kwnames[] = { |
| 12300 | (char *) "self",(char *) "c", NULL |
| 12301 | }; |
| 12302 | |
| 12303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail; |
| 12304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12305 | { |
| 12306 | arg2 = &temp2; |
| 12307 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; |
| 12308 | } |
| 12309 | { |
| 12310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12311 | (arg1)->SetSelectionForeground((wxColour const &)*arg2); |
| 12312 | |
| 12313 | wxPyEndAllowThreads(__tstate); |
| 12314 | if (PyErr_Occurred()) SWIG_fail; |
| 12315 | } |
| 12316 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12317 | return resultobj; |
| 12318 | fail: |
| 12319 | return NULL; |
| 12320 | } |
| 12321 | |
| 12322 | |
| 12323 | static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12324 | PyObject *resultobj; |
| 12325 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12326 | wxString *arg2 = 0 ; |
| 12327 | wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ; |
| 12328 | wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ; |
| 12329 | bool temp2 = False ; |
| 12330 | PyObject * obj0 = 0 ; |
| 12331 | PyObject * obj1 = 0 ; |
| 12332 | PyObject * obj2 = 0 ; |
| 12333 | PyObject * obj3 = 0 ; |
| 12334 | char *kwnames[] = { |
| 12335 | (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL |
| 12336 | }; |
| 12337 | |
| 12338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
| 12339 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12340 | { |
| 12341 | arg2 = wxString_in_helper(obj1); |
| 12342 | if (arg2 == NULL) SWIG_fail; |
| 12343 | temp2 = True; |
| 12344 | } |
| 12345 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12346 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12347 | { |
| 12348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12349 | (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4); |
| 12350 | |
| 12351 | wxPyEndAllowThreads(__tstate); |
| 12352 | if (PyErr_Occurred()) SWIG_fail; |
| 12353 | } |
| 12354 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12355 | { |
| 12356 | if (temp2) |
| 12357 | delete arg2; |
| 12358 | } |
| 12359 | return resultobj; |
| 12360 | fail: |
| 12361 | { |
| 12362 | if (temp2) |
| 12363 | delete arg2; |
| 12364 | } |
| 12365 | return NULL; |
| 12366 | } |
| 12367 | |
| 12368 | |
| 12369 | static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12370 | PyObject *resultobj; |
| 12371 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12372 | int arg2 ; |
| 12373 | int arg3 ; |
| 12374 | wxGridCellEditor *result; |
| 12375 | PyObject * obj0 = 0 ; |
| 12376 | char *kwnames[] = { |
| 12377 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 12378 | }; |
| 12379 | |
| 12380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 12381 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12382 | { |
| 12383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12384 | result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3); |
| 12385 | |
| 12386 | wxPyEndAllowThreads(__tstate); |
| 12387 | if (PyErr_Occurred()) SWIG_fail; |
| 12388 | } |
| 12389 | { |
| 12390 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 12391 | } |
| 12392 | return resultobj; |
| 12393 | fail: |
| 12394 | return NULL; |
| 12395 | } |
| 12396 | |
| 12397 | |
| 12398 | static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12399 | PyObject *resultobj; |
| 12400 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12401 | int arg2 ; |
| 12402 | int arg3 ; |
| 12403 | wxGridCellRenderer *result; |
| 12404 | PyObject * obj0 = 0 ; |
| 12405 | char *kwnames[] = { |
| 12406 | (char *) "self",(char *) "row",(char *) "col", NULL |
| 12407 | }; |
| 12408 | |
| 12409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 12410 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12411 | { |
| 12412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12413 | result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3); |
| 12414 | |
| 12415 | wxPyEndAllowThreads(__tstate); |
| 12416 | if (PyErr_Occurred()) SWIG_fail; |
| 12417 | } |
| 12418 | { |
| 12419 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 12420 | } |
| 12421 | return resultobj; |
| 12422 | fail: |
| 12423 | return NULL; |
| 12424 | } |
| 12425 | |
| 12426 | |
| 12427 | static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12428 | PyObject *resultobj; |
| 12429 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12430 | wxString *arg2 = 0 ; |
| 12431 | wxGridCellEditor *result; |
| 12432 | bool temp2 = False ; |
| 12433 | PyObject * obj0 = 0 ; |
| 12434 | PyObject * obj1 = 0 ; |
| 12435 | char *kwnames[] = { |
| 12436 | (char *) "self",(char *) "typeName", NULL |
| 12437 | }; |
| 12438 | |
| 12439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail; |
| 12440 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12441 | { |
| 12442 | arg2 = wxString_in_helper(obj1); |
| 12443 | if (arg2 == NULL) SWIG_fail; |
| 12444 | temp2 = True; |
| 12445 | } |
| 12446 | { |
| 12447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12448 | result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2); |
| 12449 | |
| 12450 | wxPyEndAllowThreads(__tstate); |
| 12451 | if (PyErr_Occurred()) SWIG_fail; |
| 12452 | } |
| 12453 | { |
| 12454 | resultobj = wxPyMake_wxGridCellEditor(result); |
| 12455 | } |
| 12456 | { |
| 12457 | if (temp2) |
| 12458 | delete arg2; |
| 12459 | } |
| 12460 | return resultobj; |
| 12461 | fail: |
| 12462 | { |
| 12463 | if (temp2) |
| 12464 | delete arg2; |
| 12465 | } |
| 12466 | return NULL; |
| 12467 | } |
| 12468 | |
| 12469 | |
| 12470 | static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12471 | PyObject *resultobj; |
| 12472 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12473 | wxString *arg2 = 0 ; |
| 12474 | wxGridCellRenderer *result; |
| 12475 | bool temp2 = False ; |
| 12476 | PyObject * obj0 = 0 ; |
| 12477 | PyObject * obj1 = 0 ; |
| 12478 | char *kwnames[] = { |
| 12479 | (char *) "self",(char *) "typeName", NULL |
| 12480 | }; |
| 12481 | |
| 12482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail; |
| 12483 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12484 | { |
| 12485 | arg2 = wxString_in_helper(obj1); |
| 12486 | if (arg2 == NULL) SWIG_fail; |
| 12487 | temp2 = True; |
| 12488 | } |
| 12489 | { |
| 12490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12491 | result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2); |
| 12492 | |
| 12493 | wxPyEndAllowThreads(__tstate); |
| 12494 | if (PyErr_Occurred()) SWIG_fail; |
| 12495 | } |
| 12496 | { |
| 12497 | resultobj = wxPyMake_wxGridCellRenderer(result); |
| 12498 | } |
| 12499 | { |
| 12500 | if (temp2) |
| 12501 | delete arg2; |
| 12502 | } |
| 12503 | return resultobj; |
| 12504 | fail: |
| 12505 | { |
| 12506 | if (temp2) |
| 12507 | delete arg2; |
| 12508 | } |
| 12509 | return NULL; |
| 12510 | } |
| 12511 | |
| 12512 | |
| 12513 | static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12514 | PyObject *resultobj; |
| 12515 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12516 | int arg2 ; |
| 12517 | int arg3 ; |
| 12518 | PyObject * obj0 = 0 ; |
| 12519 | char *kwnames[] = { |
| 12520 | (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL |
| 12521 | }; |
| 12522 | |
| 12523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail; |
| 12524 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12525 | { |
| 12526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12527 | (arg1)->SetMargins(arg2,arg3); |
| 12528 | |
| 12529 | wxPyEndAllowThreads(__tstate); |
| 12530 | if (PyErr_Occurred()) SWIG_fail; |
| 12531 | } |
| 12532 | Py_INCREF(Py_None); resultobj = Py_None; |
| 12533 | return resultobj; |
| 12534 | fail: |
| 12535 | return NULL; |
| 12536 | } |
| 12537 | |
| 12538 | |
| 12539 | static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12540 | PyObject *resultobj; |
| 12541 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12542 | wxWindow *result; |
| 12543 | PyObject * obj0 = 0 ; |
| 12544 | char *kwnames[] = { |
| 12545 | (char *) "self", NULL |
| 12546 | }; |
| 12547 | |
| 12548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail; |
| 12549 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12550 | { |
| 12551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12552 | result = (wxWindow *)(arg1)->GetGridWindow(); |
| 12553 | |
| 12554 | wxPyEndAllowThreads(__tstate); |
| 12555 | if (PyErr_Occurred()) SWIG_fail; |
| 12556 | } |
| 12557 | { |
| 12558 | resultobj = wxPyMake_wxObject(result); |
| 12559 | } |
| 12560 | return resultobj; |
| 12561 | fail: |
| 12562 | return NULL; |
| 12563 | } |
| 12564 | |
| 12565 | |
| 12566 | static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12567 | PyObject *resultobj; |
| 12568 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12569 | wxWindow *result; |
| 12570 | PyObject * obj0 = 0 ; |
| 12571 | char *kwnames[] = { |
| 12572 | (char *) "self", NULL |
| 12573 | }; |
| 12574 | |
| 12575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail; |
| 12576 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12577 | { |
| 12578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12579 | result = (wxWindow *)(arg1)->GetGridRowLabelWindow(); |
| 12580 | |
| 12581 | wxPyEndAllowThreads(__tstate); |
| 12582 | if (PyErr_Occurred()) SWIG_fail; |
| 12583 | } |
| 12584 | { |
| 12585 | resultobj = wxPyMake_wxObject(result); |
| 12586 | } |
| 12587 | return resultobj; |
| 12588 | fail: |
| 12589 | return NULL; |
| 12590 | } |
| 12591 | |
| 12592 | |
| 12593 | static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12594 | PyObject *resultobj; |
| 12595 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12596 | wxWindow *result; |
| 12597 | PyObject * obj0 = 0 ; |
| 12598 | char *kwnames[] = { |
| 12599 | (char *) "self", NULL |
| 12600 | }; |
| 12601 | |
| 12602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail; |
| 12603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12604 | { |
| 12605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12606 | result = (wxWindow *)(arg1)->GetGridColLabelWindow(); |
| 12607 | |
| 12608 | wxPyEndAllowThreads(__tstate); |
| 12609 | if (PyErr_Occurred()) SWIG_fail; |
| 12610 | } |
| 12611 | { |
| 12612 | resultobj = wxPyMake_wxObject(result); |
| 12613 | } |
| 12614 | return resultobj; |
| 12615 | fail: |
| 12616 | return NULL; |
| 12617 | } |
| 12618 | |
| 12619 | |
| 12620 | static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12621 | PyObject *resultobj; |
| 12622 | wxGrid *arg1 = (wxGrid *) 0 ; |
| 12623 | wxWindow *result; |
| 12624 | PyObject * obj0 = 0 ; |
| 12625 | char *kwnames[] = { |
| 12626 | (char *) "self", NULL |
| 12627 | }; |
| 12628 | |
| 12629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail; |
| 12630 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12631 | { |
| 12632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12633 | result = (wxWindow *)(arg1)->GetGridCornerLabelWindow(); |
| 12634 | |
| 12635 | wxPyEndAllowThreads(__tstate); |
| 12636 | if (PyErr_Occurred()) SWIG_fail; |
| 12637 | } |
| 12638 | { |
| 12639 | resultobj = wxPyMake_wxObject(result); |
| 12640 | } |
| 12641 | return resultobj; |
| 12642 | fail: |
| 12643 | return NULL; |
| 12644 | } |
| 12645 | |
| 12646 | |
| 12647 | static PyObject * Grid_swigregister(PyObject *self, PyObject *args) { |
| 12648 | PyObject *obj; |
| 12649 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 12650 | SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj); |
| 12651 | Py_INCREF(obj); |
| 12652 | return Py_BuildValue((char *)""); |
| 12653 | } |
| 12654 | static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12655 | PyObject *resultobj; |
| 12656 | int arg1 ; |
| 12657 | wxEventType arg2 ; |
| 12658 | wxGrid *arg3 = (wxGrid *) 0 ; |
| 12659 | int arg4 = (int) -1 ; |
| 12660 | int arg5 = (int) -1 ; |
| 12661 | int arg6 = (int) -1 ; |
| 12662 | int arg7 = (int) -1 ; |
| 12663 | bool arg8 = (bool) True ; |
| 12664 | bool arg9 = (bool) False ; |
| 12665 | bool arg10 = (bool) False ; |
| 12666 | bool arg11 = (bool) False ; |
| 12667 | bool arg12 = (bool) False ; |
| 12668 | wxGridEvent *result; |
| 12669 | PyObject * obj2 = 0 ; |
| 12670 | PyObject * obj7 = 0 ; |
| 12671 | PyObject * obj8 = 0 ; |
| 12672 | PyObject * obj9 = 0 ; |
| 12673 | PyObject * obj10 = 0 ; |
| 12674 | PyObject * obj11 = 0 ; |
| 12675 | char *kwnames[] = { |
| 12676 | (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "x",(char *) "y",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL |
| 12677 | }; |
| 12678 | |
| 12679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO|iiiiOOOOO:new_GridEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail; |
| 12680 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12681 | if (obj7) { |
| 12682 | arg8 = PyInt_AsLong(obj7) ? true : false; |
| 12683 | if (PyErr_Occurred()) SWIG_fail; |
| 12684 | } |
| 12685 | if (obj8) { |
| 12686 | arg9 = PyInt_AsLong(obj8) ? true : false; |
| 12687 | if (PyErr_Occurred()) SWIG_fail; |
| 12688 | } |
| 12689 | if (obj9) { |
| 12690 | arg10 = PyInt_AsLong(obj9) ? true : false; |
| 12691 | if (PyErr_Occurred()) SWIG_fail; |
| 12692 | } |
| 12693 | if (obj10) { |
| 12694 | arg11 = PyInt_AsLong(obj10) ? true : false; |
| 12695 | if (PyErr_Occurred()) SWIG_fail; |
| 12696 | } |
| 12697 | if (obj11) { |
| 12698 | arg12 = PyInt_AsLong(obj11) ? true : false; |
| 12699 | if (PyErr_Occurred()) SWIG_fail; |
| 12700 | } |
| 12701 | { |
| 12702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12703 | result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); |
| 12704 | |
| 12705 | wxPyEndAllowThreads(__tstate); |
| 12706 | if (PyErr_Occurred()) SWIG_fail; |
| 12707 | } |
| 12708 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEvent, 1); |
| 12709 | return resultobj; |
| 12710 | fail: |
| 12711 | return NULL; |
| 12712 | } |
| 12713 | |
| 12714 | |
| 12715 | static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12716 | PyObject *resultobj; |
| 12717 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12718 | int result; |
| 12719 | PyObject * obj0 = 0 ; |
| 12720 | char *kwnames[] = { |
| 12721 | (char *) "self", NULL |
| 12722 | }; |
| 12723 | |
| 12724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail; |
| 12725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12726 | { |
| 12727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12728 | result = (int)(arg1)->GetRow(); |
| 12729 | |
| 12730 | wxPyEndAllowThreads(__tstate); |
| 12731 | if (PyErr_Occurred()) SWIG_fail; |
| 12732 | } |
| 12733 | resultobj = PyInt_FromLong((long)result); |
| 12734 | return resultobj; |
| 12735 | fail: |
| 12736 | return NULL; |
| 12737 | } |
| 12738 | |
| 12739 | |
| 12740 | static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12741 | PyObject *resultobj; |
| 12742 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12743 | int result; |
| 12744 | PyObject * obj0 = 0 ; |
| 12745 | char *kwnames[] = { |
| 12746 | (char *) "self", NULL |
| 12747 | }; |
| 12748 | |
| 12749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail; |
| 12750 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12751 | { |
| 12752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12753 | result = (int)(arg1)->GetCol(); |
| 12754 | |
| 12755 | wxPyEndAllowThreads(__tstate); |
| 12756 | if (PyErr_Occurred()) SWIG_fail; |
| 12757 | } |
| 12758 | resultobj = PyInt_FromLong((long)result); |
| 12759 | return resultobj; |
| 12760 | fail: |
| 12761 | return NULL; |
| 12762 | } |
| 12763 | |
| 12764 | |
| 12765 | static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12766 | PyObject *resultobj; |
| 12767 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12768 | wxPoint result; |
| 12769 | PyObject * obj0 = 0 ; |
| 12770 | char *kwnames[] = { |
| 12771 | (char *) "self", NULL |
| 12772 | }; |
| 12773 | |
| 12774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail; |
| 12775 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12776 | { |
| 12777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12778 | result = (arg1)->GetPosition(); |
| 12779 | |
| 12780 | wxPyEndAllowThreads(__tstate); |
| 12781 | if (PyErr_Occurred()) SWIG_fail; |
| 12782 | } |
| 12783 | { |
| 12784 | wxPoint * resultptr; |
| 12785 | resultptr = new wxPoint((wxPoint &) result); |
| 12786 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); |
| 12787 | } |
| 12788 | return resultobj; |
| 12789 | fail: |
| 12790 | return NULL; |
| 12791 | } |
| 12792 | |
| 12793 | |
| 12794 | static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12795 | PyObject *resultobj; |
| 12796 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12797 | bool result; |
| 12798 | PyObject * obj0 = 0 ; |
| 12799 | char *kwnames[] = { |
| 12800 | (char *) "self", NULL |
| 12801 | }; |
| 12802 | |
| 12803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail; |
| 12804 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12805 | { |
| 12806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12807 | result = (bool)(arg1)->Selecting(); |
| 12808 | |
| 12809 | wxPyEndAllowThreads(__tstate); |
| 12810 | if (PyErr_Occurred()) SWIG_fail; |
| 12811 | } |
| 12812 | resultobj = PyInt_FromLong((long)result); |
| 12813 | return resultobj; |
| 12814 | fail: |
| 12815 | return NULL; |
| 12816 | } |
| 12817 | |
| 12818 | |
| 12819 | static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12820 | PyObject *resultobj; |
| 12821 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12822 | bool result; |
| 12823 | PyObject * obj0 = 0 ; |
| 12824 | char *kwnames[] = { |
| 12825 | (char *) "self", NULL |
| 12826 | }; |
| 12827 | |
| 12828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail; |
| 12829 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12830 | { |
| 12831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12832 | result = (bool)(arg1)->ControlDown(); |
| 12833 | |
| 12834 | wxPyEndAllowThreads(__tstate); |
| 12835 | if (PyErr_Occurred()) SWIG_fail; |
| 12836 | } |
| 12837 | resultobj = PyInt_FromLong((long)result); |
| 12838 | return resultobj; |
| 12839 | fail: |
| 12840 | return NULL; |
| 12841 | } |
| 12842 | |
| 12843 | |
| 12844 | static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12845 | PyObject *resultobj; |
| 12846 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12847 | bool result; |
| 12848 | PyObject * obj0 = 0 ; |
| 12849 | char *kwnames[] = { |
| 12850 | (char *) "self", NULL |
| 12851 | }; |
| 12852 | |
| 12853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail; |
| 12854 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12855 | { |
| 12856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12857 | result = (bool)(arg1)->MetaDown(); |
| 12858 | |
| 12859 | wxPyEndAllowThreads(__tstate); |
| 12860 | if (PyErr_Occurred()) SWIG_fail; |
| 12861 | } |
| 12862 | resultobj = PyInt_FromLong((long)result); |
| 12863 | return resultobj; |
| 12864 | fail: |
| 12865 | return NULL; |
| 12866 | } |
| 12867 | |
| 12868 | |
| 12869 | static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12870 | PyObject *resultobj; |
| 12871 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12872 | bool result; |
| 12873 | PyObject * obj0 = 0 ; |
| 12874 | char *kwnames[] = { |
| 12875 | (char *) "self", NULL |
| 12876 | }; |
| 12877 | |
| 12878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail; |
| 12879 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12880 | { |
| 12881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12882 | result = (bool)(arg1)->ShiftDown(); |
| 12883 | |
| 12884 | wxPyEndAllowThreads(__tstate); |
| 12885 | if (PyErr_Occurred()) SWIG_fail; |
| 12886 | } |
| 12887 | resultobj = PyInt_FromLong((long)result); |
| 12888 | return resultobj; |
| 12889 | fail: |
| 12890 | return NULL; |
| 12891 | } |
| 12892 | |
| 12893 | |
| 12894 | static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12895 | PyObject *resultobj; |
| 12896 | wxGridEvent *arg1 = (wxGridEvent *) 0 ; |
| 12897 | bool result; |
| 12898 | PyObject * obj0 = 0 ; |
| 12899 | char *kwnames[] = { |
| 12900 | (char *) "self", NULL |
| 12901 | }; |
| 12902 | |
| 12903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail; |
| 12904 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12905 | { |
| 12906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12907 | result = (bool)(arg1)->AltDown(); |
| 12908 | |
| 12909 | wxPyEndAllowThreads(__tstate); |
| 12910 | if (PyErr_Occurred()) SWIG_fail; |
| 12911 | } |
| 12912 | resultobj = PyInt_FromLong((long)result); |
| 12913 | return resultobj; |
| 12914 | fail: |
| 12915 | return NULL; |
| 12916 | } |
| 12917 | |
| 12918 | |
| 12919 | static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) { |
| 12920 | PyObject *obj; |
| 12921 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 12922 | SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj); |
| 12923 | Py_INCREF(obj); |
| 12924 | return Py_BuildValue((char *)""); |
| 12925 | } |
| 12926 | static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12927 | PyObject *resultobj; |
| 12928 | int arg1 ; |
| 12929 | wxEventType arg2 ; |
| 12930 | wxGrid *arg3 = (wxGrid *) 0 ; |
| 12931 | int arg4 = (int) -1 ; |
| 12932 | int arg5 = (int) -1 ; |
| 12933 | int arg6 = (int) -1 ; |
| 12934 | bool arg7 = (bool) False ; |
| 12935 | bool arg8 = (bool) False ; |
| 12936 | bool arg9 = (bool) False ; |
| 12937 | bool arg10 = (bool) False ; |
| 12938 | wxGridSizeEvent *result; |
| 12939 | PyObject * obj2 = 0 ; |
| 12940 | PyObject * obj6 = 0 ; |
| 12941 | PyObject * obj7 = 0 ; |
| 12942 | PyObject * obj8 = 0 ; |
| 12943 | PyObject * obj9 = 0 ; |
| 12944 | char *kwnames[] = { |
| 12945 | (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL |
| 12946 | }; |
| 12947 | |
| 12948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7,&obj8,&obj9)) goto fail; |
| 12949 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12950 | if (obj6) { |
| 12951 | arg7 = PyInt_AsLong(obj6) ? true : false; |
| 12952 | if (PyErr_Occurred()) SWIG_fail; |
| 12953 | } |
| 12954 | if (obj7) { |
| 12955 | arg8 = PyInt_AsLong(obj7) ? true : false; |
| 12956 | if (PyErr_Occurred()) SWIG_fail; |
| 12957 | } |
| 12958 | if (obj8) { |
| 12959 | arg9 = PyInt_AsLong(obj8) ? true : false; |
| 12960 | if (PyErr_Occurred()) SWIG_fail; |
| 12961 | } |
| 12962 | if (obj9) { |
| 12963 | arg10 = PyInt_AsLong(obj9) ? true : false; |
| 12964 | if (PyErr_Occurred()) SWIG_fail; |
| 12965 | } |
| 12966 | { |
| 12967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12968 | result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); |
| 12969 | |
| 12970 | wxPyEndAllowThreads(__tstate); |
| 12971 | if (PyErr_Occurred()) SWIG_fail; |
| 12972 | } |
| 12973 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizeEvent, 1); |
| 12974 | return resultobj; |
| 12975 | fail: |
| 12976 | return NULL; |
| 12977 | } |
| 12978 | |
| 12979 | |
| 12980 | static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 12981 | PyObject *resultobj; |
| 12982 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 12983 | int result; |
| 12984 | PyObject * obj0 = 0 ; |
| 12985 | char *kwnames[] = { |
| 12986 | (char *) "self", NULL |
| 12987 | }; |
| 12988 | |
| 12989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail; |
| 12990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 12991 | { |
| 12992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 12993 | result = (int)(arg1)->GetRowOrCol(); |
| 12994 | |
| 12995 | wxPyEndAllowThreads(__tstate); |
| 12996 | if (PyErr_Occurred()) SWIG_fail; |
| 12997 | } |
| 12998 | resultobj = PyInt_FromLong((long)result); |
| 12999 | return resultobj; |
| 13000 | fail: |
| 13001 | return NULL; |
| 13002 | } |
| 13003 | |
| 13004 | |
| 13005 | static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13006 | PyObject *resultobj; |
| 13007 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 13008 | wxPoint result; |
| 13009 | PyObject * obj0 = 0 ; |
| 13010 | char *kwnames[] = { |
| 13011 | (char *) "self", NULL |
| 13012 | }; |
| 13013 | |
| 13014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail; |
| 13015 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13016 | { |
| 13017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13018 | result = (arg1)->GetPosition(); |
| 13019 | |
| 13020 | wxPyEndAllowThreads(__tstate); |
| 13021 | if (PyErr_Occurred()) SWIG_fail; |
| 13022 | } |
| 13023 | { |
| 13024 | wxPoint * resultptr; |
| 13025 | resultptr = new wxPoint((wxPoint &) result); |
| 13026 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); |
| 13027 | } |
| 13028 | return resultobj; |
| 13029 | fail: |
| 13030 | return NULL; |
| 13031 | } |
| 13032 | |
| 13033 | |
| 13034 | static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13035 | PyObject *resultobj; |
| 13036 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 13037 | bool result; |
| 13038 | PyObject * obj0 = 0 ; |
| 13039 | char *kwnames[] = { |
| 13040 | (char *) "self", NULL |
| 13041 | }; |
| 13042 | |
| 13043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail; |
| 13044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13045 | { |
| 13046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13047 | result = (bool)(arg1)->ControlDown(); |
| 13048 | |
| 13049 | wxPyEndAllowThreads(__tstate); |
| 13050 | if (PyErr_Occurred()) SWIG_fail; |
| 13051 | } |
| 13052 | resultobj = PyInt_FromLong((long)result); |
| 13053 | return resultobj; |
| 13054 | fail: |
| 13055 | return NULL; |
| 13056 | } |
| 13057 | |
| 13058 | |
| 13059 | static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13060 | PyObject *resultobj; |
| 13061 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 13062 | bool result; |
| 13063 | PyObject * obj0 = 0 ; |
| 13064 | char *kwnames[] = { |
| 13065 | (char *) "self", NULL |
| 13066 | }; |
| 13067 | |
| 13068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail; |
| 13069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13070 | { |
| 13071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13072 | result = (bool)(arg1)->MetaDown(); |
| 13073 | |
| 13074 | wxPyEndAllowThreads(__tstate); |
| 13075 | if (PyErr_Occurred()) SWIG_fail; |
| 13076 | } |
| 13077 | resultobj = PyInt_FromLong((long)result); |
| 13078 | return resultobj; |
| 13079 | fail: |
| 13080 | return NULL; |
| 13081 | } |
| 13082 | |
| 13083 | |
| 13084 | static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13085 | PyObject *resultobj; |
| 13086 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 13087 | bool result; |
| 13088 | PyObject * obj0 = 0 ; |
| 13089 | char *kwnames[] = { |
| 13090 | (char *) "self", NULL |
| 13091 | }; |
| 13092 | |
| 13093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail; |
| 13094 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13095 | { |
| 13096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13097 | result = (bool)(arg1)->ShiftDown(); |
| 13098 | |
| 13099 | wxPyEndAllowThreads(__tstate); |
| 13100 | if (PyErr_Occurred()) SWIG_fail; |
| 13101 | } |
| 13102 | resultobj = PyInt_FromLong((long)result); |
| 13103 | return resultobj; |
| 13104 | fail: |
| 13105 | return NULL; |
| 13106 | } |
| 13107 | |
| 13108 | |
| 13109 | static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13110 | PyObject *resultobj; |
| 13111 | wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; |
| 13112 | bool result; |
| 13113 | PyObject * obj0 = 0 ; |
| 13114 | char *kwnames[] = { |
| 13115 | (char *) "self", NULL |
| 13116 | }; |
| 13117 | |
| 13118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail; |
| 13119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13120 | { |
| 13121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13122 | result = (bool)(arg1)->AltDown(); |
| 13123 | |
| 13124 | wxPyEndAllowThreads(__tstate); |
| 13125 | if (PyErr_Occurred()) SWIG_fail; |
| 13126 | } |
| 13127 | resultobj = PyInt_FromLong((long)result); |
| 13128 | return resultobj; |
| 13129 | fail: |
| 13130 | return NULL; |
| 13131 | } |
| 13132 | |
| 13133 | |
| 13134 | static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) { |
| 13135 | PyObject *obj; |
| 13136 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 13137 | SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj); |
| 13138 | Py_INCREF(obj); |
| 13139 | return Py_BuildValue((char *)""); |
| 13140 | } |
| 13141 | static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13142 | PyObject *resultobj; |
| 13143 | int arg1 ; |
| 13144 | wxEventType arg2 ; |
| 13145 | wxGrid *arg3 = (wxGrid *) 0 ; |
| 13146 | wxGridCellCoords *arg4 = 0 ; |
| 13147 | wxGridCellCoords *arg5 = 0 ; |
| 13148 | bool arg6 = (bool) True ; |
| 13149 | bool arg7 = (bool) False ; |
| 13150 | bool arg8 = (bool) False ; |
| 13151 | bool arg9 = (bool) False ; |
| 13152 | bool arg10 = (bool) False ; |
| 13153 | wxGridRangeSelectEvent *result; |
| 13154 | wxGridCellCoords temp4 ; |
| 13155 | wxGridCellCoords temp5 ; |
| 13156 | PyObject * obj2 = 0 ; |
| 13157 | PyObject * obj3 = 0 ; |
| 13158 | PyObject * obj4 = 0 ; |
| 13159 | PyObject * obj5 = 0 ; |
| 13160 | PyObject * obj6 = 0 ; |
| 13161 | PyObject * obj7 = 0 ; |
| 13162 | PyObject * obj8 = 0 ; |
| 13163 | PyObject * obj9 = 0 ; |
| 13164 | char *kwnames[] = { |
| 13165 | (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL |
| 13166 | }; |
| 13167 | |
| 13168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&arg1,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail; |
| 13169 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13170 | { |
| 13171 | arg4 = &temp4; |
| 13172 | if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail; |
| 13173 | } |
| 13174 | { |
| 13175 | arg5 = &temp5; |
| 13176 | if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail; |
| 13177 | } |
| 13178 | if (obj5) { |
| 13179 | arg6 = PyInt_AsLong(obj5) ? true : false; |
| 13180 | if (PyErr_Occurred()) SWIG_fail; |
| 13181 | } |
| 13182 | if (obj6) { |
| 13183 | arg7 = PyInt_AsLong(obj6) ? true : false; |
| 13184 | if (PyErr_Occurred()) SWIG_fail; |
| 13185 | } |
| 13186 | if (obj7) { |
| 13187 | arg8 = PyInt_AsLong(obj7) ? true : false; |
| 13188 | if (PyErr_Occurred()) SWIG_fail; |
| 13189 | } |
| 13190 | if (obj8) { |
| 13191 | arg9 = PyInt_AsLong(obj8) ? true : false; |
| 13192 | if (PyErr_Occurred()) SWIG_fail; |
| 13193 | } |
| 13194 | if (obj9) { |
| 13195 | arg10 = PyInt_AsLong(obj9) ? true : false; |
| 13196 | if (PyErr_Occurred()) SWIG_fail; |
| 13197 | } |
| 13198 | { |
| 13199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13200 | result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10); |
| 13201 | |
| 13202 | wxPyEndAllowThreads(__tstate); |
| 13203 | if (PyErr_Occurred()) SWIG_fail; |
| 13204 | } |
| 13205 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridRangeSelectEvent, 1); |
| 13206 | return resultobj; |
| 13207 | fail: |
| 13208 | return NULL; |
| 13209 | } |
| 13210 | |
| 13211 | |
| 13212 | static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13213 | PyObject *resultobj; |
| 13214 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13215 | wxGridCellCoords result; |
| 13216 | PyObject * obj0 = 0 ; |
| 13217 | char *kwnames[] = { |
| 13218 | (char *) "self", NULL |
| 13219 | }; |
| 13220 | |
| 13221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail; |
| 13222 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13223 | { |
| 13224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13225 | result = (arg1)->GetTopLeftCoords(); |
| 13226 | |
| 13227 | wxPyEndAllowThreads(__tstate); |
| 13228 | if (PyErr_Occurred()) SWIG_fail; |
| 13229 | } |
| 13230 | { |
| 13231 | wxGridCellCoords * resultptr; |
| 13232 | resultptr = new wxGridCellCoords((wxGridCellCoords &) result); |
| 13233 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1); |
| 13234 | } |
| 13235 | return resultobj; |
| 13236 | fail: |
| 13237 | return NULL; |
| 13238 | } |
| 13239 | |
| 13240 | |
| 13241 | static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13242 | PyObject *resultobj; |
| 13243 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13244 | wxGridCellCoords result; |
| 13245 | PyObject * obj0 = 0 ; |
| 13246 | char *kwnames[] = { |
| 13247 | (char *) "self", NULL |
| 13248 | }; |
| 13249 | |
| 13250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail; |
| 13251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13252 | { |
| 13253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13254 | result = (arg1)->GetBottomRightCoords(); |
| 13255 | |
| 13256 | wxPyEndAllowThreads(__tstate); |
| 13257 | if (PyErr_Occurred()) SWIG_fail; |
| 13258 | } |
| 13259 | { |
| 13260 | wxGridCellCoords * resultptr; |
| 13261 | resultptr = new wxGridCellCoords((wxGridCellCoords &) result); |
| 13262 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1); |
| 13263 | } |
| 13264 | return resultobj; |
| 13265 | fail: |
| 13266 | return NULL; |
| 13267 | } |
| 13268 | |
| 13269 | |
| 13270 | static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13271 | PyObject *resultobj; |
| 13272 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13273 | int result; |
| 13274 | PyObject * obj0 = 0 ; |
| 13275 | char *kwnames[] = { |
| 13276 | (char *) "self", NULL |
| 13277 | }; |
| 13278 | |
| 13279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail; |
| 13280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13281 | { |
| 13282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13283 | result = (int)(arg1)->GetTopRow(); |
| 13284 | |
| 13285 | wxPyEndAllowThreads(__tstate); |
| 13286 | if (PyErr_Occurred()) SWIG_fail; |
| 13287 | } |
| 13288 | resultobj = PyInt_FromLong((long)result); |
| 13289 | return resultobj; |
| 13290 | fail: |
| 13291 | return NULL; |
| 13292 | } |
| 13293 | |
| 13294 | |
| 13295 | static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13296 | PyObject *resultobj; |
| 13297 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13298 | int result; |
| 13299 | PyObject * obj0 = 0 ; |
| 13300 | char *kwnames[] = { |
| 13301 | (char *) "self", NULL |
| 13302 | }; |
| 13303 | |
| 13304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail; |
| 13305 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13306 | { |
| 13307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13308 | result = (int)(arg1)->GetBottomRow(); |
| 13309 | |
| 13310 | wxPyEndAllowThreads(__tstate); |
| 13311 | if (PyErr_Occurred()) SWIG_fail; |
| 13312 | } |
| 13313 | resultobj = PyInt_FromLong((long)result); |
| 13314 | return resultobj; |
| 13315 | fail: |
| 13316 | return NULL; |
| 13317 | } |
| 13318 | |
| 13319 | |
| 13320 | static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13321 | PyObject *resultobj; |
| 13322 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13323 | int result; |
| 13324 | PyObject * obj0 = 0 ; |
| 13325 | char *kwnames[] = { |
| 13326 | (char *) "self", NULL |
| 13327 | }; |
| 13328 | |
| 13329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail; |
| 13330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13331 | { |
| 13332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13333 | result = (int)(arg1)->GetLeftCol(); |
| 13334 | |
| 13335 | wxPyEndAllowThreads(__tstate); |
| 13336 | if (PyErr_Occurred()) SWIG_fail; |
| 13337 | } |
| 13338 | resultobj = PyInt_FromLong((long)result); |
| 13339 | return resultobj; |
| 13340 | fail: |
| 13341 | return NULL; |
| 13342 | } |
| 13343 | |
| 13344 | |
| 13345 | static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13346 | PyObject *resultobj; |
| 13347 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13348 | int result; |
| 13349 | PyObject * obj0 = 0 ; |
| 13350 | char *kwnames[] = { |
| 13351 | (char *) "self", NULL |
| 13352 | }; |
| 13353 | |
| 13354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail; |
| 13355 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13356 | { |
| 13357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13358 | result = (int)(arg1)->GetRightCol(); |
| 13359 | |
| 13360 | wxPyEndAllowThreads(__tstate); |
| 13361 | if (PyErr_Occurred()) SWIG_fail; |
| 13362 | } |
| 13363 | resultobj = PyInt_FromLong((long)result); |
| 13364 | return resultobj; |
| 13365 | fail: |
| 13366 | return NULL; |
| 13367 | } |
| 13368 | |
| 13369 | |
| 13370 | static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13371 | PyObject *resultobj; |
| 13372 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13373 | bool result; |
| 13374 | PyObject * obj0 = 0 ; |
| 13375 | char *kwnames[] = { |
| 13376 | (char *) "self", NULL |
| 13377 | }; |
| 13378 | |
| 13379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail; |
| 13380 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13381 | { |
| 13382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13383 | result = (bool)(arg1)->Selecting(); |
| 13384 | |
| 13385 | wxPyEndAllowThreads(__tstate); |
| 13386 | if (PyErr_Occurred()) SWIG_fail; |
| 13387 | } |
| 13388 | resultobj = PyInt_FromLong((long)result); |
| 13389 | return resultobj; |
| 13390 | fail: |
| 13391 | return NULL; |
| 13392 | } |
| 13393 | |
| 13394 | |
| 13395 | static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13396 | PyObject *resultobj; |
| 13397 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13398 | bool result; |
| 13399 | PyObject * obj0 = 0 ; |
| 13400 | char *kwnames[] = { |
| 13401 | (char *) "self", NULL |
| 13402 | }; |
| 13403 | |
| 13404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail; |
| 13405 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13406 | { |
| 13407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13408 | result = (bool)(arg1)->ControlDown(); |
| 13409 | |
| 13410 | wxPyEndAllowThreads(__tstate); |
| 13411 | if (PyErr_Occurred()) SWIG_fail; |
| 13412 | } |
| 13413 | resultobj = PyInt_FromLong((long)result); |
| 13414 | return resultobj; |
| 13415 | fail: |
| 13416 | return NULL; |
| 13417 | } |
| 13418 | |
| 13419 | |
| 13420 | static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13421 | PyObject *resultobj; |
| 13422 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13423 | bool result; |
| 13424 | PyObject * obj0 = 0 ; |
| 13425 | char *kwnames[] = { |
| 13426 | (char *) "self", NULL |
| 13427 | }; |
| 13428 | |
| 13429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail; |
| 13430 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13431 | { |
| 13432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13433 | result = (bool)(arg1)->MetaDown(); |
| 13434 | |
| 13435 | wxPyEndAllowThreads(__tstate); |
| 13436 | if (PyErr_Occurred()) SWIG_fail; |
| 13437 | } |
| 13438 | resultobj = PyInt_FromLong((long)result); |
| 13439 | return resultobj; |
| 13440 | fail: |
| 13441 | return NULL; |
| 13442 | } |
| 13443 | |
| 13444 | |
| 13445 | static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13446 | PyObject *resultobj; |
| 13447 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13448 | bool result; |
| 13449 | PyObject * obj0 = 0 ; |
| 13450 | char *kwnames[] = { |
| 13451 | (char *) "self", NULL |
| 13452 | }; |
| 13453 | |
| 13454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail; |
| 13455 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13456 | { |
| 13457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13458 | result = (bool)(arg1)->ShiftDown(); |
| 13459 | |
| 13460 | wxPyEndAllowThreads(__tstate); |
| 13461 | if (PyErr_Occurred()) SWIG_fail; |
| 13462 | } |
| 13463 | resultobj = PyInt_FromLong((long)result); |
| 13464 | return resultobj; |
| 13465 | fail: |
| 13466 | return NULL; |
| 13467 | } |
| 13468 | |
| 13469 | |
| 13470 | static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13471 | PyObject *resultobj; |
| 13472 | wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; |
| 13473 | bool result; |
| 13474 | PyObject * obj0 = 0 ; |
| 13475 | char *kwnames[] = { |
| 13476 | (char *) "self", NULL |
| 13477 | }; |
| 13478 | |
| 13479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail; |
| 13480 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13481 | { |
| 13482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13483 | result = (bool)(arg1)->AltDown(); |
| 13484 | |
| 13485 | wxPyEndAllowThreads(__tstate); |
| 13486 | if (PyErr_Occurred()) SWIG_fail; |
| 13487 | } |
| 13488 | resultobj = PyInt_FromLong((long)result); |
| 13489 | return resultobj; |
| 13490 | fail: |
| 13491 | return NULL; |
| 13492 | } |
| 13493 | |
| 13494 | |
| 13495 | static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) { |
| 13496 | PyObject *obj; |
| 13497 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 13498 | SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj); |
| 13499 | Py_INCREF(obj); |
| 13500 | return Py_BuildValue((char *)""); |
| 13501 | } |
| 13502 | static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13503 | PyObject *resultobj; |
| 13504 | int arg1 ; |
| 13505 | wxEventType arg2 ; |
| 13506 | wxObject *arg3 = (wxObject *) 0 ; |
| 13507 | int arg4 ; |
| 13508 | int arg5 ; |
| 13509 | wxControl *arg6 = (wxControl *) 0 ; |
| 13510 | wxGridEditorCreatedEvent *result; |
| 13511 | PyObject * obj2 = 0 ; |
| 13512 | PyObject * obj5 = 0 ; |
| 13513 | char *kwnames[] = { |
| 13514 | (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL |
| 13515 | }; |
| 13516 | |
| 13517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&obj5)) goto fail; |
| 13518 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13519 | if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13520 | { |
| 13521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13522 | result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6); |
| 13523 | |
| 13524 | wxPyEndAllowThreads(__tstate); |
| 13525 | if (PyErr_Occurred()) SWIG_fail; |
| 13526 | } |
| 13527 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEditorCreatedEvent, 1); |
| 13528 | return resultobj; |
| 13529 | fail: |
| 13530 | return NULL; |
| 13531 | } |
| 13532 | |
| 13533 | |
| 13534 | static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13535 | PyObject *resultobj; |
| 13536 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13537 | int result; |
| 13538 | PyObject * obj0 = 0 ; |
| 13539 | char *kwnames[] = { |
| 13540 | (char *) "self", NULL |
| 13541 | }; |
| 13542 | |
| 13543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail; |
| 13544 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13545 | { |
| 13546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13547 | result = (int)(arg1)->GetRow(); |
| 13548 | |
| 13549 | wxPyEndAllowThreads(__tstate); |
| 13550 | if (PyErr_Occurred()) SWIG_fail; |
| 13551 | } |
| 13552 | resultobj = PyInt_FromLong((long)result); |
| 13553 | return resultobj; |
| 13554 | fail: |
| 13555 | return NULL; |
| 13556 | } |
| 13557 | |
| 13558 | |
| 13559 | static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13560 | PyObject *resultobj; |
| 13561 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13562 | int result; |
| 13563 | PyObject * obj0 = 0 ; |
| 13564 | char *kwnames[] = { |
| 13565 | (char *) "self", NULL |
| 13566 | }; |
| 13567 | |
| 13568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail; |
| 13569 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13570 | { |
| 13571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13572 | result = (int)(arg1)->GetCol(); |
| 13573 | |
| 13574 | wxPyEndAllowThreads(__tstate); |
| 13575 | if (PyErr_Occurred()) SWIG_fail; |
| 13576 | } |
| 13577 | resultobj = PyInt_FromLong((long)result); |
| 13578 | return resultobj; |
| 13579 | fail: |
| 13580 | return NULL; |
| 13581 | } |
| 13582 | |
| 13583 | |
| 13584 | static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13585 | PyObject *resultobj; |
| 13586 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13587 | wxControl *result; |
| 13588 | PyObject * obj0 = 0 ; |
| 13589 | char *kwnames[] = { |
| 13590 | (char *) "self", NULL |
| 13591 | }; |
| 13592 | |
| 13593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail; |
| 13594 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13595 | { |
| 13596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13597 | result = (wxControl *)(arg1)->GetControl(); |
| 13598 | |
| 13599 | wxPyEndAllowThreads(__tstate); |
| 13600 | if (PyErr_Occurred()) SWIG_fail; |
| 13601 | } |
| 13602 | { |
| 13603 | resultobj = wxPyMake_wxObject(result); |
| 13604 | } |
| 13605 | return resultobj; |
| 13606 | fail: |
| 13607 | return NULL; |
| 13608 | } |
| 13609 | |
| 13610 | |
| 13611 | static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13612 | PyObject *resultobj; |
| 13613 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13614 | int arg2 ; |
| 13615 | PyObject * obj0 = 0 ; |
| 13616 | char *kwnames[] = { |
| 13617 | (char *) "self",(char *) "row", NULL |
| 13618 | }; |
| 13619 | |
| 13620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&arg2)) goto fail; |
| 13621 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13622 | { |
| 13623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13624 | (arg1)->SetRow(arg2); |
| 13625 | |
| 13626 | wxPyEndAllowThreads(__tstate); |
| 13627 | if (PyErr_Occurred()) SWIG_fail; |
| 13628 | } |
| 13629 | Py_INCREF(Py_None); resultobj = Py_None; |
| 13630 | return resultobj; |
| 13631 | fail: |
| 13632 | return NULL; |
| 13633 | } |
| 13634 | |
| 13635 | |
| 13636 | static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13637 | PyObject *resultobj; |
| 13638 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13639 | int arg2 ; |
| 13640 | PyObject * obj0 = 0 ; |
| 13641 | char *kwnames[] = { |
| 13642 | (char *) "self",(char *) "col", NULL |
| 13643 | }; |
| 13644 | |
| 13645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&arg2)) goto fail; |
| 13646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13647 | { |
| 13648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13649 | (arg1)->SetCol(arg2); |
| 13650 | |
| 13651 | wxPyEndAllowThreads(__tstate); |
| 13652 | if (PyErr_Occurred()) SWIG_fail; |
| 13653 | } |
| 13654 | Py_INCREF(Py_None); resultobj = Py_None; |
| 13655 | return resultobj; |
| 13656 | fail: |
| 13657 | return NULL; |
| 13658 | } |
| 13659 | |
| 13660 | |
| 13661 | static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
| 13662 | PyObject *resultobj; |
| 13663 | wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; |
| 13664 | wxControl *arg2 = (wxControl *) 0 ; |
| 13665 | PyObject * obj0 = 0 ; |
| 13666 | PyObject * obj1 = 0 ; |
| 13667 | char *kwnames[] = { |
| 13668 | (char *) "self",(char *) "ctrl", NULL |
| 13669 | }; |
| 13670 | |
| 13671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail; |
| 13672 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13673 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
| 13674 | { |
| 13675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13676 | (arg1)->SetControl(arg2); |
| 13677 | |
| 13678 | wxPyEndAllowThreads(__tstate); |
| 13679 | if (PyErr_Occurred()) SWIG_fail; |
| 13680 | } |
| 13681 | Py_INCREF(Py_None); resultobj = Py_None; |
| 13682 | return resultobj; |
| 13683 | fail: |
| 13684 | return NULL; |
| 13685 | } |
| 13686 | |
| 13687 | |
| 13688 | static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) { |
| 13689 | PyObject *obj; |
| 13690 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 13691 | SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj); |
| 13692 | Py_INCREF(obj); |
| 13693 | return Py_BuildValue((char *)""); |
| 13694 | } |
| 13695 | static PyMethodDef SwigMethods[] = { |
| 13696 | { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13697 | { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS }, |
| 13698 | { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS }, |
| 13699 | { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS }, |
| 13700 | { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS }, |
| 13701 | { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS }, |
| 13702 | { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS }, |
| 13703 | { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS }, |
| 13704 | { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13705 | { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13706 | { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, |
| 13707 | { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS }, |
| 13708 | { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13709 | { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS }, |
| 13710 | { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13711 | { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS }, |
| 13712 | { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13713 | { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS }, |
| 13714 | { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS }, |
| 13715 | { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS }, |
| 13716 | { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS }, |
| 13717 | { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS }, |
| 13718 | { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13719 | { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS }, |
| 13720 | { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13721 | { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS }, |
| 13722 | { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13723 | { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS }, |
| 13724 | { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13725 | { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS }, |
| 13726 | { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13727 | { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS }, |
| 13728 | { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS }, |
| 13729 | { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS }, |
| 13730 | { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13731 | { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13732 | { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS }, |
| 13733 | { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS }, |
| 13734 | { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS }, |
| 13735 | { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS }, |
| 13736 | { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS }, |
| 13737 | { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS }, |
| 13738 | { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS }, |
| 13739 | { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS }, |
| 13740 | { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS }, |
| 13741 | { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS }, |
| 13742 | { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
| 13743 | { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
| 13744 | { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS }, |
| 13745 | { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS }, |
| 13746 | { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS }, |
| 13747 | { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS }, |
| 13748 | { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS }, |
| 13749 | { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13750 | { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13751 | { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS }, |
| 13752 | { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS }, |
| 13753 | { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
| 13754 | { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
| 13755 | { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS }, |
| 13756 | { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS }, |
| 13757 | { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS }, |
| 13758 | { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS }, |
| 13759 | { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, |
| 13760 | { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS }, |
| 13761 | { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13762 | { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13763 | { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS }, |
| 13764 | { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13765 | { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13766 | { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS }, |
| 13767 | { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13768 | { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13769 | { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS }, |
| 13770 | { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13771 | { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13772 | { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS }, |
| 13773 | { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13774 | { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13775 | { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS }, |
| 13776 | { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13777 | { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13778 | { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS }, |
| 13779 | { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13780 | { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13781 | { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS }, |
| 13782 | { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13783 | { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13784 | { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS }, |
| 13785 | { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS }, |
| 13786 | { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS }, |
| 13787 | { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS }, |
| 13788 | { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 13789 | { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 13790 | { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, |
| 13791 | { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13792 | { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS }, |
| 13793 | { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 13794 | { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, |
| 13795 | { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13796 | { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13797 | { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS }, |
| 13798 | { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 13799 | { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 13800 | { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, |
| 13801 | { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13802 | { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13803 | { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13804 | { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS }, |
| 13805 | { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS }, |
| 13806 | { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 13807 | { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 13808 | { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, |
| 13809 | { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13810 | { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS }, |
| 13811 | { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 13812 | { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 13813 | { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS }, |
| 13814 | { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, |
| 13815 | { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13816 | { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS }, |
| 13817 | { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
| 13818 | { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13819 | { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13820 | { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13821 | { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13822 | { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13823 | { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS }, |
| 13824 | { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS }, |
| 13825 | { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS }, |
| 13826 | { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
| 13827 | { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13828 | { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13829 | { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13830 | { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13831 | { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13832 | { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS }, |
| 13833 | { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13834 | { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
| 13835 | { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
| 13836 | { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS }, |
| 13837 | { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS }, |
| 13838 | { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, |
| 13839 | { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, |
| 13840 | { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS }, |
| 13841 | { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13842 | { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS }, |
| 13843 | { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS }, |
| 13844 | { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, |
| 13845 | { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, |
| 13846 | { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS }, |
| 13847 | { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, |
| 13848 | { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS }, |
| 13849 | { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS }, |
| 13850 | { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, |
| 13851 | { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS }, |
| 13852 | { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS }, |
| 13853 | { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS }, |
| 13854 | { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS }, |
| 13855 | { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS }, |
| 13856 | { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS }, |
| 13857 | { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS }, |
| 13858 | { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS }, |
| 13859 | { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13860 | { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13861 | { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13862 | { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13863 | { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, |
| 13864 | { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13865 | { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13866 | { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13867 | { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13868 | { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS }, |
| 13869 | { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS }, |
| 13870 | { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
| 13871 | { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS }, |
| 13872 | { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS }, |
| 13873 | { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, |
| 13874 | { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, |
| 13875 | { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS }, |
| 13876 | { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS }, |
| 13877 | { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS }, |
| 13878 | { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS }, |
| 13879 | { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS }, |
| 13880 | { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS }, |
| 13881 | { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS }, |
| 13882 | { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13883 | { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13884 | { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13885 | { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13886 | { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, |
| 13887 | { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13888 | { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13889 | { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13890 | { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
| 13891 | { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS }, |
| 13892 | { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS }, |
| 13893 | { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS }, |
| 13894 | { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS }, |
| 13895 | { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS }, |
| 13896 | { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS }, |
| 13897 | { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS }, |
| 13898 | { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS }, |
| 13899 | { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS }, |
| 13900 | { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS }, |
| 13901 | { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS }, |
| 13902 | { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS }, |
| 13903 | { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS }, |
| 13904 | { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS }, |
| 13905 | { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS }, |
| 13906 | { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS }, |
| 13907 | { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS }, |
| 13908 | { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS }, |
| 13909 | { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS }, |
| 13910 | { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS }, |
| 13911 | { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS }, |
| 13912 | { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS }, |
| 13913 | { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS }, |
| 13914 | { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS }, |
| 13915 | { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS }, |
| 13916 | { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS }, |
| 13917 | { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, |
| 13918 | { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, |
| 13919 | { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS }, |
| 13920 | { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, |
| 13921 | { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, |
| 13922 | { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS }, |
| 13923 | { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS }, |
| 13924 | { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS }, |
| 13925 | { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS }, |
| 13926 | { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS }, |
| 13927 | { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS }, |
| 13928 | { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, |
| 13929 | { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS }, |
| 13930 | { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS }, |
| 13931 | { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, |
| 13932 | { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS }, |
| 13933 | { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS }, |
| 13934 | { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS }, |
| 13935 | { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, |
| 13936 | { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS }, |
| 13937 | { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, |
| 13938 | { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS }, |
| 13939 | { (char *)"Grid_Refresh", (PyCFunction) _wrap_Grid_Refresh, METH_VARARGS | METH_KEYWORDS }, |
| 13940 | { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS }, |
| 13941 | { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS }, |
| 13942 | { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS }, |
| 13943 | { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS }, |
| 13944 | { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS }, |
| 13945 | { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS }, |
| 13946 | { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS }, |
| 13947 | { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS }, |
| 13948 | { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS }, |
| 13949 | { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS }, |
| 13950 | { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS }, |
| 13951 | { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS }, |
| 13952 | { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS }, |
| 13953 | { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS }, |
| 13954 | { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS }, |
| 13955 | { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS }, |
| 13956 | { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS }, |
| 13957 | { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS }, |
| 13958 | { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS }, |
| 13959 | { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS }, |
| 13960 | { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS }, |
| 13961 | { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, |
| 13962 | { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS }, |
| 13963 | { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS }, |
| 13964 | { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS }, |
| 13965 | { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS }, |
| 13966 | { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS }, |
| 13967 | { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS }, |
| 13968 | { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS }, |
| 13969 | { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS }, |
| 13970 | { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS }, |
| 13971 | { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS }, |
| 13972 | { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13973 | { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13974 | { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13975 | { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13976 | { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 13977 | { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 13978 | { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS }, |
| 13979 | { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13980 | { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13981 | { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS }, |
| 13982 | { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13983 | { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13984 | { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS }, |
| 13985 | { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
| 13986 | { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, |
| 13987 | { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
| 13988 | { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13989 | { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 13990 | { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 13991 | { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 13992 | { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS }, |
| 13993 | { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13994 | { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 13995 | { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS }, |
| 13996 | { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13997 | { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, |
| 13998 | { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS }, |
| 13999 | { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
| 14000 | { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, |
| 14001 | { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
| 14002 | { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14003 | { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14004 | { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14005 | { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14006 | { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14007 | { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14008 | { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS }, |
| 14009 | { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS }, |
| 14010 | { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS }, |
| 14011 | { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
| 14012 | { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, |
| 14013 | { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
| 14014 | { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS }, |
| 14015 | { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS }, |
| 14016 | { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS }, |
| 14017 | { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS }, |
| 14018 | { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS }, |
| 14019 | { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS }, |
| 14020 | { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14021 | { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14022 | { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14023 | { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14024 | { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 14025 | { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 14026 | { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 14027 | { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 14028 | { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, |
| 14029 | { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS }, |
| 14030 | { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 14031 | { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 14032 | { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 14033 | { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 14034 | { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS }, |
| 14035 | { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14036 | { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS }, |
| 14037 | { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14038 | { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS }, |
| 14039 | { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS }, |
| 14040 | { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS }, |
| 14041 | { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS }, |
| 14042 | { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS }, |
| 14043 | { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS }, |
| 14044 | { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 14045 | { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS }, |
| 14046 | { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS }, |
| 14047 | { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS }, |
| 14048 | { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS }, |
| 14049 | { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS }, |
| 14050 | { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS }, |
| 14051 | { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS }, |
| 14052 | { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 14053 | { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
| 14054 | { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 14055 | { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, |
| 14056 | { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, |
| 14057 | { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS }, |
| 14058 | { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 14059 | { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
| 14060 | { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 14061 | { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS }, |
| 14062 | { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS }, |
| 14063 | { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 14064 | { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 14065 | { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 14066 | { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
| 14067 | { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, |
| 14068 | { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS }, |
| 14069 | { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, |
| 14070 | { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS }, |
| 14071 | { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, |
| 14072 | { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, |
| 14073 | { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, |
| 14074 | { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, |
| 14075 | { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS }, |
| 14076 | { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS }, |
| 14077 | { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS }, |
| 14078 | { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS }, |
| 14079 | { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS }, |
| 14080 | { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS }, |
| 14081 | { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS }, |
| 14082 | { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS }, |
| 14083 | { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS }, |
| 14084 | { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS }, |
| 14085 | { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS }, |
| 14086 | { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS }, |
| 14087 | { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS }, |
| 14088 | { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS }, |
| 14089 | { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS }, |
| 14090 | { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS }, |
| 14091 | { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, |
| 14092 | { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, |
| 14093 | { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, |
| 14094 | { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, |
| 14095 | { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS }, |
| 14096 | { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS }, |
| 14097 | { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS }, |
| 14098 | { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS }, |
| 14099 | { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS }, |
| 14100 | { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
| 14101 | { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS }, |
| 14102 | { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
| 14103 | { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
| 14104 | { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
| 14105 | { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS }, |
| 14106 | { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS }, |
| 14107 | { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, |
| 14108 | { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, |
| 14109 | { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
| 14110 | { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, |
| 14111 | { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, |
| 14112 | { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, |
| 14113 | { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, |
| 14114 | { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
| 14115 | { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS }, |
| 14116 | { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS }, |
| 14117 | { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS }, |
| 14118 | { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
| 14119 | { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, |
| 14120 | { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, |
| 14121 | { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, |
| 14122 | { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
| 14123 | { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS }, |
| 14124 | { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS }, |
| 14125 | { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS }, |
| 14126 | { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS }, |
| 14127 | { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS }, |
| 14128 | { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS }, |
| 14129 | { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS }, |
| 14130 | { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS }, |
| 14131 | { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, |
| 14132 | { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, |
| 14133 | { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, |
| 14134 | { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, |
| 14135 | { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
| 14136 | { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS }, |
| 14137 | { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS }, |
| 14138 | { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, |
| 14139 | { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, |
| 14140 | { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, |
| 14141 | { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS }, |
| 14142 | { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS }, |
| 14143 | { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS }, |
| 14144 | { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS }, |
| 14145 | { NULL, NULL } |
| 14146 | }; |
| 14147 | |
| 14148 | |
| 14149 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ |
| 14150 | |
| 14151 | static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) { |
| 14152 | return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x)); |
| 14153 | } |
| 14154 | static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) { |
| 14155 | return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x)); |
| 14156 | } |
| 14157 | static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) { |
| 14158 | return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x)); |
| 14159 | } |
| 14160 | static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) { |
| 14161 | return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x)); |
| 14162 | } |
| 14163 | static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) { |
| 14164 | return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x)); |
| 14165 | } |
| 14166 | static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) { |
| 14167 | return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x)); |
| 14168 | } |
| 14169 | static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) { |
| 14170 | return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x)); |
| 14171 | } |
| 14172 | static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) { |
| 14173 | return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x)); |
| 14174 | } |
| 14175 | static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) { |
| 14176 | return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x)); |
| 14177 | } |
| 14178 | static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) { |
| 14179 | return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x)); |
| 14180 | } |
| 14181 | static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) { |
| 14182 | return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x)); |
| 14183 | } |
| 14184 | static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) { |
| 14185 | return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x)); |
| 14186 | } |
| 14187 | static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) { |
| 14188 | return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x)); |
| 14189 | } |
| 14190 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
| 14191 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); |
| 14192 | } |
| 14193 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
| 14194 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 14195 | } |
| 14196 | static void *_p_wxGridTo_p_wxPanel(void *x) { |
| 14197 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x)); |
| 14198 | } |
| 14199 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
| 14200 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 14201 | } |
| 14202 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
| 14203 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 14204 | } |
| 14205 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
| 14206 | return (void *)((wxPanel *) ((wxPyPanel *) x)); |
| 14207 | } |
| 14208 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
| 14209 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 14210 | } |
| 14211 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
| 14212 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); |
| 14213 | } |
| 14214 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
| 14215 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 14216 | } |
| 14217 | static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) { |
| 14218 | return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x)); |
| 14219 | } |
| 14220 | static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) { |
| 14221 | return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x)); |
| 14222 | } |
| 14223 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
| 14224 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 14225 | } |
| 14226 | static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) { |
| 14227 | return (void *)((wxNotifyEvent *) ((wxGridEvent *) x)); |
| 14228 | } |
| 14229 | static void *_p_wxGridTo_p_wxScrolledWindow(void *x) { |
| 14230 | return (void *)((wxScrolledWindow *) ((wxGrid *) x)); |
| 14231 | } |
| 14232 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
| 14233 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 14234 | } |
| 14235 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
| 14236 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 14237 | } |
| 14238 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
| 14239 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 14240 | } |
| 14241 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
| 14242 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); |
| 14243 | } |
| 14244 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
| 14245 | return (void *)((wxWindow *) ((wxMenuBar *) x)); |
| 14246 | } |
| 14247 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
| 14248 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 14249 | } |
| 14250 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
| 14251 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 14252 | } |
| 14253 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
| 14254 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 14255 | } |
| 14256 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
| 14257 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 14258 | } |
| 14259 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
| 14260 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 14261 | } |
| 14262 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
| 14263 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 14264 | } |
| 14265 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
| 14266 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 14267 | } |
| 14268 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
| 14269 | return (void *)((wxWindow *) ((wxPanel *) x)); |
| 14270 | } |
| 14271 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
| 14272 | return (void *)((wxWindow *) ((wxStatusBar *) x)); |
| 14273 | } |
| 14274 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
| 14275 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); |
| 14276 | } |
| 14277 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
| 14278 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 14279 | } |
| 14280 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
| 14281 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 14282 | } |
| 14283 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
| 14284 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 14285 | } |
| 14286 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
| 14287 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); |
| 14288 | } |
| 14289 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
| 14290 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 14291 | } |
| 14292 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
| 14293 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); |
| 14294 | } |
| 14295 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
| 14296 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); |
| 14297 | } |
| 14298 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
| 14299 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); |
| 14300 | } |
| 14301 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
| 14302 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); |
| 14303 | } |
| 14304 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
| 14305 | return (void *)((wxWindow *) ((wxSashWindow *) x)); |
| 14306 | } |
| 14307 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
| 14308 | return (void *)((wxWindow *) ((wxControl *) x)); |
| 14309 | } |
| 14310 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
| 14311 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 14312 | } |
| 14313 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
| 14314 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 14315 | } |
| 14316 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
| 14317 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 14318 | } |
| 14319 | static void *_p_wxGridTo_p_wxWindow(void *x) { |
| 14320 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x)); |
| 14321 | } |
| 14322 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
| 14323 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); |
| 14324 | } |
| 14325 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
| 14326 | return (void *)((wxWindow *) ((wxPyWindow *) x)); |
| 14327 | } |
| 14328 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
| 14329 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 14330 | } |
| 14331 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
| 14332 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 14333 | } |
| 14334 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
| 14335 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 14336 | } |
| 14337 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
| 14338 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); |
| 14339 | } |
| 14340 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
| 14341 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 14342 | } |
| 14343 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
| 14344 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); |
| 14345 | } |
| 14346 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
| 14347 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 14348 | } |
| 14349 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
| 14350 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 14351 | } |
| 14352 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
| 14353 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 14354 | } |
| 14355 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
| 14356 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); |
| 14357 | } |
| 14358 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { |
| 14359 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 14360 | } |
| 14361 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { |
| 14362 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); |
| 14363 | } |
| 14364 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
| 14365 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 14366 | } |
| 14367 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
| 14368 | return (void *)((wxControl *) ((wxControlWithItems *) x)); |
| 14369 | } |
| 14370 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
| 14371 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 14372 | } |
| 14373 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
| 14374 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); |
| 14375 | } |
| 14376 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
| 14377 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); |
| 14378 | } |
| 14379 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
| 14380 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); |
| 14381 | } |
| 14382 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
| 14383 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); |
| 14384 | } |
| 14385 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
| 14386 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); |
| 14387 | } |
| 14388 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
| 14389 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 14390 | } |
| 14391 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
| 14392 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); |
| 14393 | } |
| 14394 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
| 14395 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); |
| 14396 | } |
| 14397 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
| 14398 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 14399 | } |
| 14400 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
| 14401 | return (void *)((wxEvent *) ((wxPyEvent *) x)); |
| 14402 | } |
| 14403 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
| 14404 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 14405 | } |
| 14406 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
| 14407 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); |
| 14408 | } |
| 14409 | static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) { |
| 14410 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x)); |
| 14411 | } |
| 14412 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
| 14413 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); |
| 14414 | } |
| 14415 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
| 14416 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 14417 | } |
| 14418 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
| 14419 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
| 14420 | } |
| 14421 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
| 14422 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); |
| 14423 | } |
| 14424 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
| 14425 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); |
| 14426 | } |
| 14427 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
| 14428 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); |
| 14429 | } |
| 14430 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
| 14431 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); |
| 14432 | } |
| 14433 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
| 14434 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); |
| 14435 | } |
| 14436 | static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) { |
| 14437 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x)); |
| 14438 | } |
| 14439 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
| 14440 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); |
| 14441 | } |
| 14442 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
| 14443 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); |
| 14444 | } |
| 14445 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
| 14446 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 14447 | } |
| 14448 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
| 14449 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); |
| 14450 | } |
| 14451 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
| 14452 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); |
| 14453 | } |
| 14454 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
| 14455 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
| 14456 | } |
| 14457 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
| 14458 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); |
| 14459 | } |
| 14460 | static void *_p_wxGridEventTo_p_wxEvent(void *x) { |
| 14461 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x)); |
| 14462 | } |
| 14463 | static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) { |
| 14464 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x)); |
| 14465 | } |
| 14466 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
| 14467 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); |
| 14468 | } |
| 14469 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { |
| 14470 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); |
| 14471 | } |
| 14472 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { |
| 14473 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 14474 | } |
| 14475 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { |
| 14476 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); |
| 14477 | } |
| 14478 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { |
| 14479 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
| 14480 | } |
| 14481 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
| 14482 | return (void *)((wxEvent *) ((wxShowEvent *) x)); |
| 14483 | } |
| 14484 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
| 14485 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); |
| 14486 | } |
| 14487 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { |
| 14488 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 14489 | } |
| 14490 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
| 14491 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 14492 | } |
| 14493 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { |
| 14494 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); |
| 14495 | } |
| 14496 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { |
| 14497 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); |
| 14498 | } |
| 14499 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { |
| 14500 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); |
| 14501 | } |
| 14502 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { |
| 14503 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); |
| 14504 | } |
| 14505 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
| 14506 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); |
| 14507 | } |
| 14508 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
| 14509 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
| 14510 | } |
| 14511 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
| 14512 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 14513 | } |
| 14514 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
| 14515 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 14516 | } |
| 14517 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
| 14518 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); |
| 14519 | } |
| 14520 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
| 14521 | return (void *)((wxObject *) ((wxSizerItem *) x)); |
| 14522 | } |
| 14523 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
| 14524 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); |
| 14525 | } |
| 14526 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
| 14527 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); |
| 14528 | } |
| 14529 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
| 14530 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); |
| 14531 | } |
| 14532 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
| 14533 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); |
| 14534 | } |
| 14535 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
| 14536 | return (void *)((wxObject *) ((wxSizer *) x)); |
| 14537 | } |
| 14538 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
| 14539 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); |
| 14540 | } |
| 14541 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
| 14542 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 14543 | } |
| 14544 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
| 14545 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
| 14546 | } |
| 14547 | static void *_p_wxEventTo_p_wxObject(void *x) { |
| 14548 | return (void *)((wxObject *) ((wxEvent *) x)); |
| 14549 | } |
| 14550 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
| 14551 | return (void *)((wxObject *) ((wxFontData *) x)); |
| 14552 | } |
| 14553 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
| 14554 | return (void *)((wxObject *) ((wxPrintData *) x)); |
| 14555 | } |
| 14556 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
| 14557 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); |
| 14558 | } |
| 14559 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
| 14560 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); |
| 14561 | } |
| 14562 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
| 14563 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); |
| 14564 | } |
| 14565 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
| 14566 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); |
| 14567 | } |
| 14568 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { |
| 14569 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); |
| 14570 | } |
| 14571 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
| 14572 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 14573 | } |
| 14574 | static void *_p_wxGridStringTableTo_p_wxObject(void *x) { |
| 14575 | return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x)); |
| 14576 | } |
| 14577 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
| 14578 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); |
| 14579 | } |
| 14580 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
| 14581 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); |
| 14582 | } |
| 14583 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
| 14584 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); |
| 14585 | } |
| 14586 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
| 14587 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); |
| 14588 | } |
| 14589 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
| 14590 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
| 14591 | } |
| 14592 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
| 14593 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); |
| 14594 | } |
| 14595 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
| 14596 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 14597 | } |
| 14598 | static void *_p_wxGridEventTo_p_wxObject(void *x) { |
| 14599 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x)); |
| 14600 | } |
| 14601 | static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) { |
| 14602 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x)); |
| 14603 | } |
| 14604 | static void *_p_wxControlTo_p_wxObject(void *x) { |
| 14605 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); |
| 14606 | } |
| 14607 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
| 14608 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); |
| 14609 | } |
| 14610 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
| 14611 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 14612 | } |
| 14613 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
| 14614 | return (void *)((wxObject *) ((wxFSFile *) x)); |
| 14615 | } |
| 14616 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
| 14617 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); |
| 14618 | } |
| 14619 | static void *_p_wxGridTo_p_wxObject(void *x) { |
| 14620 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x)); |
| 14621 | } |
| 14622 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
| 14623 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); |
| 14624 | } |
| 14625 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
| 14626 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 14627 | } |
| 14628 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
| 14629 | return (void *)((wxObject *) ((wxColourData *) x)); |
| 14630 | } |
| 14631 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
| 14632 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); |
| 14633 | } |
| 14634 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
| 14635 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 14636 | } |
| 14637 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
| 14638 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); |
| 14639 | } |
| 14640 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
| 14641 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 14642 | } |
| 14643 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
| 14644 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 14645 | } |
| 14646 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
| 14647 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 14648 | } |
| 14649 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
| 14650 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 14651 | } |
| 14652 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
| 14653 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 14654 | } |
| 14655 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
| 14656 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 14657 | } |
| 14658 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
| 14659 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 14660 | } |
| 14661 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
| 14662 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 14663 | } |
| 14664 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
| 14665 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); |
| 14666 | } |
| 14667 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
| 14668 | return (void *)((wxObject *) ((wxPrinter *) x)); |
| 14669 | } |
| 14670 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
| 14671 | return (void *)((wxObject *) ((wxMenuItem *) x)); |
| 14672 | } |
| 14673 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
| 14674 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); |
| 14675 | } |
| 14676 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
| 14677 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 14678 | } |
| 14679 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
| 14680 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
| 14681 | } |
| 14682 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
| 14683 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); |
| 14684 | } |
| 14685 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
| 14686 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); |
| 14687 | } |
| 14688 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
| 14689 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); |
| 14690 | } |
| 14691 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
| 14692 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); |
| 14693 | } |
| 14694 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
| 14695 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); |
| 14696 | } |
| 14697 | static void *_p_wxGridSizeEventTo_p_wxObject(void *x) { |
| 14698 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x)); |
| 14699 | } |
| 14700 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
| 14701 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); |
| 14702 | } |
| 14703 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
| 14704 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); |
| 14705 | } |
| 14706 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
| 14707 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); |
| 14708 | } |
| 14709 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
| 14710 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); |
| 14711 | } |
| 14712 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
| 14713 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); |
| 14714 | } |
| 14715 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
| 14716 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); |
| 14717 | } |
| 14718 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
| 14719 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); |
| 14720 | } |
| 14721 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
| 14722 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); |
| 14723 | } |
| 14724 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
| 14725 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); |
| 14726 | } |
| 14727 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
| 14728 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); |
| 14729 | } |
| 14730 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
| 14731 | return (void *)((wxObject *) ((wxImageHandler *) x)); |
| 14732 | } |
| 14733 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
| 14734 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); |
| 14735 | } |
| 14736 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
| 14737 | return (void *)((wxObject *) ((wxEvtHandler *) x)); |
| 14738 | } |
| 14739 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
| 14740 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); |
| 14741 | } |
| 14742 | static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) { |
| 14743 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x)); |
| 14744 | } |
| 14745 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
| 14746 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 14747 | } |
| 14748 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
| 14749 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 14750 | } |
| 14751 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
| 14752 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); |
| 14753 | } |
| 14754 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
| 14755 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 14756 | } |
| 14757 | static void *_p_wxImageTo_p_wxObject(void *x) { |
| 14758 | return (void *)((wxObject *) ((wxImage *) x)); |
| 14759 | } |
| 14760 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
| 14761 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
| 14762 | } |
| 14763 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
| 14764 | return (void *)((wxObject *) ((wxPyPrintout *) x)); |
| 14765 | } |
| 14766 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
| 14767 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); |
| 14768 | } |
| 14769 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
| 14770 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); |
| 14771 | } |
| 14772 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
| 14773 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); |
| 14774 | } |
| 14775 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
| 14776 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 14777 | } |
| 14778 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
| 14779 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 14780 | } |
| 14781 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
| 14782 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); |
| 14783 | } |
| 14784 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
| 14785 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); |
| 14786 | } |
| 14787 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
| 14788 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
| 14789 | } |
| 14790 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
| 14791 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); |
| 14792 | } |
| 14793 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
| 14794 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); |
| 14795 | } |
| 14796 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
| 14797 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); |
| 14798 | } |
| 14799 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
| 14800 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); |
| 14801 | } |
| 14802 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
| 14803 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); |
| 14804 | } |
| 14805 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
| 14806 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); |
| 14807 | } |
| 14808 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
| 14809 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); |
| 14810 | } |
| 14811 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
| 14812 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 14813 | } |
| 14814 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
| 14815 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); |
| 14816 | } |
| 14817 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
| 14818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 14819 | } |
| 14820 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
| 14821 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 14822 | } |
| 14823 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
| 14824 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 14825 | } |
| 14826 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
| 14827 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); |
| 14828 | } |
| 14829 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
| 14830 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); |
| 14831 | } |
| 14832 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
| 14833 | return (void *)((wxObject *) ((wxPrintPreview *) x)); |
| 14834 | } |
| 14835 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
| 14836 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); |
| 14837 | } |
| 14838 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
| 14839 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); |
| 14840 | } |
| 14841 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
| 14842 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
| 14843 | } |
| 14844 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
| 14845 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 14846 | } |
| 14847 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
| 14848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 14849 | } |
| 14850 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
| 14851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 14852 | } |
| 14853 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
| 14854 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 14855 | } |
| 14856 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
| 14857 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); |
| 14858 | } |
| 14859 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
| 14860 | return (void *)((wxObject *) ((wxFileSystem *) x)); |
| 14861 | } |
| 14862 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
| 14863 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 14864 | } |
| 14865 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
| 14866 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); |
| 14867 | } |
| 14868 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
| 14869 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); |
| 14870 | } |
| 14871 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
| 14872 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); |
| 14873 | } |
| 14874 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
| 14875 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); |
| 14876 | } |
| 14877 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
| 14878 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); |
| 14879 | } |
| 14880 | static void *_p_wxGridTableBaseTo_p_wxObject(void *x) { |
| 14881 | return (void *)((wxObject *) ((wxGridTableBase *) x)); |
| 14882 | } |
| 14883 | static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) { |
| 14884 | return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x)); |
| 14885 | } |
| 14886 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
| 14887 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 14888 | } |
| 14889 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
| 14890 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); |
| 14891 | } |
| 14892 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
| 14893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
| 14894 | } |
| 14895 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
| 14896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 14897 | } |
| 14898 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
| 14899 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); |
| 14900 | } |
| 14901 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
| 14902 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); |
| 14903 | } |
| 14904 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
| 14905 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 14906 | } |
| 14907 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
| 14908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
| 14909 | } |
| 14910 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
| 14911 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); |
| 14912 | } |
| 14913 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
| 14914 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); |
| 14915 | } |
| 14916 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
| 14917 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); |
| 14918 | } |
| 14919 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
| 14920 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); |
| 14921 | } |
| 14922 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
| 14923 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 14924 | } |
| 14925 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { |
| 14926 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 14927 | } |
| 14928 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
| 14929 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
| 14930 | } |
| 14931 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { |
| 14932 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); |
| 14933 | } |
| 14934 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { |
| 14935 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); |
| 14936 | } |
| 14937 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { |
| 14938 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); |
| 14939 | } |
| 14940 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { |
| 14941 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); |
| 14942 | } |
| 14943 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
| 14944 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 14945 | } |
| 14946 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
| 14947 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 14948 | } |
| 14949 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { |
| 14950 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 14951 | } |
| 14952 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { |
| 14953 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 14954 | } |
| 14955 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
| 14956 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 14957 | } |
| 14958 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { |
| 14959 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 14960 | } |
| 14961 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { |
| 14962 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 14963 | } |
| 14964 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { |
| 14965 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); |
| 14966 | } |
| 14967 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { |
| 14968 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); |
| 14969 | } |
| 14970 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { |
| 14971 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 14972 | } |
| 14973 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { |
| 14974 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 14975 | } |
| 14976 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { |
| 14977 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 14978 | } |
| 14979 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { |
| 14980 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); |
| 14981 | } |
| 14982 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { |
| 14983 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 14984 | } |
| 14985 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
| 14986 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); |
| 14987 | } |
| 14988 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
| 14989 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); |
| 14990 | } |
| 14991 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
| 14992 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); |
| 14993 | } |
| 14994 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
| 14995 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); |
| 14996 | } |
| 14997 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
| 14998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
| 14999 | } |
| 15000 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
| 15001 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); |
| 15002 | } |
| 15003 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
| 15004 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); |
| 15005 | } |
| 15006 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
| 15007 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); |
| 15008 | } |
| 15009 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
| 15010 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 15011 | } |
| 15012 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
| 15013 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 15014 | } |
| 15015 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
| 15016 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 15017 | } |
| 15018 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
| 15019 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); |
| 15020 | } |
| 15021 | static void *_p_wxGridTo_p_wxEvtHandler(void *x) { |
| 15022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x)); |
| 15023 | } |
| 15024 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
| 15025 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
| 15026 | } |
| 15027 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
| 15028 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); |
| 15029 | } |
| 15030 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
| 15031 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 15032 | } |
| 15033 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
| 15034 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 15035 | } |
| 15036 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
| 15037 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 15038 | } |
| 15039 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
| 15040 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
| 15041 | } |
| 15042 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
| 15043 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 15044 | } |
| 15045 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { |
| 15046 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); |
| 15047 | } |
| 15048 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
| 15049 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
| 15050 | } |
| 15051 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
| 15052 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 15053 | } |
| 15054 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
| 15055 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 15056 | } |
| 15057 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
| 15058 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 15059 | } |
| 15060 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
| 15061 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
| 15062 | } |
| 15063 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { |
| 15064 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 15065 | } |
| 15066 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { |
| 15067 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); |
| 15068 | } |
| 15069 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
| 15070 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 15071 | } |
| 15072 | static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) { |
| 15073 | return (void *)((wxGridTableBase *) ((wxGridStringTable *) x)); |
| 15074 | } |
| 15075 | static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) { |
| 15076 | return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x)); |
| 15077 | } |
| 15078 | static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) { |
| 15079 | return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x)); |
| 15080 | } |
| 15081 | static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) { |
| 15082 | return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x)); |
| 15083 | } |
| 15084 | static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) { |
| 15085 | return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x)); |
| 15086 | } |
| 15087 | static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) { |
| 15088 | return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x)); |
| 15089 | } |
| 15090 | static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) { |
| 15091 | return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x)); |
| 15092 | } |
| 15093 | static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) { |
| 15094 | return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x)); |
| 15095 | } |
| 15096 | static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) { |
| 15097 | return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x)); |
| 15098 | } |
| 15099 | static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) { |
| 15100 | return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x)); |
| 15101 | } |
| 15102 | static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) { |
| 15103 | return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x)); |
| 15104 | } |
| 15105 | static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) { |
| 15106 | return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x)); |
| 15107 | } |
| 15108 | static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) { |
| 15109 | return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x)); |
| 15110 | } |
| 15111 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
| 15112 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); |
| 15113 | } |
| 15114 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
| 15115 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 15116 | } |
| 15117 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
| 15118 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 15119 | } |
| 15120 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
| 15121 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); |
| 15122 | } |
| 15123 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
| 15124 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 15125 | } |
| 15126 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
| 15127 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 15128 | } |
| 15129 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
| 15130 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 15131 | } |
| 15132 | static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) { |
| 15133 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x)); |
| 15134 | } |
| 15135 | static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) { |
| 15136 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x)); |
| 15137 | } |
| 15138 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
| 15139 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 15140 | } |
| 15141 | static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) { |
| 15142 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x)); |
| 15143 | } |
| 15144 | static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) { |
| 15145 | return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x)); |
| 15146 | } |
| 15147 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
| 15148 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 15149 | } |
| 15150 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
| 15151 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 15152 | } |
| 15153 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
| 15154 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 15155 | } |
| 15156 | static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) { |
| 15157 | return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x)); |
| 15158 | } |
| 15159 | static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) { |
| 15160 | return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x)); |
| 15161 | } |
| 15162 | static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}}; |
| 15163 | static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}}; |
| 15164 | static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}}; |
| 15165 | static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}}; |
| 15166 | static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}}; |
| 15167 | static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}}; |
| 15168 | static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}}; |
| 15169 | static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0},{"_p_wxGridCellRenderer"},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer},{0}}; |
| 15170 | static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0},{"_p_wxGridCellStringRenderer"},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer},{0}}; |
| 15171 | static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}}; |
| 15172 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; |
| 15173 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; |
| 15174 | static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}}; |
| 15175 | static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}}; |
| 15176 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxGrid", _p_wxGridTo_p_wxPanel},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; |
| 15177 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}}; |
| 15178 | static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}}; |
| 15179 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; |
| 15180 | static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}}; |
| 15181 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; |
| 15182 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGrid", _p_wxGridTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; |
| 15183 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; |
| 15184 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}}; |
| 15185 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}}; |
| 15186 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGrid", _p_wxGridTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; |
| 15187 | static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}}; |
| 15188 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; |
| 15189 | static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}}; |
| 15190 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; |
| 15191 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; |
| 15192 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; |
| 15193 | static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}}; |
| 15194 | static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}}; |
| 15195 | static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase},{"_p_wxGridTableBase"},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase},{0}}; |
| 15196 | static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}}; |
| 15197 | static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}}; |
| 15198 | static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}}; |
| 15199 | static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0},{"_p_wxGridCellEditor"},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor},{0}}; |
| 15200 | static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0},{"_p_wxGridCellTextEditor"},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor},{0}}; |
| 15201 | static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}}; |
| 15202 | static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}}; |
| 15203 | static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}}; |
| 15204 | static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}}; |
| 15205 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}}; |
| 15206 | static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider},{0}}; |
| 15207 | static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}}; |
| 15208 | static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor},{0}}; |
| 15209 | static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}}; |
| 15210 | static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}}; |
| 15211 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; |
| 15212 | static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}}; |
| 15213 | |
| 15214 | static swig_type_info *swig_types_initial[] = { |
| 15215 | _swigt__p_wxGridCellAutoWrapStringRenderer, |
| 15216 | _swigt__p_wxGridCellEnumRenderer, |
| 15217 | _swigt__p_wxGridCellDateTimeRenderer, |
| 15218 | _swigt__p_wxGridCellBoolRenderer, |
| 15219 | _swigt__p_wxGridCellFloatRenderer, |
| 15220 | _swigt__p_wxGridCellNumberRenderer, |
| 15221 | _swigt__p_wxPyGridCellRenderer, |
| 15222 | _swigt__p_wxGridCellRenderer, |
| 15223 | _swigt__p_wxGridCellStringRenderer, |
| 15224 | _swigt__p_wxGridCellAttr, |
| 15225 | _swigt__p_wxColour, |
| 15226 | _swigt__p_wxDC, |
| 15227 | _swigt__p_wxGridTableMessage, |
| 15228 | _swigt__p_wxGrid, |
| 15229 | _swigt__p_wxPanel, |
| 15230 | _swigt__p_wxNotifyEvent, |
| 15231 | _swigt__p_wxGridRangeSelectEvent, |
| 15232 | _swigt__p_wxSize, |
| 15233 | _swigt__p_wxGridCellCoords, |
| 15234 | _swigt__p_wxScrolledWindow, |
| 15235 | _swigt__p_wxWindow, |
| 15236 | _swigt__p_wxFont, |
| 15237 | _swigt__p_wxControl, |
| 15238 | _swigt__p_wxEvent, |
| 15239 | _swigt__p_wxObject, |
| 15240 | _swigt__p_wxGridSizeEvent, |
| 15241 | _swigt__p_wxRect, |
| 15242 | _swigt__p_long, |
| 15243 | _swigt__p_wxString, |
| 15244 | _swigt__p_wxEvtHandler, |
| 15245 | _swigt__p_wxPoint, |
| 15246 | _swigt__p_wxGridEvent, |
| 15247 | _swigt__p_wxGridEditorCreatedEvent, |
| 15248 | _swigt__p_wxGridTableBase, |
| 15249 | _swigt__p_wxGridCellFloatEditor, |
| 15250 | _swigt__p_wxGridCellNumberEditor, |
| 15251 | _swigt__p_wxPyGridCellEditor, |
| 15252 | _swigt__p_wxGridCellEditor, |
| 15253 | _swigt__p_wxGridCellTextEditor, |
| 15254 | _swigt__p_wxGridCellBoolEditor, |
| 15255 | _swigt__p_wxPyGridTableBase, |
| 15256 | _swigt__p_wxGridStringTable, |
| 15257 | _swigt__p_wxArrayString, |
| 15258 | _swigt__p_wxCommandEvent, |
| 15259 | _swigt__p_wxGridCellAttrProvider, |
| 15260 | _swigt__p_wxKeyEvent, |
| 15261 | _swigt__p_wxGridCellChoiceEditor, |
| 15262 | _swigt__p_wxGridCellEnumEditor, |
| 15263 | _swigt__p_wxGridCellAutoWrapStringEditor, |
| 15264 | _swigt__p_int, |
| 15265 | _swigt__p_wxPyGridCellAttrProvider, |
| 15266 | 0 |
| 15267 | }; |
| 15268 | |
| 15269 | |
| 15270 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ |
| 15271 | |
| 15272 | static swig_const_info swig_const_table[] = { |
| 15273 | { SWIG_PY_STRING, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0}, |
| 15274 | { SWIG_PY_STRING, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0}, |
| 15275 | { SWIG_PY_STRING, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0}, |
| 15276 | { SWIG_PY_STRING, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0}, |
| 15277 | { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0}, |
| 15278 | { SWIG_PY_STRING, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0}, |
| 15279 | { SWIG_PY_STRING, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0}, |
| 15280 | { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0}, |
| 15281 | { SWIG_PY_STRING, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0}, |
| 15282 | { SWIG_PY_INT, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any, 0, 0, 0}, |
| 15283 | { SWIG_PY_INT, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default, 0, 0, 0}, |
| 15284 | { SWIG_PY_INT, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell, 0, 0, 0}, |
| 15285 | { SWIG_PY_INT, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row, 0, 0, 0}, |
| 15286 | { SWIG_PY_INT, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col, 0, 0, 0}, |
| 15287 | { SWIG_PY_INT, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged, 0, 0, 0}, |
| 15288 | { SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES, 0, 0, 0}, |
| 15289 | { SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES, 0, 0, 0}, |
| 15290 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED, 0, 0, 0}, |
| 15291 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED, 0, 0, 0}, |
| 15292 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED, 0, 0, 0}, |
| 15293 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED, 0, 0, 0}, |
| 15294 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED, 0, 0, 0}, |
| 15295 | { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED, 0, 0, 0}, |
| 15296 | { SWIG_PY_INT, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells, 0, 0, 0}, |
| 15297 | { SWIG_PY_INT, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows, 0, 0, 0}, |
| 15298 | { SWIG_PY_INT, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns, 0, 0, 0}, |
| 15299 | { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK, 0, 0, 0}, |
| 15300 | { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK, 0, 0, 0}, |
| 15301 | { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK, 0, 0, 0}, |
| 15302 | { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK, 0, 0, 0}, |
| 15303 | { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK, 0, 0, 0}, |
| 15304 | { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK, 0, 0, 0}, |
| 15305 | { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK, 0, 0, 0}, |
| 15306 | { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK, 0, 0, 0}, |
| 15307 | { SWIG_PY_INT, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE, 0, 0, 0}, |
| 15308 | { SWIG_PY_INT, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE, 0, 0, 0}, |
| 15309 | { SWIG_PY_INT, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT, 0, 0, 0}, |
| 15310 | { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE, 0, 0, 0}, |
| 15311 | { SWIG_PY_INT, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL, 0, 0, 0}, |
| 15312 | { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN, 0, 0, 0}, |
| 15313 | { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN, 0, 0, 0}, |
| 15314 | { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED, 0, 0, 0}, |
| 15315 | {0}}; |
| 15316 | |
| 15317 | #ifdef __cplusplus |
| 15318 | } |
| 15319 | #endif |
| 15320 | |
| 15321 | #ifdef __cplusplus |
| 15322 | extern "C" |
| 15323 | #endif |
| 15324 | SWIGEXPORT(void) SWIG_init(void) { |
| 15325 | static PyObject *SWIG_globals = 0; |
| 15326 | static int typeinit = 0; |
| 15327 | PyObject *m, *d; |
| 15328 | int i; |
| 15329 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
| 15330 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
| 15331 | d = PyModule_GetDict(m); |
| 15332 | |
| 15333 | if (!typeinit) { |
| 15334 | for (i = 0; swig_types_initial[i]; i++) { |
| 15335 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); |
| 15336 | } |
| 15337 | typeinit = 1; |
| 15338 | } |
| 15339 | SWIG_InstallConstants(d,swig_const_table); |
| 15340 | |
| 15341 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
| 15342 | SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set); |
| 15343 | SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set); |
| 15344 | PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK)); |
| 15345 | PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK)); |
| 15346 | PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK)); |
| 15347 | PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK)); |
| 15348 | PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK)); |
| 15349 | PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK)); |
| 15350 | PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK)); |
| 15351 | PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK)); |
| 15352 | PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE)); |
| 15353 | PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE)); |
| 15354 | PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT)); |
| 15355 | PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE)); |
| 15356 | PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL)); |
| 15357 | PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN)); |
| 15358 | PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN)); |
| 15359 | PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED)); |
| 15360 | |
| 15361 | |
| 15362 | } |
| 15363 | |