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