]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/windows2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
9cce9de1 | 6 | * Version 1.1 (Build 810) |
70551f47 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
70551f47 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
2d091820 | 30 | # define SWIGEXPORT(a) a _export |
70551f47 | 31 | # else |
2d091820 | 32 | # define SWIGEXPORT(a) a |
70551f47 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
2d091820 | 36 | # define SWIGEXPORT(a) a |
70551f47 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
2d091820 | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
70551f47 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
70551f47 RD |
52 | #define SWIG_init initwindows2c |
53 | ||
54 | #define SWIG_name "windows2c" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/grid.h> | |
58 | #include <wx/notebook.h> | |
b26e2dc4 | 59 | #include <wx/splitter.h> |
105e45b9 RD |
60 | #ifdef __WXMSW__ |
61 | #include <wx/msw/taskbar.h> | |
62 | #endif | |
70551f47 RD |
63 | |
64 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
65 | PyObject* o2; | |
66 | PyObject* o3; | |
67 | if (!target) { | |
68 | target = o; | |
69 | } else if (target == Py_None) { | |
70 | Py_DECREF(Py_None); | |
71 | target = o; | |
72 | } else { | |
73 | if (!PyList_Check(target)) { | |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
89 | if (!target) { | |
90 | target = o; | |
91 | } else if (target == Py_None) { | |
92 | Py_DECREF(Py_None); | |
93 | target = o; | |
94 | } else { | |
95 | if (!PyTuple_Check(target)) { | |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
100 | o3 = PyTuple_New(1); | |
101 | PyTuple_SetItem(o3, 0, o); | |
102 | ||
103 | o2 = target; | |
104 | target = PySequence_Concat(o2, o3); | |
105 | Py_DECREF(o2); | |
106 | Py_DECREF(o3); | |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
70551f47 | 111 | static char* wxStringErrorMsg = "string type is required for parameter"; |
2d091820 RD |
112 | #ifdef __cplusplus |
113 | extern "C" { | |
114 | #endif | |
105e45b9 | 115 | #define new_wxGridCell() (new wxGridCell()) |
107e4716 | 116 | static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
117 | PyObject * _resultobj; |
118 | wxGridCell * _result; | |
107e4716 | 119 | char *_kwnames[] = { NULL }; |
105e45b9 RD |
120 | char _ptemp[128]; |
121 | ||
122 | self = self; | |
107e4716 | 123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCell",_kwnames)) |
105e45b9 | 124 | return NULL; |
ab9bc19b RD |
125 | { |
126 | wxPy_BEGIN_ALLOW_THREADS; | |
127 | _result = (wxGridCell *)new_wxGridCell(); | |
128 | ||
129 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
130 | } if (_result) { |
131 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
132 | _resultobj = Py_BuildValue("s",_ptemp); | |
133 | } else { | |
134 | Py_INCREF(Py_None); | |
135 | _resultobj = Py_None; | |
136 | } | |
105e45b9 RD |
137 | return _resultobj; |
138 | } | |
139 | ||
140 | #define delete_wxGridCell(_swigobj) (delete _swigobj) | |
107e4716 | 141 | static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
142 | PyObject * _resultobj; |
143 | wxGridCell * _arg0; | |
2d091820 | 144 | PyObject * _argo0 = 0; |
107e4716 | 145 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
146 | |
147 | self = self; | |
107e4716 | 148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCell",_kwnames,&_argo0)) |
105e45b9 | 149 | return NULL; |
2d091820 RD |
150 | if (_argo0) { |
151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
105e45b9 RD |
153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p."); |
154 | return NULL; | |
155 | } | |
156 | } | |
ab9bc19b RD |
157 | { |
158 | wxPy_BEGIN_ALLOW_THREADS; | |
159 | delete_wxGridCell(_arg0); | |
160 | ||
161 | wxPy_END_ALLOW_THREADS; | |
162 | } Py_INCREF(Py_None); | |
105e45b9 RD |
163 | _resultobj = Py_None; |
164 | return _resultobj; | |
165 | } | |
166 | ||
70551f47 | 167 | #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue()) |
107e4716 | 168 | static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
169 | PyObject * _resultobj; |
170 | wxString * _result; | |
171 | wxGridCell * _arg0; | |
2d091820 | 172 | PyObject * _argo0 = 0; |
107e4716 | 173 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
174 | |
175 | self = self; | |
107e4716 | 176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextValue",_kwnames,&_argo0)) |
70551f47 | 177 | return NULL; |
2d091820 RD |
178 | if (_argo0) { |
179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p."); |
182 | return NULL; | |
183 | } | |
184 | } | |
70551f47 | 185 | { |
ab9bc19b RD |
186 | wxPy_BEGIN_ALLOW_THREADS; |
187 | wxString & _result_ref = wxGridCell_GetTextValue(_arg0); | |
188 | _result = (wxString *) &_result_ref; | |
189 | ||
190 | wxPy_END_ALLOW_THREADS; | |
191 | }{ | |
70551f47 RD |
192 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
193 | } | |
194 | return _resultobj; | |
195 | } | |
196 | ||
197 | #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0)) | |
107e4716 | 198 | static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
199 | PyObject * _resultobj; |
200 | wxGridCell * _arg0; | |
201 | wxString * _arg1; | |
2d091820 | 202 | PyObject * _argo0 = 0; |
70551f47 | 203 | PyObject * _obj1 = 0; |
107e4716 | 204 | char *_kwnames[] = { "self","str", NULL }; |
70551f47 RD |
205 | |
206 | self = self; | |
107e4716 | 207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextValue",_kwnames,&_argo0,&_obj1)) |
70551f47 | 208 | return NULL; |
2d091820 RD |
209 | if (_argo0) { |
210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p."); |
213 | return NULL; | |
214 | } | |
215 | } | |
216 | { | |
217 | if (!PyString_Check(_obj1)) { | |
218 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
219 | return NULL; | |
220 | } | |
ab9bc19b | 221 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 222 | } |
ab9bc19b RD |
223 | { |
224 | wxPy_BEGIN_ALLOW_THREADS; | |
225 | wxGridCell_SetTextValue(_arg0,*_arg1); | |
226 | ||
227 | wxPy_END_ALLOW_THREADS; | |
228 | } Py_INCREF(Py_None); | |
70551f47 RD |
229 | _resultobj = Py_None; |
230 | { | |
231 | if (_obj1) | |
232 | delete _arg1; | |
233 | } | |
234 | return _resultobj; | |
235 | } | |
236 | ||
237 | #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont()) | |
107e4716 | 238 | static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
239 | PyObject * _resultobj; |
240 | wxFont * _result; | |
241 | wxGridCell * _arg0; | |
2d091820 | 242 | PyObject * _argo0 = 0; |
107e4716 | 243 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
244 | char _ptemp[128]; |
245 | ||
246 | self = self; | |
107e4716 | 247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetFont",_kwnames,&_argo0)) |
70551f47 | 248 | return NULL; |
2d091820 RD |
249 | if (_argo0) { |
250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p."); |
253 | return NULL; | |
254 | } | |
255 | } | |
ab9bc19b RD |
256 | { |
257 | wxPy_BEGIN_ALLOW_THREADS; | |
258 | wxFont & _result_ref = wxGridCell_GetFont(_arg0); | |
105e45b9 | 259 | _result = (wxFont *) &_result_ref; |
ab9bc19b RD |
260 | |
261 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
262 | } if (_result) { |
263 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
264 | _resultobj = Py_BuildValue("s",_ptemp); | |
265 | } else { | |
266 | Py_INCREF(Py_None); | |
267 | _resultobj = Py_None; | |
268 | } | |
70551f47 RD |
269 | return _resultobj; |
270 | } | |
271 | ||
272 | #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
107e4716 | 273 | static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
274 | PyObject * _resultobj; |
275 | wxGridCell * _arg0; | |
276 | wxFont * _arg1; | |
2d091820 RD |
277 | PyObject * _argo0 = 0; |
278 | PyObject * _argo1 = 0; | |
107e4716 | 279 | char *_kwnames[] = { "self","f", NULL }; |
70551f47 RD |
280 | |
281 | self = self; | |
107e4716 | 282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetFont",_kwnames,&_argo0,&_argo1)) |
70551f47 | 283 | return NULL; |
2d091820 RD |
284 | if (_argo0) { |
285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p."); |
288 | return NULL; | |
289 | } | |
290 | } | |
2d091820 RD |
291 | if (_argo1) { |
292 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p."); |
295 | return NULL; | |
296 | } | |
297 | } | |
ab9bc19b RD |
298 | { |
299 | wxPy_BEGIN_ALLOW_THREADS; | |
300 | wxGridCell_SetFont(_arg0,*_arg1); | |
301 | ||
302 | wxPy_END_ALLOW_THREADS; | |
303 | } Py_INCREF(Py_None); | |
70551f47 RD |
304 | _resultobj = Py_None; |
305 | return _resultobj; | |
306 | } | |
307 | ||
308 | #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
107e4716 | 309 | static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
310 | PyObject * _resultobj; |
311 | wxColour * _result; | |
312 | wxGridCell * _arg0; | |
2d091820 | 313 | PyObject * _argo0 = 0; |
107e4716 | 314 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
315 | char _ptemp[128]; |
316 | ||
317 | self = self; | |
107e4716 | 318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextColour",_kwnames,&_argo0)) |
70551f47 | 319 | return NULL; |
2d091820 RD |
320 | if (_argo0) { |
321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p."); |
324 | return NULL; | |
325 | } | |
326 | } | |
ab9bc19b RD |
327 | { |
328 | wxPy_BEGIN_ALLOW_THREADS; | |
329 | wxColour & _result_ref = wxGridCell_GetTextColour(_arg0); | |
70551f47 | 330 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
331 | |
332 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
333 | } if (_result) { |
334 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
335 | _resultobj = Py_BuildValue("s",_ptemp); | |
336 | } else { | |
337 | Py_INCREF(Py_None); | |
338 | _resultobj = Py_None; | |
339 | } | |
70551f47 RD |
340 | return _resultobj; |
341 | } | |
342 | ||
343 | #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
107e4716 | 344 | static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
345 | PyObject * _resultobj; |
346 | wxGridCell * _arg0; | |
347 | wxColour * _arg1; | |
2d091820 RD |
348 | PyObject * _argo0 = 0; |
349 | PyObject * _argo1 = 0; | |
107e4716 | 350 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
351 | |
352 | self = self; | |
107e4716 | 353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 354 | return NULL; |
2d091820 RD |
355 | if (_argo0) { |
356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p."); |
359 | return NULL; | |
360 | } | |
361 | } | |
2d091820 RD |
362 | if (_argo1) { |
363 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
364 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p."); |
366 | return NULL; | |
367 | } | |
368 | } | |
ab9bc19b RD |
369 | { |
370 | wxPy_BEGIN_ALLOW_THREADS; | |
371 | wxGridCell_SetTextColour(_arg0,*_arg1); | |
372 | ||
373 | wxPy_END_ALLOW_THREADS; | |
374 | } Py_INCREF(Py_None); | |
70551f47 RD |
375 | _resultobj = Py_None; |
376 | return _resultobj; | |
377 | } | |
378 | ||
379 | #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
107e4716 | 380 | static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
381 | PyObject * _resultobj; |
382 | wxColour * _result; | |
383 | wxGridCell * _arg0; | |
2d091820 | 384 | PyObject * _argo0 = 0; |
107e4716 | 385 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
386 | char _ptemp[128]; |
387 | ||
388 | self = self; | |
107e4716 | 389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundColour",_kwnames,&_argo0)) |
70551f47 | 390 | return NULL; |
2d091820 RD |
391 | if (_argo0) { |
392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p."); |
395 | return NULL; | |
396 | } | |
397 | } | |
ab9bc19b RD |
398 | { |
399 | wxPy_BEGIN_ALLOW_THREADS; | |
400 | wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0); | |
70551f47 | 401 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
402 | |
403 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
404 | } if (_result) { |
405 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
406 | _resultobj = Py_BuildValue("s",_ptemp); | |
407 | } else { | |
408 | Py_INCREF(Py_None); | |
409 | _resultobj = Py_None; | |
410 | } | |
70551f47 RD |
411 | return _resultobj; |
412 | } | |
413 | ||
414 | #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
107e4716 | 415 | static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
416 | PyObject * _resultobj; |
417 | wxGridCell * _arg0; | |
418 | wxColour * _arg1; | |
2d091820 RD |
419 | PyObject * _argo0 = 0; |
420 | PyObject * _argo1 = 0; | |
107e4716 | 421 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
422 | |
423 | self = self; | |
107e4716 | 424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 425 | return NULL; |
2d091820 RD |
426 | if (_argo0) { |
427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p."); |
430 | return NULL; | |
431 | } | |
432 | } | |
2d091820 RD |
433 | if (_argo1) { |
434 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
435 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p."); |
437 | return NULL; | |
438 | } | |
439 | } | |
ab9bc19b RD |
440 | { |
441 | wxPy_BEGIN_ALLOW_THREADS; | |
442 | wxGridCell_SetBackgroundColour(_arg0,*_arg1); | |
443 | ||
444 | wxPy_END_ALLOW_THREADS; | |
445 | } Py_INCREF(Py_None); | |
70551f47 RD |
446 | _resultobj = Py_None; |
447 | return _resultobj; | |
448 | } | |
449 | ||
450 | #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush()) | |
107e4716 | 451 | static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
452 | PyObject * _resultobj; |
453 | wxBrush * _result; | |
454 | wxGridCell * _arg0; | |
2d091820 | 455 | PyObject * _argo0 = 0; |
107e4716 | 456 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
457 | char _ptemp[128]; |
458 | ||
459 | self = self; | |
107e4716 | 460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundBrush",_kwnames,&_argo0)) |
70551f47 | 461 | return NULL; |
2d091820 RD |
462 | if (_argo0) { |
463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p."); |
466 | return NULL; | |
467 | } | |
468 | } | |
ab9bc19b RD |
469 | { |
470 | wxPy_BEGIN_ALLOW_THREADS; | |
471 | wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0); | |
105e45b9 | 472 | _result = (wxBrush *) &_result_ref; |
ab9bc19b RD |
473 | |
474 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
475 | } if (_result) { |
476 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
477 | _resultobj = Py_BuildValue("s",_ptemp); | |
478 | } else { | |
479 | Py_INCREF(Py_None); | |
480 | _resultobj = Py_None; | |
481 | } | |
70551f47 RD |
482 | return _resultobj; |
483 | } | |
484 | ||
485 | #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment()) | |
107e4716 | 486 | static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
487 | PyObject * _resultobj; |
488 | int _result; | |
489 | wxGridCell * _arg0; | |
2d091820 | 490 | PyObject * _argo0 = 0; |
107e4716 | 491 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
492 | |
493 | self = self; | |
107e4716 | 494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetAlignment",_kwnames,&_argo0)) |
70551f47 | 495 | return NULL; |
2d091820 RD |
496 | if (_argo0) { |
497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p."); |
500 | return NULL; | |
501 | } | |
502 | } | |
ab9bc19b RD |
503 | { |
504 | wxPy_BEGIN_ALLOW_THREADS; | |
505 | _result = (int )wxGridCell_GetAlignment(_arg0); | |
506 | ||
507 | wxPy_END_ALLOW_THREADS; | |
508 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
509 | return _resultobj; |
510 | } | |
511 | ||
512 | #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0)) | |
107e4716 | 513 | static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
514 | PyObject * _resultobj; |
515 | wxGridCell * _arg0; | |
516 | int _arg1; | |
2d091820 | 517 | PyObject * _argo0 = 0; |
107e4716 | 518 | char *_kwnames[] = { "self","align", NULL }; |
70551f47 RD |
519 | |
520 | self = self; | |
107e4716 | 521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCell_SetAlignment",_kwnames,&_argo0,&_arg1)) |
70551f47 | 522 | return NULL; |
2d091820 RD |
523 | if (_argo0) { |
524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p."); |
527 | return NULL; | |
528 | } | |
529 | } | |
ab9bc19b RD |
530 | { |
531 | wxPy_BEGIN_ALLOW_THREADS; | |
532 | wxGridCell_SetAlignment(_arg0,_arg1); | |
533 | ||
534 | wxPy_END_ALLOW_THREADS; | |
535 | } Py_INCREF(Py_None); | |
70551f47 RD |
536 | _resultobj = Py_None; |
537 | return _resultobj; | |
538 | } | |
539 | ||
540 | #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap()) | |
107e4716 | 541 | static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
542 | PyObject * _resultobj; |
543 | wxBitmap * _result; | |
544 | wxGridCell * _arg0; | |
2d091820 | 545 | PyObject * _argo0 = 0; |
107e4716 | 546 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
547 | char _ptemp[128]; |
548 | ||
549 | self = self; | |
107e4716 | 550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetCellBitmap",_kwnames,&_argo0)) |
70551f47 | 551 | return NULL; |
2d091820 RD |
552 | if (_argo0) { |
553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p."); |
556 | return NULL; | |
557 | } | |
558 | } | |
ab9bc19b RD |
559 | { |
560 | wxPy_BEGIN_ALLOW_THREADS; | |
561 | _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0); | |
562 | ||
563 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
564 | } if (_result) { |
565 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
566 | _resultobj = Py_BuildValue("s",_ptemp); | |
567 | } else { | |
568 | Py_INCREF(Py_None); | |
569 | _resultobj = Py_None; | |
570 | } | |
70551f47 RD |
571 | return _resultobj; |
572 | } | |
573 | ||
574 | #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0)) | |
107e4716 | 575 | static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
576 | PyObject * _resultobj; |
577 | wxGridCell * _arg0; | |
578 | wxBitmap * _arg1; | |
2d091820 RD |
579 | PyObject * _argo0 = 0; |
580 | PyObject * _argo1 = 0; | |
107e4716 | 581 | char *_kwnames[] = { "self","bitmap", NULL }; |
70551f47 RD |
582 | |
583 | self = self; | |
107e4716 | 584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetCellBitmap",_kwnames,&_argo0,&_argo1)) |
70551f47 | 585 | return NULL; |
2d091820 RD |
586 | if (_argo0) { |
587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) { | |
70551f47 RD |
589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p."); |
590 | return NULL; | |
591 | } | |
592 | } | |
2d091820 RD |
593 | if (_argo1) { |
594 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
595 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
70551f47 RD |
596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p."); |
597 | return NULL; | |
598 | } | |
599 | } | |
ab9bc19b RD |
600 | { |
601 | wxPy_BEGIN_ALLOW_THREADS; | |
602 | wxGridCell_SetCellBitmap(_arg0,_arg1); | |
603 | ||
604 | wxPy_END_ALLOW_THREADS; | |
605 | } Py_INCREF(Py_None); | |
70551f47 RD |
606 | _resultobj = Py_None; |
607 | return _resultobj; | |
608 | } | |
609 | ||
610 | static void *SwigwxGridTowxPanel(void *ptr) { | |
611 | wxGrid *src; | |
612 | wxPanel *dest; | |
613 | src = (wxGrid *) ptr; | |
614 | dest = (wxPanel *) src; | |
615 | return (void *) dest; | |
616 | } | |
617 | ||
618 | static void *SwigwxGridTowxWindow(void *ptr) { | |
619 | wxGrid *src; | |
620 | wxWindow *dest; | |
621 | src = (wxGrid *) ptr; | |
622 | dest = (wxWindow *) src; | |
623 | return (void *) dest; | |
624 | } | |
625 | ||
626 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
627 | wxGrid *src; | |
628 | wxEvtHandler *dest; | |
629 | src = (wxGrid *) ptr; | |
630 | dest = (wxEvtHandler *) src; | |
631 | return (void *) dest; | |
632 | } | |
633 | ||
634 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
107e4716 | 635 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
636 | PyObject * _resultobj; |
637 | wxGrid * _result; | |
638 | wxWindow * _arg0; | |
639 | wxWindowID _arg1; | |
2d091820 RD |
640 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
641 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
642 | long _arg4 = (long ) 0; | |
643 | char * _arg5 = (char *) "grid"; | |
644 | PyObject * _argo0 = 0; | |
37f6a977 RD |
645 | wxPoint temp; |
646 | PyObject * _obj2 = 0; | |
647 | wxSize temp0; | |
648 | PyObject * _obj3 = 0; | |
107e4716 | 649 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
70551f47 RD |
650 | char _ptemp[128]; |
651 | ||
652 | self = self; | |
37f6a977 | 653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
70551f47 | 654 | return NULL; |
2d091820 RD |
655 | if (_argo0) { |
656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); |
659 | return NULL; | |
660 | } | |
661 | } | |
37f6a977 RD |
662 | if (_obj2) |
663 | { | |
664 | _arg2 = &temp; | |
665 | if (! wxPoint_helper(_obj2, &_arg2)) | |
70551f47 | 666 | return NULL; |
37f6a977 RD |
667 | } |
668 | if (_obj3) | |
669 | { | |
670 | _arg3 = &temp0; | |
671 | if (! wxSize_helper(_obj3, &_arg3)) | |
70551f47 | 672 | return NULL; |
37f6a977 | 673 | } |
ab9bc19b RD |
674 | { |
675 | wxPy_BEGIN_ALLOW_THREADS; | |
676 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
677 | ||
678 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
679 | } if (_result) { |
680 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
681 | _resultobj = Py_BuildValue("s",_ptemp); | |
682 | } else { | |
683 | Py_INCREF(Py_None); | |
684 | _resultobj = Py_None; | |
685 | } | |
70551f47 RD |
686 | return _resultobj; |
687 | } | |
688 | ||
689 | #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars()) | |
107e4716 | 690 | static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
691 | PyObject * _resultobj; |
692 | wxGrid * _arg0; | |
2d091820 | 693 | PyObject * _argo0 = 0; |
107e4716 | 694 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
695 | |
696 | self = self; | |
107e4716 | 697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AdjustScrollbars",_kwnames,&_argo0)) |
70551f47 | 698 | return NULL; |
2d091820 RD |
699 | if (_argo0) { |
700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p."); |
703 | return NULL; | |
704 | } | |
705 | } | |
ab9bc19b RD |
706 | { |
707 | wxPy_BEGIN_ALLOW_THREADS; | |
708 | wxGrid_AdjustScrollbars(_arg0); | |
709 | ||
710 | wxPy_END_ALLOW_THREADS; | |
711 | } Py_INCREF(Py_None); | |
70551f47 RD |
712 | _resultobj = Py_None; |
713 | return _resultobj; | |
714 | } | |
715 | ||
716 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
107e4716 | 717 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
718 | PyObject * _resultobj; |
719 | bool _result; | |
720 | wxGrid * _arg0; | |
2d091820 RD |
721 | int _arg1 = (int ) 1; |
722 | bool _arg2 = (bool ) TRUE; | |
723 | PyObject * _argo0 = 0; | |
724 | int tempbool2 = (int) TRUE; | |
107e4716 | 725 | char *_kwnames[] = { "self","n","updateLabels", NULL }; |
70551f47 RD |
726 | |
727 | self = self; | |
107e4716 | 728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2)) |
70551f47 | 729 | return NULL; |
2d091820 RD |
730 | if (_argo0) { |
731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); |
734 | return NULL; | |
735 | } | |
736 | } | |
737 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
738 | { |
739 | wxPy_BEGIN_ALLOW_THREADS; | |
740 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); | |
741 | ||
742 | wxPy_END_ALLOW_THREADS; | |
743 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
744 | return _resultobj; |
745 | } | |
746 | ||
747 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
107e4716 | 748 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
749 | PyObject * _resultobj; |
750 | bool _result; | |
751 | wxGrid * _arg0; | |
2d091820 RD |
752 | int _arg1 = (int ) 1; |
753 | bool _arg2 = (bool ) TRUE; | |
754 | PyObject * _argo0 = 0; | |
755 | int tempbool2 = (int) TRUE; | |
107e4716 | 756 | char *_kwnames[] = { "self","n","updateLabels", NULL }; |
70551f47 RD |
757 | |
758 | self = self; | |
107e4716 | 759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2)) |
70551f47 | 760 | return NULL; |
2d091820 RD |
761 | if (_argo0) { |
762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); |
765 | return NULL; | |
766 | } | |
767 | } | |
768 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
769 | { |
770 | wxPy_BEGIN_ALLOW_THREADS; | |
771 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); | |
772 | ||
773 | wxPy_END_ALLOW_THREADS; | |
774 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
775 | return _resultobj; |
776 | } | |
777 | ||
778 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
107e4716 | 779 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
780 | PyObject * _resultobj; |
781 | wxGrid * _arg0; | |
2d091820 | 782 | PyObject * _argo0 = 0; |
107e4716 | 783 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
784 | |
785 | self = self; | |
107e4716 | 786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0)) |
70551f47 | 787 | return NULL; |
2d091820 RD |
788 | if (_argo0) { |
789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); |
792 | return NULL; | |
793 | } | |
794 | } | |
ab9bc19b RD |
795 | { |
796 | wxPy_BEGIN_ALLOW_THREADS; | |
797 | wxGrid_BeginBatch(_arg0); | |
798 | ||
799 | wxPy_END_ALLOW_THREADS; | |
800 | } Py_INCREF(Py_None); | |
70551f47 RD |
801 | _resultobj = Py_None; |
802 | return _resultobj; | |
803 | } | |
804 | ||
805 | #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
107e4716 | 806 | static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
807 | PyObject * _resultobj; |
808 | bool _result; | |
809 | wxGrid * _arg0; | |
810 | int _arg1; | |
811 | int _arg2; | |
812 | int * _arg3; | |
813 | int temp; | |
814 | int * _arg4; | |
815 | int temp0; | |
2d091820 | 816 | PyObject * _argo0 = 0; |
107e4716 | 817 | char *_kwnames[] = { "self","x","y", NULL }; |
70551f47 RD |
818 | |
819 | self = self; | |
820 | { | |
821 | _arg3 = &temp; | |
822 | } | |
823 | { | |
824 | _arg4 = &temp0; | |
825 | } | |
107e4716 | 826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellHitTest",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 827 | return NULL; |
2d091820 RD |
828 | if (_argo0) { |
829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p."); |
832 | return NULL; | |
833 | } | |
834 | } | |
ab9bc19b RD |
835 | { |
836 | wxPy_BEGIN_ALLOW_THREADS; | |
837 | _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
838 | ||
839 | wxPy_END_ALLOW_THREADS; | |
840 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
841 | { |
842 | PyObject *o; | |
843 | o = PyInt_FromLong((long) (*_arg3)); | |
844 | _resultobj = t_output_helper(_resultobj, o); | |
845 | } | |
846 | { | |
847 | PyObject *o; | |
848 | o = PyInt_FromLong((long) (*_arg4)); | |
849 | _resultobj = t_output_helper(_resultobj, o); | |
850 | } | |
851 | return _resultobj; | |
852 | } | |
853 | ||
854 | static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) { | |
855 | return self->CreateGrid(rows, cols, NULL, NULL, | |
856 | defaultWidth, defaultHeight); | |
857 | } | |
107e4716 | 858 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
859 | PyObject * _resultobj; |
860 | bool _result; | |
861 | wxGrid * _arg0; | |
862 | int _arg1; | |
863 | int _arg2; | |
2d091820 RD |
864 | short _arg3 = (short ) wxGRID_DEFAULT_CELL_WIDTH; |
865 | short _arg4 = (short ) wxGRID_DEFAULT_CELL_HEIGHT; | |
866 | PyObject * _argo0 = 0; | |
107e4716 | 867 | char *_kwnames[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL }; |
70551f47 RD |
868 | |
869 | self = self; | |
107e4716 | 870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|hh:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) |
70551f47 | 871 | return NULL; |
2d091820 RD |
872 | if (_argo0) { |
873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); |
876 | return NULL; | |
877 | } | |
878 | } | |
ab9bc19b RD |
879 | { |
880 | wxPy_BEGIN_ALLOW_THREADS; | |
881 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4); | |
882 | ||
883 | wxPy_END_ALLOW_THREADS; | |
884 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
885 | return _resultobj; |
886 | } | |
887 | ||
888 | #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible()) | |
107e4716 | 889 | static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
890 | PyObject * _resultobj; |
891 | bool _result; | |
892 | wxGrid * _arg0; | |
2d091820 | 893 | PyObject * _argo0 = 0; |
107e4716 | 894 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
895 | |
896 | self = self; | |
107e4716 | 897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CurrentCellVisible",_kwnames,&_argo0)) |
70551f47 | 898 | return NULL; |
2d091820 RD |
899 | if (_argo0) { |
900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p."); |
903 | return NULL; | |
904 | } | |
905 | } | |
ab9bc19b RD |
906 | { |
907 | wxPy_BEGIN_ALLOW_THREADS; | |
908 | _result = (bool )wxGrid_CurrentCellVisible(_arg0); | |
909 | ||
910 | wxPy_END_ALLOW_THREADS; | |
911 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
912 | return _resultobj; |
913 | } | |
914 | ||
915 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 916 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
917 | PyObject * _resultobj; |
918 | bool _result; | |
919 | wxGrid * _arg0; | |
2d091820 RD |
920 | int _arg1 = (int ) 0; |
921 | int _arg2 = (int ) 1; | |
922 | bool _arg3 = (bool ) TRUE; | |
923 | PyObject * _argo0 = 0; | |
924 | int tempbool3 = (int) TRUE; | |
107e4716 | 925 | char *_kwnames[] = { "self","pos","n","updateLabels", NULL }; |
70551f47 RD |
926 | |
927 | self = self; | |
107e4716 | 928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) |
70551f47 | 929 | return NULL; |
2d091820 RD |
930 | if (_argo0) { |
931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); |
934 | return NULL; | |
935 | } | |
936 | } | |
937 | _arg3 = (bool ) tempbool3; | |
ab9bc19b RD |
938 | { |
939 | wxPy_BEGIN_ALLOW_THREADS; | |
940 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); | |
941 | ||
942 | wxPy_END_ALLOW_THREADS; | |
943 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
944 | return _resultobj; |
945 | } | |
946 | ||
947 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 948 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
949 | PyObject * _resultobj; |
950 | bool _result; | |
951 | wxGrid * _arg0; | |
2d091820 RD |
952 | int _arg1 = (int ) 0; |
953 | int _arg2 = (int ) 1; | |
954 | bool _arg3 = (bool ) TRUE; | |
955 | PyObject * _argo0 = 0; | |
956 | int tempbool3 = (int) TRUE; | |
107e4716 | 957 | char *_kwnames[] = { "self","pos","n","updateLabels", NULL }; |
70551f47 RD |
958 | |
959 | self = self; | |
107e4716 | 960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) |
70551f47 | 961 | return NULL; |
2d091820 RD |
962 | if (_argo0) { |
963 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
964 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); |
966 | return NULL; | |
967 | } | |
968 | } | |
969 | _arg3 = (bool ) tempbool3; | |
ab9bc19b RD |
970 | { |
971 | wxPy_BEGIN_ALLOW_THREADS; | |
972 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); | |
973 | ||
974 | wxPy_END_ALLOW_THREADS; | |
975 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
976 | return _resultobj; |
977 | } | |
978 | ||
979 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
107e4716 | 980 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
981 | PyObject * _resultobj; |
982 | wxGrid * _arg0; | |
2d091820 | 983 | PyObject * _argo0 = 0; |
107e4716 | 984 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
985 | |
986 | self = self; | |
107e4716 | 987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0)) |
70551f47 | 988 | return NULL; |
2d091820 RD |
989 | if (_argo0) { |
990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); |
993 | return NULL; | |
994 | } | |
995 | } | |
ab9bc19b RD |
996 | { |
997 | wxPy_BEGIN_ALLOW_THREADS; | |
998 | wxGrid_EndBatch(_arg0); | |
999 | ||
1000 | wxPy_END_ALLOW_THREADS; | |
1001 | } Py_INCREF(Py_None); | |
70551f47 RD |
1002 | _resultobj = Py_None; |
1003 | return _resultobj; | |
1004 | } | |
1005 | ||
1006 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
107e4716 | 1007 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1008 | PyObject * _resultobj; |
1009 | int _result; | |
1010 | wxGrid * _arg0; | |
2d091820 | 1011 | PyObject * _argo0 = 0; |
107e4716 | 1012 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1013 | |
1014 | self = self; | |
107e4716 | 1015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0)) |
70551f47 | 1016 | return NULL; |
2d091820 RD |
1017 | if (_argo0) { |
1018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); |
1021 | return NULL; | |
1022 | } | |
1023 | } | |
ab9bc19b RD |
1024 | { |
1025 | wxPy_BEGIN_ALLOW_THREADS; | |
1026 | _result = (int )wxGrid_GetBatchCount(_arg0); | |
1027 | ||
1028 | wxPy_END_ALLOW_THREADS; | |
1029 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1030 | return _resultobj; |
1031 | } | |
1032 | ||
1033 | #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1)) | |
107e4716 | 1034 | static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1035 | PyObject * _resultobj; |
1036 | wxGridCell * _result; | |
1037 | wxGrid * _arg0; | |
1038 | int _arg1; | |
1039 | int _arg2; | |
2d091820 | 1040 | PyObject * _argo0 = 0; |
107e4716 | 1041 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1042 | char _ptemp[128]; |
1043 | ||
1044 | self = self; | |
107e4716 | 1045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCell",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1046 | return NULL; |
2d091820 RD |
1047 | if (_argo0) { |
1048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p."); |
1051 | return NULL; | |
1052 | } | |
1053 | } | |
ab9bc19b RD |
1054 | { |
1055 | wxPy_BEGIN_ALLOW_THREADS; | |
1056 | _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2); | |
1057 | ||
1058 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1059 | } if (_result) { |
1060 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
1061 | _resultobj = Py_BuildValue("s",_ptemp); | |
1062 | } else { | |
1063 | Py_INCREF(Py_None); | |
1064 | _resultobj = Py_None; | |
1065 | } | |
70551f47 RD |
1066 | return _resultobj; |
1067 | } | |
1068 | ||
1069 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1)) | |
107e4716 | 1070 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1071 | PyObject * _resultobj; |
1072 | int _result; | |
1073 | wxGrid * _arg0; | |
1074 | int _arg1; | |
1075 | int _arg2; | |
2d091820 | 1076 | PyObject * _argo0 = 0; |
107e4716 | 1077 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1078 | |
1079 | self = self; | |
107e4716 | 1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1081 | return NULL; |
2d091820 RD |
1082 | if (_argo0) { |
1083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); |
1086 | return NULL; | |
1087 | } | |
1088 | } | |
ab9bc19b RD |
1089 | { |
1090 | wxPy_BEGIN_ALLOW_THREADS; | |
1091 | _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2); | |
1092 | ||
1093 | wxPy_END_ALLOW_THREADS; | |
1094 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1095 | return _resultobj; |
1096 | } | |
1097 | ||
1098 | #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment()) | |
107e4716 | 1099 | static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1100 | PyObject * _resultobj; |
1101 | int _result; | |
1102 | wxGrid * _arg0; | |
2d091820 | 1103 | PyObject * _argo0 = 0; |
107e4716 | 1104 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1105 | |
1106 | self = self; | |
107e4716 | 1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellAlignment",_kwnames,&_argo0)) |
70551f47 | 1108 | return NULL; |
2d091820 RD |
1109 | if (_argo0) { |
1110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p."); |
1113 | return NULL; | |
1114 | } | |
1115 | } | |
ab9bc19b RD |
1116 | { |
1117 | wxPy_BEGIN_ALLOW_THREADS; | |
1118 | _result = (int )wxGrid_GetDefCellAlignment(_arg0); | |
1119 | ||
1120 | wxPy_END_ALLOW_THREADS; | |
1121 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1122 | return _resultobj; |
1123 | } | |
1124 | ||
1125 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
107e4716 | 1126 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1127 | PyObject * _resultobj; |
1128 | wxColour * _result; | |
1129 | wxGrid * _arg0; | |
1130 | int _arg1; | |
1131 | int _arg2; | |
2d091820 | 1132 | PyObject * _argo0 = 0; |
107e4716 | 1133 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1134 | char _ptemp[128]; |
1135 | ||
1136 | self = self; | |
107e4716 | 1137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1138 | return NULL; |
2d091820 RD |
1139 | if (_argo0) { |
1140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); |
1143 | return NULL; | |
1144 | } | |
1145 | } | |
ab9bc19b RD |
1146 | { |
1147 | wxPy_BEGIN_ALLOW_THREADS; | |
1148 | wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2); | |
70551f47 | 1149 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1150 | |
1151 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1152 | } if (_result) { |
1153 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1154 | _resultobj = Py_BuildValue("s",_ptemp); | |
1155 | } else { | |
1156 | Py_INCREF(Py_None); | |
1157 | _resultobj = Py_None; | |
1158 | } | |
70551f47 RD |
1159 | return _resultobj; |
1160 | } | |
1161 | ||
1162 | #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour()) | |
107e4716 | 1163 | static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1164 | PyObject * _resultobj; |
1165 | wxColour * _result; | |
1166 | wxGrid * _arg0; | |
2d091820 | 1167 | PyObject * _argo0 = 0; |
107e4716 | 1168 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1169 | char _ptemp[128]; |
1170 | ||
1171 | self = self; | |
107e4716 | 1172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellBackgroundColour",_kwnames,&_argo0)) |
70551f47 | 1173 | return NULL; |
2d091820 RD |
1174 | if (_argo0) { |
1175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p."); |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
ab9bc19b RD |
1181 | { |
1182 | wxPy_BEGIN_ALLOW_THREADS; | |
1183 | wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0); | |
70551f47 | 1184 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1185 | |
1186 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1187 | } if (_result) { |
1188 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1189 | _resultobj = Py_BuildValue("s",_ptemp); | |
1190 | } else { | |
1191 | Py_INCREF(Py_None); | |
1192 | _resultobj = Py_None; | |
1193 | } | |
70551f47 RD |
1194 | return _resultobj; |
1195 | } | |
1196 | ||
8bf5d46e RD |
1197 | static PyObject * wxGrid_GetCells(wxGrid *self) { |
1198 | int row, col; | |
1199 | PyObject* rows = PyList_New(0); | |
1200 | for (row=0; row < self->GetRows(); row++) { | |
1201 | PyObject* rowList = PyList_New(0); | |
1202 | for (col=0; col < self->GetCols(); col++) { | |
1203 | wxGridCell* cell = self->GetCell(row, col); | |
1204 | ||
9cce9de1 | 1205 | bool doSave = wxPyRestoreThread(); |
8bf5d46e | 1206 | PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell"); |
9cce9de1 | 1207 | wxPySaveThread(doSave); |
8bf5d46e RD |
1208 | |
1209 | if (PyList_Append(rowList, pyCell) == -1) | |
1210 | return NULL; | |
1211 | } | |
1212 | if (PyList_Append(rows, rowList) == -1) | |
1213 | return NULL; | |
1214 | } | |
1215 | return rows; | |
1216 | } | |
107e4716 | 1217 | static PyObject *_wrap_wxGrid_GetCells(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
1218 | PyObject * _resultobj; |
1219 | PyObject * _result; | |
1220 | wxGrid * _arg0; | |
2d091820 | 1221 | PyObject * _argo0 = 0; |
107e4716 | 1222 | char *_kwnames[] = { "self", NULL }; |
8bf5d46e RD |
1223 | |
1224 | self = self; | |
107e4716 | 1225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCells",_kwnames,&_argo0)) |
8bf5d46e | 1226 | return NULL; |
2d091820 RD |
1227 | if (_argo0) { |
1228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8bf5d46e RD |
1230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p."); |
1231 | return NULL; | |
1232 | } | |
1233 | } | |
1234 | { | |
1235 | wxPy_BEGIN_ALLOW_THREADS; | |
1236 | _result = (PyObject *)wxGrid_GetCells(_arg0); | |
1237 | ||
1238 | wxPy_END_ALLOW_THREADS; | |
1239 | }{ | |
1240 | _resultobj = _result; | |
1241 | } | |
1242 | return _resultobj; | |
1243 | } | |
1244 | ||
70551f47 | 1245 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) |
107e4716 | 1246 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1247 | PyObject * _resultobj; |
1248 | wxColour * _result; | |
1249 | wxGrid * _arg0; | |
1250 | int _arg1; | |
1251 | int _arg2; | |
2d091820 | 1252 | PyObject * _argo0 = 0; |
107e4716 | 1253 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1254 | char _ptemp[128]; |
1255 | ||
1256 | self = self; | |
107e4716 | 1257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1258 | return NULL; |
2d091820 RD |
1259 | if (_argo0) { |
1260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); |
1263 | return NULL; | |
1264 | } | |
1265 | } | |
ab9bc19b RD |
1266 | { |
1267 | wxPy_BEGIN_ALLOW_THREADS; | |
1268 | wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2); | |
70551f47 | 1269 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1270 | |
1271 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1272 | } if (_result) { |
1273 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1274 | _resultobj = Py_BuildValue("s",_ptemp); | |
1275 | } else { | |
1276 | Py_INCREF(Py_None); | |
1277 | _resultobj = Py_None; | |
1278 | } | |
70551f47 RD |
1279 | return _resultobj; |
1280 | } | |
1281 | ||
1282 | #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour()) | |
107e4716 | 1283 | static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1284 | PyObject * _resultobj; |
1285 | wxColour * _result; | |
1286 | wxGrid * _arg0; | |
2d091820 | 1287 | PyObject * _argo0 = 0; |
107e4716 | 1288 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1289 | char _ptemp[128]; |
1290 | ||
1291 | self = self; | |
107e4716 | 1292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextColour",_kwnames,&_argo0)) |
70551f47 | 1293 | return NULL; |
2d091820 RD |
1294 | if (_argo0) { |
1295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p."); |
1298 | return NULL; | |
1299 | } | |
1300 | } | |
ab9bc19b RD |
1301 | { |
1302 | wxPy_BEGIN_ALLOW_THREADS; | |
1303 | wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0); | |
70551f47 | 1304 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1305 | |
1306 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1307 | } if (_result) { |
1308 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1309 | _resultobj = Py_BuildValue("s",_ptemp); | |
1310 | } else { | |
1311 | Py_INCREF(Py_None); | |
1312 | _resultobj = Py_None; | |
1313 | } | |
70551f47 RD |
1314 | return _resultobj; |
1315 | } | |
1316 | ||
1317 | #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1)) | |
107e4716 | 1318 | static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1319 | PyObject * _resultobj; |
1320 | wxFont * _result; | |
1321 | wxGrid * _arg0; | |
1322 | int _arg1; | |
1323 | int _arg2; | |
2d091820 | 1324 | PyObject * _argo0 = 0; |
107e4716 | 1325 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1326 | char _ptemp[128]; |
1327 | ||
1328 | self = self; | |
107e4716 | 1329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextFont",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1330 | return NULL; |
2d091820 RD |
1331 | if (_argo0) { |
1332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p."); |
1335 | return NULL; | |
1336 | } | |
1337 | } | |
ab9bc19b RD |
1338 | { |
1339 | wxPy_BEGIN_ALLOW_THREADS; | |
1340 | wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2); | |
105e45b9 | 1341 | _result = (wxFont *) &_result_ref; |
ab9bc19b RD |
1342 | |
1343 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1344 | } if (_result) { |
1345 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1346 | _resultobj = Py_BuildValue("s",_ptemp); | |
1347 | } else { | |
1348 | Py_INCREF(Py_None); | |
1349 | _resultobj = Py_None; | |
1350 | } | |
70551f47 RD |
1351 | return _resultobj; |
1352 | } | |
1353 | ||
1354 | #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont()) | |
107e4716 | 1355 | static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1356 | PyObject * _resultobj; |
1357 | wxFont * _result; | |
1358 | wxGrid * _arg0; | |
2d091820 | 1359 | PyObject * _argo0 = 0; |
107e4716 | 1360 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1361 | char _ptemp[128]; |
1362 | ||
1363 | self = self; | |
107e4716 | 1364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextFont",_kwnames,&_argo0)) |
70551f47 | 1365 | return NULL; |
2d091820 RD |
1366 | if (_argo0) { |
1367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p."); |
1370 | return NULL; | |
1371 | } | |
1372 | } | |
ab9bc19b RD |
1373 | { |
1374 | wxPy_BEGIN_ALLOW_THREADS; | |
1375 | wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0); | |
105e45b9 | 1376 | _result = (wxFont *) &_result_ref; |
ab9bc19b RD |
1377 | |
1378 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1379 | } if (_result) { |
1380 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1381 | _resultobj = Py_BuildValue("s",_ptemp); | |
1382 | } else { | |
1383 | Py_INCREF(Py_None); | |
1384 | _resultobj = Py_None; | |
1385 | } | |
70551f47 RD |
1386 | return _resultobj; |
1387 | } | |
1388 | ||
1389 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
107e4716 | 1390 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1391 | PyObject * _resultobj; |
1392 | wxString * _result; | |
1393 | wxGrid * _arg0; | |
1394 | int _arg1; | |
1395 | int _arg2; | |
2d091820 | 1396 | PyObject * _argo0 = 0; |
107e4716 | 1397 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
1398 | |
1399 | self = self; | |
107e4716 | 1400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1401 | return NULL; |
2d091820 RD |
1402 | if (_argo0) { |
1403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); |
1406 | return NULL; | |
1407 | } | |
1408 | } | |
70551f47 | 1409 | { |
ab9bc19b RD |
1410 | wxPy_BEGIN_ALLOW_THREADS; |
1411 | wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2); | |
1412 | _result = (wxString *) &_result_ref; | |
1413 | ||
1414 | wxPy_END_ALLOW_THREADS; | |
1415 | }{ | |
70551f47 RD |
1416 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1417 | } | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
1421 | #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols()) | |
107e4716 | 1422 | static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1423 | PyObject * _resultobj; |
1424 | int _result; | |
1425 | wxGrid * _arg0; | |
2d091820 | 1426 | PyObject * _argo0 = 0; |
107e4716 | 1427 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1428 | |
1429 | self = self; | |
107e4716 | 1430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCols",_kwnames,&_argo0)) |
70551f47 | 1431 | return NULL; |
2d091820 RD |
1432 | if (_argo0) { |
1433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p."); |
1436 | return NULL; | |
1437 | } | |
1438 | } | |
ab9bc19b RD |
1439 | { |
1440 | wxPy_BEGIN_ALLOW_THREADS; | |
1441 | _result = (int )wxGrid_GetCols(_arg0); | |
1442 | ||
1443 | wxPy_END_ALLOW_THREADS; | |
1444 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1445 | return _resultobj; |
1446 | } | |
1447 | ||
1448 | #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
107e4716 | 1449 | static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1450 | PyObject * _resultobj; |
1451 | int _result; | |
1452 | wxGrid * _arg0; | |
1453 | int _arg1; | |
2d091820 | 1454 | PyObject * _argo0 = 0; |
107e4716 | 1455 | char *_kwnames[] = { "self","col", NULL }; |
70551f47 RD |
1456 | |
1457 | self = self; | |
107e4716 | 1458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColumnWidth",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1459 | return NULL; |
2d091820 RD |
1460 | if (_argo0) { |
1461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p."); |
1464 | return NULL; | |
1465 | } | |
1466 | } | |
ab9bc19b RD |
1467 | { |
1468 | wxPy_BEGIN_ALLOW_THREADS; | |
1469 | _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1); | |
1470 | ||
1471 | wxPy_END_ALLOW_THREADS; | |
1472 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1473 | return _resultobj; |
1474 | } | |
1475 | ||
1476 | #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect()) | |
107e4716 | 1477 | static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1478 | PyObject * _resultobj; |
1479 | wxRect * _result; | |
1480 | wxGrid * _arg0; | |
2d091820 | 1481 | PyObject * _argo0 = 0; |
107e4716 | 1482 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1483 | char _ptemp[128]; |
1484 | ||
1485 | self = self; | |
107e4716 | 1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCurrentRect",_kwnames,&_argo0)) |
70551f47 | 1487 | return NULL; |
2d091820 RD |
1488 | if (_argo0) { |
1489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p."); |
1492 | return NULL; | |
1493 | } | |
1494 | } | |
ab9bc19b RD |
1495 | { |
1496 | wxPy_BEGIN_ALLOW_THREADS; | |
1497 | _result = new wxRect (wxGrid_GetCurrentRect(_arg0)); | |
1498 | ||
1499 | wxPy_END_ALLOW_THREADS; | |
1500 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
70551f47 RD |
1501 | _resultobj = Py_BuildValue("s",_ptemp); |
1502 | return _resultobj; | |
1503 | } | |
1504 | ||
1505 | #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn()) | |
107e4716 | 1506 | static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1507 | PyObject * _resultobj; |
1508 | int _result; | |
1509 | wxGrid * _arg0; | |
2d091820 | 1510 | PyObject * _argo0 = 0; |
107e4716 | 1511 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1512 | |
1513 | self = self; | |
107e4716 | 1514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorColumn",_kwnames,&_argo0)) |
70551f47 | 1515 | return NULL; |
2d091820 RD |
1516 | if (_argo0) { |
1517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p."); |
1520 | return NULL; | |
1521 | } | |
1522 | } | |
ab9bc19b RD |
1523 | { |
1524 | wxPy_BEGIN_ALLOW_THREADS; | |
1525 | _result = (int )wxGrid_GetCursorColumn(_arg0); | |
1526 | ||
1527 | wxPy_END_ALLOW_THREADS; | |
1528 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1529 | return _resultobj; |
1530 | } | |
1531 | ||
1532 | #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow()) | |
107e4716 | 1533 | static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1534 | PyObject * _resultobj; |
1535 | int _result; | |
1536 | wxGrid * _arg0; | |
2d091820 | 1537 | PyObject * _argo0 = 0; |
107e4716 | 1538 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1539 | |
1540 | self = self; | |
107e4716 | 1541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorRow",_kwnames,&_argo0)) |
70551f47 | 1542 | return NULL; |
2d091820 RD |
1543 | if (_argo0) { |
1544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p."); |
1547 | return NULL; | |
1548 | } | |
1549 | } | |
ab9bc19b RD |
1550 | { |
1551 | wxPy_BEGIN_ALLOW_THREADS; | |
1552 | _result = (int )wxGrid_GetCursorRow(_arg0); | |
1553 | ||
1554 | wxPy_END_ALLOW_THREADS; | |
1555 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1556 | return _resultobj; |
1557 | } | |
1558 | ||
1559 | #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable()) | |
107e4716 | 1560 | static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1561 | PyObject * _resultobj; |
1562 | bool _result; | |
1563 | wxGrid * _arg0; | |
2d091820 | 1564 | PyObject * _argo0 = 0; |
107e4716 | 1565 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1566 | |
1567 | self = self; | |
107e4716 | 1568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditable",_kwnames,&_argo0)) |
70551f47 | 1569 | return NULL; |
2d091820 RD |
1570 | if (_argo0) { |
1571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p."); |
1574 | return NULL; | |
1575 | } | |
1576 | } | |
ab9bc19b RD |
1577 | { |
1578 | wxPy_BEGIN_ALLOW_THREADS; | |
1579 | _result = (bool )wxGrid_GetEditable(_arg0); | |
1580 | ||
1581 | wxPy_END_ALLOW_THREADS; | |
1582 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1583 | return _resultobj; |
1584 | } | |
1585 | ||
1586 | #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar()) | |
107e4716 | 1587 | static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1588 | PyObject * _resultobj; |
1589 | wxScrollBar * _result; | |
1590 | wxGrid * _arg0; | |
2d091820 | 1591 | PyObject * _argo0 = 0; |
107e4716 | 1592 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1593 | char _ptemp[128]; |
1594 | ||
1595 | self = self; | |
107e4716 | 1596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetHorizScrollBar",_kwnames,&_argo0)) |
70551f47 | 1597 | return NULL; |
2d091820 RD |
1598 | if (_argo0) { |
1599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p."); |
1602 | return NULL; | |
1603 | } | |
1604 | } | |
ab9bc19b RD |
1605 | { |
1606 | wxPy_BEGIN_ALLOW_THREADS; | |
1607 | _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0); | |
1608 | ||
1609 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1610 | } if (_result) { |
1611 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1612 | _resultobj = Py_BuildValue("s",_ptemp); | |
1613 | } else { | |
1614 | Py_INCREF(Py_None); | |
1615 | _resultobj = Py_None; | |
1616 | } | |
70551f47 RD |
1617 | return _resultobj; |
1618 | } | |
1619 | ||
1620 | #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0)) | |
107e4716 | 1621 | static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1622 | PyObject * _resultobj; |
1623 | int _result; | |
1624 | wxGrid * _arg0; | |
1625 | int _arg1; | |
2d091820 | 1626 | PyObject * _argo0 = 0; |
107e4716 | 1627 | char *_kwnames[] = { "self","orientation", NULL }; |
70551f47 RD |
1628 | |
1629 | self = self; | |
107e4716 | 1630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelAlignment",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1631 | return NULL; |
2d091820 RD |
1632 | if (_argo0) { |
1633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p."); |
1636 | return NULL; | |
1637 | } | |
1638 | } | |
ab9bc19b RD |
1639 | { |
1640 | wxPy_BEGIN_ALLOW_THREADS; | |
1641 | _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1); | |
1642 | ||
1643 | wxPy_END_ALLOW_THREADS; | |
1644 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1645 | return _resultobj; |
1646 | } | |
1647 | ||
1648 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
107e4716 | 1649 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1650 | PyObject * _resultobj; |
1651 | wxColour * _result; | |
1652 | wxGrid * _arg0; | |
2d091820 | 1653 | PyObject * _argo0 = 0; |
107e4716 | 1654 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1655 | char _ptemp[128]; |
1656 | ||
1657 | self = self; | |
107e4716 | 1658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0)) |
70551f47 | 1659 | return NULL; |
2d091820 RD |
1660 | if (_argo0) { |
1661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); |
1664 | return NULL; | |
1665 | } | |
1666 | } | |
ab9bc19b RD |
1667 | { |
1668 | wxPy_BEGIN_ALLOW_THREADS; | |
1669 | wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0); | |
70551f47 | 1670 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1671 | |
1672 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1673 | } if (_result) { |
1674 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1675 | _resultobj = Py_BuildValue("s",_ptemp); | |
1676 | } else { | |
1677 | Py_INCREF(Py_None); | |
1678 | _resultobj = Py_None; | |
1679 | } | |
70551f47 RD |
1680 | return _resultobj; |
1681 | } | |
1682 | ||
1683 | #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0)) | |
107e4716 | 1684 | static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1685 | PyObject * _resultobj; |
1686 | int _result; | |
1687 | wxGrid * _arg0; | |
1688 | int _arg1; | |
2d091820 | 1689 | PyObject * _argo0 = 0; |
107e4716 | 1690 | char *_kwnames[] = { "self","orientation", NULL }; |
70551f47 RD |
1691 | |
1692 | self = self; | |
107e4716 | 1693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelSize",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1694 | return NULL; |
2d091820 RD |
1695 | if (_argo0) { |
1696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p."); |
1699 | return NULL; | |
1700 | } | |
1701 | } | |
ab9bc19b RD |
1702 | { |
1703 | wxPy_BEGIN_ALLOW_THREADS; | |
1704 | _result = (int )wxGrid_GetLabelSize(_arg0,_arg1); | |
1705 | ||
1706 | wxPy_END_ALLOW_THREADS; | |
1707 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1708 | return _resultobj; |
1709 | } | |
1710 | ||
1711 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
107e4716 | 1712 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1713 | PyObject * _resultobj; |
1714 | wxColour * _result; | |
1715 | wxGrid * _arg0; | |
2d091820 | 1716 | PyObject * _argo0 = 0; |
107e4716 | 1717 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1718 | char _ptemp[128]; |
1719 | ||
1720 | self = self; | |
107e4716 | 1721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0)) |
70551f47 | 1722 | return NULL; |
2d091820 RD |
1723 | if (_argo0) { |
1724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); |
1727 | return NULL; | |
1728 | } | |
1729 | } | |
ab9bc19b RD |
1730 | { |
1731 | wxPy_BEGIN_ALLOW_THREADS; | |
1732 | wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0); | |
70551f47 | 1733 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1734 | |
1735 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1736 | } if (_result) { |
1737 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1738 | _resultobj = Py_BuildValue("s",_ptemp); | |
1739 | } else { | |
1740 | Py_INCREF(Py_None); | |
1741 | _resultobj = Py_None; | |
1742 | } | |
70551f47 RD |
1743 | return _resultobj; |
1744 | } | |
1745 | ||
1746 | #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont()) | |
107e4716 | 1747 | static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1748 | PyObject * _resultobj; |
1749 | wxFont * _result; | |
1750 | wxGrid * _arg0; | |
2d091820 | 1751 | PyObject * _argo0 = 0; |
107e4716 | 1752 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1753 | char _ptemp[128]; |
1754 | ||
1755 | self = self; | |
107e4716 | 1756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextFont",_kwnames,&_argo0)) |
70551f47 | 1757 | return NULL; |
2d091820 RD |
1758 | if (_argo0) { |
1759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p."); |
1762 | return NULL; | |
1763 | } | |
1764 | } | |
ab9bc19b RD |
1765 | { |
1766 | wxPy_BEGIN_ALLOW_THREADS; | |
1767 | wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0); | |
105e45b9 | 1768 | _result = (wxFont *) &_result_ref; |
ab9bc19b RD |
1769 | |
1770 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1771 | } if (_result) { |
1772 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1773 | _resultobj = Py_BuildValue("s",_ptemp); | |
1774 | } else { | |
1775 | Py_INCREF(Py_None); | |
1776 | _resultobj = Py_None; | |
1777 | } | |
70551f47 RD |
1778 | return _resultobj; |
1779 | } | |
1780 | ||
1781 | #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1)) | |
107e4716 | 1782 | static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1783 | PyObject * _resultobj; |
1784 | wxString * _result; | |
1785 | wxGrid * _arg0; | |
1786 | int _arg1; | |
1787 | int _arg2; | |
2d091820 | 1788 | PyObject * _argo0 = 0; |
107e4716 | 1789 | char *_kwnames[] = { "self","orientation","pos", NULL }; |
70551f47 RD |
1790 | |
1791 | self = self; | |
107e4716 | 1792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetLabelValue",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 1793 | return NULL; |
2d091820 RD |
1794 | if (_argo0) { |
1795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p."); |
1798 | return NULL; | |
1799 | } | |
1800 | } | |
70551f47 | 1801 | { |
ab9bc19b RD |
1802 | wxPy_BEGIN_ALLOW_THREADS; |
1803 | wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2); | |
1804 | _result = (wxString *) &_result_ref; | |
1805 | ||
1806 | wxPy_END_ALLOW_THREADS; | |
1807 | }{ | |
70551f47 RD |
1808 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1809 | } | |
1810 | return _resultobj; | |
1811 | } | |
1812 | ||
1813 | #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0)) | |
107e4716 | 1814 | static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1815 | PyObject * _resultobj; |
1816 | int _result; | |
1817 | wxGrid * _arg0; | |
1818 | int _arg1; | |
2d091820 | 1819 | PyObject * _argo0 = 0; |
107e4716 | 1820 | char *_kwnames[] = { "self","row", NULL }; |
70551f47 RD |
1821 | |
1822 | self = self; | |
107e4716 | 1823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowHeight",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1824 | return NULL; |
2d091820 RD |
1825 | if (_argo0) { |
1826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p."); |
1829 | return NULL; | |
1830 | } | |
1831 | } | |
ab9bc19b RD |
1832 | { |
1833 | wxPy_BEGIN_ALLOW_THREADS; | |
1834 | _result = (int )wxGrid_GetRowHeight(_arg0,_arg1); | |
1835 | ||
1836 | wxPy_END_ALLOW_THREADS; | |
1837 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1838 | return _resultobj; |
1839 | } | |
1840 | ||
1841 | #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows()) | |
107e4716 | 1842 | static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1843 | PyObject * _resultobj; |
1844 | int _result; | |
1845 | wxGrid * _arg0; | |
2d091820 | 1846 | PyObject * _argo0 = 0; |
107e4716 | 1847 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1848 | |
1849 | self = self; | |
107e4716 | 1850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRows",_kwnames,&_argo0)) |
70551f47 | 1851 | return NULL; |
2d091820 RD |
1852 | if (_argo0) { |
1853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p."); |
1856 | return NULL; | |
1857 | } | |
1858 | } | |
ab9bc19b RD |
1859 | { |
1860 | wxPy_BEGIN_ALLOW_THREADS; | |
1861 | _result = (int )wxGrid_GetRows(_arg0); | |
1862 | ||
1863 | wxPy_END_ALLOW_THREADS; | |
1864 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1865 | return _resultobj; |
1866 | } | |
1867 | ||
1868 | #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX()) | |
107e4716 | 1869 | static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1870 | PyObject * _resultobj; |
1871 | int _result; | |
1872 | wxGrid * _arg0; | |
2d091820 | 1873 | PyObject * _argo0 = 0; |
107e4716 | 1874 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1875 | |
1876 | self = self; | |
107e4716 | 1877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosX",_kwnames,&_argo0)) |
70551f47 | 1878 | return NULL; |
2d091820 RD |
1879 | if (_argo0) { |
1880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p."); |
1883 | return NULL; | |
1884 | } | |
1885 | } | |
ab9bc19b RD |
1886 | { |
1887 | wxPy_BEGIN_ALLOW_THREADS; | |
1888 | _result = (int )wxGrid_GetScrollPosX(_arg0); | |
1889 | ||
1890 | wxPy_END_ALLOW_THREADS; | |
1891 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1892 | return _resultobj; |
1893 | } | |
1894 | ||
1895 | #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY()) | |
107e4716 | 1896 | static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1897 | PyObject * _resultobj; |
1898 | int _result; | |
1899 | wxGrid * _arg0; | |
2d091820 | 1900 | PyObject * _argo0 = 0; |
107e4716 | 1901 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1902 | |
1903 | self = self; | |
107e4716 | 1904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosY",_kwnames,&_argo0)) |
70551f47 | 1905 | return NULL; |
2d091820 RD |
1906 | if (_argo0) { |
1907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p."); |
1910 | return NULL; | |
1911 | } | |
1912 | } | |
ab9bc19b RD |
1913 | { |
1914 | wxPy_BEGIN_ALLOW_THREADS; | |
1915 | _result = (int )wxGrid_GetScrollPosY(_arg0); | |
1916 | ||
1917 | wxPy_END_ALLOW_THREADS; | |
1918 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1919 | return _resultobj; |
1920 | } | |
1921 | ||
1922 | #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem()) | |
107e4716 | 1923 | static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1924 | PyObject * _resultobj; |
1925 | wxTextCtrl * _result; | |
1926 | wxGrid * _arg0; | |
2d091820 | 1927 | PyObject * _argo0 = 0; |
107e4716 | 1928 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1929 | char _ptemp[128]; |
1930 | ||
1931 | self = self; | |
107e4716 | 1932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTextItem",_kwnames,&_argo0)) |
70551f47 | 1933 | return NULL; |
2d091820 RD |
1934 | if (_argo0) { |
1935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p."); |
1938 | return NULL; | |
1939 | } | |
1940 | } | |
ab9bc19b RD |
1941 | { |
1942 | wxPy_BEGIN_ALLOW_THREADS; | |
1943 | _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0); | |
1944 | ||
1945 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1946 | } if (_result) { |
1947 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
1948 | _resultobj = Py_BuildValue("s",_ptemp); | |
1949 | } else { | |
1950 | Py_INCREF(Py_None); | |
1951 | _resultobj = Py_None; | |
1952 | } | |
70551f47 RD |
1953 | return _resultobj; |
1954 | } | |
1955 | ||
1956 | #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar()) | |
107e4716 | 1957 | static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1958 | PyObject * _resultobj; |
1959 | wxScrollBar * _result; | |
1960 | wxGrid * _arg0; | |
2d091820 | 1961 | PyObject * _argo0 = 0; |
107e4716 | 1962 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1963 | char _ptemp[128]; |
1964 | ||
1965 | self = self; | |
107e4716 | 1966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetVertScrollBar",_kwnames,&_argo0)) |
70551f47 | 1967 | return NULL; |
2d091820 RD |
1968 | if (_argo0) { |
1969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
1971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p."); |
1972 | return NULL; | |
1973 | } | |
1974 | } | |
ab9bc19b RD |
1975 | { |
1976 | wxPy_BEGIN_ALLOW_THREADS; | |
1977 | _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0); | |
1978 | ||
1979 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1980 | } if (_result) { |
1981 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1982 | _resultobj = Py_BuildValue("s",_ptemp); | |
1983 | } else { | |
1984 | Py_INCREF(Py_None); | |
1985 | _resultobj = Py_None; | |
1986 | } | |
70551f47 RD |
1987 | return _resultobj; |
1988 | } | |
1989 | ||
1990 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 1991 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1992 | PyObject * _resultobj; |
1993 | bool _result; | |
1994 | wxGrid * _arg0; | |
2d091820 RD |
1995 | int _arg1 = (int ) 0; |
1996 | int _arg2 = (int ) 1; | |
1997 | bool _arg3 = (bool ) TRUE; | |
1998 | PyObject * _argo0 = 0; | |
1999 | int tempbool3 = (int) TRUE; | |
107e4716 | 2000 | char *_kwnames[] = { "self","pos","n","updateLabels", NULL }; |
70551f47 RD |
2001 | |
2002 | self = self; | |
107e4716 | 2003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) |
70551f47 | 2004 | return NULL; |
2d091820 RD |
2005 | if (_argo0) { |
2006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); |
2009 | return NULL; | |
2010 | } | |
2011 | } | |
2012 | _arg3 = (bool ) tempbool3; | |
ab9bc19b RD |
2013 | { |
2014 | wxPy_BEGIN_ALLOW_THREADS; | |
2015 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); | |
2016 | ||
2017 | wxPy_END_ALLOW_THREADS; | |
2018 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2019 | return _resultobj; |
2020 | } | |
2021 | ||
2022 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2023 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2024 | PyObject * _resultobj; |
2025 | bool _result; | |
2026 | wxGrid * _arg0; | |
2d091820 RD |
2027 | int _arg1 = (int ) 0; |
2028 | int _arg2 = (int ) 1; | |
2029 | bool _arg3 = (bool ) TRUE; | |
2030 | PyObject * _argo0 = 0; | |
2031 | int tempbool3 = (int) TRUE; | |
107e4716 | 2032 | char *_kwnames[] = { "self","pos","n","updateLabels", NULL }; |
70551f47 RD |
2033 | |
2034 | self = self; | |
107e4716 | 2035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) |
70551f47 | 2036 | return NULL; |
2d091820 RD |
2037 | if (_argo0) { |
2038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); |
2041 | return NULL; | |
2042 | } | |
2043 | } | |
2044 | _arg3 = (bool ) tempbool3; | |
ab9bc19b RD |
2045 | { |
2046 | wxPy_BEGIN_ALLOW_THREADS; | |
2047 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); | |
2048 | ||
2049 | wxPy_END_ALLOW_THREADS; | |
2050 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2051 | return _resultobj; |
2052 | } | |
2053 | ||
105e45b9 | 2054 | #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0)) |
107e4716 | 2055 | static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
2056 | PyObject * _resultobj; |
2057 | wxGrid * _arg0; | |
2058 | bool _arg1; | |
2d091820 | 2059 | PyObject * _argo0 = 0; |
105e45b9 | 2060 | int tempbool1; |
107e4716 | 2061 | char *_kwnames[] = { "self","active", NULL }; |
105e45b9 RD |
2062 | |
2063 | self = self; | |
107e4716 | 2064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_OnActivate",_kwnames,&_argo0,&tempbool1)) |
105e45b9 | 2065 | return NULL; |
2d091820 RD |
2066 | if (_argo0) { |
2067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
105e45b9 RD |
2069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p."); |
2070 | return NULL; | |
2071 | } | |
2072 | } | |
2073 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2074 | { |
2075 | wxPy_BEGIN_ALLOW_THREADS; | |
2076 | wxGrid_OnActivate(_arg0,_arg1); | |
2077 | ||
2078 | wxPy_END_ALLOW_THREADS; | |
2079 | } Py_INCREF(Py_None); | |
105e45b9 RD |
2080 | _resultobj = Py_None; |
2081 | return _resultobj; | |
2082 | } | |
2083 | ||
70551f47 | 2084 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2)) |
107e4716 | 2085 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2086 | PyObject * _resultobj; |
2087 | wxGrid * _arg0; | |
2088 | int _arg1; | |
2089 | int _arg2; | |
2090 | int _arg3; | |
2d091820 | 2091 | PyObject * _argo0 = 0; |
107e4716 | 2092 | char *_kwnames[] = { "self","alignment","row","col", NULL }; |
70551f47 RD |
2093 | |
2094 | self = self; | |
107e4716 | 2095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
70551f47 | 2096 | return NULL; |
2d091820 RD |
2097 | if (_argo0) { |
2098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); |
2101 | return NULL; | |
2102 | } | |
2103 | } | |
ab9bc19b RD |
2104 | { |
2105 | wxPy_BEGIN_ALLOW_THREADS; | |
2106 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3); | |
2107 | ||
2108 | wxPy_END_ALLOW_THREADS; | |
2109 | } Py_INCREF(Py_None); | |
70551f47 RD |
2110 | _resultobj = Py_None; |
2111 | return _resultobj; | |
2112 | } | |
2113 | ||
2114 | #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0)) | |
107e4716 | 2115 | static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2116 | PyObject * _resultobj; |
2117 | wxGrid * _arg0; | |
2118 | int _arg1; | |
2d091820 | 2119 | PyObject * _argo0 = 0; |
107e4716 | 2120 | char *_kwnames[] = { "self","alignment", NULL }; |
70551f47 RD |
2121 | |
2122 | self = self; | |
107e4716 | 2123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefCellAlignment",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2124 | return NULL; |
2d091820 RD |
2125 | if (_argo0) { |
2126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p."); |
2129 | return NULL; | |
2130 | } | |
2131 | } | |
ab9bc19b RD |
2132 | { |
2133 | wxPy_BEGIN_ALLOW_THREADS; | |
2134 | wxGrid_SetDefCellAlignment(_arg0,_arg1); | |
2135 | ||
2136 | wxPy_END_ALLOW_THREADS; | |
2137 | } Py_INCREF(Py_None); | |
70551f47 RD |
2138 | _resultobj = Py_None; |
2139 | return _resultobj; | |
2140 | } | |
2141 | ||
2142 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2143 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2144 | PyObject * _resultobj; |
2145 | wxGrid * _arg0; | |
2146 | wxColour * _arg1; | |
2147 | int _arg2; | |
2148 | int _arg3; | |
2d091820 RD |
2149 | PyObject * _argo0 = 0; |
2150 | PyObject * _argo1 = 0; | |
107e4716 | 2151 | char *_kwnames[] = { "self","colour","row","col", NULL }; |
70551f47 RD |
2152 | |
2153 | self = self; | |
107e4716 | 2154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
70551f47 | 2155 | return NULL; |
2d091820 RD |
2156 | if (_argo0) { |
2157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); |
2160 | return NULL; | |
2161 | } | |
2162 | } | |
2d091820 RD |
2163 | if (_argo1) { |
2164 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2165 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p."); |
2167 | return NULL; | |
2168 | } | |
2169 | } | |
ab9bc19b RD |
2170 | { |
2171 | wxPy_BEGIN_ALLOW_THREADS; | |
2172 | wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3); | |
2173 | ||
2174 | wxPy_END_ALLOW_THREADS; | |
2175 | } Py_INCREF(Py_None); | |
70551f47 RD |
2176 | _resultobj = Py_None; |
2177 | return _resultobj; | |
2178 | } | |
2179 | ||
2180 | #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0)) | |
107e4716 | 2181 | static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2182 | PyObject * _resultobj; |
2183 | wxGrid * _arg0; | |
2184 | wxColour * _arg1; | |
2d091820 RD |
2185 | PyObject * _argo0 = 0; |
2186 | PyObject * _argo1 = 0; | |
107e4716 | 2187 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
2188 | |
2189 | self = self; | |
107e4716 | 2190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2191 | return NULL; |
2d091820 RD |
2192 | if (_argo0) { |
2193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p."); |
2196 | return NULL; | |
2197 | } | |
2198 | } | |
2d091820 RD |
2199 | if (_argo1) { |
2200 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2201 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p."); |
2203 | return NULL; | |
2204 | } | |
2205 | } | |
ab9bc19b RD |
2206 | { |
2207 | wxPy_BEGIN_ALLOW_THREADS; | |
2208 | wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1); | |
2209 | ||
2210 | wxPy_END_ALLOW_THREADS; | |
2211 | } Py_INCREF(Py_None); | |
70551f47 RD |
2212 | _resultobj = Py_None; |
2213 | return _resultobj; | |
2214 | } | |
2215 | ||
2216 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2217 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2218 | PyObject * _resultobj; |
2219 | wxGrid * _arg0; | |
2220 | wxColour * _arg1; | |
2221 | int _arg2; | |
2222 | int _arg3; | |
2d091820 RD |
2223 | PyObject * _argo0 = 0; |
2224 | PyObject * _argo1 = 0; | |
107e4716 | 2225 | char *_kwnames[] = { "self","colour","row","col", NULL }; |
70551f47 RD |
2226 | |
2227 | self = self; | |
107e4716 | 2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
70551f47 | 2229 | return NULL; |
2d091820 RD |
2230 | if (_argo0) { |
2231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2d091820 RD |
2237 | if (_argo1) { |
2238 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2239 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p."); |
2241 | return NULL; | |
2242 | } | |
2243 | } | |
ab9bc19b RD |
2244 | { |
2245 | wxPy_BEGIN_ALLOW_THREADS; | |
2246 | wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3); | |
2247 | ||
2248 | wxPy_END_ALLOW_THREADS; | |
2249 | } Py_INCREF(Py_None); | |
70551f47 RD |
2250 | _resultobj = Py_None; |
2251 | return _resultobj; | |
2252 | } | |
2253 | ||
2254 | #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0)) | |
107e4716 | 2255 | static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2256 | PyObject * _resultobj; |
2257 | wxGrid * _arg0; | |
2258 | wxColour * _arg1; | |
2d091820 RD |
2259 | PyObject * _argo0 = 0; |
2260 | PyObject * _argo1 = 0; | |
107e4716 | 2261 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
2262 | |
2263 | self = self; | |
107e4716 | 2264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2265 | return NULL; |
2d091820 RD |
2266 | if (_argo0) { |
2267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p."); |
2270 | return NULL; | |
2271 | } | |
2272 | } | |
2d091820 RD |
2273 | if (_argo1) { |
2274 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2275 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p."); |
2277 | return NULL; | |
2278 | } | |
2279 | } | |
ab9bc19b RD |
2280 | { |
2281 | wxPy_BEGIN_ALLOW_THREADS; | |
2282 | wxGrid_SetDefCellTextColour(_arg0,*_arg1); | |
2283 | ||
2284 | wxPy_END_ALLOW_THREADS; | |
2285 | } Py_INCREF(Py_None); | |
70551f47 RD |
2286 | _resultobj = Py_None; |
2287 | return _resultobj; | |
2288 | } | |
2289 | ||
2290 | #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2291 | static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2292 | PyObject * _resultobj; |
2293 | wxGrid * _arg0; | |
2294 | wxFont * _arg1; | |
2295 | int _arg2; | |
2296 | int _arg3; | |
2d091820 RD |
2297 | PyObject * _argo0 = 0; |
2298 | PyObject * _argo1 = 0; | |
107e4716 | 2299 | char *_kwnames[] = { "self","font","row","col", NULL }; |
70551f47 RD |
2300 | |
2301 | self = self; | |
107e4716 | 2302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextFont",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
70551f47 | 2303 | return NULL; |
2d091820 RD |
2304 | if (_argo0) { |
2305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p."); |
2308 | return NULL; | |
2309 | } | |
2310 | } | |
2d091820 RD |
2311 | if (_argo1) { |
2312 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2313 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
2314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p."); |
2315 | return NULL; | |
2316 | } | |
2317 | } | |
ab9bc19b RD |
2318 | { |
2319 | wxPy_BEGIN_ALLOW_THREADS; | |
2320 | wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3); | |
2321 | ||
2322 | wxPy_END_ALLOW_THREADS; | |
2323 | } Py_INCREF(Py_None); | |
70551f47 RD |
2324 | _resultobj = Py_None; |
2325 | return _resultobj; | |
2326 | } | |
2327 | ||
2328 | #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0)) | |
107e4716 | 2329 | static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2330 | PyObject * _resultobj; |
2331 | wxGrid * _arg0; | |
2332 | wxFont * _arg1; | |
2d091820 RD |
2333 | PyObject * _argo0 = 0; |
2334 | PyObject * _argo1 = 0; | |
107e4716 | 2335 | char *_kwnames[] = { "self","font", NULL }; |
70551f47 RD |
2336 | |
2337 | self = self; | |
107e4716 | 2338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextFont",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2339 | return NULL; |
2d091820 RD |
2340 | if (_argo0) { |
2341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p."); |
2344 | return NULL; | |
2345 | } | |
2346 | } | |
2d091820 RD |
2347 | if (_argo1) { |
2348 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2349 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
2350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p."); |
2351 | return NULL; | |
2352 | } | |
2353 | } | |
ab9bc19b RD |
2354 | { |
2355 | wxPy_BEGIN_ALLOW_THREADS; | |
2356 | wxGrid_SetDefCellTextFont(_arg0,*_arg1); | |
2357 | ||
2358 | wxPy_END_ALLOW_THREADS; | |
2359 | } Py_INCREF(Py_None); | |
70551f47 RD |
2360 | _resultobj = Py_None; |
2361 | return _resultobj; | |
2362 | } | |
2363 | ||
2364 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2365 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2366 | PyObject * _resultobj; |
2367 | wxGrid * _arg0; | |
2368 | wxString * _arg1; | |
2369 | int _arg2; | |
2370 | int _arg3; | |
2d091820 | 2371 | PyObject * _argo0 = 0; |
70551f47 | 2372 | PyObject * _obj1 = 0; |
107e4716 | 2373 | char *_kwnames[] = { "self","val","row","col", NULL }; |
70551f47 RD |
2374 | |
2375 | self = self; | |
107e4716 | 2376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellValue",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
70551f47 | 2377 | return NULL; |
2d091820 RD |
2378 | if (_argo0) { |
2379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); |
2382 | return NULL; | |
2383 | } | |
2384 | } | |
2385 | { | |
2386 | if (!PyString_Check(_obj1)) { | |
2387 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2388 | return NULL; | |
2389 | } | |
ab9bc19b | 2390 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 2391 | } |
ab9bc19b RD |
2392 | { |
2393 | wxPy_BEGIN_ALLOW_THREADS; | |
2394 | wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3); | |
2395 | ||
2396 | wxPy_END_ALLOW_THREADS; | |
2397 | } Py_INCREF(Py_None); | |
70551f47 RD |
2398 | _resultobj = Py_None; |
2399 | { | |
2400 | if (_obj1) | |
2401 | delete _arg1; | |
2402 | } | |
2403 | return _resultobj; | |
2404 | } | |
2405 | ||
2406 | #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
107e4716 | 2407 | static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2408 | PyObject * _resultobj; |
2409 | wxGrid * _arg0; | |
2410 | int _arg1; | |
2411 | int _arg2; | |
2d091820 | 2412 | PyObject * _argo0 = 0; |
107e4716 | 2413 | char *_kwnames[] = { "self","col","width", NULL }; |
70551f47 RD |
2414 | |
2415 | self = self; | |
107e4716 | 2416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2417 | return NULL; |
2d091820 RD |
2418 | if (_argo0) { |
2419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p."); |
2422 | return NULL; | |
2423 | } | |
2424 | } | |
ab9bc19b RD |
2425 | { |
2426 | wxPy_BEGIN_ALLOW_THREADS; | |
2427 | wxGrid_SetColumnWidth(_arg0,_arg1,_arg2); | |
2428 | ||
2429 | wxPy_END_ALLOW_THREADS; | |
2430 | } Py_INCREF(Py_None); | |
70551f47 RD |
2431 | _resultobj = Py_None; |
2432 | return _resultobj; | |
2433 | } | |
2434 | ||
2435 | #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0)) | |
107e4716 | 2436 | static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2437 | PyObject * _resultobj; |
2438 | wxGrid * _arg0; | |
2439 | wxPen * _arg1; | |
2d091820 RD |
2440 | PyObject * _argo0 = 0; |
2441 | PyObject * _argo1 = 0; | |
107e4716 | 2442 | char *_kwnames[] = { "self","pen", NULL }; |
70551f47 RD |
2443 | |
2444 | self = self; | |
107e4716 | 2445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDividerPen",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2446 | return NULL; |
2d091820 RD |
2447 | if (_argo0) { |
2448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p."); |
2451 | return NULL; | |
2452 | } | |
2453 | } | |
2d091820 RD |
2454 | if (_argo1) { |
2455 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2456 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
70551f47 RD |
2457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p."); |
2458 | return NULL; | |
2459 | } | |
2460 | } | |
ab9bc19b RD |
2461 | { |
2462 | wxPy_BEGIN_ALLOW_THREADS; | |
2463 | wxGrid_SetDividerPen(_arg0,*_arg1); | |
2464 | ||
2465 | wxPy_END_ALLOW_THREADS; | |
2466 | } Py_INCREF(Py_None); | |
70551f47 RD |
2467 | _resultobj = Py_None; |
2468 | return _resultobj; | |
2469 | } | |
2470 | ||
2471 | #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0)) | |
107e4716 | 2472 | static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2473 | PyObject * _resultobj; |
2474 | wxGrid * _arg0; | |
2475 | bool _arg1; | |
2d091820 | 2476 | PyObject * _argo0 = 0; |
70551f47 | 2477 | int tempbool1; |
107e4716 | 2478 | char *_kwnames[] = { "self","editable", NULL }; |
70551f47 RD |
2479 | |
2480 | self = self; | |
107e4716 | 2481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetEditable",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2482 | return NULL; |
2d091820 RD |
2483 | if (_argo0) { |
2484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p."); |
2487 | return NULL; | |
2488 | } | |
2489 | } | |
2490 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2491 | { |
2492 | wxPy_BEGIN_ALLOW_THREADS; | |
2493 | wxGrid_SetEditable(_arg0,_arg1); | |
2494 | ||
2495 | wxPy_END_ALLOW_THREADS; | |
2496 | } Py_INCREF(Py_None); | |
70551f47 RD |
2497 | _resultobj = Py_None; |
2498 | return _resultobj; | |
2499 | } | |
2500 | ||
2501 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
107e4716 | 2502 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2503 | PyObject * _resultobj; |
2504 | wxGrid * _arg0; | |
2505 | int _arg1; | |
2506 | int _arg2; | |
2d091820 | 2507 | PyObject * _argo0 = 0; |
107e4716 | 2508 | char *_kwnames[] = { "self","row","col", NULL }; |
70551f47 RD |
2509 | |
2510 | self = self; | |
107e4716 | 2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2512 | return NULL; |
2d091820 RD |
2513 | if (_argo0) { |
2514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); |
2517 | return NULL; | |
2518 | } | |
2519 | } | |
ab9bc19b RD |
2520 | { |
2521 | wxPy_BEGIN_ALLOW_THREADS; | |
2522 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); | |
2523 | ||
2524 | wxPy_END_ALLOW_THREADS; | |
2525 | } Py_INCREF(Py_None); | |
70551f47 RD |
2526 | _resultobj = Py_None; |
2527 | return _resultobj; | |
2528 | } | |
2529 | ||
2530 | #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1)) | |
107e4716 | 2531 | static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2532 | PyObject * _resultobj; |
2533 | wxGrid * _arg0; | |
2534 | int _arg1; | |
2535 | int _arg2; | |
2d091820 | 2536 | PyObject * _argo0 = 0; |
107e4716 | 2537 | char *_kwnames[] = { "self","orientation","alignment", NULL }; |
70551f47 RD |
2538 | |
2539 | self = self; | |
107e4716 | 2540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2541 | return NULL; |
2d091820 RD |
2542 | if (_argo0) { |
2543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p."); |
2546 | return NULL; | |
2547 | } | |
2548 | } | |
ab9bc19b RD |
2549 | { |
2550 | wxPy_BEGIN_ALLOW_THREADS; | |
2551 | wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2); | |
2552 | ||
2553 | wxPy_END_ALLOW_THREADS; | |
2554 | } Py_INCREF(Py_None); | |
70551f47 RD |
2555 | _resultobj = Py_None; |
2556 | return _resultobj; | |
2557 | } | |
2558 | ||
2559 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
107e4716 | 2560 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2561 | PyObject * _resultobj; |
2562 | wxGrid * _arg0; | |
2563 | wxColour * _arg1; | |
2d091820 RD |
2564 | PyObject * _argo0 = 0; |
2565 | PyObject * _argo1 = 0; | |
107e4716 | 2566 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
2567 | |
2568 | self = self; | |
107e4716 | 2569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2570 | return NULL; |
2d091820 RD |
2571 | if (_argo0) { |
2572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); |
2575 | return NULL; | |
2576 | } | |
2577 | } | |
2d091820 RD |
2578 | if (_argo1) { |
2579 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2580 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p."); |
2582 | return NULL; | |
2583 | } | |
2584 | } | |
ab9bc19b RD |
2585 | { |
2586 | wxPy_BEGIN_ALLOW_THREADS; | |
2587 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); | |
2588 | ||
2589 | wxPy_END_ALLOW_THREADS; | |
2590 | } Py_INCREF(Py_None); | |
70551f47 RD |
2591 | _resultobj = Py_None; |
2592 | return _resultobj; | |
2593 | } | |
2594 | ||
2595 | #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1)) | |
107e4716 | 2596 | static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2597 | PyObject * _resultobj; |
2598 | wxGrid * _arg0; | |
2599 | int _arg1; | |
2600 | int _arg2; | |
2d091820 | 2601 | PyObject * _argo0 = 0; |
107e4716 | 2602 | char *_kwnames[] = { "self","orientation","size", NULL }; |
70551f47 RD |
2603 | |
2604 | self = self; | |
107e4716 | 2605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2606 | return NULL; |
2d091820 RD |
2607 | if (_argo0) { |
2608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p."); |
2611 | return NULL; | |
2612 | } | |
2613 | } | |
ab9bc19b RD |
2614 | { |
2615 | wxPy_BEGIN_ALLOW_THREADS; | |
2616 | wxGrid_SetLabelSize(_arg0,_arg1,_arg2); | |
2617 | ||
2618 | wxPy_END_ALLOW_THREADS; | |
2619 | } Py_INCREF(Py_None); | |
70551f47 RD |
2620 | _resultobj = Py_None; |
2621 | return _resultobj; | |
2622 | } | |
2623 | ||
2624 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
107e4716 | 2625 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2626 | PyObject * _resultobj; |
2627 | wxGrid * _arg0; | |
2628 | wxColour * _arg1; | |
2d091820 RD |
2629 | PyObject * _argo0 = 0; |
2630 | PyObject * _argo1 = 0; | |
107e4716 | 2631 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
2632 | |
2633 | self = self; | |
107e4716 | 2634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2635 | return NULL; |
2d091820 RD |
2636 | if (_argo0) { |
2637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); |
2640 | return NULL; | |
2641 | } | |
2642 | } | |
2d091820 RD |
2643 | if (_argo1) { |
2644 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2645 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p."); |
2647 | return NULL; | |
2648 | } | |
2649 | } | |
ab9bc19b RD |
2650 | { |
2651 | wxPy_BEGIN_ALLOW_THREADS; | |
2652 | wxGrid_SetLabelTextColour(_arg0,*_arg1); | |
2653 | ||
2654 | wxPy_END_ALLOW_THREADS; | |
2655 | } Py_INCREF(Py_None); | |
70551f47 RD |
2656 | _resultobj = Py_None; |
2657 | return _resultobj; | |
2658 | } | |
2659 | ||
2660 | #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0)) | |
107e4716 | 2661 | static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2662 | PyObject * _resultobj; |
2663 | wxGrid * _arg0; | |
2664 | wxFont * _arg1; | |
2d091820 RD |
2665 | PyObject * _argo0 = 0; |
2666 | PyObject * _argo1 = 0; | |
107e4716 | 2667 | char *_kwnames[] = { "self","font", NULL }; |
70551f47 RD |
2668 | |
2669 | self = self; | |
107e4716 | 2670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextFont",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2671 | return NULL; |
2d091820 RD |
2672 | if (_argo0) { |
2673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p."); |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2d091820 RD |
2679 | if (_argo1) { |
2680 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2681 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
2682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p."); |
2683 | return NULL; | |
2684 | } | |
2685 | } | |
ab9bc19b RD |
2686 | { |
2687 | wxPy_BEGIN_ALLOW_THREADS; | |
2688 | wxGrid_SetLabelTextFont(_arg0,*_arg1); | |
2689 | ||
2690 | wxPy_END_ALLOW_THREADS; | |
2691 | } Py_INCREF(Py_None); | |
70551f47 RD |
2692 | _resultobj = Py_None; |
2693 | return _resultobj; | |
2694 | } | |
2695 | ||
2696 | #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2697 | static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2698 | PyObject * _resultobj; |
2699 | wxGrid * _arg0; | |
2700 | int _arg1; | |
2701 | wxString * _arg2; | |
2702 | int _arg3; | |
2d091820 | 2703 | PyObject * _argo0 = 0; |
70551f47 | 2704 | PyObject * _obj2 = 0; |
107e4716 | 2705 | char *_kwnames[] = { "self","orientation","value","pos", NULL }; |
70551f47 RD |
2706 | |
2707 | self = self; | |
107e4716 | 2708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi:wxGrid_SetLabelValue",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
70551f47 | 2709 | return NULL; |
2d091820 RD |
2710 | if (_argo0) { |
2711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p."); |
2714 | return NULL; | |
2715 | } | |
2716 | } | |
2717 | { | |
2718 | if (!PyString_Check(_obj2)) { | |
2719 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2720 | return NULL; | |
2721 | } | |
ab9bc19b | 2722 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
70551f47 | 2723 | } |
ab9bc19b RD |
2724 | { |
2725 | wxPy_BEGIN_ALLOW_THREADS; | |
2726 | wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3); | |
2727 | ||
2728 | wxPy_END_ALLOW_THREADS; | |
2729 | } Py_INCREF(Py_None); | |
70551f47 RD |
2730 | _resultobj = Py_None; |
2731 | { | |
2732 | if (_obj2) | |
2733 | delete _arg2; | |
2734 | } | |
2735 | return _resultobj; | |
2736 | } | |
2737 | ||
2738 | #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1)) | |
107e4716 | 2739 | static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2740 | PyObject * _resultobj; |
2741 | wxGrid * _arg0; | |
2742 | int _arg1; | |
2743 | int _arg2; | |
2d091820 | 2744 | PyObject * _argo0 = 0; |
107e4716 | 2745 | char *_kwnames[] = { "self","row","height", NULL }; |
70551f47 RD |
2746 | |
2747 | self = self; | |
107e4716 | 2748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowHeight",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2749 | return NULL; |
2d091820 RD |
2750 | if (_argo0) { |
2751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p."); |
2754 | return NULL; | |
2755 | } | |
2756 | } | |
ab9bc19b RD |
2757 | { |
2758 | wxPy_BEGIN_ALLOW_THREADS; | |
2759 | wxGrid_SetRowHeight(_arg0,_arg1,_arg2); | |
2760 | ||
2761 | wxPy_END_ALLOW_THREADS; | |
2762 | } Py_INCREF(Py_None); | |
70551f47 RD |
2763 | _resultobj = Py_None; |
2764 | return _resultobj; | |
2765 | } | |
2766 | ||
2767 | #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions()) | |
107e4716 | 2768 | static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2769 | PyObject * _resultobj; |
2770 | wxGrid * _arg0; | |
2d091820 | 2771 | PyObject * _argo0 = 0; |
107e4716 | 2772 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2773 | |
2774 | self = self; | |
107e4716 | 2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_UpdateDimensions",_kwnames,&_argo0)) |
70551f47 | 2776 | return NULL; |
2d091820 RD |
2777 | if (_argo0) { |
2778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
70551f47 RD |
2780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p."); |
2781 | return NULL; | |
2782 | } | |
2783 | } | |
ab9bc19b RD |
2784 | { |
2785 | wxPy_BEGIN_ALLOW_THREADS; | |
2786 | wxGrid_UpdateDimensions(_arg0); | |
2787 | ||
2788 | wxPy_END_ALLOW_THREADS; | |
2789 | } Py_INCREF(Py_None); | |
70551f47 RD |
2790 | _resultobj = Py_None; |
2791 | return _resultobj; | |
2792 | } | |
2793 | ||
8bf5d46e | 2794 | #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace()) |
107e4716 | 2795 | static PyObject *_wrap_wxGrid_GetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
2796 | PyObject * _resultobj; |
2797 | bool _result; | |
2798 | wxGrid * _arg0; | |
2d091820 | 2799 | PyObject * _argo0 = 0; |
107e4716 | 2800 | char *_kwnames[] = { "self", NULL }; |
8bf5d46e RD |
2801 | |
2802 | self = self; | |
107e4716 | 2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditInPlace",_kwnames,&_argo0)) |
8bf5d46e | 2804 | return NULL; |
2d091820 RD |
2805 | if (_argo0) { |
2806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8bf5d46e RD |
2808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p."); |
2809 | return NULL; | |
2810 | } | |
2811 | } | |
2812 | { | |
2813 | wxPy_BEGIN_ALLOW_THREADS; | |
2814 | _result = (bool )wxGrid_GetEditInPlace(_arg0); | |
2815 | ||
2816 | wxPy_END_ALLOW_THREADS; | |
2817 | } _resultobj = Py_BuildValue("i",_result); | |
2818 | return _resultobj; | |
2819 | } | |
2820 | ||
2821 | #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0)) | |
107e4716 | 2822 | static PyObject *_wrap_wxGrid_SetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
2823 | PyObject * _resultobj; |
2824 | wxGrid * _arg0; | |
2d091820 RD |
2825 | int _arg1 = (int ) TRUE; |
2826 | PyObject * _argo0 = 0; | |
107e4716 | 2827 | char *_kwnames[] = { "self","edit", NULL }; |
8bf5d46e RD |
2828 | |
2829 | self = self; | |
107e4716 | 2830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_SetEditInPlace",_kwnames,&_argo0,&_arg1)) |
8bf5d46e | 2831 | return NULL; |
2d091820 RD |
2832 | if (_argo0) { |
2833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8bf5d46e RD |
2835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p."); |
2836 | return NULL; | |
2837 | } | |
2838 | } | |
2839 | { | |
2840 | wxPy_BEGIN_ALLOW_THREADS; | |
2841 | wxGrid_SetEditInPlace(_arg0,_arg1); | |
2842 | ||
2843 | wxPy_END_ALLOW_THREADS; | |
2844 | } Py_INCREF(Py_None); | |
2845 | _resultobj = Py_None; | |
2846 | return _resultobj; | |
2847 | } | |
2848 | ||
105e45b9 RD |
2849 | static void *SwigwxGridEventTowxEvent(void *ptr) { |
2850 | wxGridEvent *src; | |
2851 | wxEvent *dest; | |
2852 | src = (wxGridEvent *) ptr; | |
2853 | dest = (wxEvent *) src; | |
2854 | return (void *) dest; | |
2855 | } | |
2856 | ||
21f8d7ea | 2857 | #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval) |
107e4716 | 2858 | static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
2859 | PyObject * _resultobj; |
2860 | int _result; | |
2861 | wxGridEvent * _arg0; | |
2862 | int _arg1; | |
2d091820 | 2863 | PyObject * _argo0 = 0; |
107e4716 | 2864 | char *_kwnames[] = { "self","m_row", NULL }; |
21f8d7ea RD |
2865 | |
2866 | self = self; | |
107e4716 | 2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_row_set",_kwnames,&_argo0,&_arg1)) |
21f8d7ea | 2868 | return NULL; |
2d091820 RD |
2869 | if (_argo0) { |
2870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
2872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p."); |
2873 | return NULL; | |
2874 | } | |
2875 | } | |
ab9bc19b RD |
2876 | { |
2877 | wxPy_BEGIN_ALLOW_THREADS; | |
2878 | _result = (int )wxGridEvent_m_row_set(_arg0,_arg1); | |
2879 | ||
2880 | wxPy_END_ALLOW_THREADS; | |
2881 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
2882 | return _resultobj; |
2883 | } | |
2884 | ||
105e45b9 | 2885 | #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row) |
107e4716 | 2886 | static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
2887 | PyObject * _resultobj; |
2888 | int _result; | |
2889 | wxGridEvent * _arg0; | |
2d091820 | 2890 | PyObject * _argo0 = 0; |
107e4716 | 2891 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
2892 | |
2893 | self = self; | |
107e4716 | 2894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_row_get",_kwnames,&_argo0)) |
105e45b9 | 2895 | return NULL; |
2d091820 RD |
2896 | if (_argo0) { |
2897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
2899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p."); |
2900 | return NULL; | |
2901 | } | |
2902 | } | |
ab9bc19b RD |
2903 | { |
2904 | wxPy_BEGIN_ALLOW_THREADS; | |
2905 | _result = (int )wxGridEvent_m_row_get(_arg0); | |
2906 | ||
2907 | wxPy_END_ALLOW_THREADS; | |
2908 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
2909 | return _resultobj; |
2910 | } | |
2911 | ||
21f8d7ea | 2912 | #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) |
107e4716 | 2913 | static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
2914 | PyObject * _resultobj; |
2915 | int _result; | |
2916 | wxGridEvent * _arg0; | |
2917 | int _arg1; | |
2d091820 | 2918 | PyObject * _argo0 = 0; |
107e4716 | 2919 | char *_kwnames[] = { "self","m_col", NULL }; |
21f8d7ea RD |
2920 | |
2921 | self = self; | |
107e4716 | 2922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_col_set",_kwnames,&_argo0,&_arg1)) |
21f8d7ea | 2923 | return NULL; |
2d091820 RD |
2924 | if (_argo0) { |
2925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
2927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p."); |
2928 | return NULL; | |
2929 | } | |
2930 | } | |
ab9bc19b RD |
2931 | { |
2932 | wxPy_BEGIN_ALLOW_THREADS; | |
2933 | _result = (int )wxGridEvent_m_col_set(_arg0,_arg1); | |
2934 | ||
2935 | wxPy_END_ALLOW_THREADS; | |
2936 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
2937 | return _resultobj; |
2938 | } | |
2939 | ||
105e45b9 | 2940 | #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) |
107e4716 | 2941 | static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
2942 | PyObject * _resultobj; |
2943 | int _result; | |
2944 | wxGridEvent * _arg0; | |
2d091820 | 2945 | PyObject * _argo0 = 0; |
107e4716 | 2946 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
2947 | |
2948 | self = self; | |
107e4716 | 2949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_col_get",_kwnames,&_argo0)) |
105e45b9 | 2950 | return NULL; |
2d091820 RD |
2951 | if (_argo0) { |
2952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
2954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p."); |
2955 | return NULL; | |
2956 | } | |
2957 | } | |
ab9bc19b RD |
2958 | { |
2959 | wxPy_BEGIN_ALLOW_THREADS; | |
2960 | _result = (int )wxGridEvent_m_col_get(_arg0); | |
2961 | ||
2962 | wxPy_END_ALLOW_THREADS; | |
2963 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
2964 | return _resultobj; |
2965 | } | |
2966 | ||
21f8d7ea | 2967 | #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval) |
107e4716 | 2968 | static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
2969 | PyObject * _resultobj; |
2970 | int _result; | |
2971 | wxGridEvent * _arg0; | |
2972 | int _arg1; | |
2d091820 | 2973 | PyObject * _argo0 = 0; |
107e4716 | 2974 | char *_kwnames[] = { "self","m_x", NULL }; |
21f8d7ea RD |
2975 | |
2976 | self = self; | |
107e4716 | 2977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_x_set",_kwnames,&_argo0,&_arg1)) |
21f8d7ea | 2978 | return NULL; |
2d091820 RD |
2979 | if (_argo0) { |
2980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
2982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p."); |
2983 | return NULL; | |
2984 | } | |
2985 | } | |
ab9bc19b RD |
2986 | { |
2987 | wxPy_BEGIN_ALLOW_THREADS; | |
2988 | _result = (int )wxGridEvent_m_x_set(_arg0,_arg1); | |
2989 | ||
2990 | wxPy_END_ALLOW_THREADS; | |
2991 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
2992 | return _resultobj; |
2993 | } | |
2994 | ||
105e45b9 | 2995 | #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x) |
107e4716 | 2996 | static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
2997 | PyObject * _resultobj; |
2998 | int _result; | |
2999 | wxGridEvent * _arg0; | |
2d091820 | 3000 | PyObject * _argo0 = 0; |
107e4716 | 3001 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
3002 | |
3003 | self = self; | |
107e4716 | 3004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_x_get",_kwnames,&_argo0)) |
105e45b9 | 3005 | return NULL; |
2d091820 RD |
3006 | if (_argo0) { |
3007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
3009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p."); |
3010 | return NULL; | |
3011 | } | |
3012 | } | |
ab9bc19b RD |
3013 | { |
3014 | wxPy_BEGIN_ALLOW_THREADS; | |
3015 | _result = (int )wxGridEvent_m_x_get(_arg0); | |
3016 | ||
3017 | wxPy_END_ALLOW_THREADS; | |
3018 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
3019 | return _resultobj; |
3020 | } | |
3021 | ||
21f8d7ea | 3022 | #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval) |
107e4716 | 3023 | static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
3024 | PyObject * _resultobj; |
3025 | int _result; | |
3026 | wxGridEvent * _arg0; | |
3027 | int _arg1; | |
2d091820 | 3028 | PyObject * _argo0 = 0; |
107e4716 | 3029 | char *_kwnames[] = { "self","m_y", NULL }; |
21f8d7ea RD |
3030 | |
3031 | self = self; | |
107e4716 | 3032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_y_set",_kwnames,&_argo0,&_arg1)) |
21f8d7ea | 3033 | return NULL; |
2d091820 RD |
3034 | if (_argo0) { |
3035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
3037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p."); |
3038 | return NULL; | |
3039 | } | |
3040 | } | |
ab9bc19b RD |
3041 | { |
3042 | wxPy_BEGIN_ALLOW_THREADS; | |
3043 | _result = (int )wxGridEvent_m_y_set(_arg0,_arg1); | |
3044 | ||
3045 | wxPy_END_ALLOW_THREADS; | |
3046 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
3047 | return _resultobj; |
3048 | } | |
3049 | ||
105e45b9 | 3050 | #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y) |
107e4716 | 3051 | static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
3052 | PyObject * _resultobj; |
3053 | int _result; | |
3054 | wxGridEvent * _arg0; | |
2d091820 | 3055 | PyObject * _argo0 = 0; |
107e4716 | 3056 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
3057 | |
3058 | self = self; | |
107e4716 | 3059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_y_get",_kwnames,&_argo0)) |
105e45b9 | 3060 | return NULL; |
2d091820 RD |
3061 | if (_argo0) { |
3062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
3064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p."); |
3065 | return NULL; | |
3066 | } | |
3067 | } | |
ab9bc19b RD |
3068 | { |
3069 | wxPy_BEGIN_ALLOW_THREADS; | |
3070 | _result = (int )wxGridEvent_m_y_get(_arg0); | |
3071 | ||
3072 | wxPy_END_ALLOW_THREADS; | |
3073 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
3074 | return _resultobj; |
3075 | } | |
3076 | ||
21f8d7ea | 3077 | #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval) |
107e4716 | 3078 | static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
3079 | PyObject * _resultobj; |
3080 | bool _result; | |
3081 | wxGridEvent * _arg0; | |
3082 | bool _arg1; | |
2d091820 | 3083 | PyObject * _argo0 = 0; |
21f8d7ea | 3084 | int tempbool1; |
107e4716 | 3085 | char *_kwnames[] = { "self","m_control", NULL }; |
21f8d7ea RD |
3086 | |
3087 | self = self; | |
107e4716 | 3088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_control_set",_kwnames,&_argo0,&tempbool1)) |
21f8d7ea | 3089 | return NULL; |
2d091820 RD |
3090 | if (_argo0) { |
3091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
3093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p."); |
3094 | return NULL; | |
3095 | } | |
3096 | } | |
3097 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3098 | { |
3099 | wxPy_BEGIN_ALLOW_THREADS; | |
3100 | _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1); | |
3101 | ||
3102 | wxPy_END_ALLOW_THREADS; | |
3103 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
3104 | return _resultobj; |
3105 | } | |
3106 | ||
105e45b9 | 3107 | #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control) |
107e4716 | 3108 | static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
3109 | PyObject * _resultobj; |
3110 | bool _result; | |
3111 | wxGridEvent * _arg0; | |
2d091820 | 3112 | PyObject * _argo0 = 0; |
107e4716 | 3113 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
3114 | |
3115 | self = self; | |
107e4716 | 3116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_control_get",_kwnames,&_argo0)) |
105e45b9 | 3117 | return NULL; |
2d091820 RD |
3118 | if (_argo0) { |
3119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
3121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p."); |
3122 | return NULL; | |
3123 | } | |
3124 | } | |
ab9bc19b RD |
3125 | { |
3126 | wxPy_BEGIN_ALLOW_THREADS; | |
3127 | _result = (bool )wxGridEvent_m_control_get(_arg0); | |
3128 | ||
3129 | wxPy_END_ALLOW_THREADS; | |
3130 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
3131 | return _resultobj; |
3132 | } | |
3133 | ||
21f8d7ea | 3134 | #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval) |
107e4716 | 3135 | static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
3136 | PyObject * _resultobj; |
3137 | bool _result; | |
3138 | wxGridEvent * _arg0; | |
3139 | bool _arg1; | |
2d091820 | 3140 | PyObject * _argo0 = 0; |
21f8d7ea | 3141 | int tempbool1; |
107e4716 | 3142 | char *_kwnames[] = { "self","m_shift", NULL }; |
21f8d7ea RD |
3143 | |
3144 | self = self; | |
107e4716 | 3145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_shift_set",_kwnames,&_argo0,&tempbool1)) |
21f8d7ea | 3146 | return NULL; |
2d091820 RD |
3147 | if (_argo0) { |
3148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p."); |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3155 | { |
3156 | wxPy_BEGIN_ALLOW_THREADS; | |
3157 | _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1); | |
3158 | ||
3159 | wxPy_END_ALLOW_THREADS; | |
3160 | } _resultobj = Py_BuildValue("i",_result); | |
21f8d7ea RD |
3161 | return _resultobj; |
3162 | } | |
3163 | ||
105e45b9 | 3164 | #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift) |
107e4716 | 3165 | static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
3166 | PyObject * _resultobj; |
3167 | bool _result; | |
3168 | wxGridEvent * _arg0; | |
2d091820 | 3169 | PyObject * _argo0 = 0; |
107e4716 | 3170 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
3171 | |
3172 | self = self; | |
107e4716 | 3173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_shift_get",_kwnames,&_argo0)) |
105e45b9 | 3174 | return NULL; |
2d091820 RD |
3175 | if (_argo0) { |
3176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
3178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p."); |
3179 | return NULL; | |
3180 | } | |
3181 | } | |
ab9bc19b RD |
3182 | { |
3183 | wxPy_BEGIN_ALLOW_THREADS; | |
3184 | _result = (bool )wxGridEvent_m_shift_get(_arg0); | |
3185 | ||
3186 | wxPy_END_ALLOW_THREADS; | |
3187 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
3188 | return _resultobj; |
3189 | } | |
3190 | ||
21f8d7ea | 3191 | #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval) |
107e4716 | 3192 | static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
21f8d7ea RD |
3193 | PyObject * _resultobj; |
3194 | wxGridCell * _result; | |
3195 | wxGridEvent * _arg0; | |
3196 | wxGridCell * _arg1; | |
2d091820 RD |
3197 | PyObject * _argo0 = 0; |
3198 | PyObject * _argo1 = 0; | |
107e4716 | 3199 | char *_kwnames[] = { "self","m_cell", NULL }; |
21f8d7ea RD |
3200 | char _ptemp[128]; |
3201 | ||
3202 | self = self; | |
107e4716 | 3203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEvent_m_cell_set",_kwnames,&_argo0,&_argo1)) |
21f8d7ea | 3204 | return NULL; |
2d091820 RD |
3205 | if (_argo0) { |
3206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
21f8d7ea RD |
3208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p."); |
3209 | return NULL; | |
3210 | } | |
3211 | } | |
2d091820 RD |
3212 | if (_argo1) { |
3213 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3214 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCell_p")) { | |
21f8d7ea RD |
3215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p."); |
3216 | return NULL; | |
3217 | } | |
3218 | } | |
ab9bc19b RD |
3219 | { |
3220 | wxPy_BEGIN_ALLOW_THREADS; | |
3221 | _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1); | |
3222 | ||
3223 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3224 | } if (_result) { |
3225 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
3226 | _resultobj = Py_BuildValue("s",_ptemp); | |
3227 | } else { | |
3228 | Py_INCREF(Py_None); | |
3229 | _resultobj = Py_None; | |
3230 | } | |
21f8d7ea RD |
3231 | return _resultobj; |
3232 | } | |
3233 | ||
105e45b9 | 3234 | #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell) |
107e4716 | 3235 | static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
3236 | PyObject * _resultobj; |
3237 | wxGridCell * _result; | |
3238 | wxGridEvent * _arg0; | |
2d091820 | 3239 | PyObject * _argo0 = 0; |
107e4716 | 3240 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
3241 | char _ptemp[128]; |
3242 | ||
3243 | self = self; | |
107e4716 | 3244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_cell_get",_kwnames,&_argo0)) |
105e45b9 | 3245 | return NULL; |
2d091820 RD |
3246 | if (_argo0) { |
3247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
105e45b9 RD |
3249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p."); |
3250 | return NULL; | |
3251 | } | |
3252 | } | |
ab9bc19b RD |
3253 | { |
3254 | wxPy_BEGIN_ALLOW_THREADS; | |
3255 | _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0); | |
3256 | ||
3257 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3258 | } if (_result) { |
3259 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
3260 | _resultobj = Py_BuildValue("s",_ptemp); | |
3261 | } else { | |
3262 | Py_INCREF(Py_None); | |
3263 | _resultobj = Py_None; | |
3264 | } | |
105e45b9 RD |
3265 | return _resultobj; |
3266 | } | |
3267 | ||
3f0be3ec | 3268 | #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow()) |
107e4716 | 3269 | static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3270 | PyObject * _resultobj; |
3271 | int _result; | |
3272 | wxGridEvent * _arg0; | |
2d091820 | 3273 | PyObject * _argo0 = 0; |
107e4716 | 3274 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3275 | |
3276 | self = self; | |
107e4716 | 3277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0)) |
3f0be3ec | 3278 | return NULL; |
2d091820 RD |
3279 | if (_argo0) { |
3280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p."); |
3283 | return NULL; | |
3284 | } | |
3285 | } | |
3286 | { | |
3287 | wxPy_BEGIN_ALLOW_THREADS; | |
3288 | _result = (int )wxGridEvent_GetRow(_arg0); | |
3289 | ||
3290 | wxPy_END_ALLOW_THREADS; | |
3291 | } _resultobj = Py_BuildValue("i",_result); | |
3292 | return _resultobj; | |
3293 | } | |
3294 | ||
3295 | #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
107e4716 | 3296 | static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3297 | PyObject * _resultobj; |
3298 | int _result; | |
3299 | wxGridEvent * _arg0; | |
2d091820 | 3300 | PyObject * _argo0 = 0; |
107e4716 | 3301 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3302 | |
3303 | self = self; | |
107e4716 | 3304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0)) |
3f0be3ec | 3305 | return NULL; |
2d091820 RD |
3306 | if (_argo0) { |
3307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p."); |
3310 | return NULL; | |
3311 | } | |
3312 | } | |
3313 | { | |
3314 | wxPy_BEGIN_ALLOW_THREADS; | |
3315 | _result = (int )wxGridEvent_GetCol(_arg0); | |
3316 | ||
3317 | wxPy_END_ALLOW_THREADS; | |
3318 | } _resultobj = Py_BuildValue("i",_result); | |
3319 | return _resultobj; | |
3320 | } | |
3321 | ||
3322 | #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 3323 | static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3324 | PyObject * _resultobj; |
3325 | wxPoint * _result; | |
3326 | wxGridEvent * _arg0; | |
2d091820 | 3327 | PyObject * _argo0 = 0; |
107e4716 | 3328 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3329 | char _ptemp[128]; |
3330 | ||
3331 | self = self; | |
107e4716 | 3332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0)) |
3f0be3ec | 3333 | return NULL; |
2d091820 RD |
3334 | if (_argo0) { |
3335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p."); |
3338 | return NULL; | |
3339 | } | |
3340 | } | |
3341 | { | |
3342 | wxPy_BEGIN_ALLOW_THREADS; | |
3343 | _result = new wxPoint (wxGridEvent_GetPosition(_arg0)); | |
3344 | ||
3345 | wxPy_END_ALLOW_THREADS; | |
3346 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
3347 | _resultobj = Py_BuildValue("s",_ptemp); | |
3348 | return _resultobj; | |
3349 | } | |
3350 | ||
3351 | #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
107e4716 | 3352 | static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3353 | PyObject * _resultobj; |
3354 | bool _result; | |
3355 | wxGridEvent * _arg0; | |
2d091820 | 3356 | PyObject * _argo0 = 0; |
107e4716 | 3357 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3358 | |
3359 | self = self; | |
107e4716 | 3360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0)) |
3f0be3ec | 3361 | return NULL; |
2d091820 RD |
3362 | if (_argo0) { |
3363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p."); |
3366 | return NULL; | |
3367 | } | |
3368 | } | |
3369 | { | |
3370 | wxPy_BEGIN_ALLOW_THREADS; | |
3371 | _result = (bool )wxGridEvent_ControlDown(_arg0); | |
3372 | ||
3373 | wxPy_END_ALLOW_THREADS; | |
3374 | } _resultobj = Py_BuildValue("i",_result); | |
3375 | return _resultobj; | |
3376 | } | |
3377 | ||
3378 | #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
107e4716 | 3379 | static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3380 | PyObject * _resultobj; |
3381 | bool _result; | |
3382 | wxGridEvent * _arg0; | |
2d091820 | 3383 | PyObject * _argo0 = 0; |
107e4716 | 3384 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3385 | |
3386 | self = self; | |
107e4716 | 3387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0)) |
3f0be3ec | 3388 | return NULL; |
2d091820 RD |
3389 | if (_argo0) { |
3390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p."); |
3393 | return NULL; | |
3394 | } | |
3395 | } | |
3396 | { | |
3397 | wxPy_BEGIN_ALLOW_THREADS; | |
3398 | _result = (bool )wxGridEvent_ShiftDown(_arg0); | |
3399 | ||
3400 | wxPy_END_ALLOW_THREADS; | |
3401 | } _resultobj = Py_BuildValue("i",_result); | |
3402 | return _resultobj; | |
3403 | } | |
3404 | ||
3405 | #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell()) | |
107e4716 | 3406 | static PyObject *_wrap_wxGridEvent_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) { |
3f0be3ec RD |
3407 | PyObject * _resultobj; |
3408 | wxGridCell * _result; | |
3409 | wxGridEvent * _arg0; | |
2d091820 | 3410 | PyObject * _argo0 = 0; |
107e4716 | 3411 | char *_kwnames[] = { "self", NULL }; |
3f0be3ec RD |
3412 | char _ptemp[128]; |
3413 | ||
3414 | self = self; | |
107e4716 | 3415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCell",_kwnames,&_argo0)) |
3f0be3ec | 3416 | return NULL; |
2d091820 RD |
3417 | if (_argo0) { |
3418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
3f0be3ec RD |
3420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p."); |
3421 | return NULL; | |
3422 | } | |
3423 | } | |
3424 | { | |
3425 | wxPy_BEGIN_ALLOW_THREADS; | |
3426 | _result = (wxGridCell *)wxGridEvent_GetCell(_arg0); | |
3427 | ||
3428 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3429 | } if (_result) { |
3430 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
3431 | _resultobj = Py_BuildValue("s",_ptemp); | |
3432 | } else { | |
3433 | Py_INCREF(Py_None); | |
3434 | _resultobj = Py_None; | |
3435 | } | |
3f0be3ec RD |
3436 | return _resultobj; |
3437 | } | |
3438 | ||
d24a34bb RD |
3439 | static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) { |
3440 | wxNotebookEvent *src; | |
3441 | wxNotifyEvent *dest; | |
3442 | src = (wxNotebookEvent *) ptr; | |
3443 | dest = (wxNotifyEvent *) src; | |
3444 | return (void *) dest; | |
3445 | } | |
3446 | ||
70551f47 RD |
3447 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { |
3448 | wxNotebookEvent *src; | |
3449 | wxCommandEvent *dest; | |
3450 | src = (wxNotebookEvent *) ptr; | |
3451 | dest = (wxCommandEvent *) src; | |
3452 | return (void *) dest; | |
3453 | } | |
3454 | ||
3455 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
3456 | wxNotebookEvent *src; | |
3457 | wxEvent *dest; | |
3458 | src = (wxNotebookEvent *) ptr; | |
3459 | dest = (wxEvent *) src; | |
3460 | return (void *) dest; | |
3461 | } | |
3462 | ||
3463 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 3464 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3465 | PyObject * _resultobj; |
3466 | int _result; | |
3467 | wxNotebookEvent * _arg0; | |
2d091820 | 3468 | PyObject * _argo0 = 0; |
107e4716 | 3469 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3470 | |
3471 | self = self; | |
107e4716 | 3472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0)) |
70551f47 | 3473 | return NULL; |
2d091820 RD |
3474 | if (_argo0) { |
3475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
70551f47 RD |
3477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); |
3478 | return NULL; | |
3479 | } | |
3480 | } | |
ab9bc19b RD |
3481 | { |
3482 | wxPy_BEGIN_ALLOW_THREADS; | |
3483 | _result = (int )wxNotebookEvent_GetSelection(_arg0); | |
3484 | ||
3485 | wxPy_END_ALLOW_THREADS; | |
3486 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3487 | return _resultobj; |
3488 | } | |
3489 | ||
3490 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
107e4716 | 3491 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3492 | PyObject * _resultobj; |
3493 | int _result; | |
3494 | wxNotebookEvent * _arg0; | |
2d091820 | 3495 | PyObject * _argo0 = 0; |
107e4716 | 3496 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3497 | |
3498 | self = self; | |
107e4716 | 3499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0)) |
70551f47 | 3500 | return NULL; |
2d091820 RD |
3501 | if (_argo0) { |
3502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
70551f47 RD |
3504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); |
3505 | return NULL; | |
3506 | } | |
3507 | } | |
ab9bc19b RD |
3508 | { |
3509 | wxPy_BEGIN_ALLOW_THREADS; | |
3510 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); | |
3511 | ||
3512 | wxPy_END_ALLOW_THREADS; | |
3513 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3514 | return _resultobj; |
3515 | } | |
3516 | ||
d24a34bb | 3517 | #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0)) |
107e4716 | 3518 | static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3519 | PyObject * _resultobj; |
3520 | wxNotebookEvent * _arg0; | |
3521 | int _arg1; | |
2d091820 | 3522 | PyObject * _argo0 = 0; |
107e4716 | 3523 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3524 | |
3525 | self = self; | |
107e4716 | 3526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3527 | return NULL; |
2d091820 RD |
3528 | if (_argo0) { |
3529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
d24a34bb RD |
3531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p."); |
3532 | return NULL; | |
3533 | } | |
3534 | } | |
3535 | { | |
3536 | wxPy_BEGIN_ALLOW_THREADS; | |
3537 | wxNotebookEvent_SetOldSelection(_arg0,_arg1); | |
3538 | ||
3539 | wxPy_END_ALLOW_THREADS; | |
3540 | } Py_INCREF(Py_None); | |
3541 | _resultobj = Py_None; | |
3542 | return _resultobj; | |
3543 | } | |
3544 | ||
3545 | #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
107e4716 | 3546 | static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3547 | PyObject * _resultobj; |
3548 | wxNotebookEvent * _arg0; | |
3549 | int _arg1; | |
2d091820 | 3550 | PyObject * _argo0 = 0; |
107e4716 | 3551 | char *_kwnames[] = { "self","page", NULL }; |
d24a34bb RD |
3552 | |
3553 | self = self; | |
107e4716 | 3554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 3555 | return NULL; |
2d091820 RD |
3556 | if (_argo0) { |
3557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
d24a34bb RD |
3559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p."); |
3560 | return NULL; | |
3561 | } | |
3562 | } | |
3563 | { | |
3564 | wxPy_BEGIN_ALLOW_THREADS; | |
3565 | wxNotebookEvent_SetSelection(_arg0,_arg1); | |
3566 | ||
3567 | wxPy_END_ALLOW_THREADS; | |
3568 | } Py_INCREF(Py_None); | |
3569 | _resultobj = Py_None; | |
3570 | return _resultobj; | |
3571 | } | |
3572 | ||
70551f47 RD |
3573 | static void *SwigwxNotebookTowxControl(void *ptr) { |
3574 | wxNotebook *src; | |
3575 | wxControl *dest; | |
3576 | src = (wxNotebook *) ptr; | |
3577 | dest = (wxControl *) src; | |
3578 | return (void *) dest; | |
3579 | } | |
3580 | ||
3581 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
3582 | wxNotebook *src; | |
3583 | wxWindow *dest; | |
3584 | src = (wxNotebook *) ptr; | |
3585 | dest = (wxWindow *) src; | |
3586 | return (void *) dest; | |
3587 | } | |
3588 | ||
3589 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
3590 | wxNotebook *src; | |
3591 | wxEvtHandler *dest; | |
3592 | src = (wxNotebook *) ptr; | |
3593 | dest = (wxEvtHandler *) src; | |
3594 | return (void *) dest; | |
3595 | } | |
3596 | ||
3597 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
107e4716 | 3598 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3599 | PyObject * _resultobj; |
3600 | wxNotebook * _result; | |
3601 | wxWindow * _arg0; | |
3602 | wxWindowID _arg1; | |
2d091820 RD |
3603 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
3604 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
3605 | long _arg4 = (long ) 0; | |
3606 | char * _arg5 = (char *) "notebook"; | |
3607 | PyObject * _argo0 = 0; | |
37f6a977 RD |
3608 | wxPoint temp; |
3609 | PyObject * _obj2 = 0; | |
3610 | wxSize temp0; | |
3611 | PyObject * _obj3 = 0; | |
107e4716 | 3612 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
70551f47 RD |
3613 | char _ptemp[128]; |
3614 | ||
3615 | self = self; | |
37f6a977 | 3616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
70551f47 | 3617 | return NULL; |
2d091820 RD |
3618 | if (_argo0) { |
3619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
3621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); |
3622 | return NULL; | |
3623 | } | |
3624 | } | |
37f6a977 RD |
3625 | if (_obj2) |
3626 | { | |
3627 | _arg2 = &temp; | |
3628 | if (! wxPoint_helper(_obj2, &_arg2)) | |
70551f47 | 3629 | return NULL; |
37f6a977 RD |
3630 | } |
3631 | if (_obj3) | |
3632 | { | |
3633 | _arg3 = &temp0; | |
3634 | if (! wxSize_helper(_obj3, &_arg3)) | |
70551f47 | 3635 | return NULL; |
37f6a977 | 3636 | } |
ab9bc19b RD |
3637 | { |
3638 | wxPy_BEGIN_ALLOW_THREADS; | |
3639 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
3640 | ||
3641 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3642 | } if (_result) { |
3643 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
3644 | _resultobj = Py_BuildValue("s",_ptemp); | |
3645 | } else { | |
3646 | Py_INCREF(Py_None); | |
3647 | _resultobj = Py_None; | |
3648 | } | |
70551f47 RD |
3649 | return _resultobj; |
3650 | } | |
3651 | ||
3652 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
107e4716 | 3653 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3654 | PyObject * _resultobj; |
3655 | int _result; | |
3656 | wxNotebook * _arg0; | |
2d091820 | 3657 | PyObject * _argo0 = 0; |
107e4716 | 3658 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3659 | |
3660 | self = self; | |
107e4716 | 3661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0)) |
70551f47 | 3662 | return NULL; |
2d091820 RD |
3663 | if (_argo0) { |
3664 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3665 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); |
3667 | return NULL; | |
3668 | } | |
3669 | } | |
ab9bc19b RD |
3670 | { |
3671 | wxPy_BEGIN_ALLOW_THREADS; | |
3672 | _result = (int )wxNotebook_GetPageCount(_arg0); | |
3673 | ||
3674 | wxPy_END_ALLOW_THREADS; | |
3675 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3676 | return _resultobj; |
3677 | } | |
3678 | ||
3679 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
107e4716 | 3680 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3681 | PyObject * _resultobj; |
3682 | int _result; | |
3683 | wxNotebook * _arg0; | |
3684 | int _arg1; | |
2d091820 | 3685 | PyObject * _argo0 = 0; |
107e4716 | 3686 | char *_kwnames[] = { "self","nPage", NULL }; |
70551f47 RD |
3687 | |
3688 | self = self; | |
107e4716 | 3689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3690 | return NULL; |
2d091820 RD |
3691 | if (_argo0) { |
3692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); |
3695 | return NULL; | |
3696 | } | |
3697 | } | |
ab9bc19b RD |
3698 | { |
3699 | wxPy_BEGIN_ALLOW_THREADS; | |
3700 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); | |
3701 | ||
3702 | wxPy_END_ALLOW_THREADS; | |
3703 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3704 | return _resultobj; |
3705 | } | |
3706 | ||
3707 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
107e4716 | 3708 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3709 | PyObject * _resultobj; |
3710 | wxNotebook * _arg0; | |
2d091820 RD |
3711 | bool _arg1 = (bool ) TRUE; |
3712 | PyObject * _argo0 = 0; | |
3713 | int tempbool1 = (int) TRUE; | |
107e4716 | 3714 | char *_kwnames[] = { "self","bForward", NULL }; |
70551f47 RD |
3715 | |
3716 | self = self; | |
107e4716 | 3717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 3718 | return NULL; |
2d091820 RD |
3719 | if (_argo0) { |
3720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); |
3723 | return NULL; | |
3724 | } | |
3725 | } | |
3726 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3727 | { |
3728 | wxPy_BEGIN_ALLOW_THREADS; | |
3729 | wxNotebook_AdvanceSelection(_arg0,_arg1); | |
3730 | ||
3731 | wxPy_END_ALLOW_THREADS; | |
3732 | } Py_INCREF(Py_None); | |
70551f47 RD |
3733 | _resultobj = Py_None; |
3734 | return _resultobj; | |
3735 | } | |
3736 | ||
3737 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 3738 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3739 | PyObject * _resultobj; |
3740 | int _result; | |
3741 | wxNotebook * _arg0; | |
2d091820 | 3742 | PyObject * _argo0 = 0; |
107e4716 | 3743 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3744 | |
3745 | self = self; | |
107e4716 | 3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0)) |
70551f47 | 3747 | return NULL; |
2d091820 RD |
3748 | if (_argo0) { |
3749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); |
3752 | return NULL; | |
3753 | } | |
3754 | } | |
ab9bc19b RD |
3755 | { |
3756 | wxPy_BEGIN_ALLOW_THREADS; | |
3757 | _result = (int )wxNotebook_GetSelection(_arg0); | |
3758 | ||
3759 | wxPy_END_ALLOW_THREADS; | |
3760 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3761 | return _resultobj; |
3762 | } | |
3763 | ||
3764 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
107e4716 | 3765 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3766 | PyObject * _resultobj; |
3767 | bool _result; | |
3768 | wxNotebook * _arg0; | |
3769 | int _arg1; | |
3770 | wxString * _arg2; | |
2d091820 | 3771 | PyObject * _argo0 = 0; |
70551f47 | 3772 | PyObject * _obj2 = 0; |
107e4716 | 3773 | char *_kwnames[] = { "self","nPage","strText", NULL }; |
70551f47 RD |
3774 | |
3775 | self = self; | |
107e4716 | 3776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2)) |
70551f47 | 3777 | return NULL; |
2d091820 RD |
3778 | if (_argo0) { |
3779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); |
3782 | return NULL; | |
3783 | } | |
3784 | } | |
3785 | { | |
3786 | if (!PyString_Check(_obj2)) { | |
3787 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3788 | return NULL; | |
3789 | } | |
ab9bc19b | 3790 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
70551f47 | 3791 | } |
ab9bc19b RD |
3792 | { |
3793 | wxPy_BEGIN_ALLOW_THREADS; | |
3794 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); | |
3795 | ||
3796 | wxPy_END_ALLOW_THREADS; | |
3797 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3798 | { |
3799 | if (_obj2) | |
3800 | delete _arg2; | |
3801 | } | |
3802 | return _resultobj; | |
3803 | } | |
3804 | ||
3805 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
107e4716 | 3806 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3807 | PyObject * _resultobj; |
3808 | wxString * _result; | |
3809 | wxNotebook * _arg0; | |
3810 | int _arg1; | |
2d091820 | 3811 | PyObject * _argo0 = 0; |
107e4716 | 3812 | char *_kwnames[] = { "self","nPage", NULL }; |
70551f47 RD |
3813 | |
3814 | self = self; | |
107e4716 | 3815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3816 | return NULL; |
2d091820 RD |
3817 | if (_argo0) { |
3818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); |
3821 | return NULL; | |
3822 | } | |
3823 | } | |
70551f47 | 3824 | { |
ab9bc19b RD |
3825 | wxPy_BEGIN_ALLOW_THREADS; |
3826 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); | |
3827 | ||
3828 | wxPy_END_ALLOW_THREADS; | |
3829 | }{ | |
70551f47 RD |
3830 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
3831 | } | |
3832 | { | |
3833 | delete _result; | |
3834 | } | |
3835 | return _resultobj; | |
3836 | } | |
3837 | ||
3838 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
107e4716 | 3839 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3840 | PyObject * _resultobj; |
3841 | wxNotebook * _arg0; | |
3842 | wxImageList * _arg1; | |
2d091820 RD |
3843 | PyObject * _argo0 = 0; |
3844 | PyObject * _argo1 = 0; | |
107e4716 | 3845 | char *_kwnames[] = { "self","imageList", NULL }; |
70551f47 RD |
3846 | |
3847 | self = self; | |
107e4716 | 3848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1)) |
70551f47 | 3849 | return NULL; |
2d091820 RD |
3850 | if (_argo0) { |
3851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); |
3854 | return NULL; | |
3855 | } | |
3856 | } | |
2d091820 RD |
3857 | if (_argo1) { |
3858 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3859 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
70551f47 RD |
3860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); |
3861 | return NULL; | |
3862 | } | |
3863 | } | |
ab9bc19b RD |
3864 | { |
3865 | wxPy_BEGIN_ALLOW_THREADS; | |
3866 | wxNotebook_SetImageList(_arg0,_arg1); | |
3867 | ||
3868 | wxPy_END_ALLOW_THREADS; | |
3869 | } Py_INCREF(Py_None); | |
70551f47 RD |
3870 | _resultobj = Py_None; |
3871 | return _resultobj; | |
3872 | } | |
3873 | ||
3874 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
107e4716 | 3875 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3876 | PyObject * _resultobj; |
3877 | wxImageList * _result; | |
3878 | wxNotebook * _arg0; | |
2d091820 | 3879 | PyObject * _argo0 = 0; |
107e4716 | 3880 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3881 | char _ptemp[128]; |
3882 | ||
3883 | self = self; | |
107e4716 | 3884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0)) |
70551f47 | 3885 | return NULL; |
2d091820 RD |
3886 | if (_argo0) { |
3887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); |
3890 | return NULL; | |
3891 | } | |
3892 | } | |
ab9bc19b RD |
3893 | { |
3894 | wxPy_BEGIN_ALLOW_THREADS; | |
3895 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); | |
3896 | ||
3897 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3898 | } if (_result) { |
3899 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3900 | _resultobj = Py_BuildValue("s",_ptemp); | |
3901 | } else { | |
3902 | Py_INCREF(Py_None); | |
3903 | _resultobj = Py_None; | |
3904 | } | |
70551f47 RD |
3905 | return _resultobj; |
3906 | } | |
3907 | ||
3908 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
107e4716 | 3909 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3910 | PyObject * _resultobj; |
3911 | int _result; | |
3912 | wxNotebook * _arg0; | |
3913 | int _arg1; | |
2d091820 | 3914 | PyObject * _argo0 = 0; |
107e4716 | 3915 | char *_kwnames[] = { "self","nPage", NULL }; |
70551f47 RD |
3916 | |
3917 | self = self; | |
107e4716 | 3918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3919 | return NULL; |
2d091820 RD |
3920 | if (_argo0) { |
3921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); |
3924 | return NULL; | |
3925 | } | |
3926 | } | |
ab9bc19b RD |
3927 | { |
3928 | wxPy_BEGIN_ALLOW_THREADS; | |
3929 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); | |
3930 | ||
3931 | wxPy_END_ALLOW_THREADS; | |
3932 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3933 | return _resultobj; |
3934 | } | |
3935 | ||
3936 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
107e4716 | 3937 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3938 | PyObject * _resultobj; |
3939 | bool _result; | |
3940 | wxNotebook * _arg0; | |
3941 | int _arg1; | |
3942 | int _arg2; | |
2d091820 | 3943 | PyObject * _argo0 = 0; |
107e4716 | 3944 | char *_kwnames[] = { "self","nPage","nImage", NULL }; |
70551f47 RD |
3945 | |
3946 | self = self; | |
107e4716 | 3947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 3948 | return NULL; |
2d091820 RD |
3949 | if (_argo0) { |
3950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); |
3953 | return NULL; | |
3954 | } | |
3955 | } | |
ab9bc19b RD |
3956 | { |
3957 | wxPy_BEGIN_ALLOW_THREADS; | |
3958 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); | |
3959 | ||
3960 | wxPy_END_ALLOW_THREADS; | |
3961 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3962 | return _resultobj; |
3963 | } | |
3964 | ||
3965 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
107e4716 | 3966 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3967 | PyObject * _resultobj; |
3968 | int _result; | |
3969 | wxNotebook * _arg0; | |
2d091820 | 3970 | PyObject * _argo0 = 0; |
107e4716 | 3971 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3972 | |
3973 | self = self; | |
107e4716 | 3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0)) |
70551f47 | 3975 | return NULL; |
2d091820 RD |
3976 | if (_argo0) { |
3977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
3979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); |
3980 | return NULL; | |
3981 | } | |
3982 | } | |
ab9bc19b RD |
3983 | { |
3984 | wxPy_BEGIN_ALLOW_THREADS; | |
3985 | _result = (int )wxNotebook_GetRowCount(_arg0); | |
3986 | ||
3987 | wxPy_END_ALLOW_THREADS; | |
3988 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3989 | return _resultobj; |
3990 | } | |
3991 | ||
3992 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) | |
107e4716 | 3993 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3994 | PyObject * _resultobj; |
3995 | bool _result; | |
3996 | wxNotebook * _arg0; | |
3997 | int _arg1; | |
2d091820 | 3998 | PyObject * _argo0 = 0; |
107e4716 | 3999 | char *_kwnames[] = { "self","nPage", NULL }; |
70551f47 RD |
4000 | |
4001 | self = self; | |
107e4716 | 4002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1)) |
70551f47 | 4003 | return NULL; |
2d091820 RD |
4004 | if (_argo0) { |
4005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
4007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); |
4008 | return NULL; | |
4009 | } | |
4010 | } | |
ab9bc19b RD |
4011 | { |
4012 | wxPy_BEGIN_ALLOW_THREADS; | |
4013 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); | |
4014 | ||
4015 | wxPy_END_ALLOW_THREADS; | |
4016 | } _resultobj = Py_BuildValue("i",_result); | |
4017 | return _resultobj; | |
4018 | } | |
4019 | ||
4020 | #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0)) | |
107e4716 | 4021 | static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
4022 | PyObject * _resultobj; |
4023 | bool _result; | |
4024 | wxNotebook * _arg0; | |
4025 | int _arg1; | |
2d091820 | 4026 | PyObject * _argo0 = 0; |
107e4716 | 4027 | char *_kwnames[] = { "self","nPage", NULL }; |
ab9bc19b RD |
4028 | |
4029 | self = self; | |
107e4716 | 4030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1)) |
ab9bc19b | 4031 | return NULL; |
2d091820 RD |
4032 | if (_argo0) { |
4033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
ab9bc19b RD |
4035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p."); |
4036 | return NULL; | |
4037 | } | |
4038 | } | |
4039 | { | |
4040 | wxPy_BEGIN_ALLOW_THREADS; | |
4041 | _result = (bool )wxNotebook_RemovePage(_arg0,_arg1); | |
4042 | ||
4043 | wxPy_END_ALLOW_THREADS; | |
4044 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4045 | return _resultobj; |
4046 | } | |
4047 | ||
4048 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
107e4716 | 4049 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4050 | PyObject * _resultobj; |
4051 | bool _result; | |
4052 | wxNotebook * _arg0; | |
2d091820 | 4053 | PyObject * _argo0 = 0; |
107e4716 | 4054 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4055 | |
4056 | self = self; | |
107e4716 | 4057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0)) |
70551f47 | 4058 | return NULL; |
2d091820 RD |
4059 | if (_argo0) { |
4060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
4062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); |
4063 | return NULL; | |
4064 | } | |
4065 | } | |
ab9bc19b RD |
4066 | { |
4067 | wxPy_BEGIN_ALLOW_THREADS; | |
4068 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); | |
4069 | ||
4070 | wxPy_END_ALLOW_THREADS; | |
4071 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4072 | return _resultobj; |
4073 | } | |
4074 | ||
4075 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
107e4716 | 4076 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4077 | PyObject * _resultobj; |
4078 | bool _result; | |
4079 | wxNotebook * _arg0; | |
4080 | wxWindow * _arg1; | |
4081 | wxString * _arg2; | |
2d091820 RD |
4082 | int _arg3 = (int ) FALSE; |
4083 | int _arg4 = (int ) -1; | |
4084 | PyObject * _argo0 = 0; | |
4085 | PyObject * _argo1 = 0; | |
70551f47 | 4086 | PyObject * _obj2 = 0; |
107e4716 | 4087 | char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL }; |
70551f47 RD |
4088 | |
4089 | self = self; | |
107e4716 | 4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4)) |
70551f47 | 4091 | return NULL; |
2d091820 RD |
4092 | if (_argo0) { |
4093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
4095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); |
4096 | return NULL; | |
4097 | } | |
4098 | } | |
2d091820 RD |
4099 | if (_argo1) { |
4100 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4101 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
70551f47 RD |
4102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); |
4103 | return NULL; | |
4104 | } | |
4105 | } | |
4106 | { | |
4107 | if (!PyString_Check(_obj2)) { | |
4108 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4109 | return NULL; | |
4110 | } | |
ab9bc19b | 4111 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
70551f47 | 4112 | } |
ab9bc19b RD |
4113 | { |
4114 | wxPy_BEGIN_ALLOW_THREADS; | |
4115 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
4116 | ||
4117 | wxPy_END_ALLOW_THREADS; | |
4118 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4119 | { |
4120 | if (_obj2) | |
4121 | delete _arg2; | |
4122 | } | |
4123 | return _resultobj; | |
4124 | } | |
4125 | ||
4126 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) | |
107e4716 | 4127 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 4128 | PyObject * _resultobj; |
d24a34bb | 4129 | wxWindow * _result; |
70551f47 RD |
4130 | wxNotebook * _arg0; |
4131 | int _arg1; | |
2d091820 | 4132 | PyObject * _argo0 = 0; |
107e4716 | 4133 | char *_kwnames[] = { "self","nPage", NULL }; |
70551f47 RD |
4134 | char _ptemp[128]; |
4135 | ||
4136 | self = self; | |
107e4716 | 4137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1)) |
70551f47 | 4138 | return NULL; |
2d091820 RD |
4139 | if (_argo0) { |
4140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
70551f47 RD |
4142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); |
4143 | return NULL; | |
4144 | } | |
4145 | } | |
ab9bc19b RD |
4146 | { |
4147 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 4148 | _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1); |
ab9bc19b RD |
4149 | |
4150 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4151 | } if (_result) { |
4152 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4153 | _resultobj = Py_BuildValue("s",_ptemp); | |
4154 | } else { | |
4155 | Py_INCREF(Py_None); | |
4156 | _resultobj = Py_None; | |
4157 | } | |
70551f47 RD |
4158 | return _resultobj; |
4159 | } | |
4160 | ||
ab9bc19b RD |
4161 | static void wxNotebook_ResizeChildren(wxNotebook *self) { |
4162 | wxSizeEvent evt(self->GetClientSize()); | |
4cd9591a | 4163 | self->GetEventHandler()->ProcessEvent(evt); |
ab9bc19b | 4164 | } |
107e4716 | 4165 | static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
4166 | PyObject * _resultobj; |
4167 | wxNotebook * _arg0; | |
2d091820 | 4168 | PyObject * _argo0 = 0; |
107e4716 | 4169 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
4170 | |
4171 | self = self; | |
107e4716 | 4172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0)) |
ab9bc19b | 4173 | return NULL; |
2d091820 RD |
4174 | if (_argo0) { |
4175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
ab9bc19b RD |
4177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p."); |
4178 | return NULL; | |
4179 | } | |
4180 | } | |
4181 | { | |
4182 | wxPy_BEGIN_ALLOW_THREADS; | |
4183 | wxNotebook_ResizeChildren(_arg0); | |
4184 | ||
4185 | wxPy_END_ALLOW_THREADS; | |
4186 | } Py_INCREF(Py_None); | |
4187 | _resultobj = Py_None; | |
4188 | return _resultobj; | |
4189 | } | |
4190 | ||
d24a34bb RD |
4191 | static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) { |
4192 | wxSplitterEvent *src; | |
4193 | wxCommandEvent *dest; | |
4194 | src = (wxSplitterEvent *) ptr; | |
4195 | dest = (wxCommandEvent *) src; | |
4196 | return (void *) dest; | |
4197 | } | |
4198 | ||
4199 | static void *SwigwxSplitterEventTowxEvent(void *ptr) { | |
4200 | wxSplitterEvent *src; | |
4201 | wxEvent *dest; | |
4202 | src = (wxSplitterEvent *) ptr; | |
4203 | dest = (wxEvent *) src; | |
4204 | return (void *) dest; | |
4205 | } | |
4206 | ||
4207 | #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
107e4716 | 4208 | static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4209 | PyObject * _resultobj; |
4210 | int _result; | |
4211 | wxSplitterEvent * _arg0; | |
2d091820 | 4212 | PyObject * _argo0 = 0; |
107e4716 | 4213 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4214 | |
4215 | self = self; | |
107e4716 | 4216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0)) |
d24a34bb | 4217 | return NULL; |
2d091820 RD |
4218 | if (_argo0) { |
4219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
d24a34bb RD |
4221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p."); |
4222 | return NULL; | |
4223 | } | |
4224 | } | |
4225 | { | |
4226 | wxPy_BEGIN_ALLOW_THREADS; | |
4227 | _result = (int )wxSplitterEvent_GetSashPosition(_arg0); | |
4228 | ||
4229 | wxPy_END_ALLOW_THREADS; | |
4230 | } _resultobj = Py_BuildValue("i",_result); | |
4231 | return _resultobj; | |
4232 | } | |
4233 | ||
4234 | #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX()) | |
107e4716 | 4235 | static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4236 | PyObject * _resultobj; |
4237 | int _result; | |
4238 | wxSplitterEvent * _arg0; | |
2d091820 | 4239 | PyObject * _argo0 = 0; |
107e4716 | 4240 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4241 | |
4242 | self = self; | |
107e4716 | 4243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0)) |
d24a34bb | 4244 | return NULL; |
2d091820 RD |
4245 | if (_argo0) { |
4246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
d24a34bb RD |
4248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p."); |
4249 | return NULL; | |
4250 | } | |
4251 | } | |
4252 | { | |
4253 | wxPy_BEGIN_ALLOW_THREADS; | |
4254 | _result = (int )wxSplitterEvent_GetX(_arg0); | |
4255 | ||
4256 | wxPy_END_ALLOW_THREADS; | |
4257 | } _resultobj = Py_BuildValue("i",_result); | |
4258 | return _resultobj; | |
4259 | } | |
4260 | ||
4261 | #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY()) | |
107e4716 | 4262 | static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4263 | PyObject * _resultobj; |
4264 | int _result; | |
4265 | wxSplitterEvent * _arg0; | |
2d091820 | 4266 | PyObject * _argo0 = 0; |
107e4716 | 4267 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4268 | |
4269 | self = self; | |
107e4716 | 4270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0)) |
d24a34bb | 4271 | return NULL; |
2d091820 RD |
4272 | if (_argo0) { |
4273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
d24a34bb RD |
4275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p."); |
4276 | return NULL; | |
4277 | } | |
4278 | } | |
4279 | { | |
4280 | wxPy_BEGIN_ALLOW_THREADS; | |
4281 | _result = (int )wxSplitterEvent_GetY(_arg0); | |
4282 | ||
4283 | wxPy_END_ALLOW_THREADS; | |
4284 | } _resultobj = Py_BuildValue("i",_result); | |
4285 | return _resultobj; | |
4286 | } | |
4287 | ||
4288 | #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved()) | |
107e4716 | 4289 | static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4290 | PyObject * _resultobj; |
4291 | wxWindow * _result; | |
4292 | wxSplitterEvent * _arg0; | |
2d091820 | 4293 | PyObject * _argo0 = 0; |
107e4716 | 4294 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
4295 | char _ptemp[128]; |
4296 | ||
4297 | self = self; | |
107e4716 | 4298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0)) |
d24a34bb | 4299 | return NULL; |
2d091820 RD |
4300 | if (_argo0) { |
4301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
d24a34bb RD |
4303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p."); |
4304 | return NULL; | |
4305 | } | |
4306 | } | |
4307 | { | |
4308 | wxPy_BEGIN_ALLOW_THREADS; | |
4309 | _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0); | |
4310 | ||
4311 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4312 | } if (_result) { |
4313 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4314 | _resultobj = Py_BuildValue("s",_ptemp); | |
4315 | } else { | |
4316 | Py_INCREF(Py_None); | |
4317 | _resultobj = Py_None; | |
4318 | } | |
d24a34bb RD |
4319 | return _resultobj; |
4320 | } | |
4321 | ||
4322 | #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0)) | |
107e4716 | 4323 | static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
4324 | PyObject * _resultobj; |
4325 | wxSplitterEvent * _arg0; | |
4326 | int _arg1; | |
2d091820 | 4327 | PyObject * _argo0 = 0; |
107e4716 | 4328 | char *_kwnames[] = { "self","pos", NULL }; |
d24a34bb RD |
4329 | |
4330 | self = self; | |
107e4716 | 4331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1)) |
d24a34bb | 4332 | return NULL; |
2d091820 RD |
4333 | if (_argo0) { |
4334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
d24a34bb RD |
4336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p."); |
4337 | return NULL; | |
4338 | } | |
4339 | } | |
4340 | { | |
4341 | wxPy_BEGIN_ALLOW_THREADS; | |
4342 | wxSplitterEvent_SetSashPosition(_arg0,_arg1); | |
4343 | ||
4344 | wxPy_END_ALLOW_THREADS; | |
4345 | } Py_INCREF(Py_None); | |
4346 | _resultobj = Py_None; | |
4347 | return _resultobj; | |
4348 | } | |
4349 | ||
b26e2dc4 RD |
4350 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { |
4351 | wxSplitterWindow *src; | |
4352 | wxWindow *dest; | |
4353 | src = (wxSplitterWindow *) ptr; | |
4354 | dest = (wxWindow *) src; | |
4355 | return (void *) dest; | |
4356 | } | |
4357 | ||
4358 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
4359 | wxSplitterWindow *src; | |
4360 | wxEvtHandler *dest; | |
4361 | src = (wxSplitterWindow *) ptr; | |
4362 | dest = (wxEvtHandler *) src; | |
4363 | return (void *) dest; | |
4364 | } | |
4365 | ||
4366 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
107e4716 | 4367 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4368 | PyObject * _resultobj; |
4369 | wxSplitterWindow * _result; | |
4370 | wxWindow * _arg0; | |
4371 | wxWindowID _arg1; | |
2d091820 RD |
4372 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
4373 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
4374 | long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN; | |
4375 | char * _arg5 = (char *) "splitterWindow"; | |
4376 | PyObject * _argo0 = 0; | |
37f6a977 RD |
4377 | wxPoint temp; |
4378 | PyObject * _obj2 = 0; | |
4379 | wxSize temp0; | |
4380 | PyObject * _obj3 = 0; | |
107e4716 | 4381 | char *_kwnames[] = { "parent","id","point","size","style","name", NULL }; |
b26e2dc4 RD |
4382 | char _ptemp[128]; |
4383 | ||
4384 | self = self; | |
37f6a977 | 4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
b26e2dc4 | 4386 | return NULL; |
2d091820 RD |
4387 | if (_argo0) { |
4388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
b26e2dc4 RD |
4390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); |
4391 | return NULL; | |
4392 | } | |
4393 | } | |
37f6a977 RD |
4394 | if (_obj2) |
4395 | { | |
4396 | _arg2 = &temp; | |
4397 | if (! wxPoint_helper(_obj2, &_arg2)) | |
b26e2dc4 | 4398 | return NULL; |
37f6a977 RD |
4399 | } |
4400 | if (_obj3) | |
4401 | { | |
4402 | _arg3 = &temp0; | |
4403 | if (! wxSize_helper(_obj3, &_arg3)) | |
b26e2dc4 | 4404 | return NULL; |
37f6a977 | 4405 | } |
ab9bc19b RD |
4406 | { |
4407 | wxPy_BEGIN_ALLOW_THREADS; | |
4408 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
4409 | ||
4410 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4411 | } if (_result) { |
4412 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
4413 | _resultobj = Py_BuildValue("s",_ptemp); | |
4414 | } else { | |
4415 | Py_INCREF(Py_None); | |
4416 | _resultobj = Py_None; | |
4417 | } | |
b26e2dc4 RD |
4418 | return _resultobj; |
4419 | } | |
4420 | ||
105e45b9 | 4421 | #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize()) |
107e4716 | 4422 | static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
4423 | PyObject * _resultobj; |
4424 | int _result; | |
4425 | wxSplitterWindow * _arg0; | |
2d091820 | 4426 | PyObject * _argo0 = 0; |
107e4716 | 4427 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
4428 | |
4429 | self = self; | |
107e4716 | 4430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0)) |
105e45b9 | 4431 | return NULL; |
2d091820 RD |
4432 | if (_argo0) { |
4433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
105e45b9 RD |
4435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p."); |
4436 | return NULL; | |
4437 | } | |
4438 | } | |
ab9bc19b RD |
4439 | { |
4440 | wxPy_BEGIN_ALLOW_THREADS; | |
4441 | _result = (int )wxSplitterWindow_GetBorderSize(_arg0); | |
4442 | ||
4443 | wxPy_END_ALLOW_THREADS; | |
4444 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
4445 | return _resultobj; |
4446 | } | |
4447 | ||
b26e2dc4 | 4448 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) |
107e4716 | 4449 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4450 | PyObject * _resultobj; |
4451 | int _result; | |
4452 | wxSplitterWindow * _arg0; | |
2d091820 | 4453 | PyObject * _argo0 = 0; |
107e4716 | 4454 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4455 | |
4456 | self = self; | |
107e4716 | 4457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0)) |
b26e2dc4 | 4458 | return NULL; |
2d091820 RD |
4459 | if (_argo0) { |
4460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); |
4463 | return NULL; | |
4464 | } | |
4465 | } | |
ab9bc19b RD |
4466 | { |
4467 | wxPy_BEGIN_ALLOW_THREADS; | |
4468 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); | |
4469 | ||
4470 | wxPy_END_ALLOW_THREADS; | |
4471 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4472 | return _resultobj; |
4473 | } | |
4474 | ||
4475 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
107e4716 | 4476 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4477 | PyObject * _resultobj; |
4478 | int _result; | |
4479 | wxSplitterWindow * _arg0; | |
2d091820 | 4480 | PyObject * _argo0 = 0; |
107e4716 | 4481 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4482 | |
4483 | self = self; | |
107e4716 | 4484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0)) |
b26e2dc4 | 4485 | return NULL; |
2d091820 RD |
4486 | if (_argo0) { |
4487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); |
4490 | return NULL; | |
4491 | } | |
4492 | } | |
ab9bc19b RD |
4493 | { |
4494 | wxPy_BEGIN_ALLOW_THREADS; | |
4495 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); | |
4496 | ||
4497 | wxPy_END_ALLOW_THREADS; | |
4498 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4499 | return _resultobj; |
4500 | } | |
4501 | ||
105e45b9 | 4502 | #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize()) |
107e4716 | 4503 | static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
4504 | PyObject * _resultobj; |
4505 | int _result; | |
4506 | wxSplitterWindow * _arg0; | |
2d091820 | 4507 | PyObject * _argo0 = 0; |
107e4716 | 4508 | char *_kwnames[] = { "self", NULL }; |
105e45b9 RD |
4509 | |
4510 | self = self; | |
107e4716 | 4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0)) |
105e45b9 | 4512 | return NULL; |
2d091820 RD |
4513 | if (_argo0) { |
4514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
105e45b9 RD |
4516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p."); |
4517 | return NULL; | |
4518 | } | |
4519 | } | |
ab9bc19b RD |
4520 | { |
4521 | wxPy_BEGIN_ALLOW_THREADS; | |
4522 | _result = (int )wxSplitterWindow_GetSashSize(_arg0); | |
4523 | ||
4524 | wxPy_END_ALLOW_THREADS; | |
4525 | } _resultobj = Py_BuildValue("i",_result); | |
105e45b9 RD |
4526 | return _resultobj; |
4527 | } | |
4528 | ||
b26e2dc4 | 4529 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) |
107e4716 | 4530 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4531 | PyObject * _resultobj; |
4532 | int _result; | |
4533 | wxSplitterWindow * _arg0; | |
2d091820 | 4534 | PyObject * _argo0 = 0; |
107e4716 | 4535 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4536 | |
4537 | self = self; | |
107e4716 | 4538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0)) |
b26e2dc4 | 4539 | return NULL; |
2d091820 RD |
4540 | if (_argo0) { |
4541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); |
4544 | return NULL; | |
4545 | } | |
4546 | } | |
ab9bc19b RD |
4547 | { |
4548 | wxPy_BEGIN_ALLOW_THREADS; | |
4549 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); | |
4550 | ||
4551 | wxPy_END_ALLOW_THREADS; | |
4552 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4553 | return _resultobj; |
4554 | } | |
4555 | ||
4556 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
107e4716 | 4557 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4558 | PyObject * _resultobj; |
4559 | wxWindow * _result; | |
4560 | wxSplitterWindow * _arg0; | |
2d091820 | 4561 | PyObject * _argo0 = 0; |
107e4716 | 4562 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4563 | char _ptemp[128]; |
4564 | ||
4565 | self = self; | |
107e4716 | 4566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0)) |
b26e2dc4 | 4567 | return NULL; |
2d091820 RD |
4568 | if (_argo0) { |
4569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); |
4572 | return NULL; | |
4573 | } | |
4574 | } | |
ab9bc19b RD |
4575 | { |
4576 | wxPy_BEGIN_ALLOW_THREADS; | |
4577 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); | |
4578 | ||
4579 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4580 | } if (_result) { |
4581 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4582 | _resultobj = Py_BuildValue("s",_ptemp); | |
4583 | } else { | |
4584 | Py_INCREF(Py_None); | |
4585 | _resultobj = Py_None; | |
4586 | } | |
b26e2dc4 RD |
4587 | return _resultobj; |
4588 | } | |
4589 | ||
4590 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
107e4716 | 4591 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4592 | PyObject * _resultobj; |
4593 | wxWindow * _result; | |
4594 | wxSplitterWindow * _arg0; | |
2d091820 | 4595 | PyObject * _argo0 = 0; |
107e4716 | 4596 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4597 | char _ptemp[128]; |
4598 | ||
4599 | self = self; | |
107e4716 | 4600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0)) |
b26e2dc4 | 4601 | return NULL; |
2d091820 RD |
4602 | if (_argo0) { |
4603 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4604 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); |
4606 | return NULL; | |
4607 | } | |
4608 | } | |
ab9bc19b RD |
4609 | { |
4610 | wxPy_BEGIN_ALLOW_THREADS; | |
4611 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); | |
4612 | ||
4613 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4614 | } if (_result) { |
4615 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4616 | _resultobj = Py_BuildValue("s",_ptemp); | |
4617 | } else { | |
4618 | Py_INCREF(Py_None); | |
4619 | _resultobj = Py_None; | |
4620 | } | |
b26e2dc4 RD |
4621 | return _resultobj; |
4622 | } | |
4623 | ||
4624 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
107e4716 | 4625 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4626 | PyObject * _resultobj; |
4627 | wxSplitterWindow * _arg0; | |
4628 | wxWindow * _arg1; | |
2d091820 RD |
4629 | PyObject * _argo0 = 0; |
4630 | PyObject * _argo1 = 0; | |
107e4716 | 4631 | char *_kwnames[] = { "self","window", NULL }; |
b26e2dc4 RD |
4632 | |
4633 | self = self; | |
107e4716 | 4634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1)) |
b26e2dc4 | 4635 | return NULL; |
2d091820 RD |
4636 | if (_argo0) { |
4637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); |
4640 | return NULL; | |
4641 | } | |
4642 | } | |
2d091820 RD |
4643 | if (_argo1) { |
4644 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4645 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
b26e2dc4 RD |
4646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); |
4647 | return NULL; | |
4648 | } | |
4649 | } | |
ab9bc19b RD |
4650 | { |
4651 | wxPy_BEGIN_ALLOW_THREADS; | |
4652 | wxSplitterWindow_Initialize(_arg0,_arg1); | |
4653 | ||
4654 | wxPy_END_ALLOW_THREADS; | |
4655 | } Py_INCREF(Py_None); | |
b26e2dc4 RD |
4656 | _resultobj = Py_None; |
4657 | return _resultobj; | |
4658 | } | |
4659 | ||
4660 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
107e4716 | 4661 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4662 | PyObject * _resultobj; |
4663 | bool _result; | |
4664 | wxSplitterWindow * _arg0; | |
2d091820 | 4665 | PyObject * _argo0 = 0; |
107e4716 | 4666 | char *_kwnames[] = { "self", NULL }; |
b26e2dc4 RD |
4667 | |
4668 | self = self; | |
107e4716 | 4669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0)) |
b26e2dc4 | 4670 | return NULL; |
2d091820 RD |
4671 | if (_argo0) { |
4672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); |
4675 | return NULL; | |
4676 | } | |
4677 | } | |
ab9bc19b RD |
4678 | { |
4679 | wxPy_BEGIN_ALLOW_THREADS; | |
4680 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); | |
4681 | ||
4682 | wxPy_END_ALLOW_THREADS; | |
4683 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4684 | return _resultobj; |
4685 | } | |
4686 | ||
105e45b9 | 4687 | #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0)) |
107e4716 | 4688 | static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
4689 | PyObject * _resultobj; |
4690 | wxSplitterWindow * _arg0; | |
4691 | int _arg1; | |
2d091820 | 4692 | PyObject * _argo0 = 0; |
107e4716 | 4693 | char *_kwnames[] = { "self","width", NULL }; |
105e45b9 RD |
4694 | |
4695 | self = self; | |
107e4716 | 4696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1)) |
105e45b9 | 4697 | return NULL; |
2d091820 RD |
4698 | if (_argo0) { |
4699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
105e45b9 RD |
4701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p."); |
4702 | return NULL; | |
4703 | } | |
4704 | } | |
ab9bc19b RD |
4705 | { |
4706 | wxPy_BEGIN_ALLOW_THREADS; | |
4707 | wxSplitterWindow_SetBorderSize(_arg0,_arg1); | |
4708 | ||
4709 | wxPy_END_ALLOW_THREADS; | |
4710 | } Py_INCREF(Py_None); | |
105e45b9 RD |
4711 | _resultobj = Py_None; |
4712 | return _resultobj; | |
4713 | } | |
4714 | ||
b26e2dc4 | 4715 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) |
107e4716 | 4716 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4717 | PyObject * _resultobj; |
4718 | wxSplitterWindow * _arg0; | |
4719 | int _arg1; | |
2d091820 RD |
4720 | int _arg2 = (int ) TRUE; |
4721 | PyObject * _argo0 = 0; | |
107e4716 | 4722 | char *_kwnames[] = { "self","position","redraw", NULL }; |
b26e2dc4 RD |
4723 | |
4724 | self = self; | |
107e4716 | 4725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
b26e2dc4 | 4726 | return NULL; |
2d091820 RD |
4727 | if (_argo0) { |
4728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); |
4731 | return NULL; | |
4732 | } | |
4733 | } | |
ab9bc19b RD |
4734 | { |
4735 | wxPy_BEGIN_ALLOW_THREADS; | |
4736 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); | |
4737 | ||
4738 | wxPy_END_ALLOW_THREADS; | |
4739 | } Py_INCREF(Py_None); | |
b26e2dc4 RD |
4740 | _resultobj = Py_None; |
4741 | return _resultobj; | |
4742 | } | |
4743 | ||
105e45b9 | 4744 | #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0)) |
107e4716 | 4745 | static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
4746 | PyObject * _resultobj; |
4747 | wxSplitterWindow * _arg0; | |
4748 | int _arg1; | |
2d091820 | 4749 | PyObject * _argo0 = 0; |
107e4716 | 4750 | char *_kwnames[] = { "self","width", NULL }; |
105e45b9 RD |
4751 | |
4752 | self = self; | |
107e4716 | 4753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1)) |
105e45b9 | 4754 | return NULL; |
2d091820 RD |
4755 | if (_argo0) { |
4756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
105e45b9 RD |
4758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p."); |
4759 | return NULL; | |
4760 | } | |
4761 | } | |
ab9bc19b RD |
4762 | { |
4763 | wxPy_BEGIN_ALLOW_THREADS; | |
4764 | wxSplitterWindow_SetSashSize(_arg0,_arg1); | |
4765 | ||
4766 | wxPy_END_ALLOW_THREADS; | |
4767 | } Py_INCREF(Py_None); | |
105e45b9 RD |
4768 | _resultobj = Py_None; |
4769 | return _resultobj; | |
4770 | } | |
4771 | ||
b26e2dc4 | 4772 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) |
107e4716 | 4773 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4774 | PyObject * _resultobj; |
4775 | wxSplitterWindow * _arg0; | |
4776 | int _arg1; | |
2d091820 | 4777 | PyObject * _argo0 = 0; |
107e4716 | 4778 | char *_kwnames[] = { "self","paneSize", NULL }; |
b26e2dc4 RD |
4779 | |
4780 | self = self; | |
107e4716 | 4781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1)) |
b26e2dc4 | 4782 | return NULL; |
2d091820 RD |
4783 | if (_argo0) { |
4784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); |
4787 | return NULL; | |
4788 | } | |
4789 | } | |
ab9bc19b RD |
4790 | { |
4791 | wxPy_BEGIN_ALLOW_THREADS; | |
4792 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); | |
4793 | ||
4794 | wxPy_END_ALLOW_THREADS; | |
4795 | } Py_INCREF(Py_None); | |
b26e2dc4 RD |
4796 | _resultobj = Py_None; |
4797 | return _resultobj; | |
4798 | } | |
4799 | ||
4800 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
107e4716 | 4801 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4802 | PyObject * _resultobj; |
4803 | wxSplitterWindow * _arg0; | |
4804 | int _arg1; | |
2d091820 | 4805 | PyObject * _argo0 = 0; |
107e4716 | 4806 | char *_kwnames[] = { "self","mode", NULL }; |
b26e2dc4 RD |
4807 | |
4808 | self = self; | |
107e4716 | 4809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1)) |
b26e2dc4 | 4810 | return NULL; |
2d091820 RD |
4811 | if (_argo0) { |
4812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); |
4815 | return NULL; | |
4816 | } | |
4817 | } | |
ab9bc19b RD |
4818 | { |
4819 | wxPy_BEGIN_ALLOW_THREADS; | |
4820 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); | |
4821 | ||
4822 | wxPy_END_ALLOW_THREADS; | |
4823 | } Py_INCREF(Py_None); | |
b26e2dc4 RD |
4824 | _resultobj = Py_None; |
4825 | return _resultobj; | |
4826 | } | |
4827 | ||
4828 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4829 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4830 | PyObject * _resultobj; |
4831 | bool _result; | |
4832 | wxSplitterWindow * _arg0; | |
4833 | wxWindow * _arg1; | |
4834 | wxWindow * _arg2; | |
2d091820 RD |
4835 | int _arg3 = (int ) 0; |
4836 | PyObject * _argo0 = 0; | |
4837 | PyObject * _argo1 = 0; | |
4838 | PyObject * _argo2 = 0; | |
107e4716 | 4839 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; |
b26e2dc4 RD |
4840 | |
4841 | self = self; | |
107e4716 | 4842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
b26e2dc4 | 4843 | return NULL; |
2d091820 RD |
4844 | if (_argo0) { |
4845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); |
4848 | return NULL; | |
4849 | } | |
4850 | } | |
2d091820 RD |
4851 | if (_argo1) { |
4852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
b26e2dc4 RD |
4854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); |
4855 | return NULL; | |
4856 | } | |
4857 | } | |
2d091820 RD |
4858 | if (_argo2) { |
4859 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4860 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
b26e2dc4 RD |
4861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); |
4862 | return NULL; | |
4863 | } | |
4864 | } | |
ab9bc19b RD |
4865 | { |
4866 | wxPy_BEGIN_ALLOW_THREADS; | |
4867 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); | |
4868 | ||
4869 | wxPy_END_ALLOW_THREADS; | |
4870 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4871 | return _resultobj; |
4872 | } | |
4873 | ||
4874 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4875 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4876 | PyObject * _resultobj; |
4877 | bool _result; | |
4878 | wxSplitterWindow * _arg0; | |
4879 | wxWindow * _arg1; | |
4880 | wxWindow * _arg2; | |
2d091820 RD |
4881 | int _arg3 = (int ) 0; |
4882 | PyObject * _argo0 = 0; | |
4883 | PyObject * _argo1 = 0; | |
4884 | PyObject * _argo2 = 0; | |
107e4716 | 4885 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; |
b26e2dc4 RD |
4886 | |
4887 | self = self; | |
107e4716 | 4888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
b26e2dc4 | 4889 | return NULL; |
2d091820 RD |
4890 | if (_argo0) { |
4891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); |
4894 | return NULL; | |
4895 | } | |
4896 | } | |
2d091820 RD |
4897 | if (_argo1) { |
4898 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4899 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
b26e2dc4 RD |
4900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); |
4901 | return NULL; | |
4902 | } | |
4903 | } | |
2d091820 RD |
4904 | if (_argo2) { |
4905 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4906 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
b26e2dc4 RD |
4907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); |
4908 | return NULL; | |
4909 | } | |
4910 | } | |
ab9bc19b RD |
4911 | { |
4912 | wxPy_BEGIN_ALLOW_THREADS; | |
4913 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); | |
4914 | ||
4915 | wxPy_END_ALLOW_THREADS; | |
4916 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4917 | return _resultobj; |
4918 | } | |
4919 | ||
4920 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
107e4716 | 4921 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
b26e2dc4 RD |
4922 | PyObject * _resultobj; |
4923 | bool _result; | |
4924 | wxSplitterWindow * _arg0; | |
2d091820 RD |
4925 | wxWindow * _arg1 = (wxWindow *) NULL; |
4926 | PyObject * _argo0 = 0; | |
4927 | PyObject * _argo1 = 0; | |
107e4716 | 4928 | char *_kwnames[] = { "self","toRemove", NULL }; |
b26e2dc4 RD |
4929 | |
4930 | self = self; | |
107e4716 | 4931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1)) |
b26e2dc4 | 4932 | return NULL; |
2d091820 RD |
4933 | if (_argo0) { |
4934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b26e2dc4 RD |
4936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); |
4937 | return NULL; | |
4938 | } | |
4939 | } | |
2d091820 RD |
4940 | if (_argo1) { |
4941 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4942 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
b26e2dc4 RD |
4943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); |
4944 | return NULL; | |
4945 | } | |
4946 | } | |
ab9bc19b RD |
4947 | { |
4948 | wxPy_BEGIN_ALLOW_THREADS; | |
4949 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); | |
4950 | ||
4951 | wxPy_END_ALLOW_THREADS; | |
4952 | } _resultobj = Py_BuildValue("i",_result); | |
b26e2dc4 RD |
4953 | return _resultobj; |
4954 | } | |
4955 | ||
70551f47 | 4956 | static PyMethodDef windows2cMethods[] = { |
107e4716 RD |
4957 | { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, |
4958 | { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
4959 | { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
4960 | { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
4961 | { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
4962 | { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
4963 | { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4964 | { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
4965 | { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
4966 | { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
4967 | { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
4968 | { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
4969 | { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
4970 | { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
4971 | { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4972 | { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
4973 | { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
4974 | { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
4975 | { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4976 | { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
4977 | { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
4978 | { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
4979 | { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4980 | { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS }, | |
4981 | { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
4982 | { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS }, | |
4983 | { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS }, | |
4984 | { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS }, | |
4985 | { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS }, | |
4986 | { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS }, | |
4987 | { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
4988 | { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
4989 | { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
4990 | { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
4991 | { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS }, | |
4992 | { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS }, | |
4993 | { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
4994 | { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS }, | |
4995 | { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
4996 | { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS }, | |
4997 | { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS }, | |
4998 | { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
4999 | { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
5000 | { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
5001 | { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
5002 | { "wxGridEvent_GetCell", (PyCFunction) _wrap_wxGridEvent_GetCell, METH_VARARGS | METH_KEYWORDS }, | |
5003 | { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
5004 | { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
5005 | { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
5006 | { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
5007 | { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
5008 | { "wxGridEvent_m_cell_get", (PyCFunction) _wrap_wxGridEvent_m_cell_get, METH_VARARGS | METH_KEYWORDS }, | |
5009 | { "wxGridEvent_m_cell_set", (PyCFunction) _wrap_wxGridEvent_m_cell_set, METH_VARARGS | METH_KEYWORDS }, | |
5010 | { "wxGridEvent_m_shift_get", (PyCFunction) _wrap_wxGridEvent_m_shift_get, METH_VARARGS | METH_KEYWORDS }, | |
5011 | { "wxGridEvent_m_shift_set", (PyCFunction) _wrap_wxGridEvent_m_shift_set, METH_VARARGS | METH_KEYWORDS }, | |
5012 | { "wxGridEvent_m_control_get", (PyCFunction) _wrap_wxGridEvent_m_control_get, METH_VARARGS | METH_KEYWORDS }, | |
5013 | { "wxGridEvent_m_control_set", (PyCFunction) _wrap_wxGridEvent_m_control_set, METH_VARARGS | METH_KEYWORDS }, | |
5014 | { "wxGridEvent_m_y_get", (PyCFunction) _wrap_wxGridEvent_m_y_get, METH_VARARGS | METH_KEYWORDS }, | |
5015 | { "wxGridEvent_m_y_set", (PyCFunction) _wrap_wxGridEvent_m_y_set, METH_VARARGS | METH_KEYWORDS }, | |
5016 | { "wxGridEvent_m_x_get", (PyCFunction) _wrap_wxGridEvent_m_x_get, METH_VARARGS | METH_KEYWORDS }, | |
5017 | { "wxGridEvent_m_x_set", (PyCFunction) _wrap_wxGridEvent_m_x_set, METH_VARARGS | METH_KEYWORDS }, | |
5018 | { "wxGridEvent_m_col_get", (PyCFunction) _wrap_wxGridEvent_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
5019 | { "wxGridEvent_m_col_set", (PyCFunction) _wrap_wxGridEvent_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
5020 | { "wxGridEvent_m_row_get", (PyCFunction) _wrap_wxGridEvent_m_row_get, METH_VARARGS | METH_KEYWORDS }, | |
5021 | { "wxGridEvent_m_row_set", (PyCFunction) _wrap_wxGridEvent_m_row_set, METH_VARARGS | METH_KEYWORDS }, | |
5022 | { "wxGrid_SetEditInPlace", (PyCFunction) _wrap_wxGrid_SetEditInPlace, METH_VARARGS | METH_KEYWORDS }, | |
5023 | { "wxGrid_GetEditInPlace", (PyCFunction) _wrap_wxGrid_GetEditInPlace, METH_VARARGS | METH_KEYWORDS }, | |
5024 | { "wxGrid_UpdateDimensions", (PyCFunction) _wrap_wxGrid_UpdateDimensions, METH_VARARGS | METH_KEYWORDS }, | |
5025 | { "wxGrid_SetRowHeight", (PyCFunction) _wrap_wxGrid_SetRowHeight, METH_VARARGS | METH_KEYWORDS }, | |
5026 | { "wxGrid_SetLabelValue", (PyCFunction) _wrap_wxGrid_SetLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
5027 | { "wxGrid_SetLabelTextFont", (PyCFunction) _wrap_wxGrid_SetLabelTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5028 | { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5029 | { "wxGrid_SetLabelSize", (PyCFunction) _wrap_wxGrid_SetLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
5030 | { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5031 | { "wxGrid_SetLabelAlignment", (PyCFunction) _wrap_wxGrid_SetLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5032 | { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, | |
5033 | { "wxGrid_SetEditable", (PyCFunction) _wrap_wxGrid_SetEditable, METH_VARARGS | METH_KEYWORDS }, | |
5034 | { "wxGrid_SetDividerPen", (PyCFunction) _wrap_wxGrid_SetDividerPen, METH_VARARGS | METH_KEYWORDS }, | |
5035 | { "wxGrid_SetColumnWidth", (PyCFunction) _wrap_wxGrid_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
5036 | { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
5037 | { "wxGrid_SetDefCellTextFont", (PyCFunction) _wrap_wxGrid_SetDefCellTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5038 | { "wxGrid_SetCellTextFont", (PyCFunction) _wrap_wxGrid_SetCellTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5039 | { "wxGrid_SetDefCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5040 | { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5041 | { "wxGrid_SetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5042 | { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5043 | { "wxGrid_SetDefCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5044 | { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5045 | { "wxGrid_OnActivate", (PyCFunction) _wrap_wxGrid_OnActivate, METH_VARARGS | METH_KEYWORDS }, | |
5046 | { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
5047 | { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
5048 | { "wxGrid_GetVertScrollBar", (PyCFunction) _wrap_wxGrid_GetVertScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
5049 | { "wxGrid_GetTextItem", (PyCFunction) _wrap_wxGrid_GetTextItem, METH_VARARGS | METH_KEYWORDS }, | |
5050 | { "wxGrid_GetScrollPosY", (PyCFunction) _wrap_wxGrid_GetScrollPosY, METH_VARARGS | METH_KEYWORDS }, | |
5051 | { "wxGrid_GetScrollPosX", (PyCFunction) _wrap_wxGrid_GetScrollPosX, METH_VARARGS | METH_KEYWORDS }, | |
5052 | { "wxGrid_GetRows", (PyCFunction) _wrap_wxGrid_GetRows, METH_VARARGS | METH_KEYWORDS }, | |
5053 | { "wxGrid_GetRowHeight", (PyCFunction) _wrap_wxGrid_GetRowHeight, METH_VARARGS | METH_KEYWORDS }, | |
5054 | { "wxGrid_GetLabelValue", (PyCFunction) _wrap_wxGrid_GetLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
5055 | { "wxGrid_GetLabelTextFont", (PyCFunction) _wrap_wxGrid_GetLabelTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5056 | { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5057 | { "wxGrid_GetLabelSize", (PyCFunction) _wrap_wxGrid_GetLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
5058 | { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5059 | { "wxGrid_GetLabelAlignment", (PyCFunction) _wrap_wxGrid_GetLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5060 | { "wxGrid_GetHorizScrollBar", (PyCFunction) _wrap_wxGrid_GetHorizScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
5061 | { "wxGrid_GetEditable", (PyCFunction) _wrap_wxGrid_GetEditable, METH_VARARGS | METH_KEYWORDS }, | |
5062 | { "wxGrid_GetCursorRow", (PyCFunction) _wrap_wxGrid_GetCursorRow, METH_VARARGS | METH_KEYWORDS }, | |
5063 | { "wxGrid_GetCursorColumn", (PyCFunction) _wrap_wxGrid_GetCursorColumn, METH_VARARGS | METH_KEYWORDS }, | |
5064 | { "wxGrid_GetCurrentRect", (PyCFunction) _wrap_wxGrid_GetCurrentRect, METH_VARARGS | METH_KEYWORDS }, | |
5065 | { "wxGrid_GetColumnWidth", (PyCFunction) _wrap_wxGrid_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
5066 | { "wxGrid_GetCols", (PyCFunction) _wrap_wxGrid_GetCols, METH_VARARGS | METH_KEYWORDS }, | |
5067 | { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
5068 | { "wxGrid_GetDefCellTextFont", (PyCFunction) _wrap_wxGrid_GetDefCellTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5069 | { "wxGrid_GetCellTextFont", (PyCFunction) _wrap_wxGrid_GetCellTextFont, METH_VARARGS | METH_KEYWORDS }, | |
5070 | { "wxGrid_GetDefCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5071 | { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5072 | { "wxGrid_GetCells", (PyCFunction) _wrap_wxGrid_GetCells, METH_VARARGS | METH_KEYWORDS }, | |
5073 | { "wxGrid_GetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5074 | { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5075 | { "wxGrid_GetDefCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5076 | { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5077 | { "wxGrid_GetCell", (PyCFunction) _wrap_wxGrid_GetCell, METH_VARARGS | METH_KEYWORDS }, | |
5078 | { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, | |
5079 | { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS }, | |
5080 | { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
5081 | { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
5082 | { "wxGrid_CurrentCellVisible", (PyCFunction) _wrap_wxGrid_CurrentCellVisible, METH_VARARGS | METH_KEYWORDS }, | |
5083 | { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, | |
5084 | { "wxGrid_CellHitTest", (PyCFunction) _wrap_wxGrid_CellHitTest, METH_VARARGS | METH_KEYWORDS }, | |
5085 | { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, | |
5086 | { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
5087 | { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
5088 | { "wxGrid_AdjustScrollbars", (PyCFunction) _wrap_wxGrid_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
5089 | { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS }, | |
5090 | { "wxGridCell_SetCellBitmap", (PyCFunction) _wrap_wxGridCell_SetCellBitmap, METH_VARARGS | METH_KEYWORDS }, | |
5091 | { "wxGridCell_GetCellBitmap", (PyCFunction) _wrap_wxGridCell_GetCellBitmap, METH_VARARGS | METH_KEYWORDS }, | |
5092 | { "wxGridCell_SetAlignment", (PyCFunction) _wrap_wxGridCell_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5093 | { "wxGridCell_GetAlignment", (PyCFunction) _wrap_wxGridCell_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5094 | { "wxGridCell_GetBackgroundBrush", (PyCFunction) _wrap_wxGridCell_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS }, | |
5095 | { "wxGridCell_SetBackgroundColour", (PyCFunction) _wrap_wxGridCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5096 | { "wxGridCell_GetBackgroundColour", (PyCFunction) _wrap_wxGridCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5097 | { "wxGridCell_SetTextColour", (PyCFunction) _wrap_wxGridCell_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5098 | { "wxGridCell_GetTextColour", (PyCFunction) _wrap_wxGridCell_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5099 | { "wxGridCell_SetFont", (PyCFunction) _wrap_wxGridCell_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
5100 | { "wxGridCell_GetFont", (PyCFunction) _wrap_wxGridCell_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
5101 | { "wxGridCell_SetTextValue", (PyCFunction) _wrap_wxGridCell_SetTextValue, METH_VARARGS | METH_KEYWORDS }, | |
5102 | { "wxGridCell_GetTextValue", (PyCFunction) _wrap_wxGridCell_GetTextValue, METH_VARARGS | METH_KEYWORDS }, | |
5103 | { "delete_wxGridCell", (PyCFunction) _wrap_delete_wxGridCell, METH_VARARGS | METH_KEYWORDS }, | |
5104 | { "new_wxGridCell", (PyCFunction) _wrap_new_wxGridCell, METH_VARARGS | METH_KEYWORDS }, | |
70551f47 RD |
5105 | { NULL, NULL } |
5106 | }; | |
2d091820 RD |
5107 | #ifdef __cplusplus |
5108 | } | |
5109 | #endif | |
5110 | /* | |
5111 | * This table is used by the pointer type-checker | |
5112 | */ | |
5113 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
5114 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
5115 | { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
5116 | { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
5117 | { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
5118 | { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
5119 | { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent}, | |
5120 | { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, | |
5121 | { "_wxEvent","_class_wxEvent",0}, | |
5122 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
5123 | { "_signed_long","_long",0}, | |
5124 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
37f6a977 | 5125 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
2d091820 RD |
5126 | { "_wxPrintQuality","_int",0}, |
5127 | { "_wxPrintQuality","_signed_int",0}, | |
5128 | { "_wxPrintQuality","_unsigned_int",0}, | |
5129 | { "_wxPrintQuality","_wxWindowID",0}, | |
5130 | { "_wxPrintQuality","_uint",0}, | |
5131 | { "_wxPrintQuality","_EBool",0}, | |
5132 | { "_wxPrintQuality","_size_t",0}, | |
5133 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
5134 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
5135 | { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
5136 | { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
5137 | { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
5138 | { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
5139 | { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler}, | |
5140 | { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, | |
5141 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
5142 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
5143 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
5144 | { "_wxCursor","_class_wxCursor",0}, | |
5145 | { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
5146 | { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
5147 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
5148 | { "_wxMask","_class_wxMask",0}, | |
5149 | { "_wxGrid","_class_wxGrid",0}, | |
5150 | { "_wxPen","_class_wxPen",0}, | |
5151 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
5152 | { "_byte","_unsigned_char",0}, | |
5153 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
5154 | { "_wxChoice","_class_wxChoice",0}, | |
5155 | { "_wxSlider","_class_wxSlider",0}, | |
5156 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
5157 | { "_long","_wxDash",0}, | |
5158 | { "_long","_unsigned_long",0}, | |
5159 | { "_long","_signed_long",0}, | |
5160 | { "_wxImageList","_class_wxImageList",0}, | |
5161 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
5162 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
5163 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
5164 | { "_class_wxGauge","_wxGauge",0}, | |
5165 | { "_wxDC","_class_wxDC",0}, | |
5166 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
5167 | { "_size_t","_wxPrintQuality",0}, | |
5168 | { "_size_t","_unsigned_int",0}, | |
5169 | { "_size_t","_int",0}, | |
5170 | { "_size_t","_wxWindowID",0}, | |
5171 | { "_size_t","_uint",0}, | |
5172 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
5173 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
5174 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
5175 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
5176 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
5177 | { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel}, | |
5178 | { "_wxPanel","_wxGrid",SwigwxGridTowxPanel}, | |
5179 | { "_wxPanel","_class_wxPanel",0}, | |
5180 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
5181 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
5182 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
5183 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
5184 | { "_class_wxMask","_wxMask",0}, | |
5185 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
5186 | { "_class_wxGrid","_wxGrid",0}, | |
5187 | { "_wxColour","_class_wxColour",0}, | |
5188 | { "_class_wxDialog","_wxDialog",0}, | |
5189 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
5190 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
5191 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
5192 | { "_wxBrush","_class_wxBrush",0}, | |
5193 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
5194 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
5195 | { "_uint","_wxPrintQuality",0}, | |
5196 | { "_uint","_size_t",0}, | |
5197 | { "_uint","_unsigned_int",0}, | |
5198 | { "_uint","_int",0}, | |
5199 | { "_uint","_wxWindowID",0}, | |
37f6a977 | 5200 | { "_wxPyValidator","_class_wxPyValidator",0}, |
2d091820 RD |
5201 | { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, |
5202 | { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
5203 | { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
5204 | { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
5205 | { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent}, | |
5206 | { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, | |
5207 | { "_class_wxEvent","_wxEvent",0}, | |
5208 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
5209 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
5210 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
5211 | { "_wxRect","_class_wxRect",0}, | |
5212 | { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
5213 | { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
5214 | { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
5215 | { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
5216 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
5217 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
5218 | { "_wxPoint","_class_wxPoint",0}, | |
5219 | { "_class_wxButton","_wxButton",0}, | |
5220 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
5221 | { "_wxBitmap","_class_wxBitmap",0}, | |
5222 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
5223 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
5224 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
5225 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
5226 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
5227 | { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
5228 | { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
5229 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
37f6a977 | 5230 | { "_class_wxValidator","_wxValidator",0}, |
2d091820 RD |
5231 | { "_class_wxPyEvent","_wxPyEvent",0}, |
5232 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
5233 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
5234 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
5235 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
5236 | { "_EBool","_wxPrintQuality",0}, | |
5237 | { "_EBool","_signed_int",0}, | |
5238 | { "_EBool","_int",0}, | |
5239 | { "_EBool","_wxWindowID",0}, | |
5240 | { "_class_wxRegion","_wxRegion",0}, | |
5241 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
5242 | { "_wxStaticText","_class_wxStaticText",0}, | |
5243 | { "_wxFont","_class_wxFont",0}, | |
5244 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
5245 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
5246 | { "_wxNotebook","_class_wxNotebook",0}, | |
5247 | { "_unsigned_long","_wxDash",0}, | |
5248 | { "_unsigned_long","_long",0}, | |
5249 | { "_class_wxRect","_wxRect",0}, | |
5250 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 5251 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
2d091820 RD |
5252 | { "_class_wxPyTimer","_wxPyTimer",0}, |
5253 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
5254 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
5255 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
5256 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
5257 | { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel}, | |
5258 | { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel}, | |
5259 | { "_class_wxPanel","_wxPanel",0}, | |
5260 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
5261 | { "_wxComboBox","_class_wxComboBox",0}, | |
5262 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
5263 | { "_signed_int","_wxPrintQuality",0}, | |
5264 | { "_signed_int","_EBool",0}, | |
5265 | { "_signed_int","_wxWindowID",0}, | |
5266 | { "_signed_int","_int",0}, | |
5267 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
5268 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
5269 | { "_wxMenu","_class_wxMenu",0}, | |
5270 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
5271 | { "_wxListBox","_class_wxListBox",0}, | |
5272 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
5273 | { "_WXTYPE","_short",0}, | |
5274 | { "_WXTYPE","_signed_short",0}, | |
5275 | { "_WXTYPE","_unsigned_short",0}, | |
5276 | { "_class_wxBrush","_wxBrush",0}, | |
5277 | { "_unsigned_short","_WXTYPE",0}, | |
5278 | { "_unsigned_short","_short",0}, | |
5279 | { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
5280 | { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
5281 | { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
5282 | { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
5283 | { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow}, | |
5284 | { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow}, | |
5285 | { "_class_wxWindow","_wxWindow",0}, | |
5286 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
5287 | { "_class_wxStaticText","_wxStaticText",0}, | |
5288 | { "_class_wxFont","_wxFont",0}, | |
37f6a977 | 5289 | { "_class_wxPyValidator","_wxPyValidator",0}, |
2d091820 RD |
5290 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
5291 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
5292 | { "_wxClientDC","_class_wxClientDC",0}, | |
5293 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
5294 | { "_class_wxPoint","_wxPoint",0}, | |
5295 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
5296 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
5297 | { "_wxGridCell","_class_wxGridCell",0}, | |
5298 | { "_signed_short","_WXTYPE",0}, | |
5299 | { "_signed_short","_short",0}, | |
5300 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
5301 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
5302 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
5303 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
5304 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
5305 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
5306 | { "_class_wxCursor","_wxCursor",0}, | |
5307 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
5308 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
5309 | { "_unsigned_char","_byte",0}, | |
5310 | { "_class_wxMenu","_wxMenu",0}, | |
5311 | { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
5312 | { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
5313 | { "_wxControl","_class_wxControl",0}, | |
5314 | { "_class_wxListBox","_wxListBox",0}, | |
5315 | { "_unsigned_int","_wxPrintQuality",0}, | |
5316 | { "_unsigned_int","_size_t",0}, | |
5317 | { "_unsigned_int","_uint",0}, | |
5318 | { "_unsigned_int","_wxWindowID",0}, | |
5319 | { "_unsigned_int","_int",0}, | |
5320 | { "_wxIcon","_class_wxIcon",0}, | |
5321 | { "_wxDialog","_class_wxDialog",0}, | |
5322 | { "_class_wxPen","_wxPen",0}, | |
5323 | { "_short","_WXTYPE",0}, | |
5324 | { "_short","_unsigned_short",0}, | |
5325 | { "_short","_signed_short",0}, | |
5326 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
5327 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
5328 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
5329 | { "_class_wxChoice","_wxChoice",0}, | |
5330 | { "_class_wxSlider","_wxSlider",0}, | |
5331 | { "_class_wxImageList","_wxImageList",0}, | |
5332 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
5333 | { "_class_wxNotebook","_wxNotebook",0}, | |
5334 | { "_wxWindowID","_wxPrintQuality",0}, | |
5335 | { "_wxWindowID","_size_t",0}, | |
5336 | { "_wxWindowID","_EBool",0}, | |
5337 | { "_wxWindowID","_uint",0}, | |
5338 | { "_wxWindowID","_int",0}, | |
5339 | { "_wxWindowID","_signed_int",0}, | |
5340 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 5341 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2d091820 RD |
5342 | { "_int","_wxPrintQuality",0}, |
5343 | { "_int","_size_t",0}, | |
5344 | { "_int","_EBool",0}, | |
5345 | { "_int","_uint",0}, | |
5346 | { "_int","_wxWindowID",0}, | |
5347 | { "_int","_unsigned_int",0}, | |
5348 | { "_int","_signed_int",0}, | |
5349 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
37f6a977 | 5350 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2d091820 RD |
5351 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
5352 | { "_wxButton","_class_wxButton",0}, | |
5353 | { "_wxSize","_class_wxSize",0}, | |
5354 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
5355 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
5356 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
5357 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
5358 | { "_class_wxComboBox","_wxComboBox",0}, | |
5359 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
37f6a977 | 5360 | { "_wxValidator","_class_wxValidator",0}, |
2d091820 RD |
5361 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
5362 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
5363 | { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
5364 | { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
5365 | { "_class_wxControl","_wxControl",0}, | |
5366 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
5367 | { "_class_wxIcon","_wxIcon",0}, | |
5368 | { "_class_wxColour","_wxColour",0}, | |
5369 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
5370 | { "_wxPalette","_class_wxPalette",0}, | |
5371 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
5372 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
5373 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
5374 | { "_wxRegion","_class_wxRegion",0}, | |
5375 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
5376 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
5377 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
5378 | { "_wxGauge","_class_wxGauge",0}, | |
5379 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
5380 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
5381 | { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
5382 | { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
5383 | { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
5384 | { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
5385 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
5386 | { "_class_wxClientDC","_wxClientDC",0}, | |
5387 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
5388 | { "_class_wxGridCell","_wxGridCell",0}, | |
5389 | { "_class_wxSize","_wxSize",0}, | |
5390 | { "_class_wxBitmap","_wxBitmap",0}, | |
5391 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
5392 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
5393 | { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
5394 | { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
5395 | { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
5396 | { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
5397 | { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler}, | |
5398 | { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, | |
5399 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
5400 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
5401 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
5402 | { "_wxDash","_unsigned_long",0}, | |
5403 | { "_wxDash","_long",0}, | |
5404 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
5405 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
5406 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
5407 | { "_class_wxPalette","_wxPalette",0}, | |
5408 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
5409 | { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
5410 | { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
5411 | { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
5412 | { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
5413 | { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow}, | |
5414 | { "_wxWindow","_wxGrid",SwigwxGridTowxWindow}, | |
5415 | { "_wxWindow","_class_wxWindow",0}, | |
5416 | {0,0,0}}; | |
5417 | ||
70551f47 RD |
5418 | static PyObject *SWIG_globals; |
5419 | #ifdef __cplusplus | |
5420 | extern "C" | |
5421 | #endif | |
2d091820 | 5422 | SWIGEXPORT(void) initwindows2c() { |
70551f47 RD |
5423 | PyObject *m, *d; |
5424 | SWIG_globals = SWIG_newvarlink(); | |
5425 | m = Py_InitModule("windows2c", windows2cMethods); | |
5426 | d = PyModule_GetDict(m); | |
5427 | PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL)); | |
5428 | PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL)); | |
5429 | PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL)); | |
105e45b9 RD |
5430 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); |
5431 | PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL)); | |
5432 | PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS)); | |
5433 | PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL)); | |
5434 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
5435 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK)); | |
5436 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK)); | |
5437 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK)); | |
5438 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK)); | |
2d091820 RD |
5439 | { |
5440 | int i; | |
5441 | for (i = 0; _swig_mapping[i].n1; i++) | |
5442 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5443 | } | |
70551f47 | 5444 | } |