]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.cpp
wxPython 2.1b1:
[wxWidgets.git] / utils / wxPython / src / gtk / windows.cpp
1 /*
2 * FILE : gtk/windows.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initwindowsc
53
54 #define SWIG_name "windowsc"
55
56 #include "helpers.h"
57 #include <wx/menuitem.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 extern byte* byte_LIST_helper(PyObject* source);
108 extern int* int_LIST_helper(PyObject* source);
109 extern long* long_LIST_helper(PyObject* source);
110 extern char** string_LIST_helper(PyObject* source);
111 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
112 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 extern wxString* wxString_LIST_helper(PyObject* source);
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
119 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args) {
120 PyObject * _resultobj;
121 bool _result;
122 wxEvtHandler * _arg0;
123 wxEvent * _arg1;
124 char * _argc0 = 0;
125 char * _argc1 = 0;
126
127 self = self;
128 if(!PyArg_ParseTuple(args,"ss:wxEvtHandler_ProcessEvent",&_argc0,&_argc1))
129 return NULL;
130 if (_argc0) {
131 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) {
132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
133 return NULL;
134 }
135 }
136 if (_argc1) {
137 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxEvent_p")) {
138 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
139 return NULL;
140 }
141 }
142 {
143 wxPy_BEGIN_ALLOW_THREADS;
144 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
145
146 wxPy_END_ALLOW_THREADS;
147 } _resultobj = Py_BuildValue("i",_result);
148 return _resultobj;
149 }
150
151 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
152 if (PyCallable_Check(func)) {
153 self->Connect(id, lastId, eventType,
154 (wxObjectEventFunction) &wxPyCallback::EventThunker,
155 new wxPyCallback(func));
156 }
157 }
158 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args) {
159 PyObject * _resultobj;
160 wxEvtHandler * _arg0;
161 int _arg1;
162 int _arg2;
163 int _arg3;
164 PyObject * _arg4;
165 char * _argc0 = 0;
166 PyObject * _obj4 = 0;
167
168 self = self;
169 if(!PyArg_ParseTuple(args,"siiiO:wxEvtHandler_Connect",&_argc0,&_arg1,&_arg2,&_arg3,&_obj4))
170 return NULL;
171 if (_argc0) {
172 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) {
173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
174 return NULL;
175 }
176 }
177 {
178 _arg4 = _obj4;
179 }
180 {
181 wxPy_BEGIN_ALLOW_THREADS;
182 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
183
184 wxPy_END_ALLOW_THREADS;
185 } Py_INCREF(Py_None);
186 _resultobj = Py_None;
187 return _resultobj;
188 }
189
190 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
191 wxWindow *src;
192 wxEvtHandler *dest;
193 src = (wxWindow *) ptr;
194 dest = (wxEvtHandler *) src;
195 return (void *) dest;
196 }
197
198 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
199 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args) {
200 PyObject * _resultobj;
201 wxWindow * _result;
202 wxWindow * _arg0;
203 wxWindowID _arg1;
204 wxPoint * _arg2 = &wxPyDefaultPosition;
205 wxSize * _arg3 = &wxPyDefaultSize;
206 long _arg4 = 0;
207 char * _arg5 = "panel";
208 char * _argc0 = 0;
209 char * _argc2 = 0;
210 char * _argc3 = 0;
211 char _ptemp[128];
212
213 self = self;
214 if(!PyArg_ParseTuple(args,"si|ssls:new_wxWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
215 return NULL;
216 if (_argc0) {
217 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
219 return NULL;
220 }
221 }
222 if (_argc2) {
223 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
224 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
225 return NULL;
226 }
227 }
228 if (_argc3) {
229 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
230 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
231 return NULL;
232 }
233 }
234 {
235 wxPy_BEGIN_ALLOW_THREADS;
236 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
237
238 wxPy_END_ALLOW_THREADS;
239 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
240 _resultobj = Py_BuildValue("s",_ptemp);
241 return _resultobj;
242 }
243
244 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
245 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args) {
246 PyObject * _resultobj;
247 wxWindow * _arg0;
248 char * _argc0 = 0;
249
250 self = self;
251 if(!PyArg_ParseTuple(args,"s:wxWindow_CaptureMouse",&_argc0))
252 return NULL;
253 if (_argc0) {
254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
256 return NULL;
257 }
258 }
259 {
260 wxPy_BEGIN_ALLOW_THREADS;
261 wxWindow_CaptureMouse(_arg0);
262
263 wxPy_END_ALLOW_THREADS;
264 } Py_INCREF(Py_None);
265 _resultobj = Py_None;
266 return _resultobj;
267 }
268
269 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
270 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args) {
271 PyObject * _resultobj;
272 wxWindow * _arg0;
273 int _arg1 = (wxBOTH);
274 char * _argc0 = 0;
275
276 self = self;
277 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Center",&_argc0,&_arg1))
278 return NULL;
279 if (_argc0) {
280 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
282 return NULL;
283 }
284 }
285 {
286 wxPy_BEGIN_ALLOW_THREADS;
287 wxWindow_Center(_arg0,_arg1);
288
289 wxPy_END_ALLOW_THREADS;
290 } Py_INCREF(Py_None);
291 _resultobj = Py_None;
292 return _resultobj;
293 }
294
295 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
296 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) {
297 PyObject * _resultobj;
298 wxWindow * _arg0;
299 int _arg1 = (wxBOTH);
300 char * _argc0 = 0;
301
302 self = self;
303 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Centre",&_argc0,&_arg1))
304 return NULL;
305 if (_argc0) {
306 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
308 return NULL;
309 }
310 }
311 {
312 wxPy_BEGIN_ALLOW_THREADS;
313 wxWindow_Centre(_arg0,_arg1);
314
315 wxPy_END_ALLOW_THREADS;
316 } Py_INCREF(Py_None);
317 _resultobj = Py_None;
318 return _resultobj;
319 }
320
321 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
322 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args) {
323 PyObject * _resultobj;
324 wxWindow * _arg0;
325 int _arg1 = (wxBOTH);
326 char * _argc0 = 0;
327
328 self = self;
329 if(!PyArg_ParseTuple(args,"s|i:wxWindow_CentreOnParent",&_argc0,&_arg1))
330 return NULL;
331 if (_argc0) {
332 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
334 return NULL;
335 }
336 }
337 {
338 wxPy_BEGIN_ALLOW_THREADS;
339 wxWindow_CentreOnParent(_arg0,_arg1);
340
341 wxPy_END_ALLOW_THREADS;
342 } Py_INCREF(Py_None);
343 _resultobj = Py_None;
344 return _resultobj;
345 }
346
347 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
348 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args) {
349 PyObject * _resultobj;
350 wxWindow * _arg0;
351 int _arg1 = (wxBOTH);
352 char * _argc0 = 0;
353
354 self = self;
355 if(!PyArg_ParseTuple(args,"s|i:wxWindow_CenterOnParent",&_argc0,&_arg1))
356 return NULL;
357 if (_argc0) {
358 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
360 return NULL;
361 }
362 }
363 {
364 wxPy_BEGIN_ALLOW_THREADS;
365 wxWindow_CenterOnParent(_arg0,_arg1);
366
367 wxPy_END_ALLOW_THREADS;
368 } Py_INCREF(Py_None);
369 _resultobj = Py_None;
370 return _resultobj;
371 }
372
373 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
374 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args) {
375 PyObject * _resultobj;
376 wxWindow * _arg0;
377 int * _arg1;
378 int * _arg2;
379 char * _argc0 = 0;
380 int temp;
381 PyObject * _obj1 = 0;
382 int temp0;
383 PyObject * _obj2 = 0;
384
385 self = self;
386 if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreenXY",&_argc0,&_obj1,&_obj2))
387 return NULL;
388 if (_argc0) {
389 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
391 return NULL;
392 }
393 }
394 {
395 temp = (int) PyInt_AsLong(_obj1);
396 _arg1 = &temp;
397 }
398 {
399 temp0 = (int) PyInt_AsLong(_obj2);
400 _arg2 = &temp0;
401 }
402 {
403 wxPy_BEGIN_ALLOW_THREADS;
404 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
405
406 wxPy_END_ALLOW_THREADS;
407 } Py_INCREF(Py_None);
408 _resultobj = Py_None;
409 {
410 PyObject *o;
411 o = PyInt_FromLong((long) (*_arg1));
412 _resultobj = t_output_helper(_resultobj, o);
413 }
414 {
415 PyObject *o;
416 o = PyInt_FromLong((long) (*_arg2));
417 _resultobj = t_output_helper(_resultobj, o);
418 }
419 return _resultobj;
420 }
421
422 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
423 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) {
424 PyObject * _resultobj;
425 wxPoint * _result;
426 wxWindow * _arg0;
427 wxPoint * _arg1;
428 char * _argc0 = 0;
429 char * _argc1 = 0;
430 char _ptemp[128];
431
432 self = self;
433 if(!PyArg_ParseTuple(args,"ss:wxWindow_ClientToScreen",&_argc0,&_argc1))
434 return NULL;
435 if (_argc0) {
436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
438 return NULL;
439 }
440 }
441 if (_argc1) {
442 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
444 return NULL;
445 }
446 }
447 {
448 wxPy_BEGIN_ALLOW_THREADS;
449 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
450
451 wxPy_END_ALLOW_THREADS;
452 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
453 _resultobj = Py_BuildValue("s",_ptemp);
454 return _resultobj;
455 }
456
457 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
458 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) {
459 PyObject * _resultobj;
460 bool _result;
461 wxWindow * _arg0;
462 int _arg1 = (0);
463 char * _argc0 = 0;
464
465 self = self;
466 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Close",&_argc0,&_arg1))
467 return NULL;
468 if (_argc0) {
469 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
471 return NULL;
472 }
473 }
474 {
475 wxPy_BEGIN_ALLOW_THREADS;
476 _result = (bool )wxWindow_Close(_arg0,_arg1);
477
478 wxPy_END_ALLOW_THREADS;
479 } _resultobj = Py_BuildValue("i",_result);
480 return _resultobj;
481 }
482
483 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
484 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args) {
485 PyObject * _resultobj;
486 bool _result;
487 wxWindow * _arg0;
488 char * _argc0 = 0;
489
490 self = self;
491 if(!PyArg_ParseTuple(args,"s:wxWindow_Destroy",&_argc0))
492 return NULL;
493 if (_argc0) {
494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
496 return NULL;
497 }
498 }
499 {
500 wxPy_BEGIN_ALLOW_THREADS;
501 _result = (bool )wxWindow_Destroy(_arg0);
502
503 wxPy_END_ALLOW_THREADS;
504 } _resultobj = Py_BuildValue("i",_result);
505 return _resultobj;
506 }
507
508 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
509 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args) {
510 PyObject * _resultobj;
511 wxWindow * _arg0;
512 char * _argc0 = 0;
513
514 self = self;
515 if(!PyArg_ParseTuple(args,"s:wxWindow_DestroyChildren",&_argc0))
516 return NULL;
517 if (_argc0) {
518 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
520 return NULL;
521 }
522 }
523 {
524 wxPy_BEGIN_ALLOW_THREADS;
525 wxWindow_DestroyChildren(_arg0);
526
527 wxPy_END_ALLOW_THREADS;
528 } Py_INCREF(Py_None);
529 _resultobj = Py_None;
530 return _resultobj;
531 }
532
533 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
534 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args) {
535 PyObject * _resultobj;
536 wxWindow * _arg0;
537 bool _arg1;
538 char * _argc0 = 0;
539 int tempbool1;
540
541 self = self;
542 if(!PyArg_ParseTuple(args,"si:wxWindow_Enable",&_argc0,&tempbool1))
543 return NULL;
544 if (_argc0) {
545 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
547 return NULL;
548 }
549 }
550 _arg1 = (bool ) tempbool1;
551 {
552 wxPy_BEGIN_ALLOW_THREADS;
553 wxWindow_Enable(_arg0,_arg1);
554
555 wxPy_END_ALLOW_THREADS;
556 } Py_INCREF(Py_None);
557 _resultobj = Py_None;
558 return _resultobj;
559 }
560
561 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
562 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args) {
563 PyObject * _resultobj;
564 wxWindow * _result;
565 wxWindow * _arg0;
566 long _arg1;
567 char * _argc0 = 0;
568 char _ptemp[128];
569
570 self = self;
571 if(!PyArg_ParseTuple(args,"sl:wxWindow_FindWindowById",&_argc0,&_arg1))
572 return NULL;
573 if (_argc0) {
574 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
576 return NULL;
577 }
578 }
579 {
580 wxPy_BEGIN_ALLOW_THREADS;
581 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
582
583 wxPy_END_ALLOW_THREADS;
584 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
585 _resultobj = Py_BuildValue("s",_ptemp);
586 return _resultobj;
587 }
588
589 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
590 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args) {
591 PyObject * _resultobj;
592 wxWindow * _result;
593 wxWindow * _arg0;
594 wxString * _arg1;
595 char * _argc0 = 0;
596 PyObject * _obj1 = 0;
597 char _ptemp[128];
598
599 self = self;
600 if(!PyArg_ParseTuple(args,"sO:wxWindow_FindWindowByName",&_argc0,&_obj1))
601 return NULL;
602 if (_argc0) {
603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
605 return NULL;
606 }
607 }
608 {
609 if (!PyString_Check(_obj1)) {
610 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
611 return NULL;
612 }
613 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
614 }
615 {
616 wxPy_BEGIN_ALLOW_THREADS;
617 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
618
619 wxPy_END_ALLOW_THREADS;
620 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
621 _resultobj = Py_BuildValue("s",_ptemp);
622 {
623 if (_obj1)
624 delete _arg1;
625 }
626 return _resultobj;
627 }
628
629 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
630 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args) {
631 PyObject * _resultobj;
632 wxWindow * _arg0;
633 char * _argc0 = 0;
634
635 self = self;
636 if(!PyArg_ParseTuple(args,"s:wxWindow_Fit",&_argc0))
637 return NULL;
638 if (_argc0) {
639 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
641 return NULL;
642 }
643 }
644 {
645 wxPy_BEGIN_ALLOW_THREADS;
646 wxWindow_Fit(_arg0);
647
648 wxPy_END_ALLOW_THREADS;
649 } Py_INCREF(Py_None);
650 _resultobj = Py_None;
651 return _resultobj;
652 }
653
654 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
655 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args) {
656 PyObject * _resultobj;
657 wxColour * _result;
658 wxWindow * _arg0;
659 char * _argc0 = 0;
660 char _ptemp[128];
661
662 self = self;
663 if(!PyArg_ParseTuple(args,"s:wxWindow_GetBackgroundColour",&_argc0))
664 return NULL;
665 if (_argc0) {
666 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
668 return NULL;
669 }
670 }
671 {
672 wxPy_BEGIN_ALLOW_THREADS;
673 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
674
675 wxPy_END_ALLOW_THREADS;
676 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
677 _resultobj = Py_BuildValue("s",_ptemp);
678 return _resultobj;
679 }
680
681 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
682 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args) {
683 PyObject * _resultobj;
684 int _result;
685 wxWindow * _arg0;
686 char * _argc0 = 0;
687
688 self = self;
689 if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharHeight",&_argc0))
690 return NULL;
691 if (_argc0) {
692 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
694 return NULL;
695 }
696 }
697 {
698 wxPy_BEGIN_ALLOW_THREADS;
699 _result = (int )wxWindow_GetCharHeight(_arg0);
700
701 wxPy_END_ALLOW_THREADS;
702 } _resultobj = Py_BuildValue("i",_result);
703 return _resultobj;
704 }
705
706 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
707 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args) {
708 PyObject * _resultobj;
709 int _result;
710 wxWindow * _arg0;
711 char * _argc0 = 0;
712
713 self = self;
714 if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharWidth",&_argc0))
715 return NULL;
716 if (_argc0) {
717 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
719 return NULL;
720 }
721 }
722 {
723 wxPy_BEGIN_ALLOW_THREADS;
724 _result = (int )wxWindow_GetCharWidth(_arg0);
725
726 wxPy_END_ALLOW_THREADS;
727 } _resultobj = Py_BuildValue("i",_result);
728 return _resultobj;
729 }
730
731 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
732 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args) {
733 PyObject * _resultobj;
734 wxWindow * _arg0;
735 int * _arg1;
736 int temp;
737 int * _arg2;
738 int temp0;
739 char * _argc0 = 0;
740
741 self = self;
742 {
743 _arg1 = &temp;
744 }
745 {
746 _arg2 = &temp0;
747 }
748 if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSizeTuple",&_argc0))
749 return NULL;
750 if (_argc0) {
751 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
753 return NULL;
754 }
755 }
756 {
757 wxPy_BEGIN_ALLOW_THREADS;
758 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
759
760 wxPy_END_ALLOW_THREADS;
761 } Py_INCREF(Py_None);
762 _resultobj = Py_None;
763 {
764 PyObject *o;
765 o = PyInt_FromLong((long) (*_arg1));
766 _resultobj = t_output_helper(_resultobj, o);
767 }
768 {
769 PyObject *o;
770 o = PyInt_FromLong((long) (*_arg2));
771 _resultobj = t_output_helper(_resultobj, o);
772 }
773 return _resultobj;
774 }
775
776 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
777 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) {
778 PyObject * _resultobj;
779 wxSize * _result;
780 wxWindow * _arg0;
781 char * _argc0 = 0;
782 char _ptemp[128];
783
784 self = self;
785 if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_argc0))
786 return NULL;
787 if (_argc0) {
788 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
790 return NULL;
791 }
792 }
793 {
794 wxPy_BEGIN_ALLOW_THREADS;
795 _result = new wxSize (wxWindow_GetClientSize(_arg0));
796
797 wxPy_END_ALLOW_THREADS;
798 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
799 _resultobj = Py_BuildValue("s",_ptemp);
800 return _resultobj;
801 }
802
803 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
804 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) {
805 PyObject * _resultobj;
806 wxLayoutConstraints * _result;
807 wxWindow * _arg0;
808 char * _argc0 = 0;
809 char _ptemp[128];
810
811 self = self;
812 if(!PyArg_ParseTuple(args,"s:wxWindow_GetConstraints",&_argc0))
813 return NULL;
814 if (_argc0) {
815 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
817 return NULL;
818 }
819 }
820 {
821 wxPy_BEGIN_ALLOW_THREADS;
822 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
823
824 wxPy_END_ALLOW_THREADS;
825 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
826 _resultobj = Py_BuildValue("s",_ptemp);
827 return _resultobj;
828 }
829
830 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
831 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args) {
832 PyObject * _resultobj;
833 wxFont * _result;
834 wxWindow * _arg0;
835 char * _argc0 = 0;
836 char _ptemp[128];
837
838 self = self;
839 if(!PyArg_ParseTuple(args,"s:wxWindow_GetFont",&_argc0))
840 return NULL;
841 if (_argc0) {
842 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
844 return NULL;
845 }
846 }
847 {
848 wxPy_BEGIN_ALLOW_THREADS;
849 wxFont & _result_ref = wxWindow_GetFont(_arg0);
850 _result = (wxFont *) &_result_ref;
851
852 wxPy_END_ALLOW_THREADS;
853 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
854 _resultobj = Py_BuildValue("s",_ptemp);
855 return _resultobj;
856 }
857
858 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
859 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args) {
860 PyObject * _resultobj;
861 wxColour * _result;
862 wxWindow * _arg0;
863 char * _argc0 = 0;
864 char _ptemp[128];
865
866 self = self;
867 if(!PyArg_ParseTuple(args,"s:wxWindow_GetForegroundColour",&_argc0))
868 return NULL;
869 if (_argc0) {
870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
872 return NULL;
873 }
874 }
875 {
876 wxPy_BEGIN_ALLOW_THREADS;
877 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
878
879 wxPy_END_ALLOW_THREADS;
880 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
881 _resultobj = Py_BuildValue("s",_ptemp);
882 return _resultobj;
883 }
884
885 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
886 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args) {
887 PyObject * _resultobj;
888 wxWindow * _result;
889 wxWindow * _arg0;
890 char * _argc0 = 0;
891 char _ptemp[128];
892
893 self = self;
894 if(!PyArg_ParseTuple(args,"s:wxWindow_GetGrandParent",&_argc0))
895 return NULL;
896 if (_argc0) {
897 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
899 return NULL;
900 }
901 }
902 {
903 wxPy_BEGIN_ALLOW_THREADS;
904 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
905
906 wxPy_END_ALLOW_THREADS;
907 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
908 _resultobj = Py_BuildValue("s",_ptemp);
909 return _resultobj;
910 }
911
912 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
913 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args) {
914 PyObject * _resultobj;
915 int _result;
916 wxWindow * _arg0;
917 char * _argc0 = 0;
918
919 self = self;
920 if(!PyArg_ParseTuple(args,"s:wxWindow_GetId",&_argc0))
921 return NULL;
922 if (_argc0) {
923 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
925 return NULL;
926 }
927 }
928 {
929 wxPy_BEGIN_ALLOW_THREADS;
930 _result = (int )wxWindow_GetId(_arg0);
931
932 wxPy_END_ALLOW_THREADS;
933 } _resultobj = Py_BuildValue("i",_result);
934 return _resultobj;
935 }
936
937 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
938 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) {
939 PyObject * _resultobj;
940 wxString * _result;
941 wxWindow * _arg0;
942 char * _argc0 = 0;
943
944 self = self;
945 if(!PyArg_ParseTuple(args,"s:wxWindow_GetLabel",&_argc0))
946 return NULL;
947 if (_argc0) {
948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
950 return NULL;
951 }
952 }
953 {
954 wxPy_BEGIN_ALLOW_THREADS;
955 _result = new wxString (wxWindow_GetLabel(_arg0));
956
957 wxPy_END_ALLOW_THREADS;
958 }{
959 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
960 }
961 {
962 delete _result;
963 }
964 return _resultobj;
965 }
966
967 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
968 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args) {
969 PyObject * _resultobj;
970 wxWindow * _arg0;
971 wxString * _arg1;
972 char * _argc0 = 0;
973 PyObject * _obj1 = 0;
974
975 self = self;
976 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetLabel",&_argc0,&_obj1))
977 return NULL;
978 if (_argc0) {
979 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
981 return NULL;
982 }
983 }
984 {
985 if (!PyString_Check(_obj1)) {
986 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
987 return NULL;
988 }
989 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
990 }
991 {
992 wxPy_BEGIN_ALLOW_THREADS;
993 wxWindow_SetLabel(_arg0,*_arg1);
994
995 wxPy_END_ALLOW_THREADS;
996 } Py_INCREF(Py_None);
997 _resultobj = Py_None;
998 {
999 if (_obj1)
1000 delete _arg1;
1001 }
1002 return _resultobj;
1003 }
1004
1005 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1006 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) {
1007 PyObject * _resultobj;
1008 wxString * _result;
1009 wxWindow * _arg0;
1010 char * _argc0 = 0;
1011
1012 self = self;
1013 if(!PyArg_ParseTuple(args,"s:wxWindow_GetName",&_argc0))
1014 return NULL;
1015 if (_argc0) {
1016 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1018 return NULL;
1019 }
1020 }
1021 {
1022 wxPy_BEGIN_ALLOW_THREADS;
1023 _result = new wxString (wxWindow_GetName(_arg0));
1024
1025 wxPy_END_ALLOW_THREADS;
1026 }{
1027 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1028 }
1029 {
1030 delete _result;
1031 }
1032 return _resultobj;
1033 }
1034
1035 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1036 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args) {
1037 PyObject * _resultobj;
1038 wxWindow * _result;
1039 wxWindow * _arg0;
1040 char * _argc0 = 0;
1041 char _ptemp[128];
1042
1043 self = self;
1044 if(!PyArg_ParseTuple(args,"s:wxWindow_GetParent",&_argc0))
1045 return NULL;
1046 if (_argc0) {
1047 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1049 return NULL;
1050 }
1051 }
1052 {
1053 wxPy_BEGIN_ALLOW_THREADS;
1054 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1055
1056 wxPy_END_ALLOW_THREADS;
1057 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1058 _resultobj = Py_BuildValue("s",_ptemp);
1059 return _resultobj;
1060 }
1061
1062 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1063 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args) {
1064 PyObject * _resultobj;
1065 wxWindow * _arg0;
1066 int * _arg1;
1067 int temp;
1068 int * _arg2;
1069 int temp0;
1070 char * _argc0 = 0;
1071
1072 self = self;
1073 {
1074 _arg1 = &temp;
1075 }
1076 {
1077 _arg2 = &temp0;
1078 }
1079 if(!PyArg_ParseTuple(args,"s:wxWindow_GetPositionTuple",&_argc0))
1080 return NULL;
1081 if (_argc0) {
1082 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1084 return NULL;
1085 }
1086 }
1087 {
1088 wxPy_BEGIN_ALLOW_THREADS;
1089 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1090
1091 wxPy_END_ALLOW_THREADS;
1092 } Py_INCREF(Py_None);
1093 _resultobj = Py_None;
1094 {
1095 PyObject *o;
1096 o = PyInt_FromLong((long) (*_arg1));
1097 _resultobj = t_output_helper(_resultobj, o);
1098 }
1099 {
1100 PyObject *o;
1101 o = PyInt_FromLong((long) (*_arg2));
1102 _resultobj = t_output_helper(_resultobj, o);
1103 }
1104 return _resultobj;
1105 }
1106
1107 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1108 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) {
1109 PyObject * _resultobj;
1110 wxPoint * _result;
1111 wxWindow * _arg0;
1112 char * _argc0 = 0;
1113 char _ptemp[128];
1114
1115 self = self;
1116 if(!PyArg_ParseTuple(args,"s:wxWindow_GetPosition",&_argc0))
1117 return NULL;
1118 if (_argc0) {
1119 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1121 return NULL;
1122 }
1123 }
1124 {
1125 wxPy_BEGIN_ALLOW_THREADS;
1126 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1127
1128 wxPy_END_ALLOW_THREADS;
1129 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1130 _resultobj = Py_BuildValue("s",_ptemp);
1131 return _resultobj;
1132 }
1133
1134 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1135 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args) {
1136 PyObject * _resultobj;
1137 wxRect * _result;
1138 wxWindow * _arg0;
1139 char * _argc0 = 0;
1140 char _ptemp[128];
1141
1142 self = self;
1143 if(!PyArg_ParseTuple(args,"s:wxWindow_GetRect",&_argc0))
1144 return NULL;
1145 if (_argc0) {
1146 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1148 return NULL;
1149 }
1150 }
1151 {
1152 wxPy_BEGIN_ALLOW_THREADS;
1153 _result = new wxRect (wxWindow_GetRect(_arg0));
1154
1155 wxPy_END_ALLOW_THREADS;
1156 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1157 _resultobj = Py_BuildValue("s",_ptemp);
1158 return _resultobj;
1159 }
1160
1161 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1162 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args) {
1163 PyObject * _resultobj;
1164 int _result;
1165 wxWindow * _arg0;
1166 int _arg1;
1167 char * _argc0 = 0;
1168
1169 self = self;
1170 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollThumb",&_argc0,&_arg1))
1171 return NULL;
1172 if (_argc0) {
1173 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1175 return NULL;
1176 }
1177 }
1178 {
1179 wxPy_BEGIN_ALLOW_THREADS;
1180 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1181
1182 wxPy_END_ALLOW_THREADS;
1183 } _resultobj = Py_BuildValue("i",_result);
1184 return _resultobj;
1185 }
1186
1187 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1188 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args) {
1189 PyObject * _resultobj;
1190 int _result;
1191 wxWindow * _arg0;
1192 int _arg1;
1193 char * _argc0 = 0;
1194
1195 self = self;
1196 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollPos",&_argc0,&_arg1))
1197 return NULL;
1198 if (_argc0) {
1199 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1201 return NULL;
1202 }
1203 }
1204 {
1205 wxPy_BEGIN_ALLOW_THREADS;
1206 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
1207
1208 wxPy_END_ALLOW_THREADS;
1209 } _resultobj = Py_BuildValue("i",_result);
1210 return _resultobj;
1211 }
1212
1213 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1214 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args) {
1215 PyObject * _resultobj;
1216 int _result;
1217 wxWindow * _arg0;
1218 int _arg1;
1219 char * _argc0 = 0;
1220
1221 self = self;
1222 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollRange",&_argc0,&_arg1))
1223 return NULL;
1224 if (_argc0) {
1225 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1227 return NULL;
1228 }
1229 }
1230 {
1231 wxPy_BEGIN_ALLOW_THREADS;
1232 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
1233
1234 wxPy_END_ALLOW_THREADS;
1235 } _resultobj = Py_BuildValue("i",_result);
1236 return _resultobj;
1237 }
1238
1239 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1240 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args) {
1241 PyObject * _resultobj;
1242 wxWindow * _arg0;
1243 int * _arg1;
1244 int temp;
1245 int * _arg2;
1246 int temp0;
1247 char * _argc0 = 0;
1248
1249 self = self;
1250 {
1251 _arg1 = &temp;
1252 }
1253 {
1254 _arg2 = &temp0;
1255 }
1256 if(!PyArg_ParseTuple(args,"s:wxWindow_GetSizeTuple",&_argc0))
1257 return NULL;
1258 if (_argc0) {
1259 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1261 return NULL;
1262 }
1263 }
1264 {
1265 wxPy_BEGIN_ALLOW_THREADS;
1266 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
1267
1268 wxPy_END_ALLOW_THREADS;
1269 } Py_INCREF(Py_None);
1270 _resultobj = Py_None;
1271 {
1272 PyObject *o;
1273 o = PyInt_FromLong((long) (*_arg1));
1274 _resultobj = t_output_helper(_resultobj, o);
1275 }
1276 {
1277 PyObject *o;
1278 o = PyInt_FromLong((long) (*_arg2));
1279 _resultobj = t_output_helper(_resultobj, o);
1280 }
1281 return _resultobj;
1282 }
1283
1284 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1285 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) {
1286 PyObject * _resultobj;
1287 wxSize * _result;
1288 wxWindow * _arg0;
1289 char * _argc0 = 0;
1290 char _ptemp[128];
1291
1292 self = self;
1293 if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0))
1294 return NULL;
1295 if (_argc0) {
1296 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1298 return NULL;
1299 }
1300 }
1301 {
1302 wxPy_BEGIN_ALLOW_THREADS;
1303 _result = new wxSize (wxWindow_GetSize(_arg0));
1304
1305 wxPy_END_ALLOW_THREADS;
1306 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1307 _resultobj = Py_BuildValue("s",_ptemp);
1308 return _resultobj;
1309 }
1310
1311 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1312 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args) {
1313 PyObject * _resultobj;
1314 wxWindow * _arg0;
1315 wxString * _arg1;
1316 int * _arg2;
1317 int temp;
1318 int * _arg3;
1319 int temp0;
1320 char * _argc0 = 0;
1321 PyObject * _obj1 = 0;
1322
1323 self = self;
1324 {
1325 _arg2 = &temp;
1326 }
1327 {
1328 _arg3 = &temp0;
1329 }
1330 if(!PyArg_ParseTuple(args,"sO:wxWindow_GetTextExtent",&_argc0,&_obj1))
1331 return NULL;
1332 if (_argc0) {
1333 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1335 return NULL;
1336 }
1337 }
1338 {
1339 if (!PyString_Check(_obj1)) {
1340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1341 return NULL;
1342 }
1343 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1344 }
1345 {
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
1348
1349 wxPy_END_ALLOW_THREADS;
1350 } Py_INCREF(Py_None);
1351 _resultobj = Py_None;
1352 {
1353 PyObject *o;
1354 o = PyInt_FromLong((long) (*_arg2));
1355 _resultobj = t_output_helper(_resultobj, o);
1356 }
1357 {
1358 PyObject *o;
1359 o = PyInt_FromLong((long) (*_arg3));
1360 _resultobj = t_output_helper(_resultobj, o);
1361 }
1362 {
1363 if (_obj1)
1364 delete _arg1;
1365 }
1366 return _resultobj;
1367 }
1368
1369 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1370 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args) {
1371 PyObject * _resultobj;
1372 wxWindow * _arg0;
1373 wxString * _arg1;
1374 int * _arg2;
1375 int temp;
1376 int * _arg3;
1377 int temp0;
1378 int * _arg4;
1379 int temp1;
1380 int * _arg5;
1381 int temp2;
1382 wxFont * _arg6 = NULL;
1383 char * _argc0 = 0;
1384 PyObject * _obj1 = 0;
1385 char * _argc6 = 0;
1386
1387 self = self;
1388 {
1389 _arg2 = &temp;
1390 }
1391 {
1392 _arg3 = &temp0;
1393 }
1394 {
1395 _arg4 = &temp1;
1396 }
1397 {
1398 _arg5 = &temp2;
1399 }
1400 if(!PyArg_ParseTuple(args,"sO|s:wxWindow_GetFullTextExtent",&_argc0,&_obj1,&_argc6))
1401 return NULL;
1402 if (_argc0) {
1403 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1405 return NULL;
1406 }
1407 }
1408 {
1409 if (!PyString_Check(_obj1)) {
1410 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1411 return NULL;
1412 }
1413 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1414 }
1415 if (_argc6) {
1416 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) {
1417 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1418 return NULL;
1419 }
1420 }
1421 {
1422 wxPy_BEGIN_ALLOW_THREADS;
1423 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1424
1425 wxPy_END_ALLOW_THREADS;
1426 } Py_INCREF(Py_None);
1427 _resultobj = Py_None;
1428 {
1429 PyObject *o;
1430 o = PyInt_FromLong((long) (*_arg2));
1431 _resultobj = t_output_helper(_resultobj, o);
1432 }
1433 {
1434 PyObject *o;
1435 o = PyInt_FromLong((long) (*_arg3));
1436 _resultobj = t_output_helper(_resultobj, o);
1437 }
1438 {
1439 PyObject *o;
1440 o = PyInt_FromLong((long) (*_arg4));
1441 _resultobj = t_output_helper(_resultobj, o);
1442 }
1443 {
1444 PyObject *o;
1445 o = PyInt_FromLong((long) (*_arg5));
1446 _resultobj = t_output_helper(_resultobj, o);
1447 }
1448 {
1449 if (_obj1)
1450 delete _arg1;
1451 }
1452 return _resultobj;
1453 }
1454
1455 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1456 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args) {
1457 PyObject * _resultobj;
1458 wxString * _result;
1459 wxWindow * _arg0;
1460 char * _argc0 = 0;
1461
1462 self = self;
1463 if(!PyArg_ParseTuple(args,"s:wxWindow_GetTitle",&_argc0))
1464 return NULL;
1465 if (_argc0) {
1466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1468 return NULL;
1469 }
1470 }
1471 {
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 _result = new wxString (wxWindow_GetTitle(_arg0));
1474
1475 wxPy_END_ALLOW_THREADS;
1476 }{
1477 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1478 }
1479 {
1480 delete _result;
1481 }
1482 return _resultobj;
1483 }
1484
1485 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1486 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args) {
1487 PyObject * _resultobj;
1488 wxRegion * _result;
1489 wxWindow * _arg0;
1490 char * _argc0 = 0;
1491 char _ptemp[128];
1492
1493 self = self;
1494 if(!PyArg_ParseTuple(args,"s:wxWindow_GetUpdateRegion",&_argc0))
1495 return NULL;
1496 if (_argc0) {
1497 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1499 return NULL;
1500 }
1501 }
1502 {
1503 wxPy_BEGIN_ALLOW_THREADS;
1504 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
1505
1506 wxPy_END_ALLOW_THREADS;
1507 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 return _resultobj;
1510 }
1511
1512 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1513 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args) {
1514 PyObject * _resultobj;
1515 long _result;
1516 wxWindow * _arg0;
1517 char * _argc0 = 0;
1518
1519 self = self;
1520 if(!PyArg_ParseTuple(args,"s:wxWindow_GetWindowStyleFlag",&_argc0))
1521 return NULL;
1522 if (_argc0) {
1523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1525 return NULL;
1526 }
1527 }
1528 {
1529 wxPy_BEGIN_ALLOW_THREADS;
1530 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
1531
1532 wxPy_END_ALLOW_THREADS;
1533 } _resultobj = Py_BuildValue("l",_result);
1534 return _resultobj;
1535 }
1536
1537 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1538 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args) {
1539 PyObject * _resultobj;
1540 bool _result;
1541 wxWindow * _arg0;
1542 char * _argc0 = 0;
1543
1544 self = self;
1545 if(!PyArg_ParseTuple(args,"s:wxWindow_Hide",&_argc0))
1546 return NULL;
1547 if (_argc0) {
1548 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1550 return NULL;
1551 }
1552 }
1553 {
1554 wxPy_BEGIN_ALLOW_THREADS;
1555 _result = (bool )wxWindow_Hide(_arg0);
1556
1557 wxPy_END_ALLOW_THREADS;
1558 } _resultobj = Py_BuildValue("i",_result);
1559 return _resultobj;
1560 }
1561
1562 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1563 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) {
1564 PyObject * _resultobj;
1565 wxWindow * _arg0;
1566 char * _argc0 = 0;
1567
1568 self = self;
1569 if(!PyArg_ParseTuple(args,"s:wxWindow_InitDialog",&_argc0))
1570 return NULL;
1571 if (_argc0) {
1572 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1574 return NULL;
1575 }
1576 }
1577 {
1578 wxPy_BEGIN_ALLOW_THREADS;
1579 wxWindow_InitDialog(_arg0);
1580
1581 wxPy_END_ALLOW_THREADS;
1582 } Py_INCREF(Py_None);
1583 _resultobj = Py_None;
1584 return _resultobj;
1585 }
1586
1587 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1588 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args) {
1589 PyObject * _resultobj;
1590 bool _result;
1591 wxWindow * _arg0;
1592 char * _argc0 = 0;
1593
1594 self = self;
1595 if(!PyArg_ParseTuple(args,"s:wxWindow_IsEnabled",&_argc0))
1596 return NULL;
1597 if (_argc0) {
1598 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1600 return NULL;
1601 }
1602 }
1603 {
1604 wxPy_BEGIN_ALLOW_THREADS;
1605 _result = (bool )wxWindow_IsEnabled(_arg0);
1606
1607 wxPy_END_ALLOW_THREADS;
1608 } _resultobj = Py_BuildValue("i",_result);
1609 return _resultobj;
1610 }
1611
1612 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1613 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args) {
1614 PyObject * _resultobj;
1615 bool _result;
1616 wxWindow * _arg0;
1617 char * _argc0 = 0;
1618
1619 self = self;
1620 if(!PyArg_ParseTuple(args,"s:wxWindow_IsRetained",&_argc0))
1621 return NULL;
1622 if (_argc0) {
1623 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1625 return NULL;
1626 }
1627 }
1628 {
1629 wxPy_BEGIN_ALLOW_THREADS;
1630 _result = (bool )wxWindow_IsRetained(_arg0);
1631
1632 wxPy_END_ALLOW_THREADS;
1633 } _resultobj = Py_BuildValue("i",_result);
1634 return _resultobj;
1635 }
1636
1637 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1638 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) {
1639 PyObject * _resultobj;
1640 bool _result;
1641 wxWindow * _arg0;
1642 char * _argc0 = 0;
1643
1644 self = self;
1645 if(!PyArg_ParseTuple(args,"s:wxWindow_IsShown",&_argc0))
1646 return NULL;
1647 if (_argc0) {
1648 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1650 return NULL;
1651 }
1652 }
1653 {
1654 wxPy_BEGIN_ALLOW_THREADS;
1655 _result = (bool )wxWindow_IsShown(_arg0);
1656
1657 wxPy_END_ALLOW_THREADS;
1658 } _resultobj = Py_BuildValue("i",_result);
1659 return _resultobj;
1660 }
1661
1662 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1663 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args) {
1664 PyObject * _resultobj;
1665 bool _result;
1666 wxWindow * _arg0;
1667 char * _argc0 = 0;
1668
1669 self = self;
1670 if(!PyArg_ParseTuple(args,"s:wxWindow_IsTopLevel",&_argc0))
1671 return NULL;
1672 if (_argc0) {
1673 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1675 return NULL;
1676 }
1677 }
1678 {
1679 wxPy_BEGIN_ALLOW_THREADS;
1680 _result = (bool )wxWindow_IsTopLevel(_arg0);
1681
1682 wxPy_END_ALLOW_THREADS;
1683 } _resultobj = Py_BuildValue("i",_result);
1684 return _resultobj;
1685 }
1686
1687 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1688 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) {
1689 PyObject * _resultobj;
1690 wxWindow * _arg0;
1691 char * _argc0 = 0;
1692
1693 self = self;
1694 if(!PyArg_ParseTuple(args,"s:wxWindow_Layout",&_argc0))
1695 return NULL;
1696 if (_argc0) {
1697 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 wxPy_BEGIN_ALLOW_THREADS;
1704 wxWindow_Layout(_arg0);
1705
1706 wxPy_END_ALLOW_THREADS;
1707 } Py_INCREF(Py_None);
1708 _resultobj = Py_None;
1709 return _resultobj;
1710 }
1711
1712 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1713 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args) {
1714 PyObject * _resultobj;
1715 bool _result;
1716 wxWindow * _arg0;
1717 wxWindow * _arg1;
1718 wxString * _arg2;
1719 wxResourceTable * _arg3 = NULL;
1720 char * _argc0 = 0;
1721 char * _argc1 = 0;
1722 PyObject * _obj2 = 0;
1723 char * _argc3 = 0;
1724
1725 self = self;
1726 if(!PyArg_ParseTuple(args,"ssO|s:wxWindow_LoadFromResource",&_argc0,&_argc1,&_obj2,&_argc3))
1727 return NULL;
1728 if (_argc0) {
1729 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1731 return NULL;
1732 }
1733 }
1734 if (_argc1) {
1735 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1737 return NULL;
1738 }
1739 }
1740 {
1741 if (!PyString_Check(_obj2)) {
1742 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1743 return NULL;
1744 }
1745 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1746 }
1747 if (_argc3) {
1748 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxResourceTable_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1750 return NULL;
1751 }
1752 }
1753 {
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
1756
1757 wxPy_END_ALLOW_THREADS;
1758 } _resultobj = Py_BuildValue("i",_result);
1759 {
1760 if (_obj2)
1761 delete _arg2;
1762 }
1763 return _resultobj;
1764 }
1765
1766 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1767 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args) {
1768 PyObject * _resultobj;
1769 wxWindow * _arg0;
1770 char * _argc0 = 0;
1771
1772 self = self;
1773 if(!PyArg_ParseTuple(args,"s:wxWindow_Lower",&_argc0))
1774 return NULL;
1775 if (_argc0) {
1776 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1778 return NULL;
1779 }
1780 }
1781 {
1782 wxPy_BEGIN_ALLOW_THREADS;
1783 wxWindow_Lower(_arg0);
1784
1785 wxPy_END_ALLOW_THREADS;
1786 } Py_INCREF(Py_None);
1787 _resultobj = Py_None;
1788 return _resultobj;
1789 }
1790
1791 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1792 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args) {
1793 PyObject * _resultobj;
1794 wxWindow * _arg0;
1795 bool _arg1;
1796 char * _argc0 = 0;
1797 int tempbool1;
1798
1799 self = self;
1800 if(!PyArg_ParseTuple(args,"si:wxWindow_MakeModal",&_argc0,&tempbool1))
1801 return NULL;
1802 if (_argc0) {
1803 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1805 return NULL;
1806 }
1807 }
1808 _arg1 = (bool ) tempbool1;
1809 {
1810 wxPy_BEGIN_ALLOW_THREADS;
1811 wxWindow_MakeModal(_arg0,_arg1);
1812
1813 wxPy_END_ALLOW_THREADS;
1814 } Py_INCREF(Py_None);
1815 _resultobj = Py_None;
1816 return _resultobj;
1817 }
1818
1819 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1820 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args) {
1821 PyObject * _resultobj;
1822 wxWindow * _arg0;
1823 int _arg1;
1824 int _arg2;
1825 char * _argc0 = 0;
1826
1827 self = self;
1828 if(!PyArg_ParseTuple(args,"sii:wxWindow_MoveXY",&_argc0,&_arg1,&_arg2))
1829 return NULL;
1830 if (_argc0) {
1831 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1833 return NULL;
1834 }
1835 }
1836 {
1837 wxPy_BEGIN_ALLOW_THREADS;
1838 wxWindow_MoveXY(_arg0,_arg1,_arg2);
1839
1840 wxPy_END_ALLOW_THREADS;
1841 } Py_INCREF(Py_None);
1842 _resultobj = Py_None;
1843 return _resultobj;
1844 }
1845
1846 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1847 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) {
1848 PyObject * _resultobj;
1849 wxWindow * _arg0;
1850 wxPoint * _arg1;
1851 char * _argc0 = 0;
1852 char * _argc1 = 0;
1853
1854 self = self;
1855 if(!PyArg_ParseTuple(args,"ss:wxWindow_Move",&_argc0,&_argc1))
1856 return NULL;
1857 if (_argc0) {
1858 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1860 return NULL;
1861 }
1862 }
1863 if (_argc1) {
1864 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1866 return NULL;
1867 }
1868 }
1869 {
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 wxWindow_Move(_arg0,*_arg1);
1872
1873 wxPy_END_ALLOW_THREADS;
1874 } Py_INCREF(Py_None);
1875 _resultobj = Py_None;
1876 return _resultobj;
1877 }
1878
1879 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1880 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args) {
1881 PyObject * _resultobj;
1882 bool _result;
1883 wxWindow * _arg0;
1884 wxMenu * _arg1;
1885 int _arg2;
1886 int _arg3;
1887 char * _argc0 = 0;
1888 char * _argc1 = 0;
1889
1890 self = self;
1891 if(!PyArg_ParseTuple(args,"ssii:wxWindow_PopupMenuXY",&_argc0,&_argc1,&_arg2,&_arg3))
1892 return NULL;
1893 if (_argc0) {
1894 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
1896 return NULL;
1897 }
1898 }
1899 if (_argc1) {
1900 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
1901 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
1902 return NULL;
1903 }
1904 }
1905 {
1906 wxPy_BEGIN_ALLOW_THREADS;
1907 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
1908
1909 wxPy_END_ALLOW_THREADS;
1910 } _resultobj = Py_BuildValue("i",_result);
1911 return _resultobj;
1912 }
1913
1914 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
1915 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args) {
1916 PyObject * _resultobj;
1917 bool _result;
1918 wxWindow * _arg0;
1919 wxMenu * _arg1;
1920 wxPoint * _arg2;
1921 char * _argc0 = 0;
1922 char * _argc1 = 0;
1923 char * _argc2 = 0;
1924
1925 self = self;
1926 if(!PyArg_ParseTuple(args,"sss:wxWindow_PopupMenu",&_argc0,&_argc1,&_argc2))
1927 return NULL;
1928 if (_argc0) {
1929 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1931 return NULL;
1932 }
1933 }
1934 if (_argc1) {
1935 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1937 return NULL;
1938 }
1939 }
1940 if (_argc2) {
1941 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1942 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
1943 return NULL;
1944 }
1945 }
1946 {
1947 wxPy_BEGIN_ALLOW_THREADS;
1948 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
1949
1950 wxPy_END_ALLOW_THREADS;
1951 } _resultobj = Py_BuildValue("i",_result);
1952 return _resultobj;
1953 }
1954
1955 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1956 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args) {
1957 PyObject * _resultobj;
1958 wxWindow * _arg0;
1959 char * _argc0 = 0;
1960
1961 self = self;
1962 if(!PyArg_ParseTuple(args,"s:wxWindow_Raise",&_argc0))
1963 return NULL;
1964 if (_argc0) {
1965 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1967 return NULL;
1968 }
1969 }
1970 {
1971 wxPy_BEGIN_ALLOW_THREADS;
1972 wxWindow_Raise(_arg0);
1973
1974 wxPy_END_ALLOW_THREADS;
1975 } Py_INCREF(Py_None);
1976 _resultobj = Py_None;
1977 return _resultobj;
1978 }
1979
1980 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1981 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args) {
1982 PyObject * _resultobj;
1983 wxWindow * _arg0;
1984 bool _arg1 = (1);
1985 wxRect * _arg2 = NULL;
1986 char * _argc0 = 0;
1987 int tempbool1;
1988 char * _argc2 = 0;
1989
1990 self = self;
1991 if(!PyArg_ParseTuple(args,"s|is:wxWindow_Refresh",&_argc0,&tempbool1,&_argc2))
1992 return NULL;
1993 if (_argc0) {
1994 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1996 return NULL;
1997 }
1998 }
1999 _arg1 = (bool ) tempbool1;
2000 if (_argc2) {
2001 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxRect_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2003 return NULL;
2004 }
2005 }
2006 {
2007 wxPy_BEGIN_ALLOW_THREADS;
2008 wxWindow_Refresh(_arg0,_arg1,_arg2);
2009
2010 wxPy_END_ALLOW_THREADS;
2011 } Py_INCREF(Py_None);
2012 _resultobj = Py_None;
2013 return _resultobj;
2014 }
2015
2016 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2017 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) {
2018 PyObject * _resultobj;
2019 wxWindow * _arg0;
2020 char * _argc0 = 0;
2021
2022 self = self;
2023 if(!PyArg_ParseTuple(args,"s:wxWindow_ReleaseMouse",&_argc0))
2024 return NULL;
2025 if (_argc0) {
2026 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2028 return NULL;
2029 }
2030 }
2031 {
2032 wxPy_BEGIN_ALLOW_THREADS;
2033 wxWindow_ReleaseMouse(_arg0);
2034
2035 wxPy_END_ALLOW_THREADS;
2036 } Py_INCREF(Py_None);
2037 _resultobj = Py_None;
2038 return _resultobj;
2039 }
2040
2041 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2042 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args) {
2043 PyObject * _resultobj;
2044 bool _result;
2045 wxWindow * _arg0;
2046 wxWindow * _arg1;
2047 char * _argc0 = 0;
2048 char * _argc1 = 0;
2049
2050 self = self;
2051 if(!PyArg_ParseTuple(args,"ss:wxWindow_Reparent",&_argc0,&_argc1))
2052 return NULL;
2053 if (_argc0) {
2054 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2056 return NULL;
2057 }
2058 }
2059 if (_argc1) {
2060 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2062 return NULL;
2063 }
2064 }
2065 {
2066 wxPy_BEGIN_ALLOW_THREADS;
2067 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
2068
2069 wxPy_END_ALLOW_THREADS;
2070 } _resultobj = Py_BuildValue("i",_result);
2071 return _resultobj;
2072 }
2073
2074 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2075 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args) {
2076 PyObject * _resultobj;
2077 wxWindow * _arg0;
2078 int * _arg1;
2079 int * _arg2;
2080 char * _argc0 = 0;
2081 int temp;
2082 PyObject * _obj1 = 0;
2083 int temp0;
2084 PyObject * _obj2 = 0;
2085
2086 self = self;
2087 if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClientXY",&_argc0,&_obj1,&_obj2))
2088 return NULL;
2089 if (_argc0) {
2090 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2092 return NULL;
2093 }
2094 }
2095 {
2096 temp = (int) PyInt_AsLong(_obj1);
2097 _arg1 = &temp;
2098 }
2099 {
2100 temp0 = (int) PyInt_AsLong(_obj2);
2101 _arg2 = &temp0;
2102 }
2103 {
2104 wxPy_BEGIN_ALLOW_THREADS;
2105 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
2106
2107 wxPy_END_ALLOW_THREADS;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 {
2111 PyObject *o;
2112 o = PyInt_FromLong((long) (*_arg1));
2113 _resultobj = t_output_helper(_resultobj, o);
2114 }
2115 {
2116 PyObject *o;
2117 o = PyInt_FromLong((long) (*_arg2));
2118 _resultobj = t_output_helper(_resultobj, o);
2119 }
2120 return _resultobj;
2121 }
2122
2123 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2124 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) {
2125 PyObject * _resultobj;
2126 wxPoint * _result;
2127 wxWindow * _arg0;
2128 wxPoint * _arg1;
2129 char * _argc0 = 0;
2130 char * _argc1 = 0;
2131 char _ptemp[128];
2132
2133 self = self;
2134 if(!PyArg_ParseTuple(args,"ss:wxWindow_ScreenToClient",&_argc0,&_argc1))
2135 return NULL;
2136 if (_argc0) {
2137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2139 return NULL;
2140 }
2141 }
2142 if (_argc1) {
2143 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2145 return NULL;
2146 }
2147 }
2148 {
2149 wxPy_BEGIN_ALLOW_THREADS;
2150 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
2151
2152 wxPy_END_ALLOW_THREADS;
2153 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2154 _resultobj = Py_BuildValue("s",_ptemp);
2155 return _resultobj;
2156 }
2157
2158 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2159 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) {
2160 PyObject * _resultobj;
2161 wxWindow * _arg0;
2162 int _arg1;
2163 int _arg2;
2164 wxRect * _arg3 = NULL;
2165 char * _argc0 = 0;
2166 char * _argc3 = 0;
2167
2168 self = self;
2169 if(!PyArg_ParseTuple(args,"sii|s:wxWindow_ScrollWindow",&_argc0,&_arg1,&_arg2,&_argc3))
2170 return NULL;
2171 if (_argc0) {
2172 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2174 return NULL;
2175 }
2176 }
2177 if (_argc3) {
2178 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxRect_p")) {
2179 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2180 return NULL;
2181 }
2182 }
2183 {
2184 wxPy_BEGIN_ALLOW_THREADS;
2185 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
2186
2187 wxPy_END_ALLOW_THREADS;
2188 } Py_INCREF(Py_None);
2189 _resultobj = Py_None;
2190 return _resultobj;
2191 }
2192
2193 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2194 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args) {
2195 PyObject * _resultobj;
2196 wxWindow * _arg0;
2197 wxAcceleratorTable * _arg1;
2198 char * _argc0 = 0;
2199 char * _argc1 = 0;
2200
2201 self = self;
2202 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetAcceleratorTable",&_argc0,&_argc1))
2203 return NULL;
2204 if (_argc0) {
2205 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2207 return NULL;
2208 }
2209 }
2210 if (_argc1) {
2211 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2213 return NULL;
2214 }
2215 }
2216 {
2217 wxPy_BEGIN_ALLOW_THREADS;
2218 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
2219
2220 wxPy_END_ALLOW_THREADS;
2221 } Py_INCREF(Py_None);
2222 _resultobj = Py_None;
2223 return _resultobj;
2224 }
2225
2226 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2227 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args) {
2228 PyObject * _resultobj;
2229 wxWindow * _arg0;
2230 bool _arg1;
2231 char * _argc0 = 0;
2232 int tempbool1;
2233
2234 self = self;
2235 if(!PyArg_ParseTuple(args,"si:wxWindow_SetAutoLayout",&_argc0,&tempbool1))
2236 return NULL;
2237 if (_argc0) {
2238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2240 return NULL;
2241 }
2242 }
2243 _arg1 = (bool ) tempbool1;
2244 {
2245 wxPy_BEGIN_ALLOW_THREADS;
2246 wxWindow_SetAutoLayout(_arg0,_arg1);
2247
2248 wxPy_END_ALLOW_THREADS;
2249 } Py_INCREF(Py_None);
2250 _resultobj = Py_None;
2251 return _resultobj;
2252 }
2253
2254 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2255 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args) {
2256 PyObject * _resultobj;
2257 wxWindow * _arg0;
2258 wxColour * _arg1;
2259 char * _argc0 = 0;
2260 char * _argc1 = 0;
2261
2262 self = self;
2263 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetBackgroundColour",&_argc0,&_argc1))
2264 return NULL;
2265 if (_argc0) {
2266 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2268 return NULL;
2269 }
2270 }
2271 if (_argc1) {
2272 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2273 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2274 return NULL;
2275 }
2276 }
2277 {
2278 wxPy_BEGIN_ALLOW_THREADS;
2279 wxWindow_SetBackgroundColour(_arg0,*_arg1);
2280
2281 wxPy_END_ALLOW_THREADS;
2282 } Py_INCREF(Py_None);
2283 _resultobj = Py_None;
2284 return _resultobj;
2285 }
2286
2287 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2288 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args) {
2289 PyObject * _resultobj;
2290 wxWindow * _arg0;
2291 wxLayoutConstraints * _arg1;
2292 char * _argc0 = 0;
2293 char * _argc1 = 0;
2294
2295 self = self;
2296 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetConstraints",&_argc0,&_argc1))
2297 return NULL;
2298 if (_argc0) {
2299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2301 return NULL;
2302 }
2303 }
2304 if (_argc1) {
2305 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2307 return NULL;
2308 }
2309 }
2310 {
2311 wxPy_BEGIN_ALLOW_THREADS;
2312 wxWindow_SetConstraints(_arg0,_arg1);
2313
2314 wxPy_END_ALLOW_THREADS;
2315 } Py_INCREF(Py_None);
2316 _resultobj = Py_None;
2317 return _resultobj;
2318 }
2319
2320 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2321 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args) {
2322 PyObject * _resultobj;
2323 wxWindow * _arg0;
2324 char * _argc0 = 0;
2325
2326 self = self;
2327 if(!PyArg_ParseTuple(args,"s:wxWindow_SetFocus",&_argc0))
2328 return NULL;
2329 if (_argc0) {
2330 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2332 return NULL;
2333 }
2334 }
2335 {
2336 wxPy_BEGIN_ALLOW_THREADS;
2337 wxWindow_SetFocus(_arg0);
2338
2339 wxPy_END_ALLOW_THREADS;
2340 } Py_INCREF(Py_None);
2341 _resultobj = Py_None;
2342 return _resultobj;
2343 }
2344
2345 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2346 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args) {
2347 PyObject * _resultobj;
2348 wxWindow * _arg0;
2349 wxFont * _arg1;
2350 char * _argc0 = 0;
2351 char * _argc1 = 0;
2352
2353 self = self;
2354 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetFont",&_argc0,&_argc1))
2355 return NULL;
2356 if (_argc0) {
2357 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2359 return NULL;
2360 }
2361 }
2362 if (_argc1) {
2363 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2364 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2365 return NULL;
2366 }
2367 }
2368 {
2369 wxPy_BEGIN_ALLOW_THREADS;
2370 wxWindow_SetFont(_arg0,*_arg1);
2371
2372 wxPy_END_ALLOW_THREADS;
2373 } Py_INCREF(Py_None);
2374 _resultobj = Py_None;
2375 return _resultobj;
2376 }
2377
2378 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2379 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args) {
2380 PyObject * _resultobj;
2381 wxWindow * _arg0;
2382 wxColour * _arg1;
2383 char * _argc0 = 0;
2384 char * _argc1 = 0;
2385
2386 self = self;
2387 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetForegroundColour",&_argc0,&_argc1))
2388 return NULL;
2389 if (_argc0) {
2390 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2392 return NULL;
2393 }
2394 }
2395 if (_argc1) {
2396 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2398 return NULL;
2399 }
2400 }
2401 {
2402 wxPy_BEGIN_ALLOW_THREADS;
2403 wxWindow_SetForegroundColour(_arg0,*_arg1);
2404
2405 wxPy_END_ALLOW_THREADS;
2406 } Py_INCREF(Py_None);
2407 _resultobj = Py_None;
2408 return _resultobj;
2409 }
2410
2411 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2412 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args) {
2413 PyObject * _resultobj;
2414 wxWindow * _arg0;
2415 int _arg1;
2416 char * _argc0 = 0;
2417
2418 self = self;
2419 if(!PyArg_ParseTuple(args,"si:wxWindow_SetId",&_argc0,&_arg1))
2420 return NULL;
2421 if (_argc0) {
2422 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2424 return NULL;
2425 }
2426 }
2427 {
2428 wxPy_BEGIN_ALLOW_THREADS;
2429 wxWindow_SetId(_arg0,_arg1);
2430
2431 wxPy_END_ALLOW_THREADS;
2432 } Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 return _resultobj;
2435 }
2436
2437 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2438 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args) {
2439 PyObject * _resultobj;
2440 wxWindow * _arg0;
2441 wxString * _arg1;
2442 char * _argc0 = 0;
2443 PyObject * _obj1 = 0;
2444
2445 self = self;
2446 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetName",&_argc0,&_obj1))
2447 return NULL;
2448 if (_argc0) {
2449 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2451 return NULL;
2452 }
2453 }
2454 {
2455 if (!PyString_Check(_obj1)) {
2456 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2457 return NULL;
2458 }
2459 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2460 }
2461 {
2462 wxPy_BEGIN_ALLOW_THREADS;
2463 wxWindow_SetName(_arg0,*_arg1);
2464
2465 wxPy_END_ALLOW_THREADS;
2466 } Py_INCREF(Py_None);
2467 _resultobj = Py_None;
2468 {
2469 if (_obj1)
2470 delete _arg1;
2471 }
2472 return _resultobj;
2473 }
2474
2475 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2476 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args) {
2477 PyObject * _resultobj;
2478 wxWindow * _arg0;
2479 int _arg1;
2480 int _arg2;
2481 int _arg3;
2482 int _arg4;
2483 bool _arg5 = (1);
2484 char * _argc0 = 0;
2485 int tempbool5;
2486
2487 self = self;
2488 if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
2489 return NULL;
2490 if (_argc0) {
2491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2493 return NULL;
2494 }
2495 }
2496 _arg5 = (bool ) tempbool5;
2497 {
2498 wxPy_BEGIN_ALLOW_THREADS;
2499 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2500
2501 wxPy_END_ALLOW_THREADS;
2502 } Py_INCREF(Py_None);
2503 _resultobj = Py_None;
2504 return _resultobj;
2505 }
2506
2507 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2508 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args) {
2509 PyObject * _resultobj;
2510 wxWindow * _arg0;
2511 int _arg1;
2512 int _arg2;
2513 bool _arg3 = (1);
2514 char * _argc0 = 0;
2515 int tempbool3;
2516
2517 self = self;
2518 if(!PyArg_ParseTuple(args,"sii|i:wxWindow_SetScrollPos",&_argc0,&_arg1,&_arg2,&tempbool3))
2519 return NULL;
2520 if (_argc0) {
2521 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2523 return NULL;
2524 }
2525 }
2526 _arg3 = (bool ) tempbool3;
2527 {
2528 wxPy_BEGIN_ALLOW_THREADS;
2529 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
2530
2531 wxPy_END_ALLOW_THREADS;
2532 } Py_INCREF(Py_None);
2533 _resultobj = Py_None;
2534 return _resultobj;
2535 }
2536
2537 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2538 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args) {
2539 PyObject * _resultobj;
2540 wxWindow * _arg0;
2541 int _arg1;
2542 int _arg2;
2543 int _arg3;
2544 int _arg4;
2545 int _arg5 = (wxSIZE_AUTO);
2546 char * _argc0 = 0;
2547
2548 self = self;
2549 if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetDimensions",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2550 return NULL;
2551 if (_argc0) {
2552 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2554 return NULL;
2555 }
2556 }
2557 {
2558 wxPy_BEGIN_ALLOW_THREADS;
2559 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2560
2561 wxPy_END_ALLOW_THREADS;
2562 } Py_INCREF(Py_None);
2563 _resultobj = Py_None;
2564 return _resultobj;
2565 }
2566
2567 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
2568 self->SetSize(size.x, size.y);
2569 }
2570 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args) {
2571 PyObject * _resultobj;
2572 wxWindow * _arg0;
2573 wxSize * _arg1;
2574 char * _argc0 = 0;
2575 char * _argc1 = 0;
2576
2577 self = self;
2578 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetSize",&_argc0,&_argc1))
2579 return NULL;
2580 if (_argc0) {
2581 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2583 return NULL;
2584 }
2585 }
2586 if (_argc1) {
2587 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2589 return NULL;
2590 }
2591 }
2592 {
2593 wxPy_BEGIN_ALLOW_THREADS;
2594 wxWindow_SetSize(_arg0,*_arg1);
2595
2596 wxPy_END_ALLOW_THREADS;
2597 } Py_INCREF(Py_None);
2598 _resultobj = Py_None;
2599 return _resultobj;
2600 }
2601
2602 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
2603 self->SetSize(pos.x, pos.y, -1, -1);
2604 }
2605 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args) {
2606 PyObject * _resultobj;
2607 wxWindow * _arg0;
2608 wxPoint * _arg1;
2609 char * _argc0 = 0;
2610 char * _argc1 = 0;
2611
2612 self = self;
2613 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetPosition",&_argc0,&_argc1))
2614 return NULL;
2615 if (_argc0) {
2616 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2618 return NULL;
2619 }
2620 }
2621 if (_argc1) {
2622 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2624 return NULL;
2625 }
2626 }
2627 {
2628 wxPy_BEGIN_ALLOW_THREADS;
2629 wxWindow_SetPosition(_arg0,*_arg1);
2630
2631 wxPy_END_ALLOW_THREADS;
2632 } Py_INCREF(Py_None);
2633 _resultobj = Py_None;
2634 return _resultobj;
2635 }
2636
2637 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2638 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args) {
2639 PyObject * _resultobj;
2640 wxWindow * _arg0;
2641 int _arg1 = -1;
2642 int _arg2 = -1;
2643 int _arg3 = -1;
2644 int _arg4 = -1;
2645 int _arg5 = -1;
2646 int _arg6 = -1;
2647 char * _argc0 = 0;
2648
2649 self = self;
2650 if(!PyArg_ParseTuple(args,"s|iiiiii:wxWindow_SetSizeHints",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2651 return NULL;
2652 if (_argc0) {
2653 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2655 return NULL;
2656 }
2657 }
2658 {
2659 wxPy_BEGIN_ALLOW_THREADS;
2660 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2661
2662 wxPy_END_ALLOW_THREADS;
2663 } Py_INCREF(Py_None);
2664 _resultobj = Py_None;
2665 return _resultobj;
2666 }
2667
2668 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2669 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args) {
2670 PyObject * _resultobj;
2671 wxWindow * _arg0;
2672 int _arg1;
2673 int _arg2;
2674 char * _argc0 = 0;
2675
2676 self = self;
2677 if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSizeWH",&_argc0,&_arg1,&_arg2))
2678 return NULL;
2679 if (_argc0) {
2680 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2682 return NULL;
2683 }
2684 }
2685 {
2686 wxPy_BEGIN_ALLOW_THREADS;
2687 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
2688
2689 wxPy_END_ALLOW_THREADS;
2690 } Py_INCREF(Py_None);
2691 _resultobj = Py_None;
2692 return _resultobj;
2693 }
2694
2695 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2696 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) {
2697 PyObject * _resultobj;
2698 wxWindow * _arg0;
2699 wxSize * _arg1;
2700 char * _argc0 = 0;
2701 char * _argc1 = 0;
2702
2703 self = self;
2704 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetClientSize",&_argc0,&_argc1))
2705 return NULL;
2706 if (_argc0) {
2707 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2709 return NULL;
2710 }
2711 }
2712 if (_argc1) {
2713 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
2714 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2715 return NULL;
2716 }
2717 }
2718 {
2719 wxPy_BEGIN_ALLOW_THREADS;
2720 wxWindow_SetClientSize(_arg0,*_arg1);
2721
2722 wxPy_END_ALLOW_THREADS;
2723 } Py_INCREF(Py_None);
2724 _resultobj = Py_None;
2725 return _resultobj;
2726 }
2727
2728 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2729 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) {
2730 PyObject * _resultobj;
2731 wxWindow * _arg0;
2732 wxCursor * _arg1;
2733 char * _argc0 = 0;
2734 char * _argc1 = 0;
2735
2736 self = self;
2737 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1))
2738 return NULL;
2739 if (_argc0) {
2740 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2742 return NULL;
2743 }
2744 }
2745 if (_argc1) {
2746 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCursor_p")) {
2747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2748 return NULL;
2749 }
2750 }
2751 {
2752 wxPy_BEGIN_ALLOW_THREADS;
2753 wxWindow_SetCursor(_arg0,*_arg1);
2754
2755 wxPy_END_ALLOW_THREADS;
2756 } Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759 }
2760
2761 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2762 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) {
2763 PyObject * _resultobj;
2764 wxWindow * _arg0;
2765 wxString * _arg1;
2766 char * _argc0 = 0;
2767 PyObject * _obj1 = 0;
2768
2769 self = self;
2770 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1))
2771 return NULL;
2772 if (_argc0) {
2773 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2775 return NULL;
2776 }
2777 }
2778 {
2779 if (!PyString_Check(_obj1)) {
2780 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2781 return NULL;
2782 }
2783 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2784 }
2785 {
2786 wxPy_BEGIN_ALLOW_THREADS;
2787 wxWindow_SetTitle(_arg0,*_arg1);
2788
2789 wxPy_END_ALLOW_THREADS;
2790 } Py_INCREF(Py_None);
2791 _resultobj = Py_None;
2792 {
2793 if (_obj1)
2794 delete _arg1;
2795 }
2796 return _resultobj;
2797 }
2798
2799 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2800 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) {
2801 PyObject * _resultobj;
2802 bool _result;
2803 wxWindow * _arg0;
2804 bool _arg1;
2805 char * _argc0 = 0;
2806 int tempbool1;
2807
2808 self = self;
2809 if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1))
2810 return NULL;
2811 if (_argc0) {
2812 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2814 return NULL;
2815 }
2816 }
2817 _arg1 = (bool ) tempbool1;
2818 {
2819 wxPy_BEGIN_ALLOW_THREADS;
2820 _result = (bool )wxWindow_Show(_arg0,_arg1);
2821
2822 wxPy_END_ALLOW_THREADS;
2823 } _resultobj = Py_BuildValue("i",_result);
2824 return _resultobj;
2825 }
2826
2827 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2828 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) {
2829 PyObject * _resultobj;
2830 bool _result;
2831 wxWindow * _arg0;
2832 char * _argc0 = 0;
2833
2834 self = self;
2835 if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0))
2836 return NULL;
2837 if (_argc0) {
2838 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2840 return NULL;
2841 }
2842 }
2843 {
2844 wxPy_BEGIN_ALLOW_THREADS;
2845 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
2846
2847 wxPy_END_ALLOW_THREADS;
2848 } _resultobj = Py_BuildValue("i",_result);
2849 return _resultobj;
2850 }
2851
2852 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2853 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) {
2854 PyObject * _resultobj;
2855 bool _result;
2856 wxWindow * _arg0;
2857 char * _argc0 = 0;
2858
2859 self = self;
2860 if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0))
2861 return NULL;
2862 if (_argc0) {
2863 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2865 return NULL;
2866 }
2867 }
2868 {
2869 wxPy_BEGIN_ALLOW_THREADS;
2870 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
2871
2872 wxPy_END_ALLOW_THREADS;
2873 } _resultobj = Py_BuildValue("i",_result);
2874 return _resultobj;
2875 }
2876
2877 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2878 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) {
2879 PyObject * _resultobj;
2880 bool _result;
2881 wxWindow * _arg0;
2882 char * _argc0 = 0;
2883
2884 self = self;
2885 if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0))
2886 return NULL;
2887 if (_argc0) {
2888 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2890 return NULL;
2891 }
2892 }
2893 {
2894 wxPy_BEGIN_ALLOW_THREADS;
2895 _result = (bool )wxWindow_Validate(_arg0);
2896
2897 wxPy_END_ALLOW_THREADS;
2898 } _resultobj = Py_BuildValue("i",_result);
2899 return _resultobj;
2900 }
2901
2902 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2903 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args) {
2904 PyObject * _resultobj;
2905 wxWindow * _arg0;
2906 int _arg1;
2907 int _arg2;
2908 char * _argc0 = 0;
2909
2910 self = self;
2911 if(!PyArg_ParseTuple(args,"sii:wxWindow_WarpPointer",&_argc0,&_arg1,&_arg2))
2912 return NULL;
2913 if (_argc0) {
2914 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2916 return NULL;
2917 }
2918 }
2919 {
2920 wxPy_BEGIN_ALLOW_THREADS;
2921 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
2922
2923 wxPy_END_ALLOW_THREADS;
2924 } Py_INCREF(Py_None);
2925 _resultobj = Py_None;
2926 return _resultobj;
2927 }
2928
2929 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2930 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args) {
2931 PyObject * _resultobj;
2932 wxPoint * _result;
2933 wxWindow * _arg0;
2934 wxPoint * _arg1;
2935 char * _argc0 = 0;
2936 char * _argc1 = 0;
2937 char _ptemp[128];
2938
2939 self = self;
2940 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0,&_argc1))
2941 return NULL;
2942 if (_argc0) {
2943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2945 return NULL;
2946 }
2947 }
2948 if (_argc1) {
2949 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2951 return NULL;
2952 }
2953 }
2954 {
2955 wxPy_BEGIN_ALLOW_THREADS;
2956 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
2957
2958 wxPy_END_ALLOW_THREADS;
2959 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2960 _resultobj = Py_BuildValue("s",_ptemp);
2961 return _resultobj;
2962 }
2963
2964 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2965 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args) {
2966 PyObject * _resultobj;
2967 wxSize * _result;
2968 wxWindow * _arg0;
2969 wxSize * _arg1;
2970 char * _argc0 = 0;
2971 char * _argc1 = 0;
2972 char _ptemp[128];
2973
2974 self = self;
2975 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0,&_argc1))
2976 return NULL;
2977 if (_argc0) {
2978 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2980 return NULL;
2981 }
2982 }
2983 if (_argc1) {
2984 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2986 return NULL;
2987 }
2988 }
2989 {
2990 wxPy_BEGIN_ALLOW_THREADS;
2991 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
2992
2993 wxPy_END_ALLOW_THREADS;
2994 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2995 _resultobj = Py_BuildValue("s",_ptemp);
2996 return _resultobj;
2997 }
2998
2999 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3000 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args) {
3001 PyObject * _resultobj;
3002 wxPoint * _result;
3003 wxWindow * _arg0;
3004 wxPoint * _arg1;
3005 char * _argc0 = 0;
3006 char * _argc1 = 0;
3007 char _ptemp[128];
3008
3009 self = self;
3010 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0,&_argc1))
3011 return NULL;
3012 if (_argc0) {
3013 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3015 return NULL;
3016 }
3017 }
3018 if (_argc1) {
3019 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
3020 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3021 return NULL;
3022 }
3023 }
3024 {
3025 wxPy_BEGIN_ALLOW_THREADS;
3026 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
3027
3028 wxPy_END_ALLOW_THREADS;
3029 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3030 _resultobj = Py_BuildValue("s",_ptemp);
3031 return _resultobj;
3032 }
3033
3034 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3035 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args) {
3036 PyObject * _resultobj;
3037 wxSize * _result;
3038 wxWindow * _arg0;
3039 wxSize * _arg1;
3040 char * _argc0 = 0;
3041 char * _argc1 = 0;
3042 char _ptemp[128];
3043
3044 self = self;
3045 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0,&_argc1))
3046 return NULL;
3047 if (_argc0) {
3048 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3050 return NULL;
3051 }
3052 }
3053 if (_argc1) {
3054 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
3055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3056 return NULL;
3057 }
3058 }
3059 {
3060 wxPy_BEGIN_ALLOW_THREADS;
3061 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
3062
3063 wxPy_END_ALLOW_THREADS;
3064 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3065 _resultobj = Py_BuildValue("s",_ptemp);
3066 return _resultobj;
3067 }
3068
3069 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3070 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args) {
3071 PyObject * _resultobj;
3072 wxWindow * _arg0;
3073 wxString * _arg1;
3074 char * _argc0 = 0;
3075 PyObject * _obj1 = 0;
3076
3077 self = self;
3078 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetToolTipString",&_argc0,&_obj1))
3079 return NULL;
3080 if (_argc0) {
3081 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3083 return NULL;
3084 }
3085 }
3086 {
3087 if (!PyString_Check(_obj1)) {
3088 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3089 return NULL;
3090 }
3091 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3092 }
3093 {
3094 wxPy_BEGIN_ALLOW_THREADS;
3095 wxWindow_SetToolTipString(_arg0,*_arg1);
3096
3097 wxPy_END_ALLOW_THREADS;
3098 } Py_INCREF(Py_None);
3099 _resultobj = Py_None;
3100 {
3101 if (_obj1)
3102 delete _arg1;
3103 }
3104 return _resultobj;
3105 }
3106
3107 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3108 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args) {
3109 PyObject * _resultobj;
3110 wxWindow * _arg0;
3111 wxToolTip * _arg1;
3112 char * _argc0 = 0;
3113 char * _argc1 = 0;
3114
3115 self = self;
3116 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetToolTip",&_argc0,&_argc1))
3117 return NULL;
3118 if (_argc0) {
3119 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3121 return NULL;
3122 }
3123 }
3124 if (_argc1) {
3125 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxToolTip_p")) {
3126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3127 return NULL;
3128 }
3129 }
3130 {
3131 wxPy_BEGIN_ALLOW_THREADS;
3132 wxWindow_SetToolTip(_arg0,_arg1);
3133
3134 wxPy_END_ALLOW_THREADS;
3135 } Py_INCREF(Py_None);
3136 _resultobj = Py_None;
3137 return _resultobj;
3138 }
3139
3140 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3141 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args) {
3142 PyObject * _resultobj;
3143 wxToolTip * _result;
3144 wxWindow * _arg0;
3145 char * _argc0 = 0;
3146 char _ptemp[128];
3147
3148 self = self;
3149 if(!PyArg_ParseTuple(args,"s:wxWindow_GetToolTip",&_argc0))
3150 return NULL;
3151 if (_argc0) {
3152 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3154 return NULL;
3155 }
3156 }
3157 {
3158 wxPy_BEGIN_ALLOW_THREADS;
3159 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
3160
3161 wxPy_END_ALLOW_THREADS;
3162 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
3163 _resultobj = Py_BuildValue("s",_ptemp);
3164 return _resultobj;
3165 }
3166
3167 static void *SwigwxPanelTowxWindow(void *ptr) {
3168 wxPanel *src;
3169 wxWindow *dest;
3170 src = (wxPanel *) ptr;
3171 dest = (wxWindow *) src;
3172 return (void *) dest;
3173 }
3174
3175 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
3176 wxPanel *src;
3177 wxEvtHandler *dest;
3178 src = (wxPanel *) ptr;
3179 dest = (wxEvtHandler *) src;
3180 return (void *) dest;
3181 }
3182
3183 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3184 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args) {
3185 PyObject * _resultobj;
3186 wxPanel * _result;
3187 wxWindow * _arg0;
3188 wxWindowID _arg1;
3189 wxPoint * _arg2 = &wxPyDefaultPosition;
3190 wxSize * _arg3 = &wxPyDefaultSize;
3191 long _arg4 = (wxTAB_TRAVERSAL);
3192 char * _arg5 = "panel";
3193 char * _argc0 = 0;
3194 char * _argc2 = 0;
3195 char * _argc3 = 0;
3196 char _ptemp[128];
3197
3198 self = self;
3199 if(!PyArg_ParseTuple(args,"si|ssls:new_wxPanel",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3200 return NULL;
3201 if (_argc0) {
3202 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3204 return NULL;
3205 }
3206 }
3207 if (_argc2) {
3208 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3210 return NULL;
3211 }
3212 }
3213 if (_argc3) {
3214 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3215 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3216 return NULL;
3217 }
3218 }
3219 {
3220 wxPy_BEGIN_ALLOW_THREADS;
3221 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3222
3223 wxPy_END_ALLOW_THREADS;
3224 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
3225 _resultobj = Py_BuildValue("s",_ptemp);
3226 return _resultobj;
3227 }
3228
3229 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3230 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) {
3231 PyObject * _resultobj;
3232 wxPanel * _arg0;
3233 char * _argc0 = 0;
3234
3235 self = self;
3236 if(!PyArg_ParseTuple(args,"s:wxPanel_InitDialog",&_argc0))
3237 return NULL;
3238 if (_argc0) {
3239 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3241 return NULL;
3242 }
3243 }
3244 {
3245 wxPy_BEGIN_ALLOW_THREADS;
3246 wxPanel_InitDialog(_arg0);
3247
3248 wxPy_END_ALLOW_THREADS;
3249 } Py_INCREF(Py_None);
3250 _resultobj = Py_None;
3251 return _resultobj;
3252 }
3253
3254 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3255 static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args) {
3256 PyObject * _resultobj;
3257 wxButton * _result;
3258 wxPanel * _arg0;
3259 char * _argc0 = 0;
3260 char _ptemp[128];
3261
3262 self = self;
3263 if(!PyArg_ParseTuple(args,"s:wxPanel_GetDefaultItem",&_argc0))
3264 return NULL;
3265 if (_argc0) {
3266 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3268 return NULL;
3269 }
3270 }
3271 {
3272 wxPy_BEGIN_ALLOW_THREADS;
3273 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
3274
3275 wxPy_END_ALLOW_THREADS;
3276 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
3277 _resultobj = Py_BuildValue("s",_ptemp);
3278 return _resultobj;
3279 }
3280
3281 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3282 static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args) {
3283 PyObject * _resultobj;
3284 wxPanel * _arg0;
3285 wxButton * _arg1;
3286 char * _argc0 = 0;
3287 char * _argc1 = 0;
3288
3289 self = self;
3290 if(!PyArg_ParseTuple(args,"ss:wxPanel_SetDefaultItem",&_argc0,&_argc1))
3291 return NULL;
3292 if (_argc0) {
3293 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3295 return NULL;
3296 }
3297 }
3298 if (_argc1) {
3299 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxButton_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3301 return NULL;
3302 }
3303 }
3304 {
3305 wxPy_BEGIN_ALLOW_THREADS;
3306 wxPanel_SetDefaultItem(_arg0,_arg1);
3307
3308 wxPy_END_ALLOW_THREADS;
3309 } Py_INCREF(Py_None);
3310 _resultobj = Py_None;
3311 return _resultobj;
3312 }
3313
3314 static void *SwigwxDialogTowxPanel(void *ptr) {
3315 wxDialog *src;
3316 wxPanel *dest;
3317 src = (wxDialog *) ptr;
3318 dest = (wxPanel *) src;
3319 return (void *) dest;
3320 }
3321
3322 static void *SwigwxDialogTowxWindow(void *ptr) {
3323 wxDialog *src;
3324 wxWindow *dest;
3325 src = (wxDialog *) ptr;
3326 dest = (wxWindow *) src;
3327 return (void *) dest;
3328 }
3329
3330 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
3331 wxDialog *src;
3332 wxEvtHandler *dest;
3333 src = (wxDialog *) ptr;
3334 dest = (wxEvtHandler *) src;
3335 return (void *) dest;
3336 }
3337
3338 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3339 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args) {
3340 PyObject * _resultobj;
3341 wxDialog * _result;
3342 wxWindow * _arg0;
3343 wxWindowID _arg1;
3344 wxString * _arg2;
3345 wxPoint * _arg3 = &wxPyDefaultPosition;
3346 wxSize * _arg4 = &wxPyDefaultSize;
3347 long _arg5 = (wxDEFAULT_DIALOG_STYLE);
3348 char * _arg6 = "dialogBox";
3349 char * _argc0 = 0;
3350 PyObject * _obj2 = 0;
3351 char * _argc3 = 0;
3352 char * _argc4 = 0;
3353 char _ptemp[128];
3354
3355 self = self;
3356 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxDialog",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
3357 return NULL;
3358 if (_argc0) {
3359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3361 return NULL;
3362 }
3363 }
3364 {
3365 if (!PyString_Check(_obj2)) {
3366 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3367 return NULL;
3368 }
3369 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3370 }
3371 if (_argc3) {
3372 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3373 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3374 return NULL;
3375 }
3376 }
3377 if (_argc4) {
3378 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3379 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3380 return NULL;
3381 }
3382 }
3383 {
3384 wxPy_BEGIN_ALLOW_THREADS;
3385 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3386
3387 wxPy_END_ALLOW_THREADS;
3388 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
3389 _resultobj = Py_BuildValue("s",_ptemp);
3390 {
3391 if (_obj2)
3392 delete _arg2;
3393 }
3394 return _resultobj;
3395 }
3396
3397 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3398 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args) {
3399 PyObject * _resultobj;
3400 wxDialog * _arg0;
3401 int _arg1 = (wxBOTH);
3402 char * _argc0 = 0;
3403
3404 self = self;
3405 if(!PyArg_ParseTuple(args,"s|i:wxDialog_Centre",&_argc0,&_arg1))
3406 return NULL;
3407 if (_argc0) {
3408 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3410 return NULL;
3411 }
3412 }
3413 {
3414 wxPy_BEGIN_ALLOW_THREADS;
3415 wxDialog_Centre(_arg0,_arg1);
3416
3417 wxPy_END_ALLOW_THREADS;
3418 } Py_INCREF(Py_None);
3419 _resultobj = Py_None;
3420 return _resultobj;
3421 }
3422
3423 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3424 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args) {
3425 PyObject * _resultobj;
3426 wxDialog * _arg0;
3427 int _arg1;
3428 char * _argc0 = 0;
3429
3430 self = self;
3431 if(!PyArg_ParseTuple(args,"si:wxDialog_EndModal",&_argc0,&_arg1))
3432 return NULL;
3433 if (_argc0) {
3434 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3436 return NULL;
3437 }
3438 }
3439 {
3440 wxPy_BEGIN_ALLOW_THREADS;
3441 wxDialog_EndModal(_arg0,_arg1);
3442
3443 wxPy_END_ALLOW_THREADS;
3444 } Py_INCREF(Py_None);
3445 _resultobj = Py_None;
3446 return _resultobj;
3447 }
3448
3449 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3450 static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args) {
3451 PyObject * _resultobj;
3452 wxString * _result;
3453 wxDialog * _arg0;
3454 char * _argc0 = 0;
3455
3456 self = self;
3457 if(!PyArg_ParseTuple(args,"s:wxDialog_GetTitle",&_argc0))
3458 return NULL;
3459 if (_argc0) {
3460 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3462 return NULL;
3463 }
3464 }
3465 {
3466 wxPy_BEGIN_ALLOW_THREADS;
3467 _result = new wxString (wxDialog_GetTitle(_arg0));
3468
3469 wxPy_END_ALLOW_THREADS;
3470 }{
3471 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3472 }
3473 {
3474 delete _result;
3475 }
3476 return _resultobj;
3477 }
3478
3479 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3480 static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args) {
3481 PyObject * _resultobj;
3482 wxDialog * _arg0;
3483 bool _arg1;
3484 char * _argc0 = 0;
3485 int tempbool1;
3486
3487 self = self;
3488 if(!PyArg_ParseTuple(args,"si:wxDialog_Iconize",&_argc0,&tempbool1))
3489 return NULL;
3490 if (_argc0) {
3491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3493 return NULL;
3494 }
3495 }
3496 _arg1 = (bool ) tempbool1;
3497 {
3498 wxPy_BEGIN_ALLOW_THREADS;
3499 wxDialog_Iconize(_arg0,_arg1);
3500
3501 wxPy_END_ALLOW_THREADS;
3502 } Py_INCREF(Py_None);
3503 _resultobj = Py_None;
3504 return _resultobj;
3505 }
3506
3507 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3508 static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args) {
3509 PyObject * _resultobj;
3510 bool _result;
3511 wxDialog * _arg0;
3512 char * _argc0 = 0;
3513
3514 self = self;
3515 if(!PyArg_ParseTuple(args,"s:wxDialog_IsIconized",&_argc0))
3516 return NULL;
3517 if (_argc0) {
3518 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3520 return NULL;
3521 }
3522 }
3523 {
3524 wxPy_BEGIN_ALLOW_THREADS;
3525 _result = (bool )wxDialog_IsIconized(_arg0);
3526
3527 wxPy_END_ALLOW_THREADS;
3528 } _resultobj = Py_BuildValue("i",_result);
3529 return _resultobj;
3530 }
3531
3532 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3533 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args) {
3534 PyObject * _resultobj;
3535 wxDialog * _arg0;
3536 bool _arg1;
3537 char * _argc0 = 0;
3538 int tempbool1;
3539
3540 self = self;
3541 if(!PyArg_ParseTuple(args,"si:wxDialog_SetModal",&_argc0,&tempbool1))
3542 return NULL;
3543 if (_argc0) {
3544 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3546 return NULL;
3547 }
3548 }
3549 _arg1 = (bool ) tempbool1;
3550 {
3551 wxPy_BEGIN_ALLOW_THREADS;
3552 wxDialog_SetModal(_arg0,_arg1);
3553
3554 wxPy_END_ALLOW_THREADS;
3555 } Py_INCREF(Py_None);
3556 _resultobj = Py_None;
3557 return _resultobj;
3558 }
3559
3560 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3561 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args) {
3562 PyObject * _resultobj;
3563 bool _result;
3564 wxDialog * _arg0;
3565 char * _argc0 = 0;
3566
3567 self = self;
3568 if(!PyArg_ParseTuple(args,"s:wxDialog_IsModal",&_argc0))
3569 return NULL;
3570 if (_argc0) {
3571 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3573 return NULL;
3574 }
3575 }
3576 {
3577 wxPy_BEGIN_ALLOW_THREADS;
3578 _result = (bool )wxDialog_IsModal(_arg0);
3579
3580 wxPy_END_ALLOW_THREADS;
3581 } _resultobj = Py_BuildValue("i",_result);
3582 return _resultobj;
3583 }
3584
3585 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3586 static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args) {
3587 PyObject * _resultobj;
3588 wxDialog * _arg0;
3589 wxString * _arg1;
3590 char * _argc0 = 0;
3591 PyObject * _obj1 = 0;
3592
3593 self = self;
3594 if(!PyArg_ParseTuple(args,"sO:wxDialog_SetTitle",&_argc0,&_obj1))
3595 return NULL;
3596 if (_argc0) {
3597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3599 return NULL;
3600 }
3601 }
3602 {
3603 if (!PyString_Check(_obj1)) {
3604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3605 return NULL;
3606 }
3607 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3608 }
3609 {
3610 wxPy_BEGIN_ALLOW_THREADS;
3611 wxDialog_SetTitle(_arg0,*_arg1);
3612
3613 wxPy_END_ALLOW_THREADS;
3614 } Py_INCREF(Py_None);
3615 _resultobj = Py_None;
3616 {
3617 if (_obj1)
3618 delete _arg1;
3619 }
3620 return _resultobj;
3621 }
3622
3623 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3624 static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args) {
3625 PyObject * _resultobj;
3626 bool _result;
3627 wxDialog * _arg0;
3628 bool _arg1;
3629 char * _argc0 = 0;
3630 int tempbool1;
3631
3632 self = self;
3633 if(!PyArg_ParseTuple(args,"si:wxDialog_Show",&_argc0,&tempbool1))
3634 return NULL;
3635 if (_argc0) {
3636 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3638 return NULL;
3639 }
3640 }
3641 _arg1 = (bool ) tempbool1;
3642 {
3643 wxPy_BEGIN_ALLOW_THREADS;
3644 _result = (bool )wxDialog_Show(_arg0,_arg1);
3645
3646 wxPy_END_ALLOW_THREADS;
3647 } _resultobj = Py_BuildValue("i",_result);
3648 return _resultobj;
3649 }
3650
3651 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3652 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args) {
3653 PyObject * _resultobj;
3654 int _result;
3655 wxDialog * _arg0;
3656 char * _argc0 = 0;
3657
3658 self = self;
3659 if(!PyArg_ParseTuple(args,"s:wxDialog_ShowModal",&_argc0))
3660 return NULL;
3661 if (_argc0) {
3662 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3664 return NULL;
3665 }
3666 }
3667 {
3668 wxPy_BEGIN_ALLOW_THREADS;
3669 _result = (int )wxDialog_ShowModal(_arg0);
3670
3671 wxPy_END_ALLOW_THREADS;
3672 } _resultobj = Py_BuildValue("i",_result);
3673 return _resultobj;
3674 }
3675
3676 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3677 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args) {
3678 PyObject * _resultobj;
3679 int _result;
3680 wxDialog * _arg0;
3681 char * _argc0 = 0;
3682
3683 self = self;
3684 if(!PyArg_ParseTuple(args,"s:wxDialog_GetReturnCode",&_argc0))
3685 return NULL;
3686 if (_argc0) {
3687 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3689 return NULL;
3690 }
3691 }
3692 {
3693 wxPy_BEGIN_ALLOW_THREADS;
3694 _result = (int )wxDialog_GetReturnCode(_arg0);
3695
3696 wxPy_END_ALLOW_THREADS;
3697 } _resultobj = Py_BuildValue("i",_result);
3698 return _resultobj;
3699 }
3700
3701 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3702 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args) {
3703 PyObject * _resultobj;
3704 wxDialog * _arg0;
3705 int _arg1;
3706 char * _argc0 = 0;
3707
3708 self = self;
3709 if(!PyArg_ParseTuple(args,"si:wxDialog_SetReturnCode",&_argc0,&_arg1))
3710 return NULL;
3711 if (_argc0) {
3712 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3714 return NULL;
3715 }
3716 }
3717 {
3718 wxPy_BEGIN_ALLOW_THREADS;
3719 wxDialog_SetReturnCode(_arg0,_arg1);
3720
3721 wxPy_END_ALLOW_THREADS;
3722 } Py_INCREF(Py_None);
3723 _resultobj = Py_None;
3724 return _resultobj;
3725 }
3726
3727 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
3728 wxScrolledWindow *src;
3729 wxPanel *dest;
3730 src = (wxScrolledWindow *) ptr;
3731 dest = (wxPanel *) src;
3732 return (void *) dest;
3733 }
3734
3735 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
3736 wxScrolledWindow *src;
3737 wxWindow *dest;
3738 src = (wxScrolledWindow *) ptr;
3739 dest = (wxWindow *) src;
3740 return (void *) dest;
3741 }
3742
3743 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
3744 wxScrolledWindow *src;
3745 wxEvtHandler *dest;
3746 src = (wxScrolledWindow *) ptr;
3747 dest = (wxEvtHandler *) src;
3748 return (void *) dest;
3749 }
3750
3751 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3752 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args) {
3753 PyObject * _resultobj;
3754 wxScrolledWindow * _result;
3755 wxWindow * _arg0;
3756 wxWindowID _arg1 = -1;
3757 wxPoint * _arg2 = &wxPyDefaultPosition;
3758 wxSize * _arg3 = &wxPyDefaultSize;
3759 long _arg4 = (wxHSCROLL)|(wxVSCROLL);
3760 char * _arg5 = "scrolledWindow";
3761 char * _argc0 = 0;
3762 char * _argc2 = 0;
3763 char * _argc3 = 0;
3764 char _ptemp[128];
3765
3766 self = self;
3767 if(!PyArg_ParseTuple(args,"s|issls:new_wxScrolledWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3768 return NULL;
3769 if (_argc0) {
3770 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3772 return NULL;
3773 }
3774 }
3775 if (_argc2) {
3776 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3778 return NULL;
3779 }
3780 }
3781 if (_argc3) {
3782 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3783 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3784 return NULL;
3785 }
3786 }
3787 {
3788 wxPy_BEGIN_ALLOW_THREADS;
3789 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3790
3791 wxPy_END_ALLOW_THREADS;
3792 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
3793 _resultobj = Py_BuildValue("s",_ptemp);
3794 return _resultobj;
3795 }
3796
3797 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3798 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args) {
3799 PyObject * _resultobj;
3800 wxScrolledWindow * _arg0;
3801 bool _arg1;
3802 bool _arg2;
3803 char * _argc0 = 0;
3804 int tempbool1;
3805 int tempbool2;
3806
3807 self = self;
3808 if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_EnableScrolling",&_argc0,&tempbool1,&tempbool2))
3809 return NULL;
3810 if (_argc0) {
3811 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3813 return NULL;
3814 }
3815 }
3816 _arg1 = (bool ) tempbool1;
3817 _arg2 = (bool ) tempbool2;
3818 {
3819 wxPy_BEGIN_ALLOW_THREADS;
3820 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
3821
3822 wxPy_END_ALLOW_THREADS;
3823 } Py_INCREF(Py_None);
3824 _resultobj = Py_None;
3825 return _resultobj;
3826 }
3827
3828 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3829 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args) {
3830 PyObject * _resultobj;
3831 wxScrolledWindow * _arg0;
3832 int * _arg1;
3833 int temp;
3834 int * _arg2;
3835 int temp0;
3836 char * _argc0 = 0;
3837
3838 self = self;
3839 {
3840 _arg1 = &temp;
3841 }
3842 {
3843 _arg2 = &temp0;
3844 }
3845 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0))
3846 return NULL;
3847 if (_argc0) {
3848 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3850 return NULL;
3851 }
3852 }
3853 {
3854 wxPy_BEGIN_ALLOW_THREADS;
3855 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
3856
3857 wxPy_END_ALLOW_THREADS;
3858 } Py_INCREF(Py_None);
3859 _resultobj = Py_None;
3860 {
3861 PyObject *o;
3862 o = PyInt_FromLong((long) (*_arg1));
3863 _resultobj = t_output_helper(_resultobj, o);
3864 }
3865 {
3866 PyObject *o;
3867 o = PyInt_FromLong((long) (*_arg2));
3868 _resultobj = t_output_helper(_resultobj, o);
3869 }
3870 return _resultobj;
3871 }
3872
3873 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3874 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args) {
3875 PyObject * _resultobj;
3876 wxScrolledWindow * _arg0;
3877 int * _arg1;
3878 int temp;
3879 int * _arg2;
3880 int temp0;
3881 char * _argc0 = 0;
3882
3883 self = self;
3884 {
3885 _arg1 = &temp;
3886 }
3887 {
3888 _arg2 = &temp0;
3889 }
3890 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetVirtualSize",&_argc0))
3891 return NULL;
3892 if (_argc0) {
3893 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3895 return NULL;
3896 }
3897 }
3898 {
3899 wxPy_BEGIN_ALLOW_THREADS;
3900 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
3901
3902 wxPy_END_ALLOW_THREADS;
3903 } Py_INCREF(Py_None);
3904 _resultobj = Py_None;
3905 {
3906 PyObject *o;
3907 o = PyInt_FromLong((long) (*_arg1));
3908 _resultobj = t_output_helper(_resultobj, o);
3909 }
3910 {
3911 PyObject *o;
3912 o = PyInt_FromLong((long) (*_arg2));
3913 _resultobj = t_output_helper(_resultobj, o);
3914 }
3915 return _resultobj;
3916 }
3917
3918 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3919 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args) {
3920 PyObject * _resultobj;
3921 bool _result;
3922 wxScrolledWindow * _arg0;
3923 char * _argc0 = 0;
3924
3925 self = self;
3926 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_IsRetained",&_argc0))
3927 return NULL;
3928 if (_argc0) {
3929 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3931 return NULL;
3932 }
3933 }
3934 {
3935 wxPy_BEGIN_ALLOW_THREADS;
3936 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
3937
3938 wxPy_END_ALLOW_THREADS;
3939 } _resultobj = Py_BuildValue("i",_result);
3940 return _resultobj;
3941 }
3942
3943 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3944 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args) {
3945 PyObject * _resultobj;
3946 wxScrolledWindow * _arg0;
3947 wxDC * _arg1;
3948 char * _argc0 = 0;
3949 char * _argc1 = 0;
3950
3951 self = self;
3952 if(!PyArg_ParseTuple(args,"ss:wxScrolledWindow_PrepareDC",&_argc0,&_argc1))
3953 return NULL;
3954 if (_argc0) {
3955 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3957 return NULL;
3958 }
3959 }
3960 if (_argc1) {
3961 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
3962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3963 return NULL;
3964 }
3965 }
3966 {
3967 wxPy_BEGIN_ALLOW_THREADS;
3968 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
3969
3970 wxPy_END_ALLOW_THREADS;
3971 } Py_INCREF(Py_None);
3972 _resultobj = Py_None;
3973 return _resultobj;
3974 }
3975
3976 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3977 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args) {
3978 PyObject * _resultobj;
3979 wxScrolledWindow * _arg0;
3980 int _arg1;
3981 int _arg2;
3982 char * _argc0 = 0;
3983
3984 self = self;
3985 if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_Scroll",&_argc0,&_arg1,&_arg2))
3986 return NULL;
3987 if (_argc0) {
3988 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3990 return NULL;
3991 }
3992 }
3993 {
3994 wxPy_BEGIN_ALLOW_THREADS;
3995 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
3996
3997 wxPy_END_ALLOW_THREADS;
3998 } Py_INCREF(Py_None);
3999 _resultobj = Py_None;
4000 return _resultobj;
4001 }
4002
4003 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4004 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args) {
4005 PyObject * _resultobj;
4006 wxScrolledWindow * _arg0;
4007 int _arg1;
4008 int _arg2;
4009 int _arg3;
4010 int _arg4;
4011 int _arg5 = 0;
4012 int _arg6 = 0;
4013 char * _argc0 = 0;
4014
4015 self = self;
4016 if(!PyArg_ParseTuple(args,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4017 return NULL;
4018 if (_argc0) {
4019 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4021 return NULL;
4022 }
4023 }
4024 {
4025 wxPy_BEGIN_ALLOW_THREADS;
4026 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4027
4028 wxPy_END_ALLOW_THREADS;
4029 } Py_INCREF(Py_None);
4030 _resultobj = Py_None;
4031 return _resultobj;
4032 }
4033
4034 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4035 static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args) {
4036 PyObject * _resultobj;
4037 wxScrolledWindow * _arg0;
4038 int * _arg1;
4039 int temp;
4040 int * _arg2;
4041 int temp0;
4042 char * _argc0 = 0;
4043
4044 self = self;
4045 {
4046 _arg1 = &temp;
4047 }
4048 {
4049 _arg2 = &temp0;
4050 }
4051 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_ViewStart",&_argc0))
4052 return NULL;
4053 if (_argc0) {
4054 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4056 return NULL;
4057 }
4058 }
4059 {
4060 wxPy_BEGIN_ALLOW_THREADS;
4061 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
4062
4063 wxPy_END_ALLOW_THREADS;
4064 } Py_INCREF(Py_None);
4065 _resultobj = Py_None;
4066 {
4067 PyObject *o;
4068 o = PyInt_FromLong((long) (*_arg1));
4069 _resultobj = t_output_helper(_resultobj, o);
4070 }
4071 {
4072 PyObject *o;
4073 o = PyInt_FromLong((long) (*_arg2));
4074 _resultobj = t_output_helper(_resultobj, o);
4075 }
4076 return _resultobj;
4077 }
4078
4079 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
4080 wxMenu *src;
4081 wxEvtHandler *dest;
4082 src = (wxMenu *) ptr;
4083 dest = (wxEvtHandler *) src;
4084 return (void *) dest;
4085 }
4086
4087 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4088 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args) {
4089 PyObject * _resultobj;
4090 wxMenu * _result;
4091 wxString * _arg0 = &wxPyEmptyStr;
4092 long _arg1 = 0;
4093 PyObject * _obj0 = 0;
4094 char _ptemp[128];
4095
4096 self = self;
4097 if(!PyArg_ParseTuple(args,"|Ol:new_wxMenu",&_obj0,&_arg1))
4098 return NULL;
4099 if (_obj0)
4100 {
4101 if (!PyString_Check(_obj0)) {
4102 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4103 return NULL;
4104 }
4105 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
4106 }
4107 {
4108 wxPy_BEGIN_ALLOW_THREADS;
4109 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
4110
4111 wxPy_END_ALLOW_THREADS;
4112 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
4113 _resultobj = Py_BuildValue("s",_ptemp);
4114 {
4115 if (_obj0)
4116 delete _arg0;
4117 }
4118 return _resultobj;
4119 }
4120
4121 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4122 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args) {
4123 PyObject * _resultobj;
4124 wxMenu * _arg0;
4125 int _arg1;
4126 wxString * _arg2;
4127 wxString * _arg3 = &wxPyEmptyStr;
4128 int _arg4 = (0);
4129 char * _argc0 = 0;
4130 PyObject * _obj2 = 0;
4131 PyObject * _obj3 = 0;
4132
4133 self = self;
4134 if(!PyArg_ParseTuple(args,"siO|Oi:wxMenu_Append",&_argc0,&_arg1,&_obj2,&_obj3,&_arg4))
4135 return NULL;
4136 if (_argc0) {
4137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4139 return NULL;
4140 }
4141 }
4142 {
4143 if (!PyString_Check(_obj2)) {
4144 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4145 return NULL;
4146 }
4147 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4148 }
4149 if (_obj3)
4150 {
4151 if (!PyString_Check(_obj3)) {
4152 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4153 return NULL;
4154 }
4155 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4156 }
4157 {
4158 wxPy_BEGIN_ALLOW_THREADS;
4159 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
4160
4161 wxPy_END_ALLOW_THREADS;
4162 } Py_INCREF(Py_None);
4163 _resultobj = Py_None;
4164 {
4165 if (_obj2)
4166 delete _arg2;
4167 }
4168 {
4169 if (_obj3)
4170 delete _arg3;
4171 }
4172 return _resultobj;
4173 }
4174
4175 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4176 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args) {
4177 PyObject * _resultobj;
4178 wxMenu * _arg0;
4179 int _arg1;
4180 wxString * _arg2;
4181 wxMenu * _arg3;
4182 wxString * _arg4 = &wxPyEmptyStr;
4183 char * _argc0 = 0;
4184 PyObject * _obj2 = 0;
4185 char * _argc3 = 0;
4186 PyObject * _obj4 = 0;
4187
4188 self = self;
4189 if(!PyArg_ParseTuple(args,"siOs|O:wxMenu_AppendMenu",&_argc0,&_arg1,&_obj2,&_argc3,&_obj4))
4190 return NULL;
4191 if (_argc0) {
4192 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4194 return NULL;
4195 }
4196 }
4197 {
4198 if (!PyString_Check(_obj2)) {
4199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4200 return NULL;
4201 }
4202 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4203 }
4204 if (_argc3) {
4205 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxMenu_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4207 return NULL;
4208 }
4209 }
4210 if (_obj4)
4211 {
4212 if (!PyString_Check(_obj4)) {
4213 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4214 return NULL;
4215 }
4216 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
4217 }
4218 {
4219 wxPy_BEGIN_ALLOW_THREADS;
4220 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
4221
4222 wxPy_END_ALLOW_THREADS;
4223 } Py_INCREF(Py_None);
4224 _resultobj = Py_None;
4225 {
4226 if (_obj2)
4227 delete _arg2;
4228 }
4229 {
4230 if (_obj4)
4231 delete _arg4;
4232 }
4233 return _resultobj;
4234 }
4235
4236 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4237 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args) {
4238 PyObject * _resultobj;
4239 wxMenu * _arg0;
4240 char * _argc0 = 0;
4241
4242 self = self;
4243 if(!PyArg_ParseTuple(args,"s:wxMenu_AppendSeparator",&_argc0))
4244 return NULL;
4245 if (_argc0) {
4246 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4248 return NULL;
4249 }
4250 }
4251 {
4252 wxPy_BEGIN_ALLOW_THREADS;
4253 wxMenu_AppendSeparator(_arg0);
4254
4255 wxPy_END_ALLOW_THREADS;
4256 } Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259 }
4260
4261 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4262 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args) {
4263 PyObject * _resultobj;
4264 wxMenu * _arg0;
4265 char * _argc0 = 0;
4266
4267 self = self;
4268 if(!PyArg_ParseTuple(args,"s:wxMenu_Break",&_argc0))
4269 return NULL;
4270 if (_argc0) {
4271 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4273 return NULL;
4274 }
4275 }
4276 {
4277 wxPy_BEGIN_ALLOW_THREADS;
4278 wxMenu_Break(_arg0);
4279
4280 wxPy_END_ALLOW_THREADS;
4281 } Py_INCREF(Py_None);
4282 _resultobj = Py_None;
4283 return _resultobj;
4284 }
4285
4286 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4287 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args) {
4288 PyObject * _resultobj;
4289 wxMenu * _arg0;
4290 int _arg1;
4291 bool _arg2;
4292 char * _argc0 = 0;
4293 int tempbool2;
4294
4295 self = self;
4296 if(!PyArg_ParseTuple(args,"sii:wxMenu_Check",&_argc0,&_arg1,&tempbool2))
4297 return NULL;
4298 if (_argc0) {
4299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4301 return NULL;
4302 }
4303 }
4304 _arg2 = (bool ) tempbool2;
4305 {
4306 wxPy_BEGIN_ALLOW_THREADS;
4307 wxMenu_Check(_arg0,_arg1,_arg2);
4308
4309 wxPy_END_ALLOW_THREADS;
4310 } Py_INCREF(Py_None);
4311 _resultobj = Py_None;
4312 return _resultobj;
4313 }
4314
4315 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4316 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args) {
4317 PyObject * _resultobj;
4318 wxMenu * _arg0;
4319 int _arg1;
4320 bool _arg2;
4321 char * _argc0 = 0;
4322 int tempbool2;
4323
4324 self = self;
4325 if(!PyArg_ParseTuple(args,"sii:wxMenu_Enable",&_argc0,&_arg1,&tempbool2))
4326 return NULL;
4327 if (_argc0) {
4328 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4330 return NULL;
4331 }
4332 }
4333 _arg2 = (bool ) tempbool2;
4334 {
4335 wxPy_BEGIN_ALLOW_THREADS;
4336 wxMenu_Enable(_arg0,_arg1,_arg2);
4337
4338 wxPy_END_ALLOW_THREADS;
4339 } Py_INCREF(Py_None);
4340 _resultobj = Py_None;
4341 return _resultobj;
4342 }
4343
4344 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4345 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args) {
4346 PyObject * _resultobj;
4347 int _result;
4348 wxMenu * _arg0;
4349 wxString * _arg1;
4350 char * _argc0 = 0;
4351 PyObject * _obj1 = 0;
4352
4353 self = self;
4354 if(!PyArg_ParseTuple(args,"sO:wxMenu_FindItem",&_argc0,&_obj1))
4355 return NULL;
4356 if (_argc0) {
4357 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4359 return NULL;
4360 }
4361 }
4362 {
4363 if (!PyString_Check(_obj1)) {
4364 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4365 return NULL;
4366 }
4367 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4368 }
4369 {
4370 wxPy_BEGIN_ALLOW_THREADS;
4371 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
4372
4373 wxPy_END_ALLOW_THREADS;
4374 } _resultobj = Py_BuildValue("i",_result);
4375 {
4376 if (_obj1)
4377 delete _arg1;
4378 }
4379 return _resultobj;
4380 }
4381
4382 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4383 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args) {
4384 PyObject * _resultobj;
4385 wxString * _result;
4386 wxMenu * _arg0;
4387 char * _argc0 = 0;
4388
4389 self = self;
4390 if(!PyArg_ParseTuple(args,"s:wxMenu_GetTitle",&_argc0))
4391 return NULL;
4392 if (_argc0) {
4393 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4395 return NULL;
4396 }
4397 }
4398 {
4399 wxPy_BEGIN_ALLOW_THREADS;
4400 _result = new wxString (wxMenu_GetTitle(_arg0));
4401
4402 wxPy_END_ALLOW_THREADS;
4403 }{
4404 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4405 }
4406 {
4407 delete _result;
4408 }
4409 return _resultobj;
4410 }
4411
4412 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4413 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args) {
4414 PyObject * _resultobj;
4415 wxMenu * _arg0;
4416 wxString * _arg1;
4417 char * _argc0 = 0;
4418 PyObject * _obj1 = 0;
4419
4420 self = self;
4421 if(!PyArg_ParseTuple(args,"sO:wxMenu_SetTitle",&_argc0,&_obj1))
4422 return NULL;
4423 if (_argc0) {
4424 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4426 return NULL;
4427 }
4428 }
4429 {
4430 if (!PyString_Check(_obj1)) {
4431 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4432 return NULL;
4433 }
4434 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4435 }
4436 {
4437 wxPy_BEGIN_ALLOW_THREADS;
4438 wxMenu_SetTitle(_arg0,*_arg1);
4439
4440 wxPy_END_ALLOW_THREADS;
4441 } Py_INCREF(Py_None);
4442 _resultobj = Py_None;
4443 {
4444 if (_obj1)
4445 delete _arg1;
4446 }
4447 return _resultobj;
4448 }
4449
4450 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4451 static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args) {
4452 PyObject * _resultobj;
4453 wxMenuItem * _result;
4454 wxMenu * _arg0;
4455 int _arg1;
4456 char * _argc0 = 0;
4457 char _ptemp[128];
4458
4459 self = self;
4460 if(!PyArg_ParseTuple(args,"si:wxMenu_FindItemForId",&_argc0,&_arg1))
4461 return NULL;
4462 if (_argc0) {
4463 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4465 return NULL;
4466 }
4467 }
4468 {
4469 wxPy_BEGIN_ALLOW_THREADS;
4470 _result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1);
4471
4472 wxPy_END_ALLOW_THREADS;
4473 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
4474 _resultobj = Py_BuildValue("s",_ptemp);
4475 return _resultobj;
4476 }
4477
4478 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4479 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args) {
4480 PyObject * _resultobj;
4481 wxString * _result;
4482 wxMenu * _arg0;
4483 int _arg1;
4484 char * _argc0 = 0;
4485
4486 self = self;
4487 if(!PyArg_ParseTuple(args,"si:wxMenu_GetHelpString",&_argc0,&_arg1))
4488 return NULL;
4489 if (_argc0) {
4490 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4492 return NULL;
4493 }
4494 }
4495 {
4496 wxPy_BEGIN_ALLOW_THREADS;
4497 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
4498
4499 wxPy_END_ALLOW_THREADS;
4500 }{
4501 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4502 }
4503 {
4504 delete _result;
4505 }
4506 return _resultobj;
4507 }
4508
4509 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4510 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args) {
4511 PyObject * _resultobj;
4512 wxString * _result;
4513 wxMenu * _arg0;
4514 int _arg1;
4515 char * _argc0 = 0;
4516
4517 self = self;
4518 if(!PyArg_ParseTuple(args,"si:wxMenu_GetLabel",&_argc0,&_arg1))
4519 return NULL;
4520 if (_argc0) {
4521 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4523 return NULL;
4524 }
4525 }
4526 {
4527 wxPy_BEGIN_ALLOW_THREADS;
4528 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
4529
4530 wxPy_END_ALLOW_THREADS;
4531 }{
4532 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4533 }
4534 {
4535 delete _result;
4536 }
4537 return _resultobj;
4538 }
4539
4540 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4541 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args) {
4542 PyObject * _resultobj;
4543 wxMenu * _arg0;
4544 int _arg1;
4545 wxString * _arg2;
4546 char * _argc0 = 0;
4547 PyObject * _obj2 = 0;
4548
4549 self = self;
4550 if(!PyArg_ParseTuple(args,"siO:wxMenu_SetHelpString",&_argc0,&_arg1,&_obj2))
4551 return NULL;
4552 if (_argc0) {
4553 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4555 return NULL;
4556 }
4557 }
4558 {
4559 if (!PyString_Check(_obj2)) {
4560 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4561 return NULL;
4562 }
4563 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4564 }
4565 {
4566 wxPy_BEGIN_ALLOW_THREADS;
4567 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
4568
4569 wxPy_END_ALLOW_THREADS;
4570 } Py_INCREF(Py_None);
4571 _resultobj = Py_None;
4572 {
4573 if (_obj2)
4574 delete _arg2;
4575 }
4576 return _resultobj;
4577 }
4578
4579 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4580 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args) {
4581 PyObject * _resultobj;
4582 bool _result;
4583 wxMenu * _arg0;
4584 int _arg1;
4585 char * _argc0 = 0;
4586
4587 self = self;
4588 if(!PyArg_ParseTuple(args,"si:wxMenu_IsChecked",&_argc0,&_arg1))
4589 return NULL;
4590 if (_argc0) {
4591 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4593 return NULL;
4594 }
4595 }
4596 {
4597 wxPy_BEGIN_ALLOW_THREADS;
4598 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
4599
4600 wxPy_END_ALLOW_THREADS;
4601 } _resultobj = Py_BuildValue("i",_result);
4602 return _resultobj;
4603 }
4604
4605 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4606 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args) {
4607 PyObject * _resultobj;
4608 bool _result;
4609 wxMenu * _arg0;
4610 int _arg1;
4611 char * _argc0 = 0;
4612
4613 self = self;
4614 if(!PyArg_ParseTuple(args,"si:wxMenu_IsEnabled",&_argc0,&_arg1))
4615 return NULL;
4616 if (_argc0) {
4617 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4619 return NULL;
4620 }
4621 }
4622 {
4623 wxPy_BEGIN_ALLOW_THREADS;
4624 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
4625
4626 wxPy_END_ALLOW_THREADS;
4627 } _resultobj = Py_BuildValue("i",_result);
4628 return _resultobj;
4629 }
4630
4631 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4632 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args) {
4633 PyObject * _resultobj;
4634 wxMenu * _arg0;
4635 int _arg1;
4636 wxString * _arg2;
4637 char * _argc0 = 0;
4638 PyObject * _obj2 = 0;
4639
4640 self = self;
4641 if(!PyArg_ParseTuple(args,"siO:wxMenu_SetLabel",&_argc0,&_arg1,&_obj2))
4642 return NULL;
4643 if (_argc0) {
4644 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4646 return NULL;
4647 }
4648 }
4649 {
4650 if (!PyString_Check(_obj2)) {
4651 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4652 return NULL;
4653 }
4654 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4655 }
4656 {
4657 wxPy_BEGIN_ALLOW_THREADS;
4658 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
4659
4660 wxPy_END_ALLOW_THREADS;
4661 } Py_INCREF(Py_None);
4662 _resultobj = Py_None;
4663 {
4664 if (_obj2)
4665 delete _arg2;
4666 }
4667 return _resultobj;
4668 }
4669
4670 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
4671 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args) {
4672 PyObject * _resultobj;
4673 wxMenu * _arg0;
4674 wxEvtHandler * _arg1 = NULL;
4675 char * _argc0 = 0;
4676 char * _argc1 = 0;
4677
4678 self = self;
4679 if(!PyArg_ParseTuple(args,"s|s:wxMenu_UpdateUI",&_argc0,&_argc1))
4680 return NULL;
4681 if (_argc0) {
4682 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
4684 return NULL;
4685 }
4686 }
4687 if (_argc1) {
4688 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxEvtHandler_p")) {
4689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
4690 return NULL;
4691 }
4692 }
4693 {
4694 wxPy_BEGIN_ALLOW_THREADS;
4695 wxMenu_UpdateUI(_arg0,_arg1);
4696
4697 wxPy_END_ALLOW_THREADS;
4698 } Py_INCREF(Py_None);
4699 _resultobj = Py_None;
4700 return _resultobj;
4701 }
4702
4703 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
4704 wxMenuBar *src;
4705 wxEvtHandler *dest;
4706 src = (wxMenuBar *) ptr;
4707 dest = (wxEvtHandler *) src;
4708 return (void *) dest;
4709 }
4710
4711 #define new_wxMenuBar() (new wxMenuBar())
4712 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args) {
4713 PyObject * _resultobj;
4714 wxMenuBar * _result;
4715 char _ptemp[128];
4716
4717 self = self;
4718 if(!PyArg_ParseTuple(args,":new_wxMenuBar"))
4719 return NULL;
4720 {
4721 wxPy_BEGIN_ALLOW_THREADS;
4722 _result = (wxMenuBar *)new_wxMenuBar();
4723
4724 wxPy_END_ALLOW_THREADS;
4725 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
4726 _resultobj = Py_BuildValue("s",_ptemp);
4727 return _resultobj;
4728 }
4729
4730 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4731 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args) {
4732 PyObject * _resultobj;
4733 wxMenuBar * _arg0;
4734 wxMenu * _arg1;
4735 wxString * _arg2;
4736 char * _argc0 = 0;
4737 char * _argc1 = 0;
4738 PyObject * _obj2 = 0;
4739
4740 self = self;
4741 if(!PyArg_ParseTuple(args,"ssO:wxMenuBar_Append",&_argc0,&_argc1,&_obj2))
4742 return NULL;
4743 if (_argc0) {
4744 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4746 return NULL;
4747 }
4748 }
4749 if (_argc1) {
4750 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4752 return NULL;
4753 }
4754 }
4755 {
4756 if (!PyString_Check(_obj2)) {
4757 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4758 return NULL;
4759 }
4760 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4761 }
4762 {
4763 wxPy_BEGIN_ALLOW_THREADS;
4764 wxMenuBar_Append(_arg0,_arg1,*_arg2);
4765
4766 wxPy_END_ALLOW_THREADS;
4767 } Py_INCREF(Py_None);
4768 _resultobj = Py_None;
4769 {
4770 if (_obj2)
4771 delete _arg2;
4772 }
4773 return _resultobj;
4774 }
4775
4776 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4777 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args) {
4778 PyObject * _resultobj;
4779 wxMenuBar * _arg0;
4780 int _arg1;
4781 bool _arg2;
4782 char * _argc0 = 0;
4783 int tempbool2;
4784
4785 self = self;
4786 if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Check",&_argc0,&_arg1,&tempbool2))
4787 return NULL;
4788 if (_argc0) {
4789 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4791 return NULL;
4792 }
4793 }
4794 _arg2 = (bool ) tempbool2;
4795 {
4796 wxPy_BEGIN_ALLOW_THREADS;
4797 wxMenuBar_Check(_arg0,_arg1,_arg2);
4798
4799 wxPy_END_ALLOW_THREADS;
4800 } Py_INCREF(Py_None);
4801 _resultobj = Py_None;
4802 return _resultobj;
4803 }
4804
4805 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4806 static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args) {
4807 PyObject * _resultobj;
4808 bool _result;
4809 wxMenuBar * _arg0;
4810 int _arg1;
4811 char * _argc0 = 0;
4812
4813 self = self;
4814 if(!PyArg_ParseTuple(args,"si:wxMenuBar_Checked",&_argc0,&_arg1))
4815 return NULL;
4816 if (_argc0) {
4817 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4819 return NULL;
4820 }
4821 }
4822 {
4823 wxPy_BEGIN_ALLOW_THREADS;
4824 _result = (bool )wxMenuBar_Checked(_arg0,_arg1);
4825
4826 wxPy_END_ALLOW_THREADS;
4827 } _resultobj = Py_BuildValue("i",_result);
4828 return _resultobj;
4829 }
4830
4831 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4832 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args) {
4833 PyObject * _resultobj;
4834 wxMenuBar * _arg0;
4835 int _arg1;
4836 bool _arg2;
4837 char * _argc0 = 0;
4838 int tempbool2;
4839
4840 self = self;
4841 if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Enable",&_argc0,&_arg1,&tempbool2))
4842 return NULL;
4843 if (_argc0) {
4844 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4846 return NULL;
4847 }
4848 }
4849 _arg2 = (bool ) tempbool2;
4850 {
4851 wxPy_BEGIN_ALLOW_THREADS;
4852 wxMenuBar_Enable(_arg0,_arg1,_arg2);
4853
4854 wxPy_END_ALLOW_THREADS;
4855 } Py_INCREF(Py_None);
4856 _resultobj = Py_None;
4857 return _resultobj;
4858 }
4859
4860 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4861 static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args) {
4862 PyObject * _resultobj;
4863 bool _result;
4864 wxMenuBar * _arg0;
4865 int _arg1;
4866 char * _argc0 = 0;
4867
4868 self = self;
4869 if(!PyArg_ParseTuple(args,"si:wxMenuBar_Enabled",&_argc0,&_arg1))
4870 return NULL;
4871 if (_argc0) {
4872 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4874 return NULL;
4875 }
4876 }
4877 {
4878 wxPy_BEGIN_ALLOW_THREADS;
4879 _result = (bool )wxMenuBar_Enabled(_arg0,_arg1);
4880
4881 wxPy_END_ALLOW_THREADS;
4882 } _resultobj = Py_BuildValue("i",_result);
4883 return _resultobj;
4884 }
4885
4886 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4887 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args) {
4888 PyObject * _resultobj;
4889 int _result;
4890 wxMenuBar * _arg0;
4891 wxString * _arg1;
4892 wxString * _arg2;
4893 char * _argc0 = 0;
4894 PyObject * _obj1 = 0;
4895 PyObject * _obj2 = 0;
4896
4897 self = self;
4898 if(!PyArg_ParseTuple(args,"sOO:wxMenuBar_FindMenuItem",&_argc0,&_obj1,&_obj2))
4899 return NULL;
4900 if (_argc0) {
4901 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4903 return NULL;
4904 }
4905 }
4906 {
4907 if (!PyString_Check(_obj1)) {
4908 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4909 return NULL;
4910 }
4911 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4912 }
4913 {
4914 if (!PyString_Check(_obj2)) {
4915 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4916 return NULL;
4917 }
4918 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4919 }
4920 {
4921 wxPy_BEGIN_ALLOW_THREADS;
4922 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
4923
4924 wxPy_END_ALLOW_THREADS;
4925 } _resultobj = Py_BuildValue("i",_result);
4926 {
4927 if (_obj1)
4928 delete _arg1;
4929 }
4930 {
4931 if (_obj2)
4932 delete _arg2;
4933 }
4934 return _resultobj;
4935 }
4936
4937 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4938 static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args) {
4939 PyObject * _resultobj;
4940 wxMenuItem * _result;
4941 wxMenuBar * _arg0;
4942 int _arg1;
4943 char * _argc0 = 0;
4944 char _ptemp[128];
4945
4946 self = self;
4947 if(!PyArg_ParseTuple(args,"si:wxMenuBar_FindItemForId",&_argc0,&_arg1))
4948 return NULL;
4949 if (_argc0) {
4950 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4952 return NULL;
4953 }
4954 }
4955 {
4956 wxPy_BEGIN_ALLOW_THREADS;
4957 _result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1);
4958
4959 wxPy_END_ALLOW_THREADS;
4960 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
4961 _resultobj = Py_BuildValue("s",_ptemp);
4962 return _resultobj;
4963 }
4964
4965 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4966 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args) {
4967 PyObject * _resultobj;
4968 int _result;
4969 wxMenuBar * _arg0;
4970 char * _argc0 = 0;
4971
4972 self = self;
4973 if(!PyArg_ParseTuple(args,"s:wxMenuBar_GetMenuCount",&_argc0))
4974 return NULL;
4975 if (_argc0) {
4976 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4978 return NULL;
4979 }
4980 }
4981 {
4982 wxPy_BEGIN_ALLOW_THREADS;
4983 _result = (int )wxMenuBar_GetMenuCount(_arg0);
4984
4985 wxPy_END_ALLOW_THREADS;
4986 } _resultobj = Py_BuildValue("i",_result);
4987 return _resultobj;
4988 }
4989
4990 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4991 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args) {
4992 PyObject * _resultobj;
4993 wxMenu * _result;
4994 wxMenuBar * _arg0;
4995 int _arg1;
4996 char * _argc0 = 0;
4997 char _ptemp[128];
4998
4999 self = self;
5000 if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetMenu",&_argc0,&_arg1))
5001 return NULL;
5002 if (_argc0) {
5003 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 wxPy_BEGIN_ALLOW_THREADS;
5010 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
5011
5012 wxPy_END_ALLOW_THREADS;
5013 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5014 _resultobj = Py_BuildValue("s",_ptemp);
5015 return _resultobj;
5016 }
5017
5018 #define new_wxMenuItem() (new wxMenuItem())
5019 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args) {
5020 PyObject * _resultobj;
5021 wxMenuItem * _result;
5022 char _ptemp[128];
5023
5024 self = self;
5025 if(!PyArg_ParseTuple(args,":new_wxMenuItem"))
5026 return NULL;
5027 {
5028 wxPy_BEGIN_ALLOW_THREADS;
5029 _result = (wxMenuItem *)new_wxMenuItem();
5030
5031 wxPy_END_ALLOW_THREADS;
5032 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5033 _resultobj = Py_BuildValue("s",_ptemp);
5034 return _resultobj;
5035 }
5036
5037 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5038 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args) {
5039 PyObject * _resultobj;
5040 bool _result;
5041 wxMenuItem * _arg0;
5042 char * _argc0 = 0;
5043
5044 self = self;
5045 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsSeparator",&_argc0))
5046 return NULL;
5047 if (_argc0) {
5048 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5050 return NULL;
5051 }
5052 }
5053 {
5054 wxPy_BEGIN_ALLOW_THREADS;
5055 _result = (bool )wxMenuItem_IsSeparator(_arg0);
5056
5057 wxPy_END_ALLOW_THREADS;
5058 } _resultobj = Py_BuildValue("i",_result);
5059 return _resultobj;
5060 }
5061
5062 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5063 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args) {
5064 PyObject * _resultobj;
5065 bool _result;
5066 wxMenuItem * _arg0;
5067 char * _argc0 = 0;
5068
5069 self = self;
5070 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsEnabled",&_argc0))
5071 return NULL;
5072 if (_argc0) {
5073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5075 return NULL;
5076 }
5077 }
5078 {
5079 wxPy_BEGIN_ALLOW_THREADS;
5080 _result = (bool )wxMenuItem_IsEnabled(_arg0);
5081
5082 wxPy_END_ALLOW_THREADS;
5083 } _resultobj = Py_BuildValue("i",_result);
5084 return _resultobj;
5085 }
5086
5087 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5088 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args) {
5089 PyObject * _resultobj;
5090 bool _result;
5091 wxMenuItem * _arg0;
5092 char * _argc0 = 0;
5093
5094 self = self;
5095 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsChecked",&_argc0))
5096 return NULL;
5097 if (_argc0) {
5098 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5100 return NULL;
5101 }
5102 }
5103 {
5104 wxPy_BEGIN_ALLOW_THREADS;
5105 _result = (bool )wxMenuItem_IsChecked(_arg0);
5106
5107 wxPy_END_ALLOW_THREADS;
5108 } _resultobj = Py_BuildValue("i",_result);
5109 return _resultobj;
5110 }
5111
5112 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5113 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args) {
5114 PyObject * _resultobj;
5115 bool _result;
5116 wxMenuItem * _arg0;
5117 char * _argc0 = 0;
5118
5119 self = self;
5120 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsCheckable",&_argc0))
5121 return NULL;
5122 if (_argc0) {
5123 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5125 return NULL;
5126 }
5127 }
5128 {
5129 wxPy_BEGIN_ALLOW_THREADS;
5130 _result = (bool )wxMenuItem_IsCheckable(_arg0);
5131
5132 wxPy_END_ALLOW_THREADS;
5133 } _resultobj = Py_BuildValue("i",_result);
5134 return _resultobj;
5135 }
5136
5137 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5138 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args) {
5139 PyObject * _resultobj;
5140 int _result;
5141 wxMenuItem * _arg0;
5142 char * _argc0 = 0;
5143
5144 self = self;
5145 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetId",&_argc0))
5146 return NULL;
5147 if (_argc0) {
5148 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5150 return NULL;
5151 }
5152 }
5153 {
5154 wxPy_BEGIN_ALLOW_THREADS;
5155 _result = (int )wxMenuItem_GetId(_arg0);
5156
5157 wxPy_END_ALLOW_THREADS;
5158 } _resultobj = Py_BuildValue("i",_result);
5159 return _resultobj;
5160 }
5161
5162 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5163 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args) {
5164 PyObject * _resultobj;
5165 wxMenu * _result;
5166 wxMenuItem * _arg0;
5167 char * _argc0 = 0;
5168 char _ptemp[128];
5169
5170 self = self;
5171 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetSubMenu",&_argc0))
5172 return NULL;
5173 if (_argc0) {
5174 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5176 return NULL;
5177 }
5178 }
5179 {
5180 wxPy_BEGIN_ALLOW_THREADS;
5181 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
5182
5183 wxPy_END_ALLOW_THREADS;
5184 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5185 _resultobj = Py_BuildValue("s",_ptemp);
5186 return _resultobj;
5187 }
5188
5189 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5190 static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args) {
5191 PyObject * _resultobj;
5192 wxMenuItem * _arg0;
5193 wxString * _arg1;
5194 char * _argc0 = 0;
5195 PyObject * _obj1 = 0;
5196
5197 self = self;
5198 if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetName",&_argc0,&_obj1))
5199 return NULL;
5200 if (_argc0) {
5201 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5203 return NULL;
5204 }
5205 }
5206 {
5207 if (!PyString_Check(_obj1)) {
5208 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5209 return NULL;
5210 }
5211 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5212 }
5213 {
5214 wxPy_BEGIN_ALLOW_THREADS;
5215 wxMenuItem_SetName(_arg0,*_arg1);
5216
5217 wxPy_END_ALLOW_THREADS;
5218 } Py_INCREF(Py_None);
5219 _resultobj = Py_None;
5220 {
5221 if (_obj1)
5222 delete _arg1;
5223 }
5224 return _resultobj;
5225 }
5226
5227 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5228 static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args) {
5229 PyObject * _resultobj;
5230 wxString * _result;
5231 wxMenuItem * _arg0;
5232 char * _argc0 = 0;
5233
5234 self = self;
5235 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetName",&_argc0))
5236 return NULL;
5237 if (_argc0) {
5238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5240 return NULL;
5241 }
5242 }
5243 {
5244 wxPy_BEGIN_ALLOW_THREADS;
5245 _result = new wxString (wxMenuItem_GetName(_arg0));
5246
5247 wxPy_END_ALLOW_THREADS;
5248 }{
5249 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5250 }
5251 {
5252 delete _result;
5253 }
5254 return _resultobj;
5255 }
5256
5257 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5258 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args) {
5259 PyObject * _resultobj;
5260 wxString * _result;
5261 wxMenuItem * _arg0;
5262 char * _argc0 = 0;
5263
5264 self = self;
5265 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetHelp",&_argc0))
5266 return NULL;
5267 if (_argc0) {
5268 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5270 return NULL;
5271 }
5272 }
5273 {
5274 wxPy_BEGIN_ALLOW_THREADS;
5275 _result = new wxString (wxMenuItem_GetHelp(_arg0));
5276
5277 wxPy_END_ALLOW_THREADS;
5278 }{
5279 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5280 }
5281 {
5282 delete _result;
5283 }
5284 return _resultobj;
5285 }
5286
5287 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5288 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args) {
5289 PyObject * _resultobj;
5290 wxMenuItem * _arg0;
5291 wxString * _arg1;
5292 char * _argc0 = 0;
5293 PyObject * _obj1 = 0;
5294
5295 self = self;
5296 if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetHelp",&_argc0,&_obj1))
5297 return NULL;
5298 if (_argc0) {
5299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5301 return NULL;
5302 }
5303 }
5304 {
5305 if (!PyString_Check(_obj1)) {
5306 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5307 return NULL;
5308 }
5309 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5310 }
5311 {
5312 wxPy_BEGIN_ALLOW_THREADS;
5313 wxMenuItem_SetHelp(_arg0,*_arg1);
5314
5315 wxPy_END_ALLOW_THREADS;
5316 } Py_INCREF(Py_None);
5317 _resultobj = Py_None;
5318 {
5319 if (_obj1)
5320 delete _arg1;
5321 }
5322 return _resultobj;
5323 }
5324
5325 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5326 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args) {
5327 PyObject * _resultobj;
5328 wxMenuItem * _arg0;
5329 bool _arg1 = (1);
5330 char * _argc0 = 0;
5331 int tempbool1;
5332
5333 self = self;
5334 if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Enable",&_argc0,&tempbool1))
5335 return NULL;
5336 if (_argc0) {
5337 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5339 return NULL;
5340 }
5341 }
5342 _arg1 = (bool ) tempbool1;
5343 {
5344 wxPy_BEGIN_ALLOW_THREADS;
5345 wxMenuItem_Enable(_arg0,_arg1);
5346
5347 wxPy_END_ALLOW_THREADS;
5348 } Py_INCREF(Py_None);
5349 _resultobj = Py_None;
5350 return _resultobj;
5351 }
5352
5353 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5354 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args) {
5355 PyObject * _resultobj;
5356 wxMenuItem * _arg0;
5357 bool _arg1 = (1);
5358 char * _argc0 = 0;
5359 int tempbool1;
5360
5361 self = self;
5362 if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Check",&_argc0,&tempbool1))
5363 return NULL;
5364 if (_argc0) {
5365 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5367 return NULL;
5368 }
5369 }
5370 _arg1 = (bool ) tempbool1;
5371 {
5372 wxPy_BEGIN_ALLOW_THREADS;
5373 wxMenuItem_Check(_arg0,_arg1);
5374
5375 wxPy_END_ALLOW_THREADS;
5376 } Py_INCREF(Py_None);
5377 _resultobj = Py_None;
5378 return _resultobj;
5379 }
5380
5381 static PyMethodDef windowscMethods[] = {
5382 { "wxMenuItem_Check", _wrap_wxMenuItem_Check, 1 },
5383 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable, 1 },
5384 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp, 1 },
5385 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp, 1 },
5386 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName, 1 },
5387 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName, 1 },
5388 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 },
5389 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 },
5390 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 1 },
5391 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked, 1 },
5392 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled, 1 },
5393 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator, 1 },
5394 { "new_wxMenuItem", _wrap_new_wxMenuItem, 1 },
5395 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu, 1 },
5396 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount, 1 },
5397 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId, 1 },
5398 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem, 1 },
5399 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled, 1 },
5400 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable, 1 },
5401 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked, 1 },
5402 { "wxMenuBar_Check", _wrap_wxMenuBar_Check, 1 },
5403 { "wxMenuBar_Append", _wrap_wxMenuBar_Append, 1 },
5404 { "new_wxMenuBar", _wrap_new_wxMenuBar, 1 },
5405 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI, 1 },
5406 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel, 1 },
5407 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled, 1 },
5408 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked, 1 },
5409 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString, 1 },
5410 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel, 1 },
5411 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString, 1 },
5412 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId, 1 },
5413 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle, 1 },
5414 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle, 1 },
5415 { "wxMenu_FindItem", _wrap_wxMenu_FindItem, 1 },
5416 { "wxMenu_Enable", _wrap_wxMenu_Enable, 1 },
5417 { "wxMenu_Check", _wrap_wxMenu_Check, 1 },
5418 { "wxMenu_Break", _wrap_wxMenu_Break, 1 },
5419 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator, 1 },
5420 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu, 1 },
5421 { "wxMenu_Append", _wrap_wxMenu_Append, 1 },
5422 { "new_wxMenu", _wrap_new_wxMenu, 1 },
5423 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart, 1 },
5424 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars, 1 },
5425 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll, 1 },
5426 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC, 1 },
5427 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained, 1 },
5428 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize, 1 },
5429 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, 1 },
5430 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling, 1 },
5431 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow, 1 },
5432 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode, 1 },
5433 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode, 1 },
5434 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal, 1 },
5435 { "wxDialog_Show", _wrap_wxDialog_Show, 1 },
5436 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle, 1 },
5437 { "wxDialog_IsModal", _wrap_wxDialog_IsModal, 1 },
5438 { "wxDialog_SetModal", _wrap_wxDialog_SetModal, 1 },
5439 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized, 1 },
5440 { "wxDialog_Iconize", _wrap_wxDialog_Iconize, 1 },
5441 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle, 1 },
5442 { "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 },
5443 { "wxDialog_Centre", _wrap_wxDialog_Centre, 1 },
5444 { "new_wxDialog", _wrap_new_wxDialog, 1 },
5445 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem, 1 },
5446 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem, 1 },
5447 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 },
5448 { "new_wxPanel", _wrap_new_wxPanel, 1 },
5449 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip, 1 },
5450 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip, 1 },
5451 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString, 1 },
5452 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog, 1 },
5453 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog, 1 },
5454 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 },
5455 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels, 1 },
5456 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 },
5457 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels, 1 },
5458 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer, 1 },
5459 { "wxWindow_Validate", _wrap_wxWindow_Validate, 1 },
5460 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow, 1 },
5461 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow, 1 },
5462 { "wxWindow_Show", _wrap_wxWindow_Show, 1 },
5463 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle, 1 },
5464 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 },
5465 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 },
5466 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH, 1 },
5467 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints, 1 },
5468 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 },
5469 { "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 },
5470 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions, 1 },
5471 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos, 1 },
5472 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar, 1 },
5473 { "wxWindow_SetName", _wrap_wxWindow_SetName, 1 },
5474 { "wxWindow_SetId", _wrap_wxWindow_SetId, 1 },
5475 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour, 1 },
5476 { "wxWindow_SetFont", _wrap_wxWindow_SetFont, 1 },
5477 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus, 1 },
5478 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 },
5479 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 },
5480 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 },
5481 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable, 1 },
5482 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 },
5483 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 },
5484 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY, 1 },
5485 { "wxWindow_Reparent", _wrap_wxWindow_Reparent, 1 },
5486 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 },
5487 { "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 },
5488 { "wxWindow_Raise", _wrap_wxWindow_Raise, 1 },
5489 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu, 1 },
5490 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY, 1 },
5491 { "wxWindow_Move", _wrap_wxWindow_Move, 1 },
5492 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY, 1 },
5493 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 },
5494 { "wxWindow_Lower", _wrap_wxWindow_Lower, 1 },
5495 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 },
5496 { "wxWindow_Layout", _wrap_wxWindow_Layout, 1 },
5497 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel, 1 },
5498 { "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 },
5499 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 },
5500 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 },
5501 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 },
5502 { "wxWindow_Hide", _wrap_wxWindow_Hide, 1 },
5503 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 },
5504 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion, 1 },
5505 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 },
5506 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent, 1 },
5507 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent, 1 },
5508 { "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 },
5509 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple, 1 },
5510 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange, 1 },
5511 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos, 1 },
5512 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb, 1 },
5513 { "wxWindow_GetRect", _wrap_wxWindow_GetRect, 1 },
5514 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 },
5515 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple, 1 },
5516 { "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 },
5517 { "wxWindow_GetName", _wrap_wxWindow_GetName, 1 },
5518 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel, 1 },
5519 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 },
5520 { "wxWindow_GetId", _wrap_wxWindow_GetId, 1 },
5521 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent, 1 },
5522 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour, 1 },
5523 { "wxWindow_GetFont", _wrap_wxWindow_GetFont, 1 },
5524 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints, 1 },
5525 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 },
5526 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple, 1 },
5527 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth, 1 },
5528 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight, 1 },
5529 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour, 1 },
5530 { "wxWindow_Fit", _wrap_wxWindow_Fit, 1 },
5531 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName, 1 },
5532 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById, 1 },
5533 { "wxWindow_Enable", _wrap_wxWindow_Enable, 1 },
5534 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 },
5535 { "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 },
5536 { "wxWindow_Close", _wrap_wxWindow_Close, 1 },
5537 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen, 1 },
5538 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY, 1 },
5539 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent, 1 },
5540 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent, 1 },
5541 { "wxWindow_Centre", _wrap_wxWindow_Centre, 1 },
5542 { "wxWindow_Center", _wrap_wxWindow_Center, 1 },
5543 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 },
5544 { "new_wxWindow", _wrap_new_wxWindow, 1 },
5545 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect, 1 },
5546 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent, 1 },
5547 { NULL, NULL }
5548 };
5549 static PyObject *SWIG_globals;
5550 #ifdef __cplusplus
5551 extern "C"
5552 #endif
5553 SWIGEXPORT(void,initwindowsc)() {
5554 PyObject *m, *d;
5555 SWIG_globals = SWIG_newvarlink();
5556 m = Py_InitModule("windowsc", windowscMethods);
5557 d = PyModule_GetDict(m);
5558 /*
5559 * These are the pointer type-equivalency mappings.
5560 * (Used by the SWIG pointer type-checker).
5561 */
5562 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5563 SWIG_RegisterMapping("_signed_long","_long",0);
5564 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5565 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5566 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5567 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5568 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5569 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5570 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5571 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5572 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5573 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
5574 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
5575 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
5576 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
5577 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
5578 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
5579 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
5580 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
5581 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
5582 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
5583 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
5584 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
5585 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5586 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5587 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5588 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5589 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5590 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5591 SWIG_RegisterMapping("_long","_wxDash",0);
5592 SWIG_RegisterMapping("_long","_unsigned_long",0);
5593 SWIG_RegisterMapping("_long","_signed_long",0);
5594 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5595 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5596 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5597 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5598 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5599 SWIG_RegisterMapping("_size_t","_int",0);
5600 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5601 SWIG_RegisterMapping("_size_t","_uint",0);
5602 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5603 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5604 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5605 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
5606 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
5607 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
5608 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
5609 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5610 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5611 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5612 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5613 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5614 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5615 SWIG_RegisterMapping("_uint","_size_t",0);
5616 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5617 SWIG_RegisterMapping("_uint","_int",0);
5618 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5619 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5620 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5621 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5622 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5623 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5624 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5625 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5626 SWIG_RegisterMapping("_EBool","_signed_int",0);
5627 SWIG_RegisterMapping("_EBool","_int",0);
5628 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5629 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5630 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5631 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5632 SWIG_RegisterMapping("_unsigned_long","_long",0);
5633 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5634 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5635 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5636 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5637 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
5638 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
5639 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
5640 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
5641 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5642 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5643 SWIG_RegisterMapping("_signed_int","_EBool",0);
5644 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5645 SWIG_RegisterMapping("_signed_int","_int",0);
5646 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5647 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5648 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5649 SWIG_RegisterMapping("_WXTYPE","_short",0);
5650 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5651 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5652 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5653 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5654 SWIG_RegisterMapping("_unsigned_short","_short",0);
5655 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
5656 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
5657 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
5658 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
5659 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
5660 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
5661 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5662 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5663 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5664 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5665 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5666 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5667 SWIG_RegisterMapping("_signed_short","_short",0);
5668 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5669 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5670 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5671 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5672 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5673 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5674 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5675 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5676 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5677 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5678 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5679 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5680 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5681 SWIG_RegisterMapping("_unsigned_int","_int",0);
5682 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5683 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5684 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5685 SWIG_RegisterMapping("_short","_WXTYPE",0);
5686 SWIG_RegisterMapping("_short","_unsigned_short",0);
5687 SWIG_RegisterMapping("_short","_signed_short",0);
5688 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5689 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5690 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5691 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5692 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5693 SWIG_RegisterMapping("_wxWindowID","_int",0);
5694 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5695 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5696 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5697 SWIG_RegisterMapping("_int","_size_t",0);
5698 SWIG_RegisterMapping("_int","_EBool",0);
5699 SWIG_RegisterMapping("_int","_uint",0);
5700 SWIG_RegisterMapping("_int","_wxWindowID",0);
5701 SWIG_RegisterMapping("_int","_unsigned_int",0);
5702 SWIG_RegisterMapping("_int","_signed_int",0);
5703 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5704 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5705 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5706 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5707 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5708 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5709 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5710 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5711 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5712 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5713 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5714 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5715 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5716 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5717 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
5718 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
5719 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
5720 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
5721 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
5722 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
5723 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
5724 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
5725 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
5726 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
5727 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
5728 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
5729 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5730 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5731 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5732 SWIG_RegisterMapping("_wxDash","_long",0);
5733 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5734 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5735 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
5736 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
5737 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
5738 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
5739 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
5740 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
5741 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
5742 }