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