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