]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : gtk/windows2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 810) | |
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) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
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 char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
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 | #ifdef __WXMSW__ | |
61 | #include <wx/msw/taskbar.h> | |
62 | #endif | |
63 | ||
64 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
65 | PyObject* o2; | |
66 | PyObject* o3; | |
67 | if (!target) { | |
68 | target = o; | |
69 | } else if (target == Py_None) { | |
70 | Py_DECREF(Py_None); | |
71 | target = o; | |
72 | } else { | |
73 | if (!PyList_Check(target)) { | |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
89 | if (!target) { | |
90 | target = o; | |
91 | } else if (target == Py_None) { | |
92 | Py_DECREF(Py_None); | |
93 | target = o; | |
94 | } else { | |
95 | if (!PyTuple_Check(target)) { | |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
100 | o3 = PyTuple_New(1); | |
101 | PyTuple_SetItem(o3, 0, o); | |
102 | ||
103 | o2 = target; | |
104 | target = PySequence_Concat(o2, o3); | |
105 | Py_DECREF(o2); | |
106 | Py_DECREF(o3); | |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
111 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
112 | #ifdef __cplusplus | |
113 | extern "C" { | |
114 | #endif | |
115 | static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) { | |
116 | wxNotebookEvent *src; | |
117 | wxNotifyEvent *dest; | |
118 | src = (wxNotebookEvent *) ptr; | |
119 | dest = (wxNotifyEvent *) src; | |
120 | return (void *) dest; | |
121 | } | |
122 | ||
123 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { | |
124 | wxNotebookEvent *src; | |
125 | wxCommandEvent *dest; | |
126 | src = (wxNotebookEvent *) ptr; | |
127 | dest = (wxCommandEvent *) src; | |
128 | return (void *) dest; | |
129 | } | |
130 | ||
131 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
132 | wxNotebookEvent *src; | |
133 | wxEvent *dest; | |
134 | src = (wxNotebookEvent *) ptr; | |
135 | dest = (wxEvent *) src; | |
136 | return (void *) dest; | |
137 | } | |
138 | ||
139 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
140 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
141 | PyObject * _resultobj; | |
142 | int _result; | |
143 | wxNotebookEvent * _arg0; | |
144 | PyObject * _argo0 = 0; | |
145 | char *_kwnames[] = { "self", NULL }; | |
146 | ||
147 | self = self; | |
148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0)) | |
149 | return NULL; | |
150 | if (_argo0) { | |
151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); | |
154 | return NULL; | |
155 | } | |
156 | } | |
157 | { | |
158 | wxPy_BEGIN_ALLOW_THREADS; | |
159 | _result = (int )wxNotebookEvent_GetSelection(_arg0); | |
160 | ||
161 | wxPy_END_ALLOW_THREADS; | |
162 | } _resultobj = Py_BuildValue("i",_result); | |
163 | return _resultobj; | |
164 | } | |
165 | ||
166 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
167 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
168 | PyObject * _resultobj; | |
169 | int _result; | |
170 | wxNotebookEvent * _arg0; | |
171 | PyObject * _argo0 = 0; | |
172 | char *_kwnames[] = { "self", NULL }; | |
173 | ||
174 | self = self; | |
175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0)) | |
176 | return NULL; | |
177 | if (_argo0) { | |
178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); | |
181 | return NULL; | |
182 | } | |
183 | } | |
184 | { | |
185 | wxPy_BEGIN_ALLOW_THREADS; | |
186 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); | |
187 | ||
188 | wxPy_END_ALLOW_THREADS; | |
189 | } _resultobj = Py_BuildValue("i",_result); | |
190 | return _resultobj; | |
191 | } | |
192 | ||
193 | #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0)) | |
194 | static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
195 | PyObject * _resultobj; | |
196 | wxNotebookEvent * _arg0; | |
197 | int _arg1; | |
198 | PyObject * _argo0 = 0; | |
199 | char *_kwnames[] = { "self","page", NULL }; | |
200 | ||
201 | self = self; | |
202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1)) | |
203 | return NULL; | |
204 | if (_argo0) { | |
205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p."); | |
208 | return NULL; | |
209 | } | |
210 | } | |
211 | { | |
212 | wxPy_BEGIN_ALLOW_THREADS; | |
213 | wxNotebookEvent_SetOldSelection(_arg0,_arg1); | |
214 | ||
215 | wxPy_END_ALLOW_THREADS; | |
216 | } Py_INCREF(Py_None); | |
217 | _resultobj = Py_None; | |
218 | return _resultobj; | |
219 | } | |
220 | ||
221 | #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
222 | static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
223 | PyObject * _resultobj; | |
224 | wxNotebookEvent * _arg0; | |
225 | int _arg1; | |
226 | PyObject * _argo0 = 0; | |
227 | char *_kwnames[] = { "self","page", NULL }; | |
228 | ||
229 | self = self; | |
230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1)) | |
231 | return NULL; | |
232 | if (_argo0) { | |
233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p."); | |
236 | return NULL; | |
237 | } | |
238 | } | |
239 | { | |
240 | wxPy_BEGIN_ALLOW_THREADS; | |
241 | wxNotebookEvent_SetSelection(_arg0,_arg1); | |
242 | ||
243 | wxPy_END_ALLOW_THREADS; | |
244 | } Py_INCREF(Py_None); | |
245 | _resultobj = Py_None; | |
246 | return _resultobj; | |
247 | } | |
248 | ||
249 | static void *SwigwxNotebookTowxControl(void *ptr) { | |
250 | wxNotebook *src; | |
251 | wxControl *dest; | |
252 | src = (wxNotebook *) ptr; | |
253 | dest = (wxControl *) src; | |
254 | return (void *) dest; | |
255 | } | |
256 | ||
257 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
258 | wxNotebook *src; | |
259 | wxWindow *dest; | |
260 | src = (wxNotebook *) ptr; | |
261 | dest = (wxWindow *) src; | |
262 | return (void *) dest; | |
263 | } | |
264 | ||
265 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
266 | wxNotebook *src; | |
267 | wxEvtHandler *dest; | |
268 | src = (wxNotebook *) ptr; | |
269 | dest = (wxEvtHandler *) src; | |
270 | return (void *) dest; | |
271 | } | |
272 | ||
273 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
274 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
275 | PyObject * _resultobj; | |
276 | wxNotebook * _result; | |
277 | wxWindow * _arg0; | |
278 | wxWindowID _arg1; | |
279 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
280 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
281 | long _arg4 = (long ) 0; | |
282 | char * _arg5 = (char *) "notebook"; | |
283 | PyObject * _argo0 = 0; | |
284 | wxPoint temp; | |
285 | PyObject * _obj2 = 0; | |
286 | wxSize temp0; | |
287 | PyObject * _obj3 = 0; | |
288 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
289 | char _ptemp[128]; | |
290 | ||
291 | self = self; | |
292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
293 | return NULL; | |
294 | if (_argo0) { | |
295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); | |
298 | return NULL; | |
299 | } | |
300 | } | |
301 | if (_obj2) | |
302 | { | |
303 | _arg2 = &temp; | |
304 | if (! wxPoint_helper(_obj2, &_arg2)) | |
305 | return NULL; | |
306 | } | |
307 | if (_obj3) | |
308 | { | |
309 | _arg3 = &temp0; | |
310 | if (! wxSize_helper(_obj3, &_arg3)) | |
311 | return NULL; | |
312 | } | |
313 | { | |
314 | wxPy_BEGIN_ALLOW_THREADS; | |
315 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
316 | ||
317 | wxPy_END_ALLOW_THREADS; | |
318 | } if (_result) { | |
319 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
320 | _resultobj = Py_BuildValue("s",_ptemp); | |
321 | } else { | |
322 | Py_INCREF(Py_None); | |
323 | _resultobj = Py_None; | |
324 | } | |
325 | return _resultobj; | |
326 | } | |
327 | ||
328 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
329 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
330 | PyObject * _resultobj; | |
331 | int _result; | |
332 | wxNotebook * _arg0; | |
333 | PyObject * _argo0 = 0; | |
334 | char *_kwnames[] = { "self", NULL }; | |
335 | ||
336 | self = self; | |
337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0)) | |
338 | return NULL; | |
339 | if (_argo0) { | |
340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); | |
343 | return NULL; | |
344 | } | |
345 | } | |
346 | { | |
347 | wxPy_BEGIN_ALLOW_THREADS; | |
348 | _result = (int )wxNotebook_GetPageCount(_arg0); | |
349 | ||
350 | wxPy_END_ALLOW_THREADS; | |
351 | } _resultobj = Py_BuildValue("i",_result); | |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
356 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
357 | PyObject * _resultobj; | |
358 | int _result; | |
359 | wxNotebook * _arg0; | |
360 | int _arg1; | |
361 | PyObject * _argo0 = 0; | |
362 | char *_kwnames[] = { "self","nPage", NULL }; | |
363 | ||
364 | self = self; | |
365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1)) | |
366 | return NULL; | |
367 | if (_argo0) { | |
368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); | |
371 | return NULL; | |
372 | } | |
373 | } | |
374 | { | |
375 | wxPy_BEGIN_ALLOW_THREADS; | |
376 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); | |
377 | ||
378 | wxPy_END_ALLOW_THREADS; | |
379 | } _resultobj = Py_BuildValue("i",_result); | |
380 | return _resultobj; | |
381 | } | |
382 | ||
383 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
384 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
385 | PyObject * _resultobj; | |
386 | wxNotebook * _arg0; | |
387 | bool _arg1 = (bool ) TRUE; | |
388 | PyObject * _argo0 = 0; | |
389 | int tempbool1 = (int) TRUE; | |
390 | char *_kwnames[] = { "self","bForward", NULL }; | |
391 | ||
392 | self = self; | |
393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1)) | |
394 | return NULL; | |
395 | if (_argo0) { | |
396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); | |
399 | return NULL; | |
400 | } | |
401 | } | |
402 | _arg1 = (bool ) tempbool1; | |
403 | { | |
404 | wxPy_BEGIN_ALLOW_THREADS; | |
405 | wxNotebook_AdvanceSelection(_arg0,_arg1); | |
406 | ||
407 | wxPy_END_ALLOW_THREADS; | |
408 | } Py_INCREF(Py_None); | |
409 | _resultobj = Py_None; | |
410 | return _resultobj; | |
411 | } | |
412 | ||
413 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
414 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
415 | PyObject * _resultobj; | |
416 | int _result; | |
417 | wxNotebook * _arg0; | |
418 | PyObject * _argo0 = 0; | |
419 | char *_kwnames[] = { "self", NULL }; | |
420 | ||
421 | self = self; | |
422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0)) | |
423 | return NULL; | |
424 | if (_argo0) { | |
425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); | |
428 | return NULL; | |
429 | } | |
430 | } | |
431 | { | |
432 | wxPy_BEGIN_ALLOW_THREADS; | |
433 | _result = (int )wxNotebook_GetSelection(_arg0); | |
434 | ||
435 | wxPy_END_ALLOW_THREADS; | |
436 | } _resultobj = Py_BuildValue("i",_result); | |
437 | return _resultobj; | |
438 | } | |
439 | ||
440 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
441 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
442 | PyObject * _resultobj; | |
443 | bool _result; | |
444 | wxNotebook * _arg0; | |
445 | int _arg1; | |
446 | wxString * _arg2; | |
447 | PyObject * _argo0 = 0; | |
448 | PyObject * _obj2 = 0; | |
449 | char *_kwnames[] = { "self","nPage","strText", NULL }; | |
450 | ||
451 | self = self; | |
452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
453 | return NULL; | |
454 | if (_argo0) { | |
455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); | |
458 | return NULL; | |
459 | } | |
460 | } | |
461 | { | |
462 | if (!PyString_Check(_obj2)) { | |
463 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
464 | return NULL; | |
465 | } | |
466 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
467 | } | |
468 | { | |
469 | wxPy_BEGIN_ALLOW_THREADS; | |
470 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); | |
471 | ||
472 | wxPy_END_ALLOW_THREADS; | |
473 | } _resultobj = Py_BuildValue("i",_result); | |
474 | { | |
475 | if (_obj2) | |
476 | delete _arg2; | |
477 | } | |
478 | return _resultobj; | |
479 | } | |
480 | ||
481 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
482 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
483 | PyObject * _resultobj; | |
484 | wxString * _result; | |
485 | wxNotebook * _arg0; | |
486 | int _arg1; | |
487 | PyObject * _argo0 = 0; | |
488 | char *_kwnames[] = { "self","nPage", NULL }; | |
489 | ||
490 | self = self; | |
491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1)) | |
492 | return NULL; | |
493 | if (_argo0) { | |
494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); | |
497 | return NULL; | |
498 | } | |
499 | } | |
500 | { | |
501 | wxPy_BEGIN_ALLOW_THREADS; | |
502 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); | |
503 | ||
504 | wxPy_END_ALLOW_THREADS; | |
505 | }{ | |
506 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
507 | } | |
508 | { | |
509 | delete _result; | |
510 | } | |
511 | return _resultobj; | |
512 | } | |
513 | ||
514 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
515 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
516 | PyObject * _resultobj; | |
517 | wxNotebook * _arg0; | |
518 | wxImageList * _arg1; | |
519 | PyObject * _argo0 = 0; | |
520 | PyObject * _argo1 = 0; | |
521 | char *_kwnames[] = { "self","imageList", NULL }; | |
522 | ||
523 | self = self; | |
524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1)) | |
525 | return NULL; | |
526 | if (_argo0) { | |
527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); | |
530 | return NULL; | |
531 | } | |
532 | } | |
533 | if (_argo1) { | |
534 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
535 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); | |
537 | return NULL; | |
538 | } | |
539 | } | |
540 | { | |
541 | wxPy_BEGIN_ALLOW_THREADS; | |
542 | wxNotebook_SetImageList(_arg0,_arg1); | |
543 | ||
544 | wxPy_END_ALLOW_THREADS; | |
545 | } Py_INCREF(Py_None); | |
546 | _resultobj = Py_None; | |
547 | return _resultobj; | |
548 | } | |
549 | ||
550 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
551 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
552 | PyObject * _resultobj; | |
553 | wxImageList * _result; | |
554 | wxNotebook * _arg0; | |
555 | PyObject * _argo0 = 0; | |
556 | char *_kwnames[] = { "self", NULL }; | |
557 | char _ptemp[128]; | |
558 | ||
559 | self = self; | |
560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0)) | |
561 | return NULL; | |
562 | if (_argo0) { | |
563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); | |
566 | return NULL; | |
567 | } | |
568 | } | |
569 | { | |
570 | wxPy_BEGIN_ALLOW_THREADS; | |
571 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); | |
572 | ||
573 | wxPy_END_ALLOW_THREADS; | |
574 | } if (_result) { | |
575 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
576 | _resultobj = Py_BuildValue("s",_ptemp); | |
577 | } else { | |
578 | Py_INCREF(Py_None); | |
579 | _resultobj = Py_None; | |
580 | } | |
581 | return _resultobj; | |
582 | } | |
583 | ||
584 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
585 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
586 | PyObject * _resultobj; | |
587 | int _result; | |
588 | wxNotebook * _arg0; | |
589 | int _arg1; | |
590 | PyObject * _argo0 = 0; | |
591 | char *_kwnames[] = { "self","nPage", NULL }; | |
592 | ||
593 | self = self; | |
594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1)) | |
595 | return NULL; | |
596 | if (_argo0) { | |
597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); | |
600 | return NULL; | |
601 | } | |
602 | } | |
603 | { | |
604 | wxPy_BEGIN_ALLOW_THREADS; | |
605 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); | |
606 | ||
607 | wxPy_END_ALLOW_THREADS; | |
608 | } _resultobj = Py_BuildValue("i",_result); | |
609 | return _resultobj; | |
610 | } | |
611 | ||
612 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
613 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
614 | PyObject * _resultobj; | |
615 | bool _result; | |
616 | wxNotebook * _arg0; | |
617 | int _arg1; | |
618 | int _arg2; | |
619 | PyObject * _argo0 = 0; | |
620 | char *_kwnames[] = { "self","nPage","nImage", NULL }; | |
621 | ||
622 | self = self; | |
623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2)) | |
624 | return NULL; | |
625 | if (_argo0) { | |
626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); | |
629 | return NULL; | |
630 | } | |
631 | } | |
632 | { | |
633 | wxPy_BEGIN_ALLOW_THREADS; | |
634 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); | |
635 | ||
636 | wxPy_END_ALLOW_THREADS; | |
637 | } _resultobj = Py_BuildValue("i",_result); | |
638 | return _resultobj; | |
639 | } | |
640 | ||
641 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
642 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
643 | PyObject * _resultobj; | |
644 | int _result; | |
645 | wxNotebook * _arg0; | |
646 | PyObject * _argo0 = 0; | |
647 | char *_kwnames[] = { "self", NULL }; | |
648 | ||
649 | self = self; | |
650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0)) | |
651 | return NULL; | |
652 | if (_argo0) { | |
653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); | |
656 | return NULL; | |
657 | } | |
658 | } | |
659 | { | |
660 | wxPy_BEGIN_ALLOW_THREADS; | |
661 | _result = (int )wxNotebook_GetRowCount(_arg0); | |
662 | ||
663 | wxPy_END_ALLOW_THREADS; | |
664 | } _resultobj = Py_BuildValue("i",_result); | |
665 | return _resultobj; | |
666 | } | |
667 | ||
668 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) | |
669 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
670 | PyObject * _resultobj; | |
671 | bool _result; | |
672 | wxNotebook * _arg0; | |
673 | int _arg1; | |
674 | PyObject * _argo0 = 0; | |
675 | char *_kwnames[] = { "self","nPage", NULL }; | |
676 | ||
677 | self = self; | |
678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1)) | |
679 | return NULL; | |
680 | if (_argo0) { | |
681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); | |
684 | return NULL; | |
685 | } | |
686 | } | |
687 | { | |
688 | wxPy_BEGIN_ALLOW_THREADS; | |
689 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); | |
690 | ||
691 | wxPy_END_ALLOW_THREADS; | |
692 | } _resultobj = Py_BuildValue("i",_result); | |
693 | return _resultobj; | |
694 | } | |
695 | ||
696 | #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0)) | |
697 | static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
698 | PyObject * _resultobj; | |
699 | bool _result; | |
700 | wxNotebook * _arg0; | |
701 | int _arg1; | |
702 | PyObject * _argo0 = 0; | |
703 | char *_kwnames[] = { "self","nPage", NULL }; | |
704 | ||
705 | self = self; | |
706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1)) | |
707 | return NULL; | |
708 | if (_argo0) { | |
709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p."); | |
712 | return NULL; | |
713 | } | |
714 | } | |
715 | { | |
716 | wxPy_BEGIN_ALLOW_THREADS; | |
717 | _result = (bool )wxNotebook_RemovePage(_arg0,_arg1); | |
718 | ||
719 | wxPy_END_ALLOW_THREADS; | |
720 | } _resultobj = Py_BuildValue("i",_result); | |
721 | return _resultobj; | |
722 | } | |
723 | ||
724 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
725 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
726 | PyObject * _resultobj; | |
727 | bool _result; | |
728 | wxNotebook * _arg0; | |
729 | PyObject * _argo0 = 0; | |
730 | char *_kwnames[] = { "self", NULL }; | |
731 | ||
732 | self = self; | |
733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0)) | |
734 | return NULL; | |
735 | if (_argo0) { | |
736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); | |
739 | return NULL; | |
740 | } | |
741 | } | |
742 | { | |
743 | wxPy_BEGIN_ALLOW_THREADS; | |
744 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); | |
745 | ||
746 | wxPy_END_ALLOW_THREADS; | |
747 | } _resultobj = Py_BuildValue("i",_result); | |
748 | return _resultobj; | |
749 | } | |
750 | ||
751 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
752 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
753 | PyObject * _resultobj; | |
754 | bool _result; | |
755 | wxNotebook * _arg0; | |
756 | wxWindow * _arg1; | |
757 | wxString * _arg2; | |
758 | int _arg3 = (int ) FALSE; | |
759 | int _arg4 = (int ) -1; | |
760 | PyObject * _argo0 = 0; | |
761 | PyObject * _argo1 = 0; | |
762 | PyObject * _obj2 = 0; | |
763 | char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL }; | |
764 | ||
765 | self = self; | |
766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4)) | |
767 | return NULL; | |
768 | if (_argo0) { | |
769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); | |
772 | return NULL; | |
773 | } | |
774 | } | |
775 | if (_argo1) { | |
776 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
777 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); | |
779 | return NULL; | |
780 | } | |
781 | } | |
782 | { | |
783 | if (!PyString_Check(_obj2)) { | |
784 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
785 | return NULL; | |
786 | } | |
787 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
788 | } | |
789 | { | |
790 | wxPy_BEGIN_ALLOW_THREADS; | |
791 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
792 | ||
793 | wxPy_END_ALLOW_THREADS; | |
794 | } _resultobj = Py_BuildValue("i",_result); | |
795 | { | |
796 | if (_obj2) | |
797 | delete _arg2; | |
798 | } | |
799 | return _resultobj; | |
800 | } | |
801 | ||
802 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) | |
803 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
804 | PyObject * _resultobj; | |
805 | wxWindow * _result; | |
806 | wxNotebook * _arg0; | |
807 | int _arg1; | |
808 | PyObject * _argo0 = 0; | |
809 | char *_kwnames[] = { "self","nPage", NULL }; | |
810 | char _ptemp[128]; | |
811 | ||
812 | self = self; | |
813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1)) | |
814 | return NULL; | |
815 | if (_argo0) { | |
816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); | |
819 | return NULL; | |
820 | } | |
821 | } | |
822 | { | |
823 | wxPy_BEGIN_ALLOW_THREADS; | |
824 | _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1); | |
825 | ||
826 | wxPy_END_ALLOW_THREADS; | |
827 | } if (_result) { | |
828 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
829 | _resultobj = Py_BuildValue("s",_ptemp); | |
830 | } else { | |
831 | Py_INCREF(Py_None); | |
832 | _resultobj = Py_None; | |
833 | } | |
834 | return _resultobj; | |
835 | } | |
836 | ||
837 | static void wxNotebook_ResizeChildren(wxNotebook *self) { | |
838 | wxSizeEvent evt(self->GetClientSize()); | |
839 | self->GetEventHandler()->ProcessEvent(evt); | |
840 | } | |
841 | static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
842 | PyObject * _resultobj; | |
843 | wxNotebook * _arg0; | |
844 | PyObject * _argo0 = 0; | |
845 | char *_kwnames[] = { "self", NULL }; | |
846 | ||
847 | self = self; | |
848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0)) | |
849 | return NULL; | |
850 | if (_argo0) { | |
851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | { | |
858 | wxPy_BEGIN_ALLOW_THREADS; | |
859 | wxNotebook_ResizeChildren(_arg0); | |
860 | ||
861 | wxPy_END_ALLOW_THREADS; | |
862 | } Py_INCREF(Py_None); | |
863 | _resultobj = Py_None; | |
864 | return _resultobj; | |
865 | } | |
866 | ||
867 | static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) { | |
868 | wxSplitterEvent *src; | |
869 | wxCommandEvent *dest; | |
870 | src = (wxSplitterEvent *) ptr; | |
871 | dest = (wxCommandEvent *) src; | |
872 | return (void *) dest; | |
873 | } | |
874 | ||
875 | static void *SwigwxSplitterEventTowxEvent(void *ptr) { | |
876 | wxSplitterEvent *src; | |
877 | wxEvent *dest; | |
878 | src = (wxSplitterEvent *) ptr; | |
879 | dest = (wxEvent *) src; | |
880 | return (void *) dest; | |
881 | } | |
882 | ||
883 | #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
884 | static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
885 | PyObject * _resultobj; | |
886 | int _result; | |
887 | wxSplitterEvent * _arg0; | |
888 | PyObject * _argo0 = 0; | |
889 | char *_kwnames[] = { "self", NULL }; | |
890 | ||
891 | self = self; | |
892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0)) | |
893 | return NULL; | |
894 | if (_argo0) { | |
895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p."); | |
898 | return NULL; | |
899 | } | |
900 | } | |
901 | { | |
902 | wxPy_BEGIN_ALLOW_THREADS; | |
903 | _result = (int )wxSplitterEvent_GetSashPosition(_arg0); | |
904 | ||
905 | wxPy_END_ALLOW_THREADS; | |
906 | } _resultobj = Py_BuildValue("i",_result); | |
907 | return _resultobj; | |
908 | } | |
909 | ||
910 | #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX()) | |
911 | static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
912 | PyObject * _resultobj; | |
913 | int _result; | |
914 | wxSplitterEvent * _arg0; | |
915 | PyObject * _argo0 = 0; | |
916 | char *_kwnames[] = { "self", NULL }; | |
917 | ||
918 | self = self; | |
919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0)) | |
920 | return NULL; | |
921 | if (_argo0) { | |
922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p."); | |
925 | return NULL; | |
926 | } | |
927 | } | |
928 | { | |
929 | wxPy_BEGIN_ALLOW_THREADS; | |
930 | _result = (int )wxSplitterEvent_GetX(_arg0); | |
931 | ||
932 | wxPy_END_ALLOW_THREADS; | |
933 | } _resultobj = Py_BuildValue("i",_result); | |
934 | return _resultobj; | |
935 | } | |
936 | ||
937 | #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY()) | |
938 | static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
939 | PyObject * _resultobj; | |
940 | int _result; | |
941 | wxSplitterEvent * _arg0; | |
942 | PyObject * _argo0 = 0; | |
943 | char *_kwnames[] = { "self", NULL }; | |
944 | ||
945 | self = self; | |
946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0)) | |
947 | return NULL; | |
948 | if (_argo0) { | |
949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p."); | |
952 | return NULL; | |
953 | } | |
954 | } | |
955 | { | |
956 | wxPy_BEGIN_ALLOW_THREADS; | |
957 | _result = (int )wxSplitterEvent_GetY(_arg0); | |
958 | ||
959 | wxPy_END_ALLOW_THREADS; | |
960 | } _resultobj = Py_BuildValue("i",_result); | |
961 | return _resultobj; | |
962 | } | |
963 | ||
964 | #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved()) | |
965 | static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
966 | PyObject * _resultobj; | |
967 | wxWindow * _result; | |
968 | wxSplitterEvent * _arg0; | |
969 | PyObject * _argo0 = 0; | |
970 | char *_kwnames[] = { "self", NULL }; | |
971 | char _ptemp[128]; | |
972 | ||
973 | self = self; | |
974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0)) | |
975 | return NULL; | |
976 | if (_argo0) { | |
977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p."); | |
980 | return NULL; | |
981 | } | |
982 | } | |
983 | { | |
984 | wxPy_BEGIN_ALLOW_THREADS; | |
985 | _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0); | |
986 | ||
987 | wxPy_END_ALLOW_THREADS; | |
988 | } if (_result) { | |
989 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
990 | _resultobj = Py_BuildValue("s",_ptemp); | |
991 | } else { | |
992 | Py_INCREF(Py_None); | |
993 | _resultobj = Py_None; | |
994 | } | |
995 | return _resultobj; | |
996 | } | |
997 | ||
998 | #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0)) | |
999 | static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1000 | PyObject * _resultobj; | |
1001 | wxSplitterEvent * _arg0; | |
1002 | int _arg1; | |
1003 | PyObject * _argo0 = 0; | |
1004 | char *_kwnames[] = { "self","pos", NULL }; | |
1005 | ||
1006 | self = self; | |
1007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1)) | |
1008 | return NULL; | |
1009 | if (_argo0) { | |
1010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p."); | |
1013 | return NULL; | |
1014 | } | |
1015 | } | |
1016 | { | |
1017 | wxPy_BEGIN_ALLOW_THREADS; | |
1018 | wxSplitterEvent_SetSashPosition(_arg0,_arg1); | |
1019 | ||
1020 | wxPy_END_ALLOW_THREADS; | |
1021 | } Py_INCREF(Py_None); | |
1022 | _resultobj = Py_None; | |
1023 | return _resultobj; | |
1024 | } | |
1025 | ||
1026 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { | |
1027 | wxSplitterWindow *src; | |
1028 | wxWindow *dest; | |
1029 | src = (wxSplitterWindow *) ptr; | |
1030 | dest = (wxWindow *) src; | |
1031 | return (void *) dest; | |
1032 | } | |
1033 | ||
1034 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
1035 | wxSplitterWindow *src; | |
1036 | wxEvtHandler *dest; | |
1037 | src = (wxSplitterWindow *) ptr; | |
1038 | dest = (wxEvtHandler *) src; | |
1039 | return (void *) dest; | |
1040 | } | |
1041 | ||
1042 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1043 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1044 | PyObject * _resultobj; | |
1045 | wxSplitterWindow * _result; | |
1046 | wxWindow * _arg0; | |
1047 | wxWindowID _arg1; | |
1048 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
1049 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
1050 | long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN; | |
1051 | char * _arg5 = (char *) "splitterWindow"; | |
1052 | PyObject * _argo0 = 0; | |
1053 | wxPoint temp; | |
1054 | PyObject * _obj2 = 0; | |
1055 | wxSize temp0; | |
1056 | PyObject * _obj3 = 0; | |
1057 | char *_kwnames[] = { "parent","id","point","size","style","name", NULL }; | |
1058 | char _ptemp[128]; | |
1059 | ||
1060 | self = self; | |
1061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
1062 | return NULL; | |
1063 | if (_argo0) { | |
1064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); | |
1067 | return NULL; | |
1068 | } | |
1069 | } | |
1070 | if (_obj2) | |
1071 | { | |
1072 | _arg2 = &temp; | |
1073 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1074 | return NULL; | |
1075 | } | |
1076 | if (_obj3) | |
1077 | { | |
1078 | _arg3 = &temp0; | |
1079 | if (! wxSize_helper(_obj3, &_arg3)) | |
1080 | return NULL; | |
1081 | } | |
1082 | { | |
1083 | wxPy_BEGIN_ALLOW_THREADS; | |
1084 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
1085 | ||
1086 | wxPy_END_ALLOW_THREADS; | |
1087 | } if (_result) { | |
1088 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
1089 | _resultobj = Py_BuildValue("s",_ptemp); | |
1090 | } else { | |
1091 | Py_INCREF(Py_None); | |
1092 | _resultobj = Py_None; | |
1093 | } | |
1094 | return _resultobj; | |
1095 | } | |
1096 | ||
1097 | #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize()) | |
1098 | static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1099 | PyObject * _resultobj; | |
1100 | int _result; | |
1101 | wxSplitterWindow * _arg0; | |
1102 | PyObject * _argo0 = 0; | |
1103 | char *_kwnames[] = { "self", NULL }; | |
1104 | ||
1105 | self = self; | |
1106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0)) | |
1107 | return NULL; | |
1108 | if (_argo0) { | |
1109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p."); | |
1112 | return NULL; | |
1113 | } | |
1114 | } | |
1115 | { | |
1116 | wxPy_BEGIN_ALLOW_THREADS; | |
1117 | _result = (int )wxSplitterWindow_GetBorderSize(_arg0); | |
1118 | ||
1119 | wxPy_END_ALLOW_THREADS; | |
1120 | } _resultobj = Py_BuildValue("i",_result); | |
1121 | return _resultobj; | |
1122 | } | |
1123 | ||
1124 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) | |
1125 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1126 | PyObject * _resultobj; | |
1127 | int _result; | |
1128 | wxSplitterWindow * _arg0; | |
1129 | PyObject * _argo0 = 0; | |
1130 | char *_kwnames[] = { "self", NULL }; | |
1131 | ||
1132 | self = self; | |
1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0)) | |
1134 | return NULL; | |
1135 | if (_argo0) { | |
1136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
1139 | return NULL; | |
1140 | } | |
1141 | } | |
1142 | { | |
1143 | wxPy_BEGIN_ALLOW_THREADS; | |
1144 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); | |
1145 | ||
1146 | wxPy_END_ALLOW_THREADS; | |
1147 | } _resultobj = Py_BuildValue("i",_result); | |
1148 | return _resultobj; | |
1149 | } | |
1150 | ||
1151 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
1152 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1153 | PyObject * _resultobj; | |
1154 | int _result; | |
1155 | wxSplitterWindow * _arg0; | |
1156 | PyObject * _argo0 = 0; | |
1157 | char *_kwnames[] = { "self", NULL }; | |
1158 | ||
1159 | self = self; | |
1160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0)) | |
1161 | return NULL; | |
1162 | if (_argo0) { | |
1163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); | |
1166 | return NULL; | |
1167 | } | |
1168 | } | |
1169 | { | |
1170 | wxPy_BEGIN_ALLOW_THREADS; | |
1171 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); | |
1172 | ||
1173 | wxPy_END_ALLOW_THREADS; | |
1174 | } _resultobj = Py_BuildValue("i",_result); | |
1175 | return _resultobj; | |
1176 | } | |
1177 | ||
1178 | #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize()) | |
1179 | static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1180 | PyObject * _resultobj; | |
1181 | int _result; | |
1182 | wxSplitterWindow * _arg0; | |
1183 | PyObject * _argo0 = 0; | |
1184 | char *_kwnames[] = { "self", NULL }; | |
1185 | ||
1186 | self = self; | |
1187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0)) | |
1188 | return NULL; | |
1189 | if (_argo0) { | |
1190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p."); | |
1193 | return NULL; | |
1194 | } | |
1195 | } | |
1196 | { | |
1197 | wxPy_BEGIN_ALLOW_THREADS; | |
1198 | _result = (int )wxSplitterWindow_GetSashSize(_arg0); | |
1199 | ||
1200 | wxPy_END_ALLOW_THREADS; | |
1201 | } _resultobj = Py_BuildValue("i",_result); | |
1202 | return _resultobj; | |
1203 | } | |
1204 | ||
1205 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) | |
1206 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1207 | PyObject * _resultobj; | |
1208 | int _result; | |
1209 | wxSplitterWindow * _arg0; | |
1210 | PyObject * _argo0 = 0; | |
1211 | char *_kwnames[] = { "self", NULL }; | |
1212 | ||
1213 | self = self; | |
1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0)) | |
1215 | return NULL; | |
1216 | if (_argo0) { | |
1217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); | |
1220 | return NULL; | |
1221 | } | |
1222 | } | |
1223 | { | |
1224 | wxPy_BEGIN_ALLOW_THREADS; | |
1225 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); | |
1226 | ||
1227 | wxPy_END_ALLOW_THREADS; | |
1228 | } _resultobj = Py_BuildValue("i",_result); | |
1229 | return _resultobj; | |
1230 | } | |
1231 | ||
1232 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
1233 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1234 | PyObject * _resultobj; | |
1235 | wxWindow * _result; | |
1236 | wxSplitterWindow * _arg0; | |
1237 | PyObject * _argo0 = 0; | |
1238 | char *_kwnames[] = { "self", NULL }; | |
1239 | char _ptemp[128]; | |
1240 | ||
1241 | self = self; | |
1242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0)) | |
1243 | return NULL; | |
1244 | if (_argo0) { | |
1245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); | |
1248 | return NULL; | |
1249 | } | |
1250 | } | |
1251 | { | |
1252 | wxPy_BEGIN_ALLOW_THREADS; | |
1253 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); | |
1254 | ||
1255 | wxPy_END_ALLOW_THREADS; | |
1256 | } if (_result) { | |
1257 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1258 | _resultobj = Py_BuildValue("s",_ptemp); | |
1259 | } else { | |
1260 | Py_INCREF(Py_None); | |
1261 | _resultobj = Py_None; | |
1262 | } | |
1263 | return _resultobj; | |
1264 | } | |
1265 | ||
1266 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
1267 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1268 | PyObject * _resultobj; | |
1269 | wxWindow * _result; | |
1270 | wxSplitterWindow * _arg0; | |
1271 | PyObject * _argo0 = 0; | |
1272 | char *_kwnames[] = { "self", NULL }; | |
1273 | char _ptemp[128]; | |
1274 | ||
1275 | self = self; | |
1276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0)) | |
1277 | return NULL; | |
1278 | if (_argo0) { | |
1279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); | |
1282 | return NULL; | |
1283 | } | |
1284 | } | |
1285 | { | |
1286 | wxPy_BEGIN_ALLOW_THREADS; | |
1287 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); | |
1288 | ||
1289 | wxPy_END_ALLOW_THREADS; | |
1290 | } if (_result) { | |
1291 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1292 | _resultobj = Py_BuildValue("s",_ptemp); | |
1293 | } else { | |
1294 | Py_INCREF(Py_None); | |
1295 | _resultobj = Py_None; | |
1296 | } | |
1297 | return _resultobj; | |
1298 | } | |
1299 | ||
1300 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
1301 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1302 | PyObject * _resultobj; | |
1303 | wxSplitterWindow * _arg0; | |
1304 | wxWindow * _arg1; | |
1305 | PyObject * _argo0 = 0; | |
1306 | PyObject * _argo1 = 0; | |
1307 | char *_kwnames[] = { "self","window", NULL }; | |
1308 | ||
1309 | self = self; | |
1310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1)) | |
1311 | return NULL; | |
1312 | if (_argo0) { | |
1313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); | |
1316 | return NULL; | |
1317 | } | |
1318 | } | |
1319 | if (_argo1) { | |
1320 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1321 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); | |
1323 | return NULL; | |
1324 | } | |
1325 | } | |
1326 | { | |
1327 | wxPy_BEGIN_ALLOW_THREADS; | |
1328 | wxSplitterWindow_Initialize(_arg0,_arg1); | |
1329 | ||
1330 | wxPy_END_ALLOW_THREADS; | |
1331 | } Py_INCREF(Py_None); | |
1332 | _resultobj = Py_None; | |
1333 | return _resultobj; | |
1334 | } | |
1335 | ||
1336 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
1337 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1338 | PyObject * _resultobj; | |
1339 | bool _result; | |
1340 | wxSplitterWindow * _arg0; | |
1341 | PyObject * _argo0 = 0; | |
1342 | char *_kwnames[] = { "self", NULL }; | |
1343 | ||
1344 | self = self; | |
1345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0)) | |
1346 | return NULL; | |
1347 | if (_argo0) { | |
1348 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1349 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); | |
1351 | return NULL; | |
1352 | } | |
1353 | } | |
1354 | { | |
1355 | wxPy_BEGIN_ALLOW_THREADS; | |
1356 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); | |
1357 | ||
1358 | wxPy_END_ALLOW_THREADS; | |
1359 | } _resultobj = Py_BuildValue("i",_result); | |
1360 | return _resultobj; | |
1361 | } | |
1362 | ||
1363 | #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1)) | |
1364 | static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1365 | PyObject * _resultobj; | |
1366 | bool _result; | |
1367 | wxSplitterWindow * _arg0; | |
1368 | wxWindow * _arg1; | |
1369 | wxWindow * _arg2; | |
1370 | PyObject * _argo0 = 0; | |
1371 | PyObject * _argo1 = 0; | |
1372 | PyObject * _argo2 = 0; | |
1373 | char *_kwnames[] = { "self","winOld","winNew", NULL }; | |
1374 | ||
1375 | self = self; | |
1376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2)) | |
1377 | return NULL; | |
1378 | if (_argo0) { | |
1379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p."); | |
1382 | return NULL; | |
1383 | } | |
1384 | } | |
1385 | if (_argo1) { | |
1386 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1387 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
1389 | return NULL; | |
1390 | } | |
1391 | } | |
1392 | if (_argo2) { | |
1393 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1394 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
1396 | return NULL; | |
1397 | } | |
1398 | } | |
1399 | { | |
1400 | wxPy_BEGIN_ALLOW_THREADS; | |
1401 | _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2); | |
1402 | ||
1403 | wxPy_END_ALLOW_THREADS; | |
1404 | } _resultobj = Py_BuildValue("i",_result); | |
1405 | return _resultobj; | |
1406 | } | |
1407 | ||
1408 | #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0)) | |
1409 | static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1410 | PyObject * _resultobj; | |
1411 | wxSplitterWindow * _arg0; | |
1412 | int _arg1; | |
1413 | PyObject * _argo0 = 0; | |
1414 | char *_kwnames[] = { "self","width", NULL }; | |
1415 | ||
1416 | self = self; | |
1417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1)) | |
1418 | return NULL; | |
1419 | if (_argo0) { | |
1420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p."); | |
1423 | return NULL; | |
1424 | } | |
1425 | } | |
1426 | { | |
1427 | wxPy_BEGIN_ALLOW_THREADS; | |
1428 | wxSplitterWindow_SetBorderSize(_arg0,_arg1); | |
1429 | ||
1430 | wxPy_END_ALLOW_THREADS; | |
1431 | } Py_INCREF(Py_None); | |
1432 | _resultobj = Py_None; | |
1433 | return _resultobj; | |
1434 | } | |
1435 | ||
1436 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) | |
1437 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1438 | PyObject * _resultobj; | |
1439 | wxSplitterWindow * _arg0; | |
1440 | int _arg1; | |
1441 | int _arg2 = (int ) TRUE; | |
1442 | PyObject * _argo0 = 0; | |
1443 | char *_kwnames[] = { "self","position","redraw", NULL }; | |
1444 | ||
1445 | self = self; | |
1446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1447 | return NULL; | |
1448 | if (_argo0) { | |
1449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); | |
1452 | return NULL; | |
1453 | } | |
1454 | } | |
1455 | { | |
1456 | wxPy_BEGIN_ALLOW_THREADS; | |
1457 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); | |
1458 | ||
1459 | wxPy_END_ALLOW_THREADS; | |
1460 | } Py_INCREF(Py_None); | |
1461 | _resultobj = Py_None; | |
1462 | return _resultobj; | |
1463 | } | |
1464 | ||
1465 | #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0)) | |
1466 | static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1467 | PyObject * _resultobj; | |
1468 | wxSplitterWindow * _arg0; | |
1469 | int _arg1; | |
1470 | PyObject * _argo0 = 0; | |
1471 | char *_kwnames[] = { "self","width", NULL }; | |
1472 | ||
1473 | self = self; | |
1474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1)) | |
1475 | return NULL; | |
1476 | if (_argo0) { | |
1477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p."); | |
1480 | return NULL; | |
1481 | } | |
1482 | } | |
1483 | { | |
1484 | wxPy_BEGIN_ALLOW_THREADS; | |
1485 | wxSplitterWindow_SetSashSize(_arg0,_arg1); | |
1486 | ||
1487 | wxPy_END_ALLOW_THREADS; | |
1488 | } Py_INCREF(Py_None); | |
1489 | _resultobj = Py_None; | |
1490 | return _resultobj; | |
1491 | } | |
1492 | ||
1493 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) | |
1494 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1495 | PyObject * _resultobj; | |
1496 | wxSplitterWindow * _arg0; | |
1497 | int _arg1; | |
1498 | PyObject * _argo0 = 0; | |
1499 | char *_kwnames[] = { "self","paneSize", NULL }; | |
1500 | ||
1501 | self = self; | |
1502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1)) | |
1503 | return NULL; | |
1504 | if (_argo0) { | |
1505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
1508 | return NULL; | |
1509 | } | |
1510 | } | |
1511 | { | |
1512 | wxPy_BEGIN_ALLOW_THREADS; | |
1513 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); | |
1514 | ||
1515 | wxPy_END_ALLOW_THREADS; | |
1516 | } Py_INCREF(Py_None); | |
1517 | _resultobj = Py_None; | |
1518 | return _resultobj; | |
1519 | } | |
1520 | ||
1521 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
1522 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1523 | PyObject * _resultobj; | |
1524 | wxSplitterWindow * _arg0; | |
1525 | int _arg1; | |
1526 | PyObject * _argo0 = 0; | |
1527 | char *_kwnames[] = { "self","mode", NULL }; | |
1528 | ||
1529 | self = self; | |
1530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1)) | |
1531 | return NULL; | |
1532 | if (_argo0) { | |
1533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); | |
1536 | return NULL; | |
1537 | } | |
1538 | } | |
1539 | { | |
1540 | wxPy_BEGIN_ALLOW_THREADS; | |
1541 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); | |
1542 | ||
1543 | wxPy_END_ALLOW_THREADS; | |
1544 | } Py_INCREF(Py_None); | |
1545 | _resultobj = Py_None; | |
1546 | return _resultobj; | |
1547 | } | |
1548 | ||
1549 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
1550 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1551 | PyObject * _resultobj; | |
1552 | bool _result; | |
1553 | wxSplitterWindow * _arg0; | |
1554 | wxWindow * _arg1; | |
1555 | wxWindow * _arg2; | |
1556 | int _arg3 = (int ) 0; | |
1557 | PyObject * _argo0 = 0; | |
1558 | PyObject * _argo1 = 0; | |
1559 | PyObject * _argo2 = 0; | |
1560 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; | |
1561 | ||
1562 | self = self; | |
1563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
1564 | return NULL; | |
1565 | if (_argo0) { | |
1566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); | |
1569 | return NULL; | |
1570 | } | |
1571 | } | |
1572 | if (_argo1) { | |
1573 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1574 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
1576 | return NULL; | |
1577 | } | |
1578 | } | |
1579 | if (_argo2) { | |
1580 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1581 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
1583 | return NULL; | |
1584 | } | |
1585 | } | |
1586 | { | |
1587 | wxPy_BEGIN_ALLOW_THREADS; | |
1588 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); | |
1589 | ||
1590 | wxPy_END_ALLOW_THREADS; | |
1591 | } _resultobj = Py_BuildValue("i",_result); | |
1592 | return _resultobj; | |
1593 | } | |
1594 | ||
1595 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
1596 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1597 | PyObject * _resultobj; | |
1598 | bool _result; | |
1599 | wxSplitterWindow * _arg0; | |
1600 | wxWindow * _arg1; | |
1601 | wxWindow * _arg2; | |
1602 | int _arg3 = (int ) 0; | |
1603 | PyObject * _argo0 = 0; | |
1604 | PyObject * _argo1 = 0; | |
1605 | PyObject * _argo2 = 0; | |
1606 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; | |
1607 | ||
1608 | self = self; | |
1609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
1610 | return NULL; | |
1611 | if (_argo0) { | |
1612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); | |
1615 | return NULL; | |
1616 | } | |
1617 | } | |
1618 | if (_argo1) { | |
1619 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1620 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
1622 | return NULL; | |
1623 | } | |
1624 | } | |
1625 | if (_argo2) { | |
1626 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1627 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
1629 | return NULL; | |
1630 | } | |
1631 | } | |
1632 | { | |
1633 | wxPy_BEGIN_ALLOW_THREADS; | |
1634 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); | |
1635 | ||
1636 | wxPy_END_ALLOW_THREADS; | |
1637 | } _resultobj = Py_BuildValue("i",_result); | |
1638 | return _resultobj; | |
1639 | } | |
1640 | ||
1641 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
1642 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1643 | PyObject * _resultobj; | |
1644 | bool _result; | |
1645 | wxSplitterWindow * _arg0; | |
1646 | wxWindow * _arg1 = (wxWindow *) NULL; | |
1647 | PyObject * _argo0 = 0; | |
1648 | PyObject * _argo1 = 0; | |
1649 | char *_kwnames[] = { "self","toRemove", NULL }; | |
1650 | ||
1651 | self = self; | |
1652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1)) | |
1653 | return NULL; | |
1654 | if (_argo0) { | |
1655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); | |
1658 | return NULL; | |
1659 | } | |
1660 | } | |
1661 | if (_argo1) { | |
1662 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1663 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); | |
1665 | return NULL; | |
1666 | } | |
1667 | } | |
1668 | { | |
1669 | wxPy_BEGIN_ALLOW_THREADS; | |
1670 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); | |
1671 | ||
1672 | wxPy_END_ALLOW_THREADS; | |
1673 | } _resultobj = Py_BuildValue("i",_result); | |
1674 | return _resultobj; | |
1675 | } | |
1676 | ||
1677 | static PyMethodDef windows2cMethods[] = { | |
1678 | { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
1679 | { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
1680 | { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
1681 | { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
1682 | { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
1683 | { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
1684 | { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1685 | { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1686 | { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
1687 | { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
1688 | { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
1689 | { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
1690 | { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
1691 | { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
1692 | { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
1693 | { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1694 | { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
1695 | { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1696 | { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
1697 | { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1698 | { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
1699 | { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
1700 | { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
1701 | { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1702 | { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS }, | |
1703 | { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
1704 | { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS }, | |
1705 | { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS }, | |
1706 | { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS }, | |
1707 | { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS }, | |
1708 | { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS }, | |
1709 | { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
1710 | { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
1711 | { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
1712 | { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
1713 | { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS }, | |
1714 | { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS }, | |
1715 | { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1716 | { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS }, | |
1717 | { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1718 | { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS }, | |
1719 | { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS }, | |
1720 | { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1721 | { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
1722 | { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
1723 | { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1724 | { NULL, NULL } | |
1725 | }; | |
1726 | #ifdef __cplusplus | |
1727 | } | |
1728 | #endif | |
1729 | /* | |
1730 | * This table is used by the pointer type-checker | |
1731 | */ | |
1732 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1733 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
1734 | { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1735 | { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1736 | { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1737 | { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1738 | { "_wxEvent","_class_wxEvent",0}, | |
1739 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
1740 | { "_signed_long","_long",0}, | |
1741 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
1742 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, | |
1743 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
1744 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
1745 | { "_wxPrintQuality","_wxCoord",0}, | |
1746 | { "_wxPrintQuality","_int",0}, | |
1747 | { "_wxPrintQuality","_signed_int",0}, | |
1748 | { "_wxPrintQuality","_unsigned_int",0}, | |
1749 | { "_wxPrintQuality","_wxWindowID",0}, | |
1750 | { "_wxPrintQuality","_uint",0}, | |
1751 | { "_wxPrintQuality","_EBool",0}, | |
1752 | { "_wxPrintQuality","_size_t",0}, | |
1753 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, | |
1754 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
1755 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
1756 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
1757 | { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
1758 | { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
1759 | { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
1760 | { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
1761 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
1762 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1763 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1764 | { "_wxCursor","_class_wxCursor",0}, | |
1765 | { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1766 | { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1767 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
1768 | { "_wxMask","_class_wxMask",0}, | |
1769 | { "_wxPen","_class_wxPen",0}, | |
1770 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1771 | { "_byte","_unsigned_char",0}, | |
1772 | { "_wxDataObject","_class_wxDataObject",0}, | |
1773 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
1774 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, | |
1775 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1776 | { "_wxChoice","_class_wxChoice",0}, | |
1777 | { "_wxSlider","_class_wxSlider",0}, | |
1778 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
1779 | { "_long","_unsigned_long",0}, | |
1780 | { "_long","_signed_long",0}, | |
1781 | { "_wxImageList","_class_wxImageList",0}, | |
1782 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
1783 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
1784 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
1785 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
1786 | { "_class_wxClipboard","_wxClipboard",0}, | |
1787 | { "_class_wxGauge","_wxGauge",0}, | |
1788 | { "_wxDC","_class_wxDC",0}, | |
1789 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
1790 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
1791 | { "_size_t","_wxCoord",0}, | |
1792 | { "_size_t","_wxPrintQuality",0}, | |
1793 | { "_size_t","_unsigned_int",0}, | |
1794 | { "_size_t","_int",0}, | |
1795 | { "_size_t","_wxWindowID",0}, | |
1796 | { "_size_t","_uint",0}, | |
1797 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
1798 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
1799 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
1800 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
1801 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
1802 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1803 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
1804 | { "_wxPanel","_class_wxPanel",0}, | |
1805 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
1806 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
1807 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
1808 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
1809 | { "_class_wxMask","_wxMask",0}, | |
1810 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
1811 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
1812 | { "_wxColour","_class_wxColour",0}, | |
1813 | { "_class_wxDialog","_wxDialog",0}, | |
1814 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
1815 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
1816 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
1817 | { "_class_wxDataObject","_wxDataObject",0}, | |
1818 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
1819 | { "_wxBrush","_class_wxBrush",0}, | |
1820 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
1821 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
1822 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1823 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
1824 | { "_uint","_wxCoord",0}, | |
1825 | { "_uint","_wxPrintQuality",0}, | |
1826 | { "_uint","_size_t",0}, | |
1827 | { "_uint","_unsigned_int",0}, | |
1828 | { "_uint","_int",0}, | |
1829 | { "_uint","_wxWindowID",0}, | |
1830 | { "_wxPyValidator","_class_wxPyValidator",0}, | |
1831 | { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1832 | { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1833 | { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1834 | { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1835 | { "_class_wxEvent","_wxEvent",0}, | |
1836 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
1837 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
1838 | { "_wxRect","_class_wxRect",0}, | |
1839 | { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
1840 | { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
1841 | { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
1842 | { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
1843 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
1844 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
1845 | { "_wxPoint","_class_wxPoint",0}, | |
1846 | { "_class_wxButton","_wxButton",0}, | |
1847 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
1848 | { "_wxBitmap","_class_wxBitmap",0}, | |
1849 | { "_char","_wxDash",0}, | |
1850 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
1851 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
1852 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
1853 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1854 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
1855 | { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1856 | { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1857 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
1858 | { "_class_wxValidator","_wxValidator",0}, | |
1859 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
1860 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
1861 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
1862 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
1863 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
1864 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
1865 | { "_EBool","_wxCoord",0}, | |
1866 | { "_EBool","_wxPrintQuality",0}, | |
1867 | { "_EBool","_signed_int",0}, | |
1868 | { "_EBool","_int",0}, | |
1869 | { "_EBool","_wxWindowID",0}, | |
1870 | { "_class_wxRegion","_wxRegion",0}, | |
1871 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
1872 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
1873 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
1874 | { "_wxStaticText","_class_wxStaticText",0}, | |
1875 | { "_wxFont","_class_wxFont",0}, | |
1876 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
1877 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
1878 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
1879 | { "_wxNotebook","_class_wxNotebook",0}, | |
1880 | { "_unsigned_long","_long",0}, | |
1881 | { "_class_wxRect","_wxRect",0}, | |
1882 | { "_class_wxDC","_wxDC",0}, | |
1883 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
1884 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, | |
1885 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1886 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
1887 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
1888 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
1889 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
1890 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1891 | { "_class_wxPanel","_wxPanel",0}, | |
1892 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
1893 | { "_wxComboBox","_class_wxComboBox",0}, | |
1894 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
1895 | { "_signed_int","_wxCoord",0}, | |
1896 | { "_signed_int","_wxPrintQuality",0}, | |
1897 | { "_signed_int","_EBool",0}, | |
1898 | { "_signed_int","_wxWindowID",0}, | |
1899 | { "_signed_int","_int",0}, | |
1900 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
1901 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
1902 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
1903 | { "_wxMenu","_class_wxMenu",0}, | |
1904 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
1905 | { "_wxListBox","_class_wxListBox",0}, | |
1906 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
1907 | { "_WXTYPE","_short",0}, | |
1908 | { "_WXTYPE","_signed_short",0}, | |
1909 | { "_WXTYPE","_unsigned_short",0}, | |
1910 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
1911 | { "_class_wxBrush","_wxBrush",0}, | |
1912 | { "_unsigned_short","_WXTYPE",0}, | |
1913 | { "_unsigned_short","_short",0}, | |
1914 | { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
1915 | { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
1916 | { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
1917 | { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
1918 | { "_class_wxWindow","_wxWindow",0}, | |
1919 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
1920 | { "_class_wxStaticText","_wxStaticText",0}, | |
1921 | { "_class_wxFont","_wxFont",0}, | |
1922 | { "_wxClipboard","_class_wxClipboard",0}, | |
1923 | { "_class_wxPyValidator","_wxPyValidator",0}, | |
1924 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
1925 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
1926 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
1927 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
1928 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
1929 | { "_wxClientDC","_class_wxClientDC",0}, | |
1930 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
1931 | { "_class_wxPoint","_wxPoint",0}, | |
1932 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
1933 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1934 | { "_signed_short","_WXTYPE",0}, | |
1935 | { "_signed_short","_short",0}, | |
1936 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
1937 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
1938 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
1939 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1940 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
1941 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
1942 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
1943 | { "_class_wxCursor","_wxCursor",0}, | |
1944 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
1945 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, | |
1946 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
1947 | { "_unsigned_char","_byte",0}, | |
1948 | { "_class_wxMenu","_wxMenu",0}, | |
1949 | { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
1950 | { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
1951 | { "_wxControl","_class_wxControl",0}, | |
1952 | { "_class_wxListBox","_wxListBox",0}, | |
1953 | { "_unsigned_int","_wxCoord",0}, | |
1954 | { "_unsigned_int","_wxPrintQuality",0}, | |
1955 | { "_unsigned_int","_size_t",0}, | |
1956 | { "_unsigned_int","_uint",0}, | |
1957 | { "_unsigned_int","_wxWindowID",0}, | |
1958 | { "_unsigned_int","_int",0}, | |
1959 | { "_wxIcon","_class_wxIcon",0}, | |
1960 | { "_wxDialog","_class_wxDialog",0}, | |
1961 | { "_class_wxPen","_wxPen",0}, | |
1962 | { "_short","_WXTYPE",0}, | |
1963 | { "_short","_unsigned_short",0}, | |
1964 | { "_short","_signed_short",0}, | |
1965 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
1966 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
1967 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1968 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
1969 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
1970 | { "_class_wxChoice","_wxChoice",0}, | |
1971 | { "_class_wxSlider","_wxSlider",0}, | |
1972 | { "_class_wxImageList","_wxImageList",0}, | |
1973 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
1974 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
1975 | { "_class_wxNotebook","_wxNotebook",0}, | |
1976 | { "_wxWindowID","_wxCoord",0}, | |
1977 | { "_wxWindowID","_wxPrintQuality",0}, | |
1978 | { "_wxWindowID","_size_t",0}, | |
1979 | { "_wxWindowID","_EBool",0}, | |
1980 | { "_wxWindowID","_uint",0}, | |
1981 | { "_wxWindowID","_int",0}, | |
1982 | { "_wxWindowID","_signed_int",0}, | |
1983 | { "_wxWindowID","_unsigned_int",0}, | |
1984 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
1985 | { "_int","_wxCoord",0}, | |
1986 | { "_int","_wxPrintQuality",0}, | |
1987 | { "_int","_size_t",0}, | |
1988 | { "_int","_EBool",0}, | |
1989 | { "_int","_uint",0}, | |
1990 | { "_int","_wxWindowID",0}, | |
1991 | { "_int","_unsigned_int",0}, | |
1992 | { "_int","_signed_int",0}, | |
1993 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
1994 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
1995 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
1996 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
1997 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1998 | { "_wxButton","_class_wxButton",0}, | |
1999 | { "_wxSize","_class_wxSize",0}, | |
2000 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
2001 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
2002 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
2003 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
2004 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
2005 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
2006 | { "_class_wxComboBox","_wxComboBox",0}, | |
2007 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2008 | { "_wxValidator","_class_wxValidator",0}, | |
2009 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
2010 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
2011 | { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
2012 | { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
2013 | { "_class_wxControl","_wxControl",0}, | |
2014 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
2015 | { "_class_wxIcon","_wxIcon",0}, | |
2016 | { "_class_wxColour","_wxColour",0}, | |
2017 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
2018 | { "_wxPalette","_class_wxPalette",0}, | |
2019 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
2020 | { "_wxCoord","_int",0}, | |
2021 | { "_wxCoord","_signed_int",0}, | |
2022 | { "_wxCoord","_unsigned_int",0}, | |
2023 | { "_wxCoord","_wxWindowID",0}, | |
2024 | { "_wxCoord","_uint",0}, | |
2025 | { "_wxCoord","_EBool",0}, | |
2026 | { "_wxCoord","_size_t",0}, | |
2027 | { "_wxCoord","_wxPrintQuality",0}, | |
2028 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
2029 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
2030 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
2031 | { "_wxRegion","_class_wxRegion",0}, | |
2032 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
2033 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
2034 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
2035 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
2036 | { "_wxGauge","_class_wxGauge",0}, | |
2037 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2038 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
2039 | { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
2040 | { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
2041 | { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2042 | { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2043 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
2044 | { "_class_wxClientDC","_wxClientDC",0}, | |
2045 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
2046 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, | |
2047 | { "_class_wxSize","_wxSize",0}, | |
2048 | { "_class_wxBitmap","_wxBitmap",0}, | |
2049 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
2050 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
2051 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
2052 | { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
2053 | { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
2054 | { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
2055 | { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
2056 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
2057 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2058 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
2059 | { "_wxDash","_char",0}, | |
2060 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
2061 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
2062 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2063 | { "_class_wxPalette","_wxPalette",0}, | |
2064 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
2065 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
2066 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
2067 | { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
2068 | { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
2069 | { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
2070 | { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
2071 | { "_wxWindow","_class_wxWindow",0}, | |
2072 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, | |
2073 | {0,0,0}}; | |
2074 | ||
2075 | static PyObject *SWIG_globals; | |
2076 | #ifdef __cplusplus | |
2077 | extern "C" | |
2078 | #endif | |
2079 | SWIGEXPORT(void) initwindows2c() { | |
2080 | PyObject *m, *d; | |
2081 | SWIG_globals = SWIG_newvarlink(); | |
2082 | m = Py_InitModule("windows2c", windows2cMethods); | |
2083 | d = PyModule_GetDict(m); | |
2084 | { | |
2085 | int i; | |
2086 | for (i = 0; _swig_mapping[i].n1; i++) | |
2087 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2088 | } | |
2089 | } |