]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : msw/windows2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
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) | |
27 | # define SWIGEXPORT(a,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
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 *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
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> | |
59 | #include <wx/splitter.h> | |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
69 | if (!PyList_Check(target)) { | |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | ||
108 | extern int* int_LIST_helper(PyObject* source); | |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
114 | #ifdef __WXMSW__ | |
115 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
116 | #endif | |
117 | ||
118 | ||
119 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
120 | #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue()) | |
121 | static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args) { | |
122 | PyObject * _resultobj; | |
123 | wxString * _result; | |
124 | wxGridCell * _arg0; | |
125 | char * _argc0 = 0; | |
126 | ||
127 | self = self; | |
128 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextValue",&_argc0)) | |
129 | return NULL; | |
130 | if (_argc0) { | |
131 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p."); | |
133 | return NULL; | |
134 | } | |
135 | } | |
136 | wxString & _result_ref = wxGridCell_GetTextValue(_arg0); | |
137 | _result = (wxString *) &_result_ref; | |
138 | { | |
139 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
140 | } | |
141 | return _resultobj; | |
142 | } | |
143 | ||
144 | #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0)) | |
145 | static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args) { | |
146 | PyObject * _resultobj; | |
147 | wxGridCell * _arg0; | |
148 | wxString * _arg1; | |
149 | char * _argc0 = 0; | |
150 | PyObject * _obj1 = 0; | |
151 | ||
152 | self = self; | |
153 | if(!PyArg_ParseTuple(args,"sO:wxGridCell_SetTextValue",&_argc0,&_obj1)) | |
154 | return NULL; | |
155 | if (_argc0) { | |
156 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p."); | |
158 | return NULL; | |
159 | } | |
160 | } | |
161 | { | |
162 | if (!PyString_Check(_obj1)) { | |
163 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
164 | return NULL; | |
165 | } | |
166 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
167 | } | |
168 | wxGridCell_SetTextValue(_arg0,*_arg1); | |
169 | Py_INCREF(Py_None); | |
170 | _resultobj = Py_None; | |
171 | { | |
172 | if (_obj1) | |
173 | delete _arg1; | |
174 | } | |
175 | return _resultobj; | |
176 | } | |
177 | ||
178 | #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont()) | |
179 | static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args) { | |
180 | PyObject * _resultobj; | |
181 | wxFont * _result; | |
182 | wxGridCell * _arg0; | |
183 | char * _argc0 = 0; | |
184 | char _ptemp[128]; | |
185 | ||
186 | self = self; | |
187 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetFont",&_argc0)) | |
188 | return NULL; | |
189 | if (_argc0) { | |
190 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p."); | |
192 | return NULL; | |
193 | } | |
194 | } | |
195 | _result = (wxFont *)wxGridCell_GetFont(_arg0); | |
196 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
197 | _resultobj = Py_BuildValue("s",_ptemp); | |
198 | return _resultobj; | |
199 | } | |
200 | ||
201 | #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
202 | static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args) { | |
203 | PyObject * _resultobj; | |
204 | wxGridCell * _arg0; | |
205 | wxFont * _arg1; | |
206 | char * _argc0 = 0; | |
207 | char * _argc1 = 0; | |
208 | ||
209 | self = self; | |
210 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetFont",&_argc0,&_argc1)) | |
211 | return NULL; | |
212 | if (_argc0) { | |
213 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p."); | |
215 | return NULL; | |
216 | } | |
217 | } | |
218 | if (_argc1) { | |
219 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p."); | |
221 | return NULL; | |
222 | } | |
223 | } | |
224 | wxGridCell_SetFont(_arg0,_arg1); | |
225 | Py_INCREF(Py_None); | |
226 | _resultobj = Py_None; | |
227 | return _resultobj; | |
228 | } | |
229 | ||
230 | #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
231 | static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args) { | |
232 | PyObject * _resultobj; | |
233 | wxColour * _result; | |
234 | wxGridCell * _arg0; | |
235 | char * _argc0 = 0; | |
236 | char _ptemp[128]; | |
237 | ||
238 | self = self; | |
239 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextColour",&_argc0)) | |
240 | return NULL; | |
241 | if (_argc0) { | |
242 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p."); | |
244 | return NULL; | |
245 | } | |
246 | } | |
247 | wxColour & _result_ref = wxGridCell_GetTextColour(_arg0); | |
248 | _result = (wxColour *) &_result_ref; | |
249 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
250 | _resultobj = Py_BuildValue("s",_ptemp); | |
251 | return _resultobj; | |
252 | } | |
253 | ||
254 | #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
255 | static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args) { | |
256 | PyObject * _resultobj; | |
257 | wxGridCell * _arg0; | |
258 | wxColour * _arg1; | |
259 | char * _argc0 = 0; | |
260 | char * _argc1 = 0; | |
261 | ||
262 | self = self; | |
263 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetTextColour",&_argc0,&_argc1)) | |
264 | return NULL; | |
265 | if (_argc0) { | |
266 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p."); | |
268 | return NULL; | |
269 | } | |
270 | } | |
271 | if (_argc1) { | |
272 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p."); | |
274 | return NULL; | |
275 | } | |
276 | } | |
277 | wxGridCell_SetTextColour(_arg0,*_arg1); | |
278 | Py_INCREF(Py_None); | |
279 | _resultobj = Py_None; | |
280 | return _resultobj; | |
281 | } | |
282 | ||
283 | #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
284 | static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args) { | |
285 | PyObject * _resultobj; | |
286 | wxColour * _result; | |
287 | wxGridCell * _arg0; | |
288 | char * _argc0 = 0; | |
289 | char _ptemp[128]; | |
290 | ||
291 | self = self; | |
292 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundColour",&_argc0)) | |
293 | return NULL; | |
294 | if (_argc0) { | |
295 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p."); | |
297 | return NULL; | |
298 | } | |
299 | } | |
300 | wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0); | |
301 | _result = (wxColour *) &_result_ref; | |
302 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
303 | _resultobj = Py_BuildValue("s",_ptemp); | |
304 | return _resultobj; | |
305 | } | |
306 | ||
307 | #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
308 | static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args) { | |
309 | PyObject * _resultobj; | |
310 | wxGridCell * _arg0; | |
311 | wxColour * _arg1; | |
312 | char * _argc0 = 0; | |
313 | char * _argc1 = 0; | |
314 | ||
315 | self = self; | |
316 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetBackgroundColour",&_argc0,&_argc1)) | |
317 | return NULL; | |
318 | if (_argc0) { | |
319 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p."); | |
321 | return NULL; | |
322 | } | |
323 | } | |
324 | if (_argc1) { | |
325 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p."); | |
327 | return NULL; | |
328 | } | |
329 | } | |
330 | wxGridCell_SetBackgroundColour(_arg0,*_arg1); | |
331 | Py_INCREF(Py_None); | |
332 | _resultobj = Py_None; | |
333 | return _resultobj; | |
334 | } | |
335 | ||
336 | #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush()) | |
337 | static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args) { | |
338 | PyObject * _resultobj; | |
339 | wxBrush * _result; | |
340 | wxGridCell * _arg0; | |
341 | char * _argc0 = 0; | |
342 | char _ptemp[128]; | |
343 | ||
344 | self = self; | |
345 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundBrush",&_argc0)) | |
346 | return NULL; | |
347 | if (_argc0) { | |
348 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p."); | |
350 | return NULL; | |
351 | } | |
352 | } | |
353 | _result = (wxBrush *)wxGridCell_GetBackgroundBrush(_arg0); | |
354 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
355 | _resultobj = Py_BuildValue("s",_ptemp); | |
356 | return _resultobj; | |
357 | } | |
358 | ||
359 | #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment()) | |
360 | static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args) { | |
361 | PyObject * _resultobj; | |
362 | int _result; | |
363 | wxGridCell * _arg0; | |
364 | char * _argc0 = 0; | |
365 | ||
366 | self = self; | |
367 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetAlignment",&_argc0)) | |
368 | return NULL; | |
369 | if (_argc0) { | |
370 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p."); | |
372 | return NULL; | |
373 | } | |
374 | } | |
375 | _result = (int )wxGridCell_GetAlignment(_arg0); | |
376 | _resultobj = Py_BuildValue("i",_result); | |
377 | return _resultobj; | |
378 | } | |
379 | ||
380 | #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0)) | |
381 | static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args) { | |
382 | PyObject * _resultobj; | |
383 | wxGridCell * _arg0; | |
384 | int _arg1; | |
385 | char * _argc0 = 0; | |
386 | ||
387 | self = self; | |
388 | if(!PyArg_ParseTuple(args,"si:wxGridCell_SetAlignment",&_argc0,&_arg1)) | |
389 | return NULL; | |
390 | if (_argc0) { | |
391 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p."); | |
393 | return NULL; | |
394 | } | |
395 | } | |
396 | wxGridCell_SetAlignment(_arg0,_arg1); | |
397 | Py_INCREF(Py_None); | |
398 | _resultobj = Py_None; | |
399 | return _resultobj; | |
400 | } | |
401 | ||
402 | #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap()) | |
403 | static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args) { | |
404 | PyObject * _resultobj; | |
405 | wxBitmap * _result; | |
406 | wxGridCell * _arg0; | |
407 | char * _argc0 = 0; | |
408 | char _ptemp[128]; | |
409 | ||
410 | self = self; | |
411 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetCellBitmap",&_argc0)) | |
412 | return NULL; | |
413 | if (_argc0) { | |
414 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p."); | |
416 | return NULL; | |
417 | } | |
418 | } | |
419 | _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0); | |
420 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
421 | _resultobj = Py_BuildValue("s",_ptemp); | |
422 | return _resultobj; | |
423 | } | |
424 | ||
425 | #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0)) | |
426 | static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args) { | |
427 | PyObject * _resultobj; | |
428 | wxGridCell * _arg0; | |
429 | wxBitmap * _arg1; | |
430 | char * _argc0 = 0; | |
431 | char * _argc1 = 0; | |
432 | ||
433 | self = self; | |
434 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetCellBitmap",&_argc0,&_argc1)) | |
435 | return NULL; | |
436 | if (_argc0) { | |
437 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p."); | |
439 | return NULL; | |
440 | } | |
441 | } | |
442 | if (_argc1) { | |
443 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) { | |
444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p."); | |
445 | return NULL; | |
446 | } | |
447 | } | |
448 | wxGridCell_SetCellBitmap(_arg0,_arg1); | |
449 | Py_INCREF(Py_None); | |
450 | _resultobj = Py_None; | |
451 | return _resultobj; | |
452 | } | |
453 | ||
454 | static void *SwigwxGridTowxPanel(void *ptr) { | |
455 | wxGrid *src; | |
456 | wxPanel *dest; | |
457 | src = (wxGrid *) ptr; | |
458 | dest = (wxPanel *) src; | |
459 | return (void *) dest; | |
460 | } | |
461 | ||
462 | static void *SwigwxGridTowxWindow(void *ptr) { | |
463 | wxGrid *src; | |
464 | wxWindow *dest; | |
465 | src = (wxGrid *) ptr; | |
466 | dest = (wxWindow *) src; | |
467 | return (void *) dest; | |
468 | } | |
469 | ||
470 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
471 | wxGrid *src; | |
472 | wxEvtHandler *dest; | |
473 | src = (wxGrid *) ptr; | |
474 | dest = (wxEvtHandler *) src; | |
475 | return (void *) dest; | |
476 | } | |
477 | ||
478 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
479 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args) { | |
480 | PyObject * _resultobj; | |
481 | wxGrid * _result; | |
482 | wxWindow * _arg0; | |
483 | wxWindowID _arg1; | |
484 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
485 | wxSize * _arg3 = &wxPyDefaultSize; | |
486 | long _arg4 = 0; | |
487 | char * _arg5 = "grid"; | |
488 | char * _argc0 = 0; | |
489 | char * _argc2 = 0; | |
490 | char * _argc3 = 0; | |
491 | char _ptemp[128]; | |
492 | ||
493 | self = self; | |
494 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxGrid",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
495 | return NULL; | |
496 | if (_argc0) { | |
497 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
499 | return NULL; | |
500 | } | |
501 | } | |
502 | if (_argc2) { | |
503 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p."); | |
505 | return NULL; | |
506 | } | |
507 | } | |
508 | if (_argc3) { | |
509 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p."); | |
511 | return NULL; | |
512 | } | |
513 | } | |
514 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
515 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
516 | _resultobj = Py_BuildValue("s",_ptemp); | |
517 | return _resultobj; | |
518 | } | |
519 | ||
520 | #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars()) | |
521 | static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args) { | |
522 | PyObject * _resultobj; | |
523 | wxGrid * _arg0; | |
524 | char * _argc0 = 0; | |
525 | ||
526 | self = self; | |
527 | if(!PyArg_ParseTuple(args,"s:wxGrid_AdjustScrollbars",&_argc0)) | |
528 | return NULL; | |
529 | if (_argc0) { | |
530 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p."); | |
532 | return NULL; | |
533 | } | |
534 | } | |
535 | wxGrid_AdjustScrollbars(_arg0); | |
536 | Py_INCREF(Py_None); | |
537 | _resultobj = Py_None; | |
538 | return _resultobj; | |
539 | } | |
540 | ||
541 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
542 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args) { | |
543 | PyObject * _resultobj; | |
544 | bool _result; | |
545 | wxGrid * _arg0; | |
546 | int _arg1 = 1; | |
547 | bool _arg2 = (1); | |
548 | char * _argc0 = 0; | |
549 | int tempbool2; | |
550 | ||
551 | self = self; | |
552 | if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendCols",&_argc0,&_arg1,&tempbool2)) | |
553 | return NULL; | |
554 | if (_argc0) { | |
555 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
557 | return NULL; | |
558 | } | |
559 | } | |
560 | _arg2 = (bool ) tempbool2; | |
561 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); | |
562 | _resultobj = Py_BuildValue("i",_result); | |
563 | return _resultobj; | |
564 | } | |
565 | ||
566 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
567 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args) { | |
568 | PyObject * _resultobj; | |
569 | bool _result; | |
570 | wxGrid * _arg0; | |
571 | int _arg1 = 1; | |
572 | bool _arg2 = (1); | |
573 | char * _argc0 = 0; | |
574 | int tempbool2; | |
575 | ||
576 | self = self; | |
577 | if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendRows",&_argc0,&_arg1,&tempbool2)) | |
578 | return NULL; | |
579 | if (_argc0) { | |
580 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); | |
582 | return NULL; | |
583 | } | |
584 | } | |
585 | _arg2 = (bool ) tempbool2; | |
586 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); | |
587 | _resultobj = Py_BuildValue("i",_result); | |
588 | return _resultobj; | |
589 | } | |
590 | ||
591 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
592 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args) { | |
593 | PyObject * _resultobj; | |
594 | wxGrid * _arg0; | |
595 | char * _argc0 = 0; | |
596 | ||
597 | self = self; | |
598 | if(!PyArg_ParseTuple(args,"s:wxGrid_BeginBatch",&_argc0)) | |
599 | return NULL; | |
600 | if (_argc0) { | |
601 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); | |
603 | return NULL; | |
604 | } | |
605 | } | |
606 | wxGrid_BeginBatch(_arg0); | |
607 | Py_INCREF(Py_None); | |
608 | _resultobj = Py_None; | |
609 | return _resultobj; | |
610 | } | |
611 | ||
612 | #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
613 | static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args) { | |
614 | PyObject * _resultobj; | |
615 | bool _result; | |
616 | wxGrid * _arg0; | |
617 | int _arg1; | |
618 | int _arg2; | |
619 | int * _arg3; | |
620 | int temp; | |
621 | int * _arg4; | |
622 | int temp0; | |
623 | char * _argc0 = 0; | |
624 | ||
625 | self = self; | |
626 | { | |
627 | _arg3 = &temp; | |
628 | } | |
629 | { | |
630 | _arg4 = &temp0; | |
631 | } | |
632 | if(!PyArg_ParseTuple(args,"sii:wxGrid_CellHitTest",&_argc0,&_arg1,&_arg2)) | |
633 | return NULL; | |
634 | if (_argc0) { | |
635 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p."); | |
637 | return NULL; | |
638 | } | |
639 | } | |
640 | _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
641 | _resultobj = Py_BuildValue("i",_result); | |
642 | { | |
643 | PyObject *o; | |
644 | o = PyInt_FromLong((long) (*_arg3)); | |
645 | _resultobj = t_output_helper(_resultobj, o); | |
646 | } | |
647 | { | |
648 | PyObject *o; | |
649 | o = PyInt_FromLong((long) (*_arg4)); | |
650 | _resultobj = t_output_helper(_resultobj, o); | |
651 | } | |
652 | return _resultobj; | |
653 | } | |
654 | ||
655 | static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) { | |
656 | return self->CreateGrid(rows, cols, NULL, NULL, | |
657 | defaultWidth, defaultHeight); | |
658 | } | |
659 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args) { | |
660 | PyObject * _resultobj; | |
661 | bool _result; | |
662 | wxGrid * _arg0; | |
663 | int _arg1; | |
664 | int _arg2; | |
665 | short _arg3 = wxGRID_DEFAULT_CELL_WIDTH; | |
666 | short _arg4 = wxGRID_DEFAULT_CELL_HEIGHT; | |
667 | char * _argc0 = 0; | |
668 | ||
669 | self = self; | |
670 | if(!PyArg_ParseTuple(args,"sii|hh:wxGrid_CreateGrid",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
671 | return NULL; | |
672 | if (_argc0) { | |
673 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
675 | return NULL; | |
676 | } | |
677 | } | |
678 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4); | |
679 | _resultobj = Py_BuildValue("i",_result); | |
680 | return _resultobj; | |
681 | } | |
682 | ||
683 | #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible()) | |
684 | static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args) { | |
685 | PyObject * _resultobj; | |
686 | bool _result; | |
687 | wxGrid * _arg0; | |
688 | char * _argc0 = 0; | |
689 | ||
690 | self = self; | |
691 | if(!PyArg_ParseTuple(args,"s:wxGrid_CurrentCellVisible",&_argc0)) | |
692 | return NULL; | |
693 | if (_argc0) { | |
694 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p."); | |
696 | return NULL; | |
697 | } | |
698 | } | |
699 | _result = (bool )wxGrid_CurrentCellVisible(_arg0); | |
700 | _resultobj = Py_BuildValue("i",_result); | |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
705 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args) { | |
706 | PyObject * _resultobj; | |
707 | bool _result; | |
708 | wxGrid * _arg0; | |
709 | int _arg1 = 0; | |
710 | int _arg2 = 1; | |
711 | bool _arg3 = (1); | |
712 | char * _argc0 = 0; | |
713 | int tempbool3; | |
714 | ||
715 | self = self; | |
716 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteCols",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
717 | return NULL; | |
718 | if (_argc0) { | |
719 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
721 | return NULL; | |
722 | } | |
723 | } | |
724 | _arg3 = (bool ) tempbool3; | |
725 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); | |
726 | _resultobj = Py_BuildValue("i",_result); | |
727 | return _resultobj; | |
728 | } | |
729 | ||
730 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
731 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args) { | |
732 | PyObject * _resultobj; | |
733 | bool _result; | |
734 | wxGrid * _arg0; | |
735 | int _arg1 = 0; | |
736 | int _arg2 = 1; | |
737 | bool _arg3 = (1); | |
738 | char * _argc0 = 0; | |
739 | int tempbool3; | |
740 | ||
741 | self = self; | |
742 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteRows",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
743 | return NULL; | |
744 | if (_argc0) { | |
745 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
747 | return NULL; | |
748 | } | |
749 | } | |
750 | _arg3 = (bool ) tempbool3; | |
751 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); | |
752 | _resultobj = Py_BuildValue("i",_result); | |
753 | return _resultobj; | |
754 | } | |
755 | ||
756 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
757 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args) { | |
758 | PyObject * _resultobj; | |
759 | wxGrid * _arg0; | |
760 | char * _argc0 = 0; | |
761 | ||
762 | self = self; | |
763 | if(!PyArg_ParseTuple(args,"s:wxGrid_EndBatch",&_argc0)) | |
764 | return NULL; | |
765 | if (_argc0) { | |
766 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
768 | return NULL; | |
769 | } | |
770 | } | |
771 | wxGrid_EndBatch(_arg0); | |
772 | Py_INCREF(Py_None); | |
773 | _resultobj = Py_None; | |
774 | return _resultobj; | |
775 | } | |
776 | ||
777 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
778 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args) { | |
779 | PyObject * _resultobj; | |
780 | int _result; | |
781 | wxGrid * _arg0; | |
782 | char * _argc0 = 0; | |
783 | ||
784 | self = self; | |
785 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetBatchCount",&_argc0)) | |
786 | return NULL; | |
787 | if (_argc0) { | |
788 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
790 | return NULL; | |
791 | } | |
792 | } | |
793 | _result = (int )wxGrid_GetBatchCount(_arg0); | |
794 | _resultobj = Py_BuildValue("i",_result); | |
795 | return _resultobj; | |
796 | } | |
797 | ||
798 | #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1)) | |
799 | static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args) { | |
800 | PyObject * _resultobj; | |
801 | wxGridCell * _result; | |
802 | wxGrid * _arg0; | |
803 | int _arg1; | |
804 | int _arg2; | |
805 | char * _argc0 = 0; | |
806 | char _ptemp[128]; | |
807 | ||
808 | self = self; | |
809 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCell",&_argc0,&_arg1,&_arg2)) | |
810 | return NULL; | |
811 | if (_argc0) { | |
812 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p."); | |
814 | return NULL; | |
815 | } | |
816 | } | |
817 | _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2); | |
818 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
819 | _resultobj = Py_BuildValue("s",_ptemp); | |
820 | return _resultobj; | |
821 | } | |
822 | ||
823 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1)) | |
824 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args) { | |
825 | PyObject * _resultobj; | |
826 | int _result; | |
827 | wxGrid * _arg0; | |
828 | int _arg1; | |
829 | int _arg2; | |
830 | char * _argc0 = 0; | |
831 | ||
832 | self = self; | |
833 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellAlignment",&_argc0,&_arg1,&_arg2)) | |
834 | return NULL; | |
835 | if (_argc0) { | |
836 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
838 | return NULL; | |
839 | } | |
840 | } | |
841 | _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2); | |
842 | _resultobj = Py_BuildValue("i",_result); | |
843 | return _resultobj; | |
844 | } | |
845 | ||
846 | #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment()) | |
847 | static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args) { | |
848 | PyObject * _resultobj; | |
849 | int _result; | |
850 | wxGrid * _arg0; | |
851 | char * _argc0 = 0; | |
852 | ||
853 | self = self; | |
854 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellAlignment",&_argc0)) | |
855 | return NULL; | |
856 | if (_argc0) { | |
857 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p."); | |
859 | return NULL; | |
860 | } | |
861 | } | |
862 | _result = (int )wxGrid_GetDefCellAlignment(_arg0); | |
863 | _resultobj = Py_BuildValue("i",_result); | |
864 | return _resultobj; | |
865 | } | |
866 | ||
867 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
868 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args) { | |
869 | PyObject * _resultobj; | |
870 | wxColour * _result; | |
871 | wxGrid * _arg0; | |
872 | int _arg1; | |
873 | int _arg2; | |
874 | char * _argc0 = 0; | |
875 | char _ptemp[128]; | |
876 | ||
877 | self = self; | |
878 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellBackgroundColour",&_argc0,&_arg1,&_arg2)) | |
879 | return NULL; | |
880 | if (_argc0) { | |
881 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
883 | return NULL; | |
884 | } | |
885 | } | |
886 | wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2); | |
887 | _result = (wxColour *) &_result_ref; | |
888 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
889 | _resultobj = Py_BuildValue("s",_ptemp); | |
890 | return _resultobj; | |
891 | } | |
892 | ||
893 | #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour()) | |
894 | static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args) { | |
895 | PyObject * _resultobj; | |
896 | wxColour * _result; | |
897 | wxGrid * _arg0; | |
898 | char * _argc0 = 0; | |
899 | char _ptemp[128]; | |
900 | ||
901 | self = self; | |
902 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellBackgroundColour",&_argc0)) | |
903 | return NULL; | |
904 | if (_argc0) { | |
905 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p."); | |
907 | return NULL; | |
908 | } | |
909 | } | |
910 | wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0); | |
911 | _result = (wxColour *) &_result_ref; | |
912 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
913 | _resultobj = Py_BuildValue("s",_ptemp); | |
914 | return _resultobj; | |
915 | } | |
916 | ||
917 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
918 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args) { | |
919 | PyObject * _resultobj; | |
920 | wxColour * _result; | |
921 | wxGrid * _arg0; | |
922 | int _arg1; | |
923 | int _arg2; | |
924 | char * _argc0 = 0; | |
925 | char _ptemp[128]; | |
926 | ||
927 | self = self; | |
928 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextColour",&_argc0,&_arg1,&_arg2)) | |
929 | return NULL; | |
930 | if (_argc0) { | |
931 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
933 | return NULL; | |
934 | } | |
935 | } | |
936 | wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2); | |
937 | _result = (wxColour *) &_result_ref; | |
938 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
939 | _resultobj = Py_BuildValue("s",_ptemp); | |
940 | return _resultobj; | |
941 | } | |
942 | ||
943 | #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour()) | |
944 | static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args) { | |
945 | PyObject * _resultobj; | |
946 | wxColour * _result; | |
947 | wxGrid * _arg0; | |
948 | char * _argc0 = 0; | |
949 | char _ptemp[128]; | |
950 | ||
951 | self = self; | |
952 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextColour",&_argc0)) | |
953 | return NULL; | |
954 | if (_argc0) { | |
955 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p."); | |
957 | return NULL; | |
958 | } | |
959 | } | |
960 | wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0); | |
961 | _result = (wxColour *) &_result_ref; | |
962 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
963 | _resultobj = Py_BuildValue("s",_ptemp); | |
964 | return _resultobj; | |
965 | } | |
966 | ||
967 | #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1)) | |
968 | static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args) { | |
969 | PyObject * _resultobj; | |
970 | wxFont * _result; | |
971 | wxGrid * _arg0; | |
972 | int _arg1; | |
973 | int _arg2; | |
974 | char * _argc0 = 0; | |
975 | char _ptemp[128]; | |
976 | ||
977 | self = self; | |
978 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextFont",&_argc0,&_arg1,&_arg2)) | |
979 | return NULL; | |
980 | if (_argc0) { | |
981 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p."); | |
983 | return NULL; | |
984 | } | |
985 | } | |
986 | _result = (wxFont *)wxGrid_GetCellTextFont(_arg0,_arg1,_arg2); | |
987 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
988 | _resultobj = Py_BuildValue("s",_ptemp); | |
989 | return _resultobj; | |
990 | } | |
991 | ||
992 | #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont()) | |
993 | static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args) { | |
994 | PyObject * _resultobj; | |
995 | wxFont * _result; | |
996 | wxGrid * _arg0; | |
997 | char * _argc0 = 0; | |
998 | char _ptemp[128]; | |
999 | ||
1000 | self = self; | |
1001 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextFont",&_argc0)) | |
1002 | return NULL; | |
1003 | if (_argc0) { | |
1004 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p."); | |
1006 | return NULL; | |
1007 | } | |
1008 | } | |
1009 | _result = (wxFont *)wxGrid_GetDefCellTextFont(_arg0); | |
1010 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1011 | _resultobj = Py_BuildValue("s",_ptemp); | |
1012 | return _resultobj; | |
1013 | } | |
1014 | ||
1015 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
1016 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args) { | |
1017 | PyObject * _resultobj; | |
1018 | wxString * _result; | |
1019 | wxGrid * _arg0; | |
1020 | int _arg1; | |
1021 | int _arg2; | |
1022 | char * _argc0 = 0; | |
1023 | ||
1024 | self = self; | |
1025 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellValue",&_argc0,&_arg1,&_arg2)) | |
1026 | return NULL; | |
1027 | if (_argc0) { | |
1028 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
1030 | return NULL; | |
1031 | } | |
1032 | } | |
1033 | wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2); | |
1034 | _result = (wxString *) &_result_ref; | |
1035 | { | |
1036 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1037 | } | |
1038 | return _resultobj; | |
1039 | } | |
1040 | ||
1041 | #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols()) | |
1042 | static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args) { | |
1043 | PyObject * _resultobj; | |
1044 | int _result; | |
1045 | wxGrid * _arg0; | |
1046 | char * _argc0 = 0; | |
1047 | ||
1048 | self = self; | |
1049 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCols",&_argc0)) | |
1050 | return NULL; | |
1051 | if (_argc0) { | |
1052 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p."); | |
1054 | return NULL; | |
1055 | } | |
1056 | } | |
1057 | _result = (int )wxGrid_GetCols(_arg0); | |
1058 | _resultobj = Py_BuildValue("i",_result); | |
1059 | return _resultobj; | |
1060 | } | |
1061 | ||
1062 | #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
1063 | static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args) { | |
1064 | PyObject * _resultobj; | |
1065 | int _result; | |
1066 | wxGrid * _arg0; | |
1067 | int _arg1; | |
1068 | char * _argc0 = 0; | |
1069 | ||
1070 | self = self; | |
1071 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetColumnWidth",&_argc0,&_arg1)) | |
1072 | return NULL; | |
1073 | if (_argc0) { | |
1074 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p."); | |
1076 | return NULL; | |
1077 | } | |
1078 | } | |
1079 | _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1); | |
1080 | _resultobj = Py_BuildValue("i",_result); | |
1081 | return _resultobj; | |
1082 | } | |
1083 | ||
1084 | #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect()) | |
1085 | static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args) { | |
1086 | PyObject * _resultobj; | |
1087 | wxRect * _result; | |
1088 | wxGrid * _arg0; | |
1089 | char * _argc0 = 0; | |
1090 | char _ptemp[128]; | |
1091 | ||
1092 | self = self; | |
1093 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCurrentRect",&_argc0)) | |
1094 | return NULL; | |
1095 | if (_argc0) { | |
1096 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p."); | |
1098 | return NULL; | |
1099 | } | |
1100 | } | |
1101 | wxRect & _result_ref = wxGrid_GetCurrentRect(_arg0); | |
1102 | _result = (wxRect *) &_result_ref; | |
1103 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1104 | _resultobj = Py_BuildValue("s",_ptemp); | |
1105 | return _resultobj; | |
1106 | } | |
1107 | ||
1108 | #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn()) | |
1109 | static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args) { | |
1110 | PyObject * _resultobj; | |
1111 | int _result; | |
1112 | wxGrid * _arg0; | |
1113 | char * _argc0 = 0; | |
1114 | ||
1115 | self = self; | |
1116 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorColumn",&_argc0)) | |
1117 | return NULL; | |
1118 | if (_argc0) { | |
1119 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p."); | |
1121 | return NULL; | |
1122 | } | |
1123 | } | |
1124 | _result = (int )wxGrid_GetCursorColumn(_arg0); | |
1125 | _resultobj = Py_BuildValue("i",_result); | |
1126 | return _resultobj; | |
1127 | } | |
1128 | ||
1129 | #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow()) | |
1130 | static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args) { | |
1131 | PyObject * _resultobj; | |
1132 | int _result; | |
1133 | wxGrid * _arg0; | |
1134 | char * _argc0 = 0; | |
1135 | ||
1136 | self = self; | |
1137 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorRow",&_argc0)) | |
1138 | return NULL; | |
1139 | if (_argc0) { | |
1140 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p."); | |
1142 | return NULL; | |
1143 | } | |
1144 | } | |
1145 | _result = (int )wxGrid_GetCursorRow(_arg0); | |
1146 | _resultobj = Py_BuildValue("i",_result); | |
1147 | return _resultobj; | |
1148 | } | |
1149 | ||
1150 | #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable()) | |
1151 | static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args) { | |
1152 | PyObject * _resultobj; | |
1153 | bool _result; | |
1154 | wxGrid * _arg0; | |
1155 | char * _argc0 = 0; | |
1156 | ||
1157 | self = self; | |
1158 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetEditable",&_argc0)) | |
1159 | return NULL; | |
1160 | if (_argc0) { | |
1161 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p."); | |
1163 | return NULL; | |
1164 | } | |
1165 | } | |
1166 | _result = (bool )wxGrid_GetEditable(_arg0); | |
1167 | _resultobj = Py_BuildValue("i",_result); | |
1168 | return _resultobj; | |
1169 | } | |
1170 | ||
1171 | #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar()) | |
1172 | static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args) { | |
1173 | PyObject * _resultobj; | |
1174 | wxScrollBar * _result; | |
1175 | wxGrid * _arg0; | |
1176 | char * _argc0 = 0; | |
1177 | char _ptemp[128]; | |
1178 | ||
1179 | self = self; | |
1180 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetHorizScrollBar",&_argc0)) | |
1181 | return NULL; | |
1182 | if (_argc0) { | |
1183 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p."); | |
1185 | return NULL; | |
1186 | } | |
1187 | } | |
1188 | _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0); | |
1189 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1190 | _resultobj = Py_BuildValue("s",_ptemp); | |
1191 | return _resultobj; | |
1192 | } | |
1193 | ||
1194 | #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0)) | |
1195 | static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args) { | |
1196 | PyObject * _resultobj; | |
1197 | int _result; | |
1198 | wxGrid * _arg0; | |
1199 | int _arg1; | |
1200 | char * _argc0 = 0; | |
1201 | ||
1202 | self = self; | |
1203 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelAlignment",&_argc0,&_arg1)) | |
1204 | return NULL; | |
1205 | if (_argc0) { | |
1206 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p."); | |
1208 | return NULL; | |
1209 | } | |
1210 | } | |
1211 | _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1); | |
1212 | _resultobj = Py_BuildValue("i",_result); | |
1213 | return _resultobj; | |
1214 | } | |
1215 | ||
1216 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
1217 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args) { | |
1218 | PyObject * _resultobj; | |
1219 | wxColour * _result; | |
1220 | wxGrid * _arg0; | |
1221 | char * _argc0 = 0; | |
1222 | char _ptemp[128]; | |
1223 | ||
1224 | self = self; | |
1225 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelBackgroundColour",&_argc0)) | |
1226 | return NULL; | |
1227 | if (_argc0) { | |
1228 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
1230 | return NULL; | |
1231 | } | |
1232 | } | |
1233 | wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0); | |
1234 | _result = (wxColour *) &_result_ref; | |
1235 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1236 | _resultobj = Py_BuildValue("s",_ptemp); | |
1237 | return _resultobj; | |
1238 | } | |
1239 | ||
1240 | #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0)) | |
1241 | static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args) { | |
1242 | PyObject * _resultobj; | |
1243 | int _result; | |
1244 | wxGrid * _arg0; | |
1245 | int _arg1; | |
1246 | char * _argc0 = 0; | |
1247 | ||
1248 | self = self; | |
1249 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelSize",&_argc0,&_arg1)) | |
1250 | return NULL; | |
1251 | if (_argc0) { | |
1252 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p."); | |
1254 | return NULL; | |
1255 | } | |
1256 | } | |
1257 | _result = (int )wxGrid_GetLabelSize(_arg0,_arg1); | |
1258 | _resultobj = Py_BuildValue("i",_result); | |
1259 | return _resultobj; | |
1260 | } | |
1261 | ||
1262 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
1263 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args) { | |
1264 | PyObject * _resultobj; | |
1265 | wxColour * _result; | |
1266 | wxGrid * _arg0; | |
1267 | char * _argc0 = 0; | |
1268 | char _ptemp[128]; | |
1269 | ||
1270 | self = self; | |
1271 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextColour",&_argc0)) | |
1272 | return NULL; | |
1273 | if (_argc0) { | |
1274 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
1276 | return NULL; | |
1277 | } | |
1278 | } | |
1279 | wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0); | |
1280 | _result = (wxColour *) &_result_ref; | |
1281 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1282 | _resultobj = Py_BuildValue("s",_ptemp); | |
1283 | return _resultobj; | |
1284 | } | |
1285 | ||
1286 | #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont()) | |
1287 | static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args) { | |
1288 | PyObject * _resultobj; | |
1289 | wxFont * _result; | |
1290 | wxGrid * _arg0; | |
1291 | char * _argc0 = 0; | |
1292 | char _ptemp[128]; | |
1293 | ||
1294 | self = self; | |
1295 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextFont",&_argc0)) | |
1296 | return NULL; | |
1297 | if (_argc0) { | |
1298 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p."); | |
1300 | return NULL; | |
1301 | } | |
1302 | } | |
1303 | _result = (wxFont *)wxGrid_GetLabelTextFont(_arg0); | |
1304 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1305 | _resultobj = Py_BuildValue("s",_ptemp); | |
1306 | return _resultobj; | |
1307 | } | |
1308 | ||
1309 | #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1)) | |
1310 | static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args) { | |
1311 | PyObject * _resultobj; | |
1312 | wxString * _result; | |
1313 | wxGrid * _arg0; | |
1314 | int _arg1; | |
1315 | int _arg2; | |
1316 | char * _argc0 = 0; | |
1317 | ||
1318 | self = self; | |
1319 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetLabelValue",&_argc0,&_arg1,&_arg2)) | |
1320 | return NULL; | |
1321 | if (_argc0) { | |
1322 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p."); | |
1324 | return NULL; | |
1325 | } | |
1326 | } | |
1327 | wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2); | |
1328 | _result = (wxString *) &_result_ref; | |
1329 | { | |
1330 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1331 | } | |
1332 | return _resultobj; | |
1333 | } | |
1334 | ||
1335 | #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0)) | |
1336 | static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args) { | |
1337 | PyObject * _resultobj; | |
1338 | int _result; | |
1339 | wxGrid * _arg0; | |
1340 | int _arg1; | |
1341 | char * _argc0 = 0; | |
1342 | ||
1343 | self = self; | |
1344 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetRowHeight",&_argc0,&_arg1)) | |
1345 | return NULL; | |
1346 | if (_argc0) { | |
1347 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p."); | |
1349 | return NULL; | |
1350 | } | |
1351 | } | |
1352 | _result = (int )wxGrid_GetRowHeight(_arg0,_arg1); | |
1353 | _resultobj = Py_BuildValue("i",_result); | |
1354 | return _resultobj; | |
1355 | } | |
1356 | ||
1357 | #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows()) | |
1358 | static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args) { | |
1359 | PyObject * _resultobj; | |
1360 | int _result; | |
1361 | wxGrid * _arg0; | |
1362 | char * _argc0 = 0; | |
1363 | ||
1364 | self = self; | |
1365 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetRows",&_argc0)) | |
1366 | return NULL; | |
1367 | if (_argc0) { | |
1368 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p."); | |
1370 | return NULL; | |
1371 | } | |
1372 | } | |
1373 | _result = (int )wxGrid_GetRows(_arg0); | |
1374 | _resultobj = Py_BuildValue("i",_result); | |
1375 | return _resultobj; | |
1376 | } | |
1377 | ||
1378 | #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX()) | |
1379 | static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args) { | |
1380 | PyObject * _resultobj; | |
1381 | int _result; | |
1382 | wxGrid * _arg0; | |
1383 | char * _argc0 = 0; | |
1384 | ||
1385 | self = self; | |
1386 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosX",&_argc0)) | |
1387 | return NULL; | |
1388 | if (_argc0) { | |
1389 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p."); | |
1391 | return NULL; | |
1392 | } | |
1393 | } | |
1394 | _result = (int )wxGrid_GetScrollPosX(_arg0); | |
1395 | _resultobj = Py_BuildValue("i",_result); | |
1396 | return _resultobj; | |
1397 | } | |
1398 | ||
1399 | #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY()) | |
1400 | static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args) { | |
1401 | PyObject * _resultobj; | |
1402 | int _result; | |
1403 | wxGrid * _arg0; | |
1404 | char * _argc0 = 0; | |
1405 | ||
1406 | self = self; | |
1407 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosY",&_argc0)) | |
1408 | return NULL; | |
1409 | if (_argc0) { | |
1410 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p."); | |
1412 | return NULL; | |
1413 | } | |
1414 | } | |
1415 | _result = (int )wxGrid_GetScrollPosY(_arg0); | |
1416 | _resultobj = Py_BuildValue("i",_result); | |
1417 | return _resultobj; | |
1418 | } | |
1419 | ||
1420 | #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem()) | |
1421 | static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args) { | |
1422 | PyObject * _resultobj; | |
1423 | wxTextCtrl * _result; | |
1424 | wxGrid * _arg0; | |
1425 | char * _argc0 = 0; | |
1426 | char _ptemp[128]; | |
1427 | ||
1428 | self = self; | |
1429 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetTextItem",&_argc0)) | |
1430 | return NULL; | |
1431 | if (_argc0) { | |
1432 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p."); | |
1434 | return NULL; | |
1435 | } | |
1436 | } | |
1437 | _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0); | |
1438 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
1439 | _resultobj = Py_BuildValue("s",_ptemp); | |
1440 | return _resultobj; | |
1441 | } | |
1442 | ||
1443 | #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar()) | |
1444 | static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args) { | |
1445 | PyObject * _resultobj; | |
1446 | wxScrollBar * _result; | |
1447 | wxGrid * _arg0; | |
1448 | char * _argc0 = 0; | |
1449 | char _ptemp[128]; | |
1450 | ||
1451 | self = self; | |
1452 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetVertScrollBar",&_argc0)) | |
1453 | return NULL; | |
1454 | if (_argc0) { | |
1455 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p."); | |
1457 | return NULL; | |
1458 | } | |
1459 | } | |
1460 | _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0); | |
1461 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1462 | _resultobj = Py_BuildValue("s",_ptemp); | |
1463 | return _resultobj; | |
1464 | } | |
1465 | ||
1466 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
1467 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args) { | |
1468 | PyObject * _resultobj; | |
1469 | bool _result; | |
1470 | wxGrid * _arg0; | |
1471 | int _arg1 = 0; | |
1472 | int _arg2 = 1; | |
1473 | bool _arg3 = (1); | |
1474 | char * _argc0 = 0; | |
1475 | int tempbool3; | |
1476 | ||
1477 | self = self; | |
1478 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertCols",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1479 | return NULL; | |
1480 | if (_argc0) { | |
1481 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
1483 | return NULL; | |
1484 | } | |
1485 | } | |
1486 | _arg3 = (bool ) tempbool3; | |
1487 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); | |
1488 | _resultobj = Py_BuildValue("i",_result); | |
1489 | return _resultobj; | |
1490 | } | |
1491 | ||
1492 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
1493 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args) { | |
1494 | PyObject * _resultobj; | |
1495 | bool _result; | |
1496 | wxGrid * _arg0; | |
1497 | int _arg1 = 0; | |
1498 | int _arg2 = 1; | |
1499 | bool _arg3 = (1); | |
1500 | char * _argc0 = 0; | |
1501 | int tempbool3; | |
1502 | ||
1503 | self = self; | |
1504 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertRows",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1505 | return NULL; | |
1506 | if (_argc0) { | |
1507 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
1509 | return NULL; | |
1510 | } | |
1511 | } | |
1512 | _arg3 = (bool ) tempbool3; | |
1513 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); | |
1514 | _resultobj = Py_BuildValue("i",_result); | |
1515 | return _resultobj; | |
1516 | } | |
1517 | ||
1518 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2)) | |
1519 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args) { | |
1520 | PyObject * _resultobj; | |
1521 | wxGrid * _arg0; | |
1522 | int _arg1; | |
1523 | int _arg2; | |
1524 | int _arg3; | |
1525 | char * _argc0 = 0; | |
1526 | ||
1527 | self = self; | |
1528 | if(!PyArg_ParseTuple(args,"siii:wxGrid_SetCellAlignment",&_argc0,&_arg1,&_arg2,&_arg3)) | |
1529 | return NULL; | |
1530 | if (_argc0) { | |
1531 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); | |
1533 | return NULL; | |
1534 | } | |
1535 | } | |
1536 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3); | |
1537 | Py_INCREF(Py_None); | |
1538 | _resultobj = Py_None; | |
1539 | return _resultobj; | |
1540 | } | |
1541 | ||
1542 | #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0)) | |
1543 | static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args) { | |
1544 | PyObject * _resultobj; | |
1545 | wxGrid * _arg0; | |
1546 | int _arg1; | |
1547 | char * _argc0 = 0; | |
1548 | ||
1549 | self = self; | |
1550 | if(!PyArg_ParseTuple(args,"si:wxGrid_SetDefCellAlignment",&_argc0,&_arg1)) | |
1551 | return NULL; | |
1552 | if (_argc0) { | |
1553 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p."); | |
1555 | return NULL; | |
1556 | } | |
1557 | } | |
1558 | wxGrid_SetDefCellAlignment(_arg0,_arg1); | |
1559 | Py_INCREF(Py_None); | |
1560 | _resultobj = Py_None; | |
1561 | return _resultobj; | |
1562 | } | |
1563 | ||
1564 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
1565 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args) { | |
1566 | PyObject * _resultobj; | |
1567 | wxGrid * _arg0; | |
1568 | wxColour * _arg1; | |
1569 | int _arg2; | |
1570 | int _arg3; | |
1571 | char * _argc0 = 0; | |
1572 | char * _argc1 = 0; | |
1573 | ||
1574 | self = self; | |
1575 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellBackgroundColour",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1576 | return NULL; | |
1577 | if (_argc0) { | |
1578 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
1580 | return NULL; | |
1581 | } | |
1582 | } | |
1583 | if (_argc1) { | |
1584 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p."); | |
1586 | return NULL; | |
1587 | } | |
1588 | } | |
1589 | wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3); | |
1590 | Py_INCREF(Py_None); | |
1591 | _resultobj = Py_None; | |
1592 | return _resultobj; | |
1593 | } | |
1594 | ||
1595 | #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0)) | |
1596 | static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args) { | |
1597 | PyObject * _resultobj; | |
1598 | wxGrid * _arg0; | |
1599 | wxColour * _arg1; | |
1600 | char * _argc0 = 0; | |
1601 | char * _argc1 = 0; | |
1602 | ||
1603 | self = self; | |
1604 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0,&_argc1)) | |
1605 | return NULL; | |
1606 | if (_argc0) { | |
1607 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p."); | |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
1612 | if (_argc1) { | |
1613 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p."); | |
1615 | return NULL; | |
1616 | } | |
1617 | } | |
1618 | wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1); | |
1619 | Py_INCREF(Py_None); | |
1620 | _resultobj = Py_None; | |
1621 | return _resultobj; | |
1622 | } | |
1623 | ||
1624 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
1625 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args) { | |
1626 | PyObject * _resultobj; | |
1627 | wxGrid * _arg0; | |
1628 | wxColour * _arg1; | |
1629 | int _arg2; | |
1630 | int _arg3; | |
1631 | char * _argc0 = 0; | |
1632 | char * _argc1 = 0; | |
1633 | ||
1634 | self = self; | |
1635 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextColour",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1636 | return NULL; | |
1637 | if (_argc0) { | |
1638 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
1640 | return NULL; | |
1641 | } | |
1642 | } | |
1643 | if (_argc1) { | |
1644 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p."); | |
1646 | return NULL; | |
1647 | } | |
1648 | } | |
1649 | wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3); | |
1650 | Py_INCREF(Py_None); | |
1651 | _resultobj = Py_None; | |
1652 | return _resultobj; | |
1653 | } | |
1654 | ||
1655 | #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0)) | |
1656 | static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args) { | |
1657 | PyObject * _resultobj; | |
1658 | wxGrid * _arg0; | |
1659 | wxColour * _arg1; | |
1660 | char * _argc0 = 0; | |
1661 | char * _argc1 = 0; | |
1662 | ||
1663 | self = self; | |
1664 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextColour",&_argc0,&_argc1)) | |
1665 | return NULL; | |
1666 | if (_argc0) { | |
1667 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p."); | |
1669 | return NULL; | |
1670 | } | |
1671 | } | |
1672 | if (_argc1) { | |
1673 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p."); | |
1675 | return NULL; | |
1676 | } | |
1677 | } | |
1678 | wxGrid_SetDefCellTextColour(_arg0,*_arg1); | |
1679 | Py_INCREF(Py_None); | |
1680 | _resultobj = Py_None; | |
1681 | return _resultobj; | |
1682 | } | |
1683 | ||
1684 | #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2)) | |
1685 | static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args) { | |
1686 | PyObject * _resultobj; | |
1687 | wxGrid * _arg0; | |
1688 | wxFont * _arg1; | |
1689 | int _arg2; | |
1690 | int _arg3; | |
1691 | char * _argc0 = 0; | |
1692 | char * _argc1 = 0; | |
1693 | ||
1694 | self = self; | |
1695 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextFont",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1696 | return NULL; | |
1697 | if (_argc0) { | |
1698 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p."); | |
1700 | return NULL; | |
1701 | } | |
1702 | } | |
1703 | if (_argc1) { | |
1704 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p."); | |
1706 | return NULL; | |
1707 | } | |
1708 | } | |
1709 | wxGrid_SetCellTextFont(_arg0,_arg1,_arg2,_arg3); | |
1710 | Py_INCREF(Py_None); | |
1711 | _resultobj = Py_None; | |
1712 | return _resultobj; | |
1713 | } | |
1714 | ||
1715 | #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0)) | |
1716 | static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args) { | |
1717 | PyObject * _resultobj; | |
1718 | wxGrid * _arg0; | |
1719 | wxFont * _arg1; | |
1720 | char * _argc0 = 0; | |
1721 | char * _argc1 = 0; | |
1722 | ||
1723 | self = self; | |
1724 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextFont",&_argc0,&_argc1)) | |
1725 | return NULL; | |
1726 | if (_argc0) { | |
1727 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p."); | |
1729 | return NULL; | |
1730 | } | |
1731 | } | |
1732 | if (_argc1) { | |
1733 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p."); | |
1735 | return NULL; | |
1736 | } | |
1737 | } | |
1738 | wxGrid_SetDefCellTextFont(_arg0,_arg1); | |
1739 | Py_INCREF(Py_None); | |
1740 | _resultobj = Py_None; | |
1741 | return _resultobj; | |
1742 | } | |
1743 | ||
1744 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
1745 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args) { | |
1746 | PyObject * _resultobj; | |
1747 | wxGrid * _arg0; | |
1748 | wxString * _arg1; | |
1749 | int _arg2; | |
1750 | int _arg3; | |
1751 | char * _argc0 = 0; | |
1752 | PyObject * _obj1 = 0; | |
1753 | ||
1754 | self = self; | |
1755 | if(!PyArg_ParseTuple(args,"sOii:wxGrid_SetCellValue",&_argc0,&_obj1,&_arg2,&_arg3)) | |
1756 | return NULL; | |
1757 | if (_argc0) { | |
1758 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
1760 | return NULL; | |
1761 | } | |
1762 | } | |
1763 | { | |
1764 | if (!PyString_Check(_obj1)) { | |
1765 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1766 | return NULL; | |
1767 | } | |
1768 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1769 | } | |
1770 | wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3); | |
1771 | Py_INCREF(Py_None); | |
1772 | _resultobj = Py_None; | |
1773 | { | |
1774 | if (_obj1) | |
1775 | delete _arg1; | |
1776 | } | |
1777 | return _resultobj; | |
1778 | } | |
1779 | ||
1780 | #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
1781 | static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args) { | |
1782 | PyObject * _resultobj; | |
1783 | wxGrid * _arg0; | |
1784 | int _arg1; | |
1785 | int _arg2; | |
1786 | char * _argc0 = 0; | |
1787 | ||
1788 | self = self; | |
1789 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetColumnWidth",&_argc0,&_arg1,&_arg2)) | |
1790 | return NULL; | |
1791 | if (_argc0) { | |
1792 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p."); | |
1794 | return NULL; | |
1795 | } | |
1796 | } | |
1797 | wxGrid_SetColumnWidth(_arg0,_arg1,_arg2); | |
1798 | Py_INCREF(Py_None); | |
1799 | _resultobj = Py_None; | |
1800 | return _resultobj; | |
1801 | } | |
1802 | ||
1803 | #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0)) | |
1804 | static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args) { | |
1805 | PyObject * _resultobj; | |
1806 | wxGrid * _arg0; | |
1807 | wxPen * _arg1; | |
1808 | char * _argc0 = 0; | |
1809 | char * _argc1 = 0; | |
1810 | ||
1811 | self = self; | |
1812 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDividerPen",&_argc0,&_argc1)) | |
1813 | return NULL; | |
1814 | if (_argc0) { | |
1815 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p."); | |
1817 | return NULL; | |
1818 | } | |
1819 | } | |
1820 | if (_argc1) { | |
1821 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPen_p")) { | |
1822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p."); | |
1823 | return NULL; | |
1824 | } | |
1825 | } | |
1826 | wxGrid_SetDividerPen(_arg0,_arg1); | |
1827 | Py_INCREF(Py_None); | |
1828 | _resultobj = Py_None; | |
1829 | return _resultobj; | |
1830 | } | |
1831 | ||
1832 | #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0)) | |
1833 | static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args) { | |
1834 | PyObject * _resultobj; | |
1835 | wxGrid * _arg0; | |
1836 | bool _arg1; | |
1837 | char * _argc0 = 0; | |
1838 | int tempbool1; | |
1839 | ||
1840 | self = self; | |
1841 | if(!PyArg_ParseTuple(args,"si:wxGrid_SetEditable",&_argc0,&tempbool1)) | |
1842 | return NULL; | |
1843 | if (_argc0) { | |
1844 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p."); | |
1846 | return NULL; | |
1847 | } | |
1848 | } | |
1849 | _arg1 = (bool ) tempbool1; | |
1850 | wxGrid_SetEditable(_arg0,_arg1); | |
1851 | Py_INCREF(Py_None); | |
1852 | _resultobj = Py_None; | |
1853 | return _resultobj; | |
1854 | } | |
1855 | ||
1856 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
1857 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args) { | |
1858 | PyObject * _resultobj; | |
1859 | wxGrid * _arg0; | |
1860 | int _arg1; | |
1861 | int _arg2; | |
1862 | char * _argc0 = 0; | |
1863 | ||
1864 | self = self; | |
1865 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetGridCursor",&_argc0,&_arg1,&_arg2)) | |
1866 | return NULL; | |
1867 | if (_argc0) { | |
1868 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
1870 | return NULL; | |
1871 | } | |
1872 | } | |
1873 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); | |
1874 | Py_INCREF(Py_None); | |
1875 | _resultobj = Py_None; | |
1876 | return _resultobj; | |
1877 | } | |
1878 | ||
1879 | #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1)) | |
1880 | static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args) { | |
1881 | PyObject * _resultobj; | |
1882 | wxGrid * _arg0; | |
1883 | int _arg1; | |
1884 | int _arg2; | |
1885 | char * _argc0 = 0; | |
1886 | ||
1887 | self = self; | |
1888 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelAlignment",&_argc0,&_arg1,&_arg2)) | |
1889 | return NULL; | |
1890 | if (_argc0) { | |
1891 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p."); | |
1893 | return NULL; | |
1894 | } | |
1895 | } | |
1896 | wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2); | |
1897 | Py_INCREF(Py_None); | |
1898 | _resultobj = Py_None; | |
1899 | return _resultobj; | |
1900 | } | |
1901 | ||
1902 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
1903 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args) { | |
1904 | PyObject * _resultobj; | |
1905 | wxGrid * _arg0; | |
1906 | wxColour * _arg1; | |
1907 | char * _argc0 = 0; | |
1908 | char * _argc1 = 0; | |
1909 | ||
1910 | self = self; | |
1911 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelBackgroundColour",&_argc0,&_argc1)) | |
1912 | return NULL; | |
1913 | if (_argc0) { | |
1914 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
1916 | return NULL; | |
1917 | } | |
1918 | } | |
1919 | if (_argc1) { | |
1920 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p."); | |
1922 | return NULL; | |
1923 | } | |
1924 | } | |
1925 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); | |
1926 | Py_INCREF(Py_None); | |
1927 | _resultobj = Py_None; | |
1928 | return _resultobj; | |
1929 | } | |
1930 | ||
1931 | #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1)) | |
1932 | static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args) { | |
1933 | PyObject * _resultobj; | |
1934 | wxGrid * _arg0; | |
1935 | int _arg1; | |
1936 | int _arg2; | |
1937 | char * _argc0 = 0; | |
1938 | ||
1939 | self = self; | |
1940 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelSize",&_argc0,&_arg1,&_arg2)) | |
1941 | return NULL; | |
1942 | if (_argc0) { | |
1943 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p."); | |
1945 | return NULL; | |
1946 | } | |
1947 | } | |
1948 | wxGrid_SetLabelSize(_arg0,_arg1,_arg2); | |
1949 | Py_INCREF(Py_None); | |
1950 | _resultobj = Py_None; | |
1951 | return _resultobj; | |
1952 | } | |
1953 | ||
1954 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
1955 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args) { | |
1956 | PyObject * _resultobj; | |
1957 | wxGrid * _arg0; | |
1958 | wxColour * _arg1; | |
1959 | char * _argc0 = 0; | |
1960 | char * _argc1 = 0; | |
1961 | ||
1962 | self = self; | |
1963 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextColour",&_argc0,&_argc1)) | |
1964 | return NULL; | |
1965 | if (_argc0) { | |
1966 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
1968 | return NULL; | |
1969 | } | |
1970 | } | |
1971 | if (_argc1) { | |
1972 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p."); | |
1974 | return NULL; | |
1975 | } | |
1976 | } | |
1977 | wxGrid_SetLabelTextColour(_arg0,*_arg1); | |
1978 | Py_INCREF(Py_None); | |
1979 | _resultobj = Py_None; | |
1980 | return _resultobj; | |
1981 | } | |
1982 | ||
1983 | #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0)) | |
1984 | static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args) { | |
1985 | PyObject * _resultobj; | |
1986 | wxGrid * _arg0; | |
1987 | wxFont * _arg1; | |
1988 | char * _argc0 = 0; | |
1989 | char * _argc1 = 0; | |
1990 | ||
1991 | self = self; | |
1992 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextFont",&_argc0,&_argc1)) | |
1993 | return NULL; | |
1994 | if (_argc0) { | |
1995 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p."); | |
1997 | return NULL; | |
1998 | } | |
1999 | } | |
2000 | if (_argc1) { | |
2001 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
2002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p."); | |
2003 | return NULL; | |
2004 | } | |
2005 | } | |
2006 | wxGrid_SetLabelTextFont(_arg0,_arg1); | |
2007 | Py_INCREF(Py_None); | |
2008 | _resultobj = Py_None; | |
2009 | return _resultobj; | |
2010 | } | |
2011 | ||
2012 | #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2)) | |
2013 | static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args) { | |
2014 | PyObject * _resultobj; | |
2015 | wxGrid * _arg0; | |
2016 | int _arg1; | |
2017 | wxString * _arg2; | |
2018 | int _arg3; | |
2019 | char * _argc0 = 0; | |
2020 | PyObject * _obj2 = 0; | |
2021 | ||
2022 | self = self; | |
2023 | if(!PyArg_ParseTuple(args,"siOi:wxGrid_SetLabelValue",&_argc0,&_arg1,&_obj2,&_arg3)) | |
2024 | return NULL; | |
2025 | if (_argc0) { | |
2026 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p."); | |
2028 | return NULL; | |
2029 | } | |
2030 | } | |
2031 | { | |
2032 | if (!PyString_Check(_obj2)) { | |
2033 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2034 | return NULL; | |
2035 | } | |
2036 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2037 | } | |
2038 | wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3); | |
2039 | Py_INCREF(Py_None); | |
2040 | _resultobj = Py_None; | |
2041 | { | |
2042 | if (_obj2) | |
2043 | delete _arg2; | |
2044 | } | |
2045 | return _resultobj; | |
2046 | } | |
2047 | ||
2048 | #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1)) | |
2049 | static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args) { | |
2050 | PyObject * _resultobj; | |
2051 | wxGrid * _arg0; | |
2052 | int _arg1; | |
2053 | int _arg2; | |
2054 | char * _argc0 = 0; | |
2055 | ||
2056 | self = self; | |
2057 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetRowHeight",&_argc0,&_arg1,&_arg2)) | |
2058 | return NULL; | |
2059 | if (_argc0) { | |
2060 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p."); | |
2062 | return NULL; | |
2063 | } | |
2064 | } | |
2065 | wxGrid_SetRowHeight(_arg0,_arg1,_arg2); | |
2066 | Py_INCREF(Py_None); | |
2067 | _resultobj = Py_None; | |
2068 | return _resultobj; | |
2069 | } | |
2070 | ||
2071 | #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions()) | |
2072 | static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args) { | |
2073 | PyObject * _resultobj; | |
2074 | wxGrid * _arg0; | |
2075 | char * _argc0 = 0; | |
2076 | ||
2077 | self = self; | |
2078 | if(!PyArg_ParseTuple(args,"s:wxGrid_UpdateDimensions",&_argc0)) | |
2079 | return NULL; | |
2080 | if (_argc0) { | |
2081 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p."); | |
2083 | return NULL; | |
2084 | } | |
2085 | } | |
2086 | wxGrid_UpdateDimensions(_arg0); | |
2087 | Py_INCREF(Py_None); | |
2088 | _resultobj = Py_None; | |
2089 | return _resultobj; | |
2090 | } | |
2091 | ||
2092 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { | |
2093 | wxNotebookEvent *src; | |
2094 | wxCommandEvent *dest; | |
2095 | src = (wxNotebookEvent *) ptr; | |
2096 | dest = (wxCommandEvent *) src; | |
2097 | return (void *) dest; | |
2098 | } | |
2099 | ||
2100 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
2101 | wxNotebookEvent *src; | |
2102 | wxEvent *dest; | |
2103 | src = (wxNotebookEvent *) ptr; | |
2104 | dest = (wxEvent *) src; | |
2105 | return (void *) dest; | |
2106 | } | |
2107 | ||
2108 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
2109 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) { | |
2110 | PyObject * _resultobj; | |
2111 | int _result; | |
2112 | wxNotebookEvent * _arg0; | |
2113 | char * _argc0 = 0; | |
2114 | ||
2115 | self = self; | |
2116 | if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0)) | |
2117 | return NULL; | |
2118 | if (_argc0) { | |
2119 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
2120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); | |
2121 | return NULL; | |
2122 | } | |
2123 | } | |
2124 | _result = (int )wxNotebookEvent_GetSelection(_arg0); | |
2125 | _resultobj = Py_BuildValue("i",_result); | |
2126 | return _resultobj; | |
2127 | } | |
2128 | ||
2129 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
2130 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) { | |
2131 | PyObject * _resultobj; | |
2132 | int _result; | |
2133 | wxNotebookEvent * _arg0; | |
2134 | char * _argc0 = 0; | |
2135 | ||
2136 | self = self; | |
2137 | if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0)) | |
2138 | return NULL; | |
2139 | if (_argc0) { | |
2140 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
2141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); | |
2142 | return NULL; | |
2143 | } | |
2144 | } | |
2145 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); | |
2146 | _resultobj = Py_BuildValue("i",_result); | |
2147 | return _resultobj; | |
2148 | } | |
2149 | ||
2150 | static void *SwigwxNotebookTowxControl(void *ptr) { | |
2151 | wxNotebook *src; | |
2152 | wxControl *dest; | |
2153 | src = (wxNotebook *) ptr; | |
2154 | dest = (wxControl *) src; | |
2155 | return (void *) dest; | |
2156 | } | |
2157 | ||
2158 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
2159 | wxNotebook *src; | |
2160 | wxWindow *dest; | |
2161 | src = (wxNotebook *) ptr; | |
2162 | dest = (wxWindow *) src; | |
2163 | return (void *) dest; | |
2164 | } | |
2165 | ||
2166 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
2167 | wxNotebook *src; | |
2168 | wxEvtHandler *dest; | |
2169 | src = (wxNotebook *) ptr; | |
2170 | dest = (wxEvtHandler *) src; | |
2171 | return (void *) dest; | |
2172 | } | |
2173 | ||
2174 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2175 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) { | |
2176 | PyObject * _resultobj; | |
2177 | wxNotebook * _result; | |
2178 | wxWindow * _arg0; | |
2179 | wxWindowID _arg1; | |
2180 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2181 | wxSize * _arg3 = &wxPyDefaultSize; | |
2182 | long _arg4 = 0; | |
2183 | char * _arg5 = "notebook"; | |
2184 | char * _argc0 = 0; | |
2185 | char * _argc2 = 0; | |
2186 | char * _argc3 = 0; | |
2187 | char _ptemp[128]; | |
2188 | ||
2189 | self = self; | |
2190 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2191 | return NULL; | |
2192 | if (_argc0) { | |
2193 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); | |
2195 | return NULL; | |
2196 | } | |
2197 | } | |
2198 | if (_argc2) { | |
2199 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p."); | |
2201 | return NULL; | |
2202 | } | |
2203 | } | |
2204 | if (_argc3) { | |
2205 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p."); | |
2207 | return NULL; | |
2208 | } | |
2209 | } | |
2210 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2211 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
2212 | _resultobj = Py_BuildValue("s",_ptemp); | |
2213 | return _resultobj; | |
2214 | } | |
2215 | ||
2216 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
2217 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) { | |
2218 | PyObject * _resultobj; | |
2219 | int _result; | |
2220 | wxNotebook * _arg0; | |
2221 | char * _argc0 = 0; | |
2222 | ||
2223 | self = self; | |
2224 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0)) | |
2225 | return NULL; | |
2226 | if (_argc0) { | |
2227 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); | |
2229 | return NULL; | |
2230 | } | |
2231 | } | |
2232 | _result = (int )wxNotebook_GetPageCount(_arg0); | |
2233 | _resultobj = Py_BuildValue("i",_result); | |
2234 | return _resultobj; | |
2235 | } | |
2236 | ||
2237 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
2238 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) { | |
2239 | PyObject * _resultobj; | |
2240 | int _result; | |
2241 | wxNotebook * _arg0; | |
2242 | int _arg1; | |
2243 | char * _argc0 = 0; | |
2244 | ||
2245 | self = self; | |
2246 | if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1)) | |
2247 | return NULL; | |
2248 | if (_argc0) { | |
2249 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); | |
2251 | return NULL; | |
2252 | } | |
2253 | } | |
2254 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); | |
2255 | _resultobj = Py_BuildValue("i",_result); | |
2256 | return _resultobj; | |
2257 | } | |
2258 | ||
2259 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
2260 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) { | |
2261 | PyObject * _resultobj; | |
2262 | wxNotebook * _arg0; | |
2263 | bool _arg1 = (1); | |
2264 | char * _argc0 = 0; | |
2265 | int tempbool1; | |
2266 | ||
2267 | self = self; | |
2268 | if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1)) | |
2269 | return NULL; | |
2270 | if (_argc0) { | |
2271 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); | |
2273 | return NULL; | |
2274 | } | |
2275 | } | |
2276 | _arg1 = (bool ) tempbool1; | |
2277 | wxNotebook_AdvanceSelection(_arg0,_arg1); | |
2278 | Py_INCREF(Py_None); | |
2279 | _resultobj = Py_None; | |
2280 | return _resultobj; | |
2281 | } | |
2282 | ||
2283 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
2284 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) { | |
2285 | PyObject * _resultobj; | |
2286 | int _result; | |
2287 | wxNotebook * _arg0; | |
2288 | char * _argc0 = 0; | |
2289 | ||
2290 | self = self; | |
2291 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0)) | |
2292 | return NULL; | |
2293 | if (_argc0) { | |
2294 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); | |
2296 | return NULL; | |
2297 | } | |
2298 | } | |
2299 | _result = (int )wxNotebook_GetSelection(_arg0); | |
2300 | _resultobj = Py_BuildValue("i",_result); | |
2301 | return _resultobj; | |
2302 | } | |
2303 | ||
2304 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
2305 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) { | |
2306 | PyObject * _resultobj; | |
2307 | bool _result; | |
2308 | wxNotebook * _arg0; | |
2309 | int _arg1; | |
2310 | wxString * _arg2; | |
2311 | char * _argc0 = 0; | |
2312 | PyObject * _obj2 = 0; | |
2313 | ||
2314 | self = self; | |
2315 | if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2)) | |
2316 | return NULL; | |
2317 | if (_argc0) { | |
2318 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); | |
2320 | return NULL; | |
2321 | } | |
2322 | } | |
2323 | { | |
2324 | if (!PyString_Check(_obj2)) { | |
2325 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2326 | return NULL; | |
2327 | } | |
2328 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2329 | } | |
2330 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); | |
2331 | _resultobj = Py_BuildValue("i",_result); | |
2332 | { | |
2333 | if (_obj2) | |
2334 | delete _arg2; | |
2335 | } | |
2336 | return _resultobj; | |
2337 | } | |
2338 | ||
2339 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
2340 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) { | |
2341 | PyObject * _resultobj; | |
2342 | wxString * _result; | |
2343 | wxNotebook * _arg0; | |
2344 | int _arg1; | |
2345 | char * _argc0 = 0; | |
2346 | ||
2347 | self = self; | |
2348 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1)) | |
2349 | return NULL; | |
2350 | if (_argc0) { | |
2351 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); | |
2357 | { | |
2358 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2359 | } | |
2360 | { | |
2361 | delete _result; | |
2362 | } | |
2363 | return _resultobj; | |
2364 | } | |
2365 | ||
2366 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
2367 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) { | |
2368 | PyObject * _resultobj; | |
2369 | wxNotebook * _arg0; | |
2370 | wxImageList * _arg1; | |
2371 | char * _argc0 = 0; | |
2372 | char * _argc1 = 0; | |
2373 | ||
2374 | self = self; | |
2375 | if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1)) | |
2376 | return NULL; | |
2377 | if (_argc0) { | |
2378 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); | |
2380 | return NULL; | |
2381 | } | |
2382 | } | |
2383 | if (_argc1) { | |
2384 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) { | |
2385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); | |
2386 | return NULL; | |
2387 | } | |
2388 | } | |
2389 | wxNotebook_SetImageList(_arg0,_arg1); | |
2390 | Py_INCREF(Py_None); | |
2391 | _resultobj = Py_None; | |
2392 | return _resultobj; | |
2393 | } | |
2394 | ||
2395 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
2396 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) { | |
2397 | PyObject * _resultobj; | |
2398 | wxImageList * _result; | |
2399 | wxNotebook * _arg0; | |
2400 | char * _argc0 = 0; | |
2401 | char _ptemp[128]; | |
2402 | ||
2403 | self = self; | |
2404 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0)) | |
2405 | return NULL; | |
2406 | if (_argc0) { | |
2407 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); | |
2409 | return NULL; | |
2410 | } | |
2411 | } | |
2412 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); | |
2413 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
2414 | _resultobj = Py_BuildValue("s",_ptemp); | |
2415 | return _resultobj; | |
2416 | } | |
2417 | ||
2418 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
2419 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) { | |
2420 | PyObject * _resultobj; | |
2421 | int _result; | |
2422 | wxNotebook * _arg0; | |
2423 | int _arg1; | |
2424 | char * _argc0 = 0; | |
2425 | ||
2426 | self = self; | |
2427 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1)) | |
2428 | return NULL; | |
2429 | if (_argc0) { | |
2430 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); | |
2432 | return NULL; | |
2433 | } | |
2434 | } | |
2435 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); | |
2436 | _resultobj = Py_BuildValue("i",_result); | |
2437 | return _resultobj; | |
2438 | } | |
2439 | ||
2440 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
2441 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) { | |
2442 | PyObject * _resultobj; | |
2443 | bool _result; | |
2444 | wxNotebook * _arg0; | |
2445 | int _arg1; | |
2446 | int _arg2; | |
2447 | char * _argc0 = 0; | |
2448 | ||
2449 | self = self; | |
2450 | if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2)) | |
2451 | return NULL; | |
2452 | if (_argc0) { | |
2453 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); | |
2455 | return NULL; | |
2456 | } | |
2457 | } | |
2458 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); | |
2459 | _resultobj = Py_BuildValue("i",_result); | |
2460 | return _resultobj; | |
2461 | } | |
2462 | ||
2463 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
2464 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) { | |
2465 | PyObject * _resultobj; | |
2466 | int _result; | |
2467 | wxNotebook * _arg0; | |
2468 | char * _argc0 = 0; | |
2469 | ||
2470 | self = self; | |
2471 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0)) | |
2472 | return NULL; | |
2473 | if (_argc0) { | |
2474 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); | |
2476 | return NULL; | |
2477 | } | |
2478 | } | |
2479 | _result = (int )wxNotebook_GetRowCount(_arg0); | |
2480 | _resultobj = Py_BuildValue("i",_result); | |
2481 | return _resultobj; | |
2482 | } | |
2483 | ||
2484 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) | |
2485 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) { | |
2486 | PyObject * _resultobj; | |
2487 | bool _result; | |
2488 | wxNotebook * _arg0; | |
2489 | int _arg1; | |
2490 | char * _argc0 = 0; | |
2491 | ||
2492 | self = self; | |
2493 | if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1)) | |
2494 | return NULL; | |
2495 | if (_argc0) { | |
2496 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); | |
2498 | return NULL; | |
2499 | } | |
2500 | } | |
2501 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); | |
2502 | _resultobj = Py_BuildValue("i",_result); | |
2503 | return _resultobj; | |
2504 | } | |
2505 | ||
2506 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
2507 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) { | |
2508 | PyObject * _resultobj; | |
2509 | bool _result; | |
2510 | wxNotebook * _arg0; | |
2511 | char * _argc0 = 0; | |
2512 | ||
2513 | self = self; | |
2514 | if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_argc0)) | |
2515 | return NULL; | |
2516 | if (_argc0) { | |
2517 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); | |
2519 | return NULL; | |
2520 | } | |
2521 | } | |
2522 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); | |
2523 | _resultobj = Py_BuildValue("i",_result); | |
2524 | return _resultobj; | |
2525 | } | |
2526 | ||
2527 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2528 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) { | |
2529 | PyObject * _resultobj; | |
2530 | bool _result; | |
2531 | wxNotebook * _arg0; | |
2532 | wxWindow * _arg1; | |
2533 | wxString * _arg2; | |
2534 | bool _arg3 = (0); | |
2535 | int _arg4 = -1; | |
2536 | char * _argc0 = 0; | |
2537 | char * _argc1 = 0; | |
2538 | PyObject * _obj2 = 0; | |
2539 | int tempbool3; | |
2540 | ||
2541 | self = self; | |
2542 | if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&tempbool3,&_arg4)) | |
2543 | return NULL; | |
2544 | if (_argc0) { | |
2545 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); | |
2547 | return NULL; | |
2548 | } | |
2549 | } | |
2550 | if (_argc1) { | |
2551 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); | |
2553 | return NULL; | |
2554 | } | |
2555 | } | |
2556 | { | |
2557 | if (!PyString_Check(_obj2)) { | |
2558 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2559 | return NULL; | |
2560 | } | |
2561 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2562 | } | |
2563 | _arg3 = (bool ) tempbool3; | |
2564 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
2565 | _resultobj = Py_BuildValue("i",_result); | |
2566 | { | |
2567 | if (_obj2) | |
2568 | delete _arg2; | |
2569 | } | |
2570 | return _resultobj; | |
2571 | } | |
2572 | ||
2573 | #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2574 | static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args) { | |
2575 | PyObject * _resultobj; | |
2576 | bool _result; | |
2577 | wxNotebook * _arg0; | |
2578 | int _arg1; | |
2579 | wxWindow * _arg2; | |
2580 | wxString * _arg3; | |
2581 | bool _arg4 = (0); | |
2582 | int _arg5 = -1; | |
2583 | char * _argc0 = 0; | |
2584 | char * _argc2 = 0; | |
2585 | PyObject * _obj3 = 0; | |
2586 | int tempbool4; | |
2587 | ||
2588 | self = self; | |
2589 | if(!PyArg_ParseTuple(args,"sisO|ii:wxNotebook_InsertPage",&_argc0,&_arg1,&_argc2,&_obj3,&tempbool4,&_arg5)) | |
2590 | return NULL; | |
2591 | if (_argc0) { | |
2592 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | if (_argc2) { | |
2598 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
2599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p."); | |
2600 | return NULL; | |
2601 | } | |
2602 | } | |
2603 | { | |
2604 | if (!PyString_Check(_obj3)) { | |
2605 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2606 | return NULL; | |
2607 | } | |
2608 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
2609 | } | |
2610 | _arg4 = (bool ) tempbool4; | |
2611 | _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); | |
2612 | _resultobj = Py_BuildValue("i",_result); | |
2613 | { | |
2614 | if (_obj3) | |
2615 | delete _arg3; | |
2616 | } | |
2617 | return _resultobj; | |
2618 | } | |
2619 | ||
2620 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) | |
2621 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) { | |
2622 | PyObject * _resultobj; | |
2623 | wxNotebookPage * _result; | |
2624 | wxNotebook * _arg0; | |
2625 | int _arg1; | |
2626 | char * _argc0 = 0; | |
2627 | char _ptemp[128]; | |
2628 | ||
2629 | self = self; | |
2630 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1)) | |
2631 | return NULL; | |
2632 | if (_argc0) { | |
2633 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
2634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); | |
2635 | return NULL; | |
2636 | } | |
2637 | } | |
2638 | _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1); | |
2639 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p"); | |
2640 | _resultobj = Py_BuildValue("s",_ptemp); | |
2641 | return _resultobj; | |
2642 | } | |
2643 | ||
2644 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { | |
2645 | wxSplitterWindow *src; | |
2646 | wxWindow *dest; | |
2647 | src = (wxSplitterWindow *) ptr; | |
2648 | dest = (wxWindow *) src; | |
2649 | return (void *) dest; | |
2650 | } | |
2651 | ||
2652 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
2653 | wxSplitterWindow *src; | |
2654 | wxEvtHandler *dest; | |
2655 | src = (wxSplitterWindow *) ptr; | |
2656 | dest = (wxEvtHandler *) src; | |
2657 | return (void *) dest; | |
2658 | } | |
2659 | ||
2660 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2661 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) { | |
2662 | PyObject * _resultobj; | |
2663 | wxSplitterWindow * _result; | |
2664 | wxWindow * _arg0; | |
2665 | wxWindowID _arg1; | |
2666 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2667 | wxSize * _arg3 = &wxPyDefaultSize; | |
2668 | long _arg4 = (wxSP_3D); | |
2669 | char * _arg5 = "splitterWindow"; | |
2670 | char * _argc0 = 0; | |
2671 | char * _argc2 = 0; | |
2672 | char * _argc3 = 0; | |
2673 | char _ptemp[128]; | |
2674 | ||
2675 | self = self; | |
2676 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2677 | return NULL; | |
2678 | if (_argc0) { | |
2679 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); | |
2681 | return NULL; | |
2682 | } | |
2683 | } | |
2684 | if (_argc2) { | |
2685 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p."); | |
2687 | return NULL; | |
2688 | } | |
2689 | } | |
2690 | if (_argc3) { | |
2691 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p."); | |
2693 | return NULL; | |
2694 | } | |
2695 | } | |
2696 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2697 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
2698 | _resultobj = Py_BuildValue("s",_ptemp); | |
2699 | return _resultobj; | |
2700 | } | |
2701 | ||
2702 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) | |
2703 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) { | |
2704 | PyObject * _resultobj; | |
2705 | int _result; | |
2706 | wxSplitterWindow * _arg0; | |
2707 | char * _argc0 = 0; | |
2708 | ||
2709 | self = self; | |
2710 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0)) | |
2711 | return NULL; | |
2712 | if (_argc0) { | |
2713 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
2715 | return NULL; | |
2716 | } | |
2717 | } | |
2718 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); | |
2719 | _resultobj = Py_BuildValue("i",_result); | |
2720 | return _resultobj; | |
2721 | } | |
2722 | ||
2723 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
2724 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) { | |
2725 | PyObject * _resultobj; | |
2726 | int _result; | |
2727 | wxSplitterWindow * _arg0; | |
2728 | char * _argc0 = 0; | |
2729 | ||
2730 | self = self; | |
2731 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_argc0)) | |
2732 | return NULL; | |
2733 | if (_argc0) { | |
2734 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); | |
2736 | return NULL; | |
2737 | } | |
2738 | } | |
2739 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); | |
2740 | _resultobj = Py_BuildValue("i",_result); | |
2741 | return _resultobj; | |
2742 | } | |
2743 | ||
2744 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) | |
2745 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) { | |
2746 | PyObject * _resultobj; | |
2747 | int _result; | |
2748 | wxSplitterWindow * _arg0; | |
2749 | char * _argc0 = 0; | |
2750 | ||
2751 | self = self; | |
2752 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0)) | |
2753 | return NULL; | |
2754 | if (_argc0) { | |
2755 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); | |
2757 | return NULL; | |
2758 | } | |
2759 | } | |
2760 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); | |
2761 | _resultobj = Py_BuildValue("i",_result); | |
2762 | return _resultobj; | |
2763 | } | |
2764 | ||
2765 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
2766 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) { | |
2767 | PyObject * _resultobj; | |
2768 | wxWindow * _result; | |
2769 | wxSplitterWindow * _arg0; | |
2770 | char * _argc0 = 0; | |
2771 | char _ptemp[128]; | |
2772 | ||
2773 | self = self; | |
2774 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0)) | |
2775 | return NULL; | |
2776 | if (_argc0) { | |
2777 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); | |
2779 | return NULL; | |
2780 | } | |
2781 | } | |
2782 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); | |
2783 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
2784 | _resultobj = Py_BuildValue("s",_ptemp); | |
2785 | return _resultobj; | |
2786 | } | |
2787 | ||
2788 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
2789 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) { | |
2790 | PyObject * _resultobj; | |
2791 | wxWindow * _result; | |
2792 | wxSplitterWindow * _arg0; | |
2793 | char * _argc0 = 0; | |
2794 | char _ptemp[128]; | |
2795 | ||
2796 | self = self; | |
2797 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0)) | |
2798 | return NULL; | |
2799 | if (_argc0) { | |
2800 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); | |
2802 | return NULL; | |
2803 | } | |
2804 | } | |
2805 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); | |
2806 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
2807 | _resultobj = Py_BuildValue("s",_ptemp); | |
2808 | return _resultobj; | |
2809 | } | |
2810 | ||
2811 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
2812 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) { | |
2813 | PyObject * _resultobj; | |
2814 | wxSplitterWindow * _arg0; | |
2815 | wxWindow * _arg1; | |
2816 | char * _argc0 = 0; | |
2817 | char * _argc1 = 0; | |
2818 | ||
2819 | self = self; | |
2820 | if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1)) | |
2821 | return NULL; | |
2822 | if (_argc0) { | |
2823 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); | |
2825 | return NULL; | |
2826 | } | |
2827 | } | |
2828 | if (_argc1) { | |
2829 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); | |
2831 | return NULL; | |
2832 | } | |
2833 | } | |
2834 | wxSplitterWindow_Initialize(_arg0,_arg1); | |
2835 | Py_INCREF(Py_None); | |
2836 | _resultobj = Py_None; | |
2837 | return _resultobj; | |
2838 | } | |
2839 | ||
2840 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
2841 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) { | |
2842 | PyObject * _resultobj; | |
2843 | bool _result; | |
2844 | wxSplitterWindow * _arg0; | |
2845 | char * _argc0 = 0; | |
2846 | ||
2847 | self = self; | |
2848 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0)) | |
2849 | return NULL; | |
2850 | if (_argc0) { | |
2851 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); | |
2853 | return NULL; | |
2854 | } | |
2855 | } | |
2856 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); | |
2857 | _resultobj = Py_BuildValue("i",_result); | |
2858 | return _resultobj; | |
2859 | } | |
2860 | ||
2861 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) | |
2862 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) { | |
2863 | PyObject * _resultobj; | |
2864 | wxSplitterWindow * _arg0; | |
2865 | int _arg1; | |
2866 | int _arg2 = (1); | |
2867 | char * _argc0 = 0; | |
2868 | ||
2869 | self = self; | |
2870 | if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2)) | |
2871 | return NULL; | |
2872 | if (_argc0) { | |
2873 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); | |
2875 | return NULL; | |
2876 | } | |
2877 | } | |
2878 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); | |
2879 | Py_INCREF(Py_None); | |
2880 | _resultobj = Py_None; | |
2881 | return _resultobj; | |
2882 | } | |
2883 | ||
2884 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) | |
2885 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) { | |
2886 | PyObject * _resultobj; | |
2887 | wxSplitterWindow * _arg0; | |
2888 | int _arg1; | |
2889 | char * _argc0 = 0; | |
2890 | ||
2891 | self = self; | |
2892 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1)) | |
2893 | return NULL; | |
2894 | if (_argc0) { | |
2895 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
2897 | return NULL; | |
2898 | } | |
2899 | } | |
2900 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); | |
2901 | Py_INCREF(Py_None); | |
2902 | _resultobj = Py_None; | |
2903 | return _resultobj; | |
2904 | } | |
2905 | ||
2906 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
2907 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) { | |
2908 | PyObject * _resultobj; | |
2909 | wxSplitterWindow * _arg0; | |
2910 | int _arg1; | |
2911 | char * _argc0 = 0; | |
2912 | ||
2913 | self = self; | |
2914 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1)) | |
2915 | return NULL; | |
2916 | if (_argc0) { | |
2917 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); | |
2919 | return NULL; | |
2920 | } | |
2921 | } | |
2922 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); | |
2923 | Py_INCREF(Py_None); | |
2924 | _resultobj = Py_None; | |
2925 | return _resultobj; | |
2926 | } | |
2927 | ||
2928 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
2929 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) { | |
2930 | PyObject * _resultobj; | |
2931 | bool _result; | |
2932 | wxSplitterWindow * _arg0; | |
2933 | wxWindow * _arg1; | |
2934 | wxWindow * _arg2; | |
2935 | int _arg3 = 0; | |
2936 | char * _argc0 = 0; | |
2937 | char * _argc1 = 0; | |
2938 | char * _argc2 = 0; | |
2939 | ||
2940 | self = self; | |
2941 | if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3)) | |
2942 | return NULL; | |
2943 | if (_argc0) { | |
2944 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); | |
2946 | return NULL; | |
2947 | } | |
2948 | } | |
2949 | if (_argc1) { | |
2950 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
2952 | return NULL; | |
2953 | } | |
2954 | } | |
2955 | if (_argc2) { | |
2956 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
2957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
2958 | return NULL; | |
2959 | } | |
2960 | } | |
2961 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); | |
2962 | _resultobj = Py_BuildValue("i",_result); | |
2963 | return _resultobj; | |
2964 | } | |
2965 | ||
2966 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
2967 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) { | |
2968 | PyObject * _resultobj; | |
2969 | bool _result; | |
2970 | wxSplitterWindow * _arg0; | |
2971 | wxWindow * _arg1; | |
2972 | wxWindow * _arg2; | |
2973 | int _arg3 = 0; | |
2974 | char * _argc0 = 0; | |
2975 | char * _argc1 = 0; | |
2976 | char * _argc2 = 0; | |
2977 | ||
2978 | self = self; | |
2979 | if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3)) | |
2980 | return NULL; | |
2981 | if (_argc0) { | |
2982 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); | |
2984 | return NULL; | |
2985 | } | |
2986 | } | |
2987 | if (_argc1) { | |
2988 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
2990 | return NULL; | |
2991 | } | |
2992 | } | |
2993 | if (_argc2) { | |
2994 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
2995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
2996 | return NULL; | |
2997 | } | |
2998 | } | |
2999 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); | |
3000 | _resultobj = Py_BuildValue("i",_result); | |
3001 | return _resultobj; | |
3002 | } | |
3003 | ||
3004 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
3005 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) { | |
3006 | PyObject * _resultobj; | |
3007 | bool _result; | |
3008 | wxSplitterWindow * _arg0; | |
3009 | wxWindow * _arg1 = NULL; | |
3010 | char * _argc0 = 0; | |
3011 | char * _argc1 = 0; | |
3012 | ||
3013 | self = self; | |
3014 | if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1)) | |
3015 | return NULL; | |
3016 | if (_argc0) { | |
3017 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); | |
3019 | return NULL; | |
3020 | } | |
3021 | } | |
3022 | if (_argc1) { | |
3023 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
3024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); | |
3025 | return NULL; | |
3026 | } | |
3027 | } | |
3028 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); | |
3029 | _resultobj = Py_BuildValue("i",_result); | |
3030 | return _resultobj; | |
3031 | } | |
3032 | ||
3033 | static PyMethodDef windows2cMethods[] = { | |
3034 | { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 }, | |
3035 | { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 }, | |
3036 | { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 }, | |
3037 | { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 }, | |
3038 | { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 }, | |
3039 | { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 }, | |
3040 | { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 }, | |
3041 | { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 }, | |
3042 | { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 }, | |
3043 | { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 }, | |
3044 | { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 }, | |
3045 | { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 }, | |
3046 | { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 }, | |
3047 | { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 }, | |
3048 | { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 }, | |
3049 | { "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 }, | |
3050 | { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 }, | |
3051 | { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 }, | |
3052 | { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 }, | |
3053 | { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 }, | |
3054 | { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 }, | |
3055 | { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 }, | |
3056 | { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 }, | |
3057 | { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 }, | |
3058 | { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 }, | |
3059 | { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 }, | |
3060 | { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 }, | |
3061 | { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 }, | |
3062 | { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 }, | |
3063 | { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 }, | |
3064 | { "new_wxNotebook", _wrap_new_wxNotebook, 1 }, | |
3065 | { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 }, | |
3066 | { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 }, | |
3067 | { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 }, | |
3068 | { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 }, | |
3069 | { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 }, | |
3070 | { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 }, | |
3071 | { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 }, | |
3072 | { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 }, | |
3073 | { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 }, | |
3074 | { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 }, | |
3075 | { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 }, | |
3076 | { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 }, | |
3077 | { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 }, | |
3078 | { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 }, | |
3079 | { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 }, | |
3080 | { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 }, | |
3081 | { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 }, | |
3082 | { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 }, | |
3083 | { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 }, | |
3084 | { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 }, | |
3085 | { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 }, | |
3086 | { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 }, | |
3087 | { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 }, | |
3088 | { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 }, | |
3089 | { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 }, | |
3090 | { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 }, | |
3091 | { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 }, | |
3092 | { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 }, | |
3093 | { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 }, | |
3094 | { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 }, | |
3095 | { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 }, | |
3096 | { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 }, | |
3097 | { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 }, | |
3098 | { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 }, | |
3099 | { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 }, | |
3100 | { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 }, | |
3101 | { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 }, | |
3102 | { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 }, | |
3103 | { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 }, | |
3104 | { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 }, | |
3105 | { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 }, | |
3106 | { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 }, | |
3107 | { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 }, | |
3108 | { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 }, | |
3109 | { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 }, | |
3110 | { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 }, | |
3111 | { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 }, | |
3112 | { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 }, | |
3113 | { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 }, | |
3114 | { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 }, | |
3115 | { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 }, | |
3116 | { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 }, | |
3117 | { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 }, | |
3118 | { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 }, | |
3119 | { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 }, | |
3120 | { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 }, | |
3121 | { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 }, | |
3122 | { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 }, | |
3123 | { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 }, | |
3124 | { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 }, | |
3125 | { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 }, | |
3126 | { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 }, | |
3127 | { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 }, | |
3128 | { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 }, | |
3129 | { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 }, | |
3130 | { "new_wxGrid", _wrap_new_wxGrid, 1 }, | |
3131 | { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 }, | |
3132 | { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 }, | |
3133 | { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 }, | |
3134 | { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 }, | |
3135 | { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 }, | |
3136 | { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 }, | |
3137 | { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 }, | |
3138 | { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 }, | |
3139 | { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 }, | |
3140 | { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 }, | |
3141 | { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 }, | |
3142 | { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 }, | |
3143 | { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 }, | |
3144 | { NULL, NULL } | |
3145 | }; | |
3146 | static PyObject *SWIG_globals; | |
3147 | #ifdef __cplusplus | |
3148 | extern "C" | |
3149 | #endif | |
3150 | SWIGEXPORT(void,initwindows2c)() { | |
3151 | PyObject *m, *d; | |
3152 | SWIG_globals = SWIG_newvarlink(); | |
3153 | m = Py_InitModule("windows2c", windows2cMethods); | |
3154 | d = PyModule_GetDict(m); | |
3155 | PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL)); | |
3156 | PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL)); | |
3157 | PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL)); | |
3158 | /* | |
3159 | * These are the pointer type-equivalency mappings. | |
3160 | * (Used by the SWIG pointer type-checker). | |
3161 | */ | |
3162 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
3163 | SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
3164 | SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
3165 | SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0); | |
3166 | SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); | |
3167 | SWIG_RegisterMapping("_signed_long","_long",0); | |
3168 | SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); | |
3169 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); | |
3170 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
3171 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
3172 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
3173 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
3174 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler); | |
3175 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler); | |
3176 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
3177 | SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0); | |
3178 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
3179 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
3180 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
3181 | SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0); | |
3182 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
3183 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
3184 | SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0); | |
3185 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
3186 | SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0); | |
3187 | SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0); | |
3188 | SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0); | |
3189 | SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0); | |
3190 | SWIG_RegisterMapping("_long","_wxDash",0); | |
3191 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3192 | SWIG_RegisterMapping("_long","_signed_long",0); | |
3193 | SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); | |
3194 | SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); | |
3195 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
3196 | SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); | |
3197 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
3198 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
3199 | SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0); | |
3200 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
3201 | SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0); | |
3202 | SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0); | |
3203 | SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel); | |
3204 | SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel); | |
3205 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
3206 | SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); | |
3207 | SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); | |
3208 | SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); | |
3209 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
3210 | SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); | |
3211 | SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0); | |
3212 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
3213 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
3214 | SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0); | |
3215 | SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0); | |
3216 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
3217 | SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0); | |
3218 | SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0); | |
3219 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
3220 | SWIG_RegisterMapping("_uint","_int",0); | |
3221 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
3222 | SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
3223 | SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
3224 | SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0); | |
3225 | SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0); | |
3226 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
3227 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
3228 | SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
3229 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0); | |
3230 | SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0); | |
3231 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3232 | SWIG_RegisterMapping("_class_wxButton","_wxButton",0); | |
3233 | SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0); | |
3234 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
3235 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
3236 | SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); | |
3237 | SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); | |
3238 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
3239 | SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0); | |
3240 | SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0); | |
3241 | SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0); | |
3242 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3243 | SWIG_RegisterMapping("_EBool","_int",0); | |
3244 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
3245 | SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); | |
3246 | SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); | |
3247 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
3248 | SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0); | |
3249 | SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0); | |
3250 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
3251 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
3252 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3253 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
3254 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
3255 | SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0); | |
3256 | SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0); | |
3257 | SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0); | |
3258 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
3259 | SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel); | |
3260 | SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel); | |
3261 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
3262 | SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0); | |
3263 | SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0); | |
3264 | SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0); | |
3265 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
3266 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3267 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3268 | SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0); | |
3269 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3270 | SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0); | |
3271 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
3272 | SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0); | |
3273 | SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0); | |
3274 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
3275 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3276 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3277 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3278 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
3279 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3280 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
3281 | SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
3282 | SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
3283 | SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow); | |
3284 | SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow); | |
3285 | SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow); | |
3286 | SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow); | |
3287 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
3288 | SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0); | |
3289 | SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0); | |
3290 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
3291 | SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0); | |
3292 | SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0); | |
3293 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
3294 | SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0); | |
3295 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3296 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3297 | SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0); | |
3298 | SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0); | |
3299 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3300 | SWIG_RegisterMapping("_signed_short","_short",0); | |
3301 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
3302 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
3303 | SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); | |
3304 | SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); | |
3305 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
3306 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
3307 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
3308 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
3309 | SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0); | |
3310 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
3311 | SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl); | |
3312 | SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl); | |
3313 | SWIG_RegisterMapping("_wxControl","_class_wxControl",0); | |
3314 | SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0); | |
3315 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
3316 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
3317 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
3318 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
3319 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
3320 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
3321 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
3322 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
3323 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
3324 | SWIG_RegisterMapping("_short","_signed_short",0); | |
3325 | SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0); | |
3326 | SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0); | |
3327 | SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); | |
3328 | SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); | |
3329 | SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); | |
3330 | SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); | |
3331 | SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0); | |
3332 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
3333 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
3334 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
3335 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
3336 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
3337 | SWIG_RegisterMapping("_int","_EBool",0); | |
3338 | SWIG_RegisterMapping("_int","_uint",0); | |
3339 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
3340 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
3341 | SWIG_RegisterMapping("_int","_signed_int",0); | |
3342 | SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); | |
3343 | SWIG_RegisterMapping("_wxButton","_class_wxButton",0); | |
3344 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
3345 | SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0); | |
3346 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
3347 | SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); | |
3348 | SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0); | |
3349 | SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0); | |
3350 | SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0); | |
3351 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
3352 | SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0); | |
3353 | SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl); | |
3354 | SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl); | |
3355 | SWIG_RegisterMapping("_class_wxControl","_wxControl",0); | |
3356 | SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0); | |
3357 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
3358 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
3359 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
3360 | SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); | |
3361 | SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); | |
3362 | SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); | |
3363 | SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0); | |
3364 | SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); | |
3365 | SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); | |
3366 | SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); | |
3367 | SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0); | |
3368 | SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
3369 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
3370 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0); | |
3371 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
3372 | SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0); | |
3373 | SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0); | |
3374 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
3375 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
3376 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
3377 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
3378 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
3379 | SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
3380 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
3381 | SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
3382 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler); | |
3383 | SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler); | |
3384 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
3385 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
3386 | SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0); | |
3387 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
3388 | SWIG_RegisterMapping("_wxDash","_long",0); | |
3389 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
3390 | SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); | |
3391 | SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); | |
3392 | SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); | |
3393 | SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
3394 | SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
3395 | SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow); | |
3396 | SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow); | |
3397 | SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow); | |
3398 | SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow); | |
3399 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
3400 | } |