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