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