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