]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.cpp
some fixes and code regeneration
[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 static char* wxStringErrorMsg = "string type is required for parameter";
107
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
110 }
111
112 void wxValidator_SetBellOnError(int doIt = TRUE) {
113 wxValidator::SetBellOnError(doIt);
114 }
115
116 class wxPyValidator : public wxValidator {
117 DECLARE_DYNAMIC_CLASS(wxPyValidator);
118 public:
119 wxPyValidator() {
120 }
121 // wxPyValidator(const wxPyValidator& other);
122
123 ~wxPyValidator() {
124 }
125
126 wxObject* wxPyValidator::Clone() const {
127 wxPyValidator* ptr = NULL;
128 wxPyValidator* self = (wxPyValidator*)this;
129
130 bool doSave = wxPyRestoreThread();
131 if (self->m_myInst.findCallback("Clone")) {
132 PyObject* ro;
133 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
135 }
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
139 // could arise.
140 delete self;
141
142 wxPySaveThread(doSave);
143 return ptr;
144 }
145
146 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
147 DEC_PYCALLBACK_BOOL_(TransferToWindow);
148 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
149
150 PYPRIVATE;
151 // PyObject* m_data;
152 };
153
154 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
155 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
157
158 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
159
160
161 int wxWindow_NewControlId() {
162 return wxWindow::NewControlId();
163 }
164 int wxWindow_NextControlId(int id) {
165 return wxWindow::NextControlId(id);
166 }
167 int wxWindow_PrevControlId(int id) {
168 return wxWindow::PrevControlId(id);
169 }
170 #ifdef __cplusplus
171 extern "C" {
172 #endif
173 static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
174 PyObject * _resultobj;
175 bool _result;
176 char *_kwnames[] = { NULL };
177
178 self = self;
179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
180 return NULL;
181 {
182 wxPy_BEGIN_ALLOW_THREADS;
183 _result = (bool )wxValidator_IsSilent();
184
185 wxPy_END_ALLOW_THREADS;
186 } _resultobj = Py_BuildValue("i",_result);
187 return _resultobj;
188 }
189
190 static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
191 PyObject * _resultobj;
192 int _arg0 = (int ) TRUE;
193 char *_kwnames[] = { "doIt", NULL };
194
195 self = self;
196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
197 return NULL;
198 {
199 wxPy_BEGIN_ALLOW_THREADS;
200 wxValidator_SetBellOnError(_arg0);
201
202 wxPy_END_ALLOW_THREADS;
203 } Py_INCREF(Py_None);
204 _resultobj = Py_None;
205 return _resultobj;
206 }
207
208 static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
209 PyObject * _resultobj;
210 int _result;
211 char *_kwnames[] = { NULL };
212
213 self = self;
214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
215 return NULL;
216 {
217 wxPy_BEGIN_ALLOW_THREADS;
218 _result = (int )wxWindow_NewControlId();
219
220 wxPy_END_ALLOW_THREADS;
221 } _resultobj = Py_BuildValue("i",_result);
222 return _resultobj;
223 }
224
225 static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
226 PyObject * _resultobj;
227 int _result;
228 int _arg0;
229 char *_kwnames[] = { "id", NULL };
230
231 self = self;
232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
233 return NULL;
234 {
235 wxPy_BEGIN_ALLOW_THREADS;
236 _result = (int )wxWindow_NextControlId(_arg0);
237
238 wxPy_END_ALLOW_THREADS;
239 } _resultobj = Py_BuildValue("i",_result);
240 return _resultobj;
241 }
242
243 static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
244 PyObject * _resultobj;
245 int _result;
246 int _arg0;
247 char *_kwnames[] = { "id", NULL };
248
249 self = self;
250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
251 return NULL;
252 {
253 wxPy_BEGIN_ALLOW_THREADS;
254 _result = (int )wxWindow_PrevControlId(_arg0);
255
256 wxPy_END_ALLOW_THREADS;
257 } _resultobj = Py_BuildValue("i",_result);
258 return _resultobj;
259 }
260
261 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
262 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
263 PyObject * _resultobj;
264 bool _result;
265 wxEvtHandler * _arg0;
266 wxEvent * _arg1;
267 PyObject * _argo0 = 0;
268 PyObject * _argo1 = 0;
269 char *_kwnames[] = { "self","event", NULL };
270
271 self = self;
272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
273 return NULL;
274 if (_argo0) {
275 if (_argo0 == Py_None) { _arg0 = NULL; }
276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
278 return NULL;
279 }
280 }
281 if (_argo1) {
282 if (_argo1 == Py_None) { _arg1 = NULL; }
283 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
285 return NULL;
286 }
287 }
288 {
289 wxPy_BEGIN_ALLOW_THREADS;
290 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
291
292 wxPy_END_ALLOW_THREADS;
293 } _resultobj = Py_BuildValue("i",_result);
294 return _resultobj;
295 }
296
297 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
298 static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
299 PyObject * _resultobj;
300 bool _result;
301 wxEvtHandler * _arg0;
302 PyObject * _argo0 = 0;
303 char *_kwnames[] = { "self", NULL };
304
305 self = self;
306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
307 return NULL;
308 if (_argo0) {
309 if (_argo0 == Py_None) { _arg0 = NULL; }
310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
312 return NULL;
313 }
314 }
315 {
316 wxPy_BEGIN_ALLOW_THREADS;
317 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
318
319 wxPy_END_ALLOW_THREADS;
320 } _resultobj = Py_BuildValue("i",_result);
321 return _resultobj;
322 }
323
324 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
325 static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
326 PyObject * _resultobj;
327 wxEvtHandler * _arg0;
328 bool _arg1;
329 PyObject * _argo0 = 0;
330 int tempbool1;
331 char *_kwnames[] = { "self","enabled", NULL };
332
333 self = self;
334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
335 return NULL;
336 if (_argo0) {
337 if (_argo0 == Py_None) { _arg0 = NULL; }
338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
340 return NULL;
341 }
342 }
343 _arg1 = (bool ) tempbool1;
344 {
345 wxPy_BEGIN_ALLOW_THREADS;
346 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
347
348 wxPy_END_ALLOW_THREADS;
349 } Py_INCREF(Py_None);
350 _resultobj = Py_None;
351 return _resultobj;
352 }
353
354 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
355 static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
356 PyObject * _resultobj;
357 wxEvtHandler * _result;
358 wxEvtHandler * _arg0;
359 PyObject * _argo0 = 0;
360 char *_kwnames[] = { "self", NULL };
361 char _ptemp[128];
362
363 self = self;
364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
365 return NULL;
366 if (_argo0) {
367 if (_argo0 == Py_None) { _arg0 = NULL; }
368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
370 return NULL;
371 }
372 }
373 {
374 wxPy_BEGIN_ALLOW_THREADS;
375 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
376
377 wxPy_END_ALLOW_THREADS;
378 } if (_result) {
379 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
380 _resultobj = Py_BuildValue("s",_ptemp);
381 } else {
382 Py_INCREF(Py_None);
383 _resultobj = Py_None;
384 }
385 return _resultobj;
386 }
387
388 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
389 static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
390 PyObject * _resultobj;
391 wxEvtHandler * _result;
392 wxEvtHandler * _arg0;
393 PyObject * _argo0 = 0;
394 char *_kwnames[] = { "self", NULL };
395 char _ptemp[128];
396
397 self = self;
398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
399 return NULL;
400 if (_argo0) {
401 if (_argo0 == Py_None) { _arg0 = NULL; }
402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
404 return NULL;
405 }
406 }
407 {
408 wxPy_BEGIN_ALLOW_THREADS;
409 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
410
411 wxPy_END_ALLOW_THREADS;
412 } if (_result) {
413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
414 _resultobj = Py_BuildValue("s",_ptemp);
415 } else {
416 Py_INCREF(Py_None);
417 _resultobj = Py_None;
418 }
419 return _resultobj;
420 }
421
422 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
423 static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
424 PyObject * _resultobj;
425 wxEvtHandler * _arg0;
426 wxEvtHandler * _arg1;
427 PyObject * _argo0 = 0;
428 PyObject * _argo1 = 0;
429 char *_kwnames[] = { "self","handler", NULL };
430
431 self = self;
432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
433 return NULL;
434 if (_argo0) {
435 if (_argo0 == Py_None) { _arg0 = NULL; }
436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
438 return NULL;
439 }
440 }
441 if (_argo1) {
442 if (_argo1 == Py_None) { _arg1 = NULL; }
443 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
444 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
445 return NULL;
446 }
447 }
448 {
449 wxPy_BEGIN_ALLOW_THREADS;
450 wxEvtHandler_SetNextHandler(_arg0,_arg1);
451
452 wxPy_END_ALLOW_THREADS;
453 } Py_INCREF(Py_None);
454 _resultobj = Py_None;
455 return _resultobj;
456 }
457
458 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
459 static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject * _resultobj;
461 wxEvtHandler * _arg0;
462 wxEvtHandler * _arg1;
463 PyObject * _argo0 = 0;
464 PyObject * _argo1 = 0;
465 char *_kwnames[] = { "self","handler", NULL };
466
467 self = self;
468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
469 return NULL;
470 if (_argo0) {
471 if (_argo0 == Py_None) { _arg0 = NULL; }
472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
474 return NULL;
475 }
476 }
477 if (_argo1) {
478 if (_argo1 == Py_None) { _arg1 = NULL; }
479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
481 return NULL;
482 }
483 }
484 {
485 wxPy_BEGIN_ALLOW_THREADS;
486 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
487
488 wxPy_END_ALLOW_THREADS;
489 } Py_INCREF(Py_None);
490 _resultobj = Py_None;
491 return _resultobj;
492 }
493
494 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
495 if (PyCallable_Check(func)) {
496 self->Connect(id, lastId, eventType,
497 (wxObjectEventFunction) &wxPyCallback::EventThunker,
498 new wxPyCallback(func));
499 }
500 }
501 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
502 PyObject * _resultobj;
503 wxEvtHandler * _arg0;
504 int _arg1;
505 int _arg2;
506 int _arg3;
507 PyObject * _arg4;
508 PyObject * _argo0 = 0;
509 PyObject * _obj4 = 0;
510 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
511
512 self = self;
513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
514 return NULL;
515 if (_argo0) {
516 if (_argo0 == Py_None) { _arg0 = NULL; }
517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
519 return NULL;
520 }
521 }
522 {
523 _arg4 = _obj4;
524 }
525 {
526 wxPy_BEGIN_ALLOW_THREADS;
527 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
528
529 wxPy_END_ALLOW_THREADS;
530 } Py_INCREF(Py_None);
531 _resultobj = Py_None;
532 return _resultobj;
533 }
534
535 static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
536 return self->Disconnect(id, lastId, eventType,
537 (wxObjectEventFunction)
538 &wxPyCallback::EventThunker);
539 }
540 static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
541 PyObject * _resultobj;
542 bool _result;
543 wxEvtHandler * _arg0;
544 int _arg1;
545 int _arg2 = (int ) -1;
546 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
547 PyObject * _argo0 = 0;
548 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
549
550 self = self;
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
552 return NULL;
553 if (_argo0) {
554 if (_argo0 == Py_None) { _arg0 = NULL; }
555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
557 return NULL;
558 }
559 }
560 {
561 wxPy_BEGIN_ALLOW_THREADS;
562 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
563
564 wxPy_END_ALLOW_THREADS;
565 } _resultobj = Py_BuildValue("i",_result);
566 return _resultobj;
567 }
568
569 static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
570 wxValidator *src;
571 wxEvtHandler *dest;
572 src = (wxValidator *) ptr;
573 dest = (wxEvtHandler *) src;
574 return (void *) dest;
575 }
576
577 #define new_wxValidator() (new wxValidator())
578 static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
579 PyObject * _resultobj;
580 wxValidator * _result;
581 char *_kwnames[] = { NULL };
582 char _ptemp[128];
583
584 self = self;
585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
586 return NULL;
587 {
588 wxPy_BEGIN_ALLOW_THREADS;
589 _result = (wxValidator *)new_wxValidator();
590
591 wxPy_END_ALLOW_THREADS;
592 } if (_result) {
593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
594 _resultobj = Py_BuildValue("s",_ptemp);
595 } else {
596 Py_INCREF(Py_None);
597 _resultobj = Py_None;
598 }
599 return _resultobj;
600 }
601
602 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
603 static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
604 PyObject * _resultobj;
605 wxValidator * _result;
606 wxValidator * _arg0;
607 PyObject * _argo0 = 0;
608 char *_kwnames[] = { "self", NULL };
609 char _ptemp[128];
610
611 self = self;
612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
613 return NULL;
614 if (_argo0) {
615 if (_argo0 == Py_None) { _arg0 = NULL; }
616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
618 return NULL;
619 }
620 }
621 {
622 wxPy_BEGIN_ALLOW_THREADS;
623 _result = (wxValidator *)wxValidator_Clone(_arg0);
624
625 wxPy_END_ALLOW_THREADS;
626 } if (_result) {
627 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_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 wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
637 static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
638 PyObject * _resultobj;
639 wxWindow * _result;
640 wxValidator * _arg0;
641 PyObject * _argo0 = 0;
642 char *_kwnames[] = { "self", NULL };
643 char _ptemp[128];
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
652 return NULL;
653 }
654 }
655 {
656 wxPy_BEGIN_ALLOW_THREADS;
657 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
658
659 wxPy_END_ALLOW_THREADS;
660 } if (_result) {
661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
662 _resultobj = Py_BuildValue("s",_ptemp);
663 } else {
664 Py_INCREF(Py_None);
665 _resultobj = Py_None;
666 }
667 return _resultobj;
668 }
669
670 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
671 static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxValidator * _arg0;
674 wxWindow * _arg1;
675 PyObject * _argo0 = 0;
676 PyObject * _argo1 = 0;
677 char *_kwnames[] = { "self","window", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
686 return NULL;
687 }
688 }
689 if (_argo1) {
690 if (_argo1 == Py_None) { _arg1 = NULL; }
691 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
693 return NULL;
694 }
695 }
696 {
697 wxPy_BEGIN_ALLOW_THREADS;
698 wxValidator_SetWindow(_arg0,_arg1);
699
700 wxPy_END_ALLOW_THREADS;
701 } Py_INCREF(Py_None);
702 _resultobj = Py_None;
703 return _resultobj;
704 }
705
706 static void *SwigwxPyValidatorTowxValidator(void *ptr) {
707 wxPyValidator *src;
708 wxValidator *dest;
709 src = (wxPyValidator *) ptr;
710 dest = (wxValidator *) src;
711 return (void *) dest;
712 }
713
714 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
715 wxPyValidator *src;
716 wxEvtHandler *dest;
717 src = (wxPyValidator *) ptr;
718 dest = (wxEvtHandler *) src;
719 return (void *) dest;
720 }
721
722 #define new_wxPyValidator() (new wxPyValidator())
723 static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
724 PyObject * _resultobj;
725 wxPyValidator * _result;
726 char *_kwnames[] = { NULL };
727 char _ptemp[128];
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
731 return NULL;
732 {
733 wxPy_BEGIN_ALLOW_THREADS;
734 _result = (wxPyValidator *)new_wxPyValidator();
735
736 wxPy_END_ALLOW_THREADS;
737 } if (_result) {
738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
739 _resultobj = Py_BuildValue("s",_ptemp);
740 } else {
741 Py_INCREF(Py_None);
742 _resultobj = Py_None;
743 }
744 return _resultobj;
745 }
746
747 static void wxPyValidator_Destroy(wxPyValidator *self) { delete self; }
748 static PyObject *_wrap_wxPyValidator_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
749 PyObject * _resultobj;
750 wxPyValidator * _arg0;
751 PyObject * _argo0 = 0;
752 char *_kwnames[] = { "self", NULL };
753
754 self = self;
755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyValidator_Destroy",_kwnames,&_argo0))
756 return NULL;
757 if (_argo0) {
758 if (_argo0 == Py_None) { _arg0 = NULL; }
759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
761 return NULL;
762 }
763 }
764 {
765 wxPy_BEGIN_ALLOW_THREADS;
766 wxPyValidator_Destroy(_arg0);
767
768 wxPy_END_ALLOW_THREADS;
769 } Py_INCREF(Py_None);
770 _resultobj = Py_None;
771 return _resultobj;
772 }
773
774 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
775 static PyObject *_wrap_wxPyValidator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject * _resultobj;
777 wxPyValidator * _arg0;
778 PyObject * _arg1;
779 int _arg2 = (int ) TRUE;
780 PyObject * _argo0 = 0;
781 PyObject * _obj1 = 0;
782 char *_kwnames[] = { "self","self","incref", NULL };
783
784 self = self;
785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyValidator__setSelf",_kwnames,&_argo0,&_obj1,&_arg2))
786 return NULL;
787 if (_argo0) {
788 if (_argo0 == Py_None) { _arg0 = NULL; }
789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
791 return NULL;
792 }
793 }
794 {
795 _arg1 = _obj1;
796 }
797 {
798 wxPy_BEGIN_ALLOW_THREADS;
799 wxPyValidator__setSelf(_arg0,_arg1,_arg2);
800
801 wxPy_END_ALLOW_THREADS;
802 } Py_INCREF(Py_None);
803 _resultobj = Py_None;
804 return _resultobj;
805 }
806
807 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
808 wxWindow *src;
809 wxEvtHandler *dest;
810 src = (wxWindow *) ptr;
811 dest = (wxEvtHandler *) src;
812 return (void *) dest;
813 }
814
815 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
816 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
817 PyObject * _resultobj;
818 wxWindow * _result;
819 wxWindow * _arg0;
820 wxWindowID _arg1;
821 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
822 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
823 long _arg4 = (long ) 0;
824 char * _arg5 = (char *) "panel";
825 PyObject * _argo0 = 0;
826 wxPoint temp;
827 PyObject * _obj2 = 0;
828 wxSize temp0;
829 PyObject * _obj3 = 0;
830 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
831 char _ptemp[128];
832
833 self = self;
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
835 return NULL;
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
840 return NULL;
841 }
842 }
843 if (_obj2)
844 {
845 _arg2 = &temp;
846 if (! wxPoint_helper(_obj2, &_arg2))
847 return NULL;
848 }
849 if (_obj3)
850 {
851 _arg3 = &temp0;
852 if (! wxSize_helper(_obj3, &_arg3))
853 return NULL;
854 }
855 {
856 wxPy_BEGIN_ALLOW_THREADS;
857 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
858
859 wxPy_END_ALLOW_THREADS;
860 } if (_result) {
861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
862 _resultobj = Py_BuildValue("s",_ptemp);
863 } else {
864 Py_INCREF(Py_None);
865 _resultobj = Py_None;
866 }
867 return _resultobj;
868 }
869
870 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
871 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 wxWindow * _arg0;
874 PyObject * _argo0 = 0;
875 char *_kwnames[] = { "self", NULL };
876
877 self = self;
878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
879 return NULL;
880 if (_argo0) {
881 if (_argo0 == Py_None) { _arg0 = NULL; }
882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
884 return NULL;
885 }
886 }
887 {
888 wxPy_BEGIN_ALLOW_THREADS;
889 wxWindow_CaptureMouse(_arg0);
890
891 wxPy_END_ALLOW_THREADS;
892 } Py_INCREF(Py_None);
893 _resultobj = Py_None;
894 return _resultobj;
895 }
896
897 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
898 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
899 PyObject * _resultobj;
900 wxWindow * _arg0;
901 int _arg1 = (int ) wxBOTH;
902 PyObject * _argo0 = 0;
903 char *_kwnames[] = { "self","direction", NULL };
904
905 self = self;
906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
907 return NULL;
908 if (_argo0) {
909 if (_argo0 == Py_None) { _arg0 = NULL; }
910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
912 return NULL;
913 }
914 }
915 {
916 wxPy_BEGIN_ALLOW_THREADS;
917 wxWindow_Center(_arg0,_arg1);
918
919 wxPy_END_ALLOW_THREADS;
920 } Py_INCREF(Py_None);
921 _resultobj = Py_None;
922 return _resultobj;
923 }
924
925 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
926 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject * _resultobj;
928 wxWindow * _arg0;
929 int _arg1 = (int ) wxBOTH;
930 PyObject * _argo0 = 0;
931 char *_kwnames[] = { "self","direction", NULL };
932
933 self = self;
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
935 return NULL;
936 if (_argo0) {
937 if (_argo0 == Py_None) { _arg0 = NULL; }
938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
940 return NULL;
941 }
942 }
943 {
944 wxPy_BEGIN_ALLOW_THREADS;
945 wxWindow_Centre(_arg0,_arg1);
946
947 wxPy_END_ALLOW_THREADS;
948 } Py_INCREF(Py_None);
949 _resultobj = Py_None;
950 return _resultobj;
951 }
952
953 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
954 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
955 PyObject * _resultobj;
956 wxWindow * _arg0;
957 int _arg1 = (int ) wxBOTH;
958 PyObject * _argo0 = 0;
959 char *_kwnames[] = { "self","direction", NULL };
960
961 self = self;
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
963 return NULL;
964 if (_argo0) {
965 if (_argo0 == Py_None) { _arg0 = NULL; }
966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
968 return NULL;
969 }
970 }
971 {
972 wxPy_BEGIN_ALLOW_THREADS;
973 wxWindow_CentreOnParent(_arg0,_arg1);
974
975 wxPy_END_ALLOW_THREADS;
976 } Py_INCREF(Py_None);
977 _resultobj = Py_None;
978 return _resultobj;
979 }
980
981 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
982 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
983 PyObject * _resultobj;
984 wxWindow * _arg0;
985 int _arg1 = (int ) wxBOTH;
986 PyObject * _argo0 = 0;
987 char *_kwnames[] = { "self","direction", NULL };
988
989 self = self;
990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
991 return NULL;
992 if (_argo0) {
993 if (_argo0 == Py_None) { _arg0 = NULL; }
994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
996 return NULL;
997 }
998 }
999 {
1000 wxPy_BEGIN_ALLOW_THREADS;
1001 wxWindow_CenterOnParent(_arg0,_arg1);
1002
1003 wxPy_END_ALLOW_THREADS;
1004 } Py_INCREF(Py_None);
1005 _resultobj = Py_None;
1006 return _resultobj;
1007 }
1008
1009 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1010 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1011 PyObject * _resultobj;
1012 wxWindow * _arg0;
1013 int * _arg1;
1014 int * _arg2;
1015 PyObject * _argo0 = 0;
1016 int temp;
1017 PyObject * _obj1 = 0;
1018 int temp0;
1019 PyObject * _obj2 = 0;
1020 char *_kwnames[] = { "self","x","y", NULL };
1021
1022 self = self;
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
1024 return NULL;
1025 if (_argo0) {
1026 if (_argo0 == Py_None) { _arg0 = NULL; }
1027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1029 return NULL;
1030 }
1031 }
1032 {
1033 temp = (int) PyInt_AsLong(_obj1);
1034 _arg1 = &temp;
1035 }
1036 {
1037 temp0 = (int) PyInt_AsLong(_obj2);
1038 _arg2 = &temp0;
1039 }
1040 {
1041 wxPy_BEGIN_ALLOW_THREADS;
1042 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
1043
1044 wxPy_END_ALLOW_THREADS;
1045 } Py_INCREF(Py_None);
1046 _resultobj = Py_None;
1047 {
1048 PyObject *o;
1049 o = PyInt_FromLong((long) (*_arg1));
1050 _resultobj = t_output_helper(_resultobj, o);
1051 }
1052 {
1053 PyObject *o;
1054 o = PyInt_FromLong((long) (*_arg2));
1055 _resultobj = t_output_helper(_resultobj, o);
1056 }
1057 return _resultobj;
1058 }
1059
1060 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1061 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxPoint * _result;
1064 wxWindow * _arg0;
1065 wxPoint * _arg1;
1066 PyObject * _argo0 = 0;
1067 wxPoint temp;
1068 PyObject * _obj1 = 0;
1069 char *_kwnames[] = { "self","pt", NULL };
1070 char _ptemp[128];
1071
1072 self = self;
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
1074 return NULL;
1075 if (_argo0) {
1076 if (_argo0 == Py_None) { _arg0 = NULL; }
1077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1079 return NULL;
1080 }
1081 }
1082 {
1083 _arg1 = &temp;
1084 if (! wxPoint_helper(_obj1, &_arg1))
1085 return NULL;
1086 }
1087 {
1088 wxPy_BEGIN_ALLOW_THREADS;
1089 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
1090
1091 wxPy_END_ALLOW_THREADS;
1092 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1093 _resultobj = Py_BuildValue("s",_ptemp);
1094 return _resultobj;
1095 }
1096
1097 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1098 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
1099 PyObject * _resultobj;
1100 bool _result;
1101 wxWindow * _arg0;
1102 int _arg1 = (int ) FALSE;
1103 PyObject * _argo0 = 0;
1104 char *_kwnames[] = { "self","force", NULL };
1105
1106 self = self;
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
1108 return NULL;
1109 if (_argo0) {
1110 if (_argo0 == Py_None) { _arg0 = NULL; }
1111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1113 return NULL;
1114 }
1115 }
1116 {
1117 wxPy_BEGIN_ALLOW_THREADS;
1118 _result = (bool )wxWindow_Close(_arg0,_arg1);
1119
1120 wxPy_END_ALLOW_THREADS;
1121 } _resultobj = Py_BuildValue("i",_result);
1122 return _resultobj;
1123 }
1124
1125 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1126 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject * _resultobj;
1128 bool _result;
1129 wxWindow * _arg0;
1130 PyObject * _argo0 = 0;
1131 char *_kwnames[] = { "self", NULL };
1132
1133 self = self;
1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
1135 return NULL;
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1140 return NULL;
1141 }
1142 }
1143 {
1144 wxPy_BEGIN_ALLOW_THREADS;
1145 _result = (bool )wxWindow_Destroy(_arg0);
1146
1147 wxPy_END_ALLOW_THREADS;
1148 } _resultobj = Py_BuildValue("i",_result);
1149 return _resultobj;
1150 }
1151
1152 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1153 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1154 PyObject * _resultobj;
1155 wxWindow * _arg0;
1156 PyObject * _argo0 = 0;
1157 char *_kwnames[] = { "self", NULL };
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
1161 return NULL;
1162 if (_argo0) {
1163 if (_argo0 == Py_None) { _arg0 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1166 return NULL;
1167 }
1168 }
1169 {
1170 wxPy_BEGIN_ALLOW_THREADS;
1171 wxWindow_DestroyChildren(_arg0);
1172
1173 wxPy_END_ALLOW_THREADS;
1174 } Py_INCREF(Py_None);
1175 _resultobj = Py_None;
1176 return _resultobj;
1177 }
1178
1179 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1180 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 wxWindow * _arg0;
1183 bool _arg1;
1184 PyObject * _argo0 = 0;
1185 int tempbool1;
1186 char *_kwnames[] = { "self","enable", NULL };
1187
1188 self = self;
1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
1190 return NULL;
1191 if (_argo0) {
1192 if (_argo0 == Py_None) { _arg0 = NULL; }
1193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1195 return NULL;
1196 }
1197 }
1198 _arg1 = (bool ) tempbool1;
1199 {
1200 wxPy_BEGIN_ALLOW_THREADS;
1201 wxWindow_Enable(_arg0,_arg1);
1202
1203 wxPy_END_ALLOW_THREADS;
1204 } Py_INCREF(Py_None);
1205 _resultobj = Py_None;
1206 return _resultobj;
1207 }
1208
1209 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1210 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxWindow * _result;
1213 wxWindow * _arg0;
1214 long _arg1;
1215 PyObject * _argo0 = 0;
1216 char *_kwnames[] = { "self","id", NULL };
1217 char _ptemp[128];
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1226 return NULL;
1227 }
1228 }
1229 {
1230 wxPy_BEGIN_ALLOW_THREADS;
1231 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
1232
1233 wxPy_END_ALLOW_THREADS;
1234 } if (_result) {
1235 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1236 _resultobj = Py_BuildValue("s",_ptemp);
1237 } else {
1238 Py_INCREF(Py_None);
1239 _resultobj = Py_None;
1240 }
1241 return _resultobj;
1242 }
1243
1244 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1245 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject * _resultobj;
1247 wxWindow * _result;
1248 wxWindow * _arg0;
1249 wxString * _arg1;
1250 PyObject * _argo0 = 0;
1251 PyObject * _obj1 = 0;
1252 char *_kwnames[] = { "self","name", NULL };
1253 char _ptemp[128];
1254
1255 self = self;
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
1257 return NULL;
1258 if (_argo0) {
1259 if (_argo0 == Py_None) { _arg0 = NULL; }
1260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1262 return NULL;
1263 }
1264 }
1265 {
1266 if (!PyString_Check(_obj1)) {
1267 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1268 return NULL;
1269 }
1270 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1271 }
1272 {
1273 wxPy_BEGIN_ALLOW_THREADS;
1274 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
1275
1276 wxPy_END_ALLOW_THREADS;
1277 } if (_result) {
1278 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1279 _resultobj = Py_BuildValue("s",_ptemp);
1280 } else {
1281 Py_INCREF(Py_None);
1282 _resultobj = Py_None;
1283 }
1284 {
1285 if (_obj1)
1286 delete _arg1;
1287 }
1288 return _resultobj;
1289 }
1290
1291 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1292 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject * _resultobj;
1294 wxWindow * _arg0;
1295 PyObject * _argo0 = 0;
1296 char *_kwnames[] = { "self", NULL };
1297
1298 self = self;
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
1300 return NULL;
1301 if (_argo0) {
1302 if (_argo0 == Py_None) { _arg0 = NULL; }
1303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1305 return NULL;
1306 }
1307 }
1308 {
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 wxWindow_Fit(_arg0);
1311
1312 wxPy_END_ALLOW_THREADS;
1313 } Py_INCREF(Py_None);
1314 _resultobj = Py_None;
1315 return _resultobj;
1316 }
1317
1318 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1319 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1320 PyObject * _resultobj;
1321 wxColour * _result;
1322 wxWindow * _arg0;
1323 PyObject * _argo0 = 0;
1324 char *_kwnames[] = { "self", NULL };
1325 char _ptemp[128];
1326
1327 self = self;
1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
1329 return NULL;
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1334 return NULL;
1335 }
1336 }
1337 {
1338 wxPy_BEGIN_ALLOW_THREADS;
1339 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
1340
1341 wxPy_END_ALLOW_THREADS;
1342 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1343 _resultobj = Py_BuildValue("s",_ptemp);
1344 return _resultobj;
1345 }
1346
1347 static PyObject * wxWindow_GetChildren(wxWindow *self) {
1348 wxWindowList& list = self->GetChildren();
1349 return wxPy_ConvertList(&list, "wxWindow");
1350 }
1351 static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject * _resultobj;
1353 PyObject * _result;
1354 wxWindow * _arg0;
1355 PyObject * _argo0 = 0;
1356 char *_kwnames[] = { "self", NULL };
1357
1358 self = self;
1359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1360 return NULL;
1361 if (_argo0) {
1362 if (_argo0 == Py_None) { _arg0 = NULL; }
1363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1365 return NULL;
1366 }
1367 }
1368 {
1369 wxPy_BEGIN_ALLOW_THREADS;
1370 _result = (PyObject *)wxWindow_GetChildren(_arg0);
1371
1372 wxPy_END_ALLOW_THREADS;
1373 }{
1374 _resultobj = _result;
1375 }
1376 return _resultobj;
1377 }
1378
1379 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1380 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject * _resultobj;
1382 int _result;
1383 wxWindow * _arg0;
1384 PyObject * _argo0 = 0;
1385 char *_kwnames[] = { "self", NULL };
1386
1387 self = self;
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
1389 return NULL;
1390 if (_argo0) {
1391 if (_argo0 == Py_None) { _arg0 = NULL; }
1392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1394 return NULL;
1395 }
1396 }
1397 {
1398 wxPy_BEGIN_ALLOW_THREADS;
1399 _result = (int )wxWindow_GetCharHeight(_arg0);
1400
1401 wxPy_END_ALLOW_THREADS;
1402 } _resultobj = Py_BuildValue("i",_result);
1403 return _resultobj;
1404 }
1405
1406 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1407 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject * _resultobj;
1409 int _result;
1410 wxWindow * _arg0;
1411 PyObject * _argo0 = 0;
1412 char *_kwnames[] = { "self", NULL };
1413
1414 self = self;
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
1416 return NULL;
1417 if (_argo0) {
1418 if (_argo0 == Py_None) { _arg0 = NULL; }
1419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1421 return NULL;
1422 }
1423 }
1424 {
1425 wxPy_BEGIN_ALLOW_THREADS;
1426 _result = (int )wxWindow_GetCharWidth(_arg0);
1427
1428 wxPy_END_ALLOW_THREADS;
1429 } _resultobj = Py_BuildValue("i",_result);
1430 return _resultobj;
1431 }
1432
1433 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1434 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject * _resultobj;
1436 wxWindow * _arg0;
1437 int * _arg1;
1438 int temp;
1439 int * _arg2;
1440 int temp0;
1441 PyObject * _argo0 = 0;
1442 char *_kwnames[] = { "self", NULL };
1443
1444 self = self;
1445 {
1446 _arg1 = &temp;
1447 }
1448 {
1449 _arg2 = &temp0;
1450 }
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
1452 return NULL;
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1457 return NULL;
1458 }
1459 }
1460 {
1461 wxPy_BEGIN_ALLOW_THREADS;
1462 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
1463
1464 wxPy_END_ALLOW_THREADS;
1465 } Py_INCREF(Py_None);
1466 _resultobj = Py_None;
1467 {
1468 PyObject *o;
1469 o = PyInt_FromLong((long) (*_arg1));
1470 _resultobj = t_output_helper(_resultobj, o);
1471 }
1472 {
1473 PyObject *o;
1474 o = PyInt_FromLong((long) (*_arg2));
1475 _resultobj = t_output_helper(_resultobj, o);
1476 }
1477 return _resultobj;
1478 }
1479
1480 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1481 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject * _resultobj;
1483 wxSize * _result;
1484 wxWindow * _arg0;
1485 PyObject * _argo0 = 0;
1486 char *_kwnames[] = { "self", NULL };
1487 char _ptemp[128];
1488
1489 self = self;
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
1491 return NULL;
1492 if (_argo0) {
1493 if (_argo0 == Py_None) { _arg0 = NULL; }
1494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1496 return NULL;
1497 }
1498 }
1499 {
1500 wxPy_BEGIN_ALLOW_THREADS;
1501 _result = new wxSize (wxWindow_GetClientSize(_arg0));
1502
1503 wxPy_END_ALLOW_THREADS;
1504 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1505 _resultobj = Py_BuildValue("s",_ptemp);
1506 return _resultobj;
1507 }
1508
1509 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1510 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 wxLayoutConstraints * _result;
1513 wxWindow * _arg0;
1514 PyObject * _argo0 = 0;
1515 char *_kwnames[] = { "self", NULL };
1516 char _ptemp[128];
1517
1518 self = self;
1519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
1520 return NULL;
1521 if (_argo0) {
1522 if (_argo0 == Py_None) { _arg0 = NULL; }
1523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1525 return NULL;
1526 }
1527 }
1528 {
1529 wxPy_BEGIN_ALLOW_THREADS;
1530 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
1531
1532 wxPy_END_ALLOW_THREADS;
1533 } if (_result) {
1534 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1535 _resultobj = Py_BuildValue("s",_ptemp);
1536 } else {
1537 Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 }
1540 return _resultobj;
1541 }
1542
1543 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1544 static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject * _resultobj;
1546 wxEvtHandler * _result;
1547 wxWindow * _arg0;
1548 PyObject * _argo0 = 0;
1549 char *_kwnames[] = { "self", NULL };
1550 char _ptemp[128];
1551
1552 self = self;
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1554 return NULL;
1555 if (_argo0) {
1556 if (_argo0 == Py_None) { _arg0 = NULL; }
1557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1559 return NULL;
1560 }
1561 }
1562 {
1563 wxPy_BEGIN_ALLOW_THREADS;
1564 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1565
1566 wxPy_END_ALLOW_THREADS;
1567 } if (_result) {
1568 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
1569 _resultobj = Py_BuildValue("s",_ptemp);
1570 } else {
1571 Py_INCREF(Py_None);
1572 _resultobj = Py_None;
1573 }
1574 return _resultobj;
1575 }
1576
1577 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1578 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject * _resultobj;
1580 wxFont * _result;
1581 wxWindow * _arg0;
1582 PyObject * _argo0 = 0;
1583 char *_kwnames[] = { "self", NULL };
1584 char _ptemp[128];
1585
1586 self = self;
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
1588 return NULL;
1589 if (_argo0) {
1590 if (_argo0 == Py_None) { _arg0 = NULL; }
1591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1593 return NULL;
1594 }
1595 }
1596 {
1597 wxPy_BEGIN_ALLOW_THREADS;
1598 wxFont & _result_ref = wxWindow_GetFont(_arg0);
1599 _result = (wxFont *) &_result_ref;
1600
1601 wxPy_END_ALLOW_THREADS;
1602 } if (_result) {
1603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1604 _resultobj = Py_BuildValue("s",_ptemp);
1605 } else {
1606 Py_INCREF(Py_None);
1607 _resultobj = Py_None;
1608 }
1609 return _resultobj;
1610 }
1611
1612 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1613 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject * _resultobj;
1615 wxColour * _result;
1616 wxWindow * _arg0;
1617 PyObject * _argo0 = 0;
1618 char *_kwnames[] = { "self", NULL };
1619 char _ptemp[128];
1620
1621 self = self;
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
1623 return NULL;
1624 if (_argo0) {
1625 if (_argo0 == Py_None) { _arg0 = NULL; }
1626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1628 return NULL;
1629 }
1630 }
1631 {
1632 wxPy_BEGIN_ALLOW_THREADS;
1633 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
1634
1635 wxPy_END_ALLOW_THREADS;
1636 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1637 _resultobj = Py_BuildValue("s",_ptemp);
1638 return _resultobj;
1639 }
1640
1641 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1642 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject * _resultobj;
1644 wxWindow * _result;
1645 wxWindow * _arg0;
1646 PyObject * _argo0 = 0;
1647 char *_kwnames[] = { "self", NULL };
1648 char _ptemp[128];
1649
1650 self = self;
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1657 return NULL;
1658 }
1659 }
1660 {
1661 wxPy_BEGIN_ALLOW_THREADS;
1662 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
1663
1664 wxPy_END_ALLOW_THREADS;
1665 } if (_result) {
1666 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1667 _resultobj = Py_BuildValue("s",_ptemp);
1668 } else {
1669 Py_INCREF(Py_None);
1670 _resultobj = Py_None;
1671 }
1672 return _resultobj;
1673 }
1674
1675 static long wxWindow_GetHandle(wxWindow *self) {
1676 return wxPyGetWinHandle(self); //(long)self->GetHandle();
1677 }
1678 static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject * _resultobj;
1680 long _result;
1681 wxWindow * _arg0;
1682 PyObject * _argo0 = 0;
1683 char *_kwnames[] = { "self", NULL };
1684
1685 self = self;
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
1687 return NULL;
1688 if (_argo0) {
1689 if (_argo0 == Py_None) { _arg0 = NULL; }
1690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1692 return NULL;
1693 }
1694 }
1695 {
1696 wxPy_BEGIN_ALLOW_THREADS;
1697 _result = (long )wxWindow_GetHandle(_arg0);
1698
1699 wxPy_END_ALLOW_THREADS;
1700 } _resultobj = Py_BuildValue("l",_result);
1701 return _resultobj;
1702 }
1703
1704 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1705 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject * _resultobj;
1707 int _result;
1708 wxWindow * _arg0;
1709 PyObject * _argo0 = 0;
1710 char *_kwnames[] = { "self", NULL };
1711
1712 self = self;
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
1714 return NULL;
1715 if (_argo0) {
1716 if (_argo0 == Py_None) { _arg0 = NULL; }
1717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1719 return NULL;
1720 }
1721 }
1722 {
1723 wxPy_BEGIN_ALLOW_THREADS;
1724 _result = (int )wxWindow_GetId(_arg0);
1725
1726 wxPy_END_ALLOW_THREADS;
1727 } _resultobj = Py_BuildValue("i",_result);
1728 return _resultobj;
1729 }
1730
1731 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1732 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject * _resultobj;
1734 wxString * _result;
1735 wxWindow * _arg0;
1736 PyObject * _argo0 = 0;
1737 char *_kwnames[] = { "self", NULL };
1738
1739 self = self;
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
1741 return NULL;
1742 if (_argo0) {
1743 if (_argo0 == Py_None) { _arg0 = NULL; }
1744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1746 return NULL;
1747 }
1748 }
1749 {
1750 wxPy_BEGIN_ALLOW_THREADS;
1751 _result = new wxString (wxWindow_GetLabel(_arg0));
1752
1753 wxPy_END_ALLOW_THREADS;
1754 }{
1755 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1756 }
1757 {
1758 delete _result;
1759 }
1760 return _resultobj;
1761 }
1762
1763 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1764 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject * _resultobj;
1766 wxWindow * _arg0;
1767 wxString * _arg1;
1768 PyObject * _argo0 = 0;
1769 PyObject * _obj1 = 0;
1770 char *_kwnames[] = { "self","label", NULL };
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
1774 return NULL;
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1779 return NULL;
1780 }
1781 }
1782 {
1783 if (!PyString_Check(_obj1)) {
1784 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1785 return NULL;
1786 }
1787 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1788 }
1789 {
1790 wxPy_BEGIN_ALLOW_THREADS;
1791 wxWindow_SetLabel(_arg0,*_arg1);
1792
1793 wxPy_END_ALLOW_THREADS;
1794 } Py_INCREF(Py_None);
1795 _resultobj = Py_None;
1796 {
1797 if (_obj1)
1798 delete _arg1;
1799 }
1800 return _resultobj;
1801 }
1802
1803 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1804 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 wxString * _result;
1807 wxWindow * _arg0;
1808 PyObject * _argo0 = 0;
1809 char *_kwnames[] = { "self", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1818 return NULL;
1819 }
1820 }
1821 {
1822 wxPy_BEGIN_ALLOW_THREADS;
1823 _result = new wxString (wxWindow_GetName(_arg0));
1824
1825 wxPy_END_ALLOW_THREADS;
1826 }{
1827 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1828 }
1829 {
1830 delete _result;
1831 }
1832 return _resultobj;
1833 }
1834
1835 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1836 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1837 PyObject * _resultobj;
1838 wxWindow * _result;
1839 wxWindow * _arg0;
1840 PyObject * _argo0 = 0;
1841 char *_kwnames[] = { "self", NULL };
1842 char _ptemp[128];
1843
1844 self = self;
1845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
1846 return NULL;
1847 if (_argo0) {
1848 if (_argo0 == Py_None) { _arg0 = NULL; }
1849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1851 return NULL;
1852 }
1853 }
1854 {
1855 wxPy_BEGIN_ALLOW_THREADS;
1856 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1857
1858 wxPy_END_ALLOW_THREADS;
1859 } if (_result) {
1860 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1861 _resultobj = Py_BuildValue("s",_ptemp);
1862 } else {
1863 Py_INCREF(Py_None);
1864 _resultobj = Py_None;
1865 }
1866 return _resultobj;
1867 }
1868
1869 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1870 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxWindow * _arg0;
1873 int * _arg1;
1874 int temp;
1875 int * _arg2;
1876 int temp0;
1877 PyObject * _argo0 = 0;
1878 char *_kwnames[] = { "self", NULL };
1879
1880 self = self;
1881 {
1882 _arg1 = &temp;
1883 }
1884 {
1885 _arg2 = &temp0;
1886 }
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1893 return NULL;
1894 }
1895 }
1896 {
1897 wxPy_BEGIN_ALLOW_THREADS;
1898 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1899
1900 wxPy_END_ALLOW_THREADS;
1901 } Py_INCREF(Py_None);
1902 _resultobj = Py_None;
1903 {
1904 PyObject *o;
1905 o = PyInt_FromLong((long) (*_arg1));
1906 _resultobj = t_output_helper(_resultobj, o);
1907 }
1908 {
1909 PyObject *o;
1910 o = PyInt_FromLong((long) (*_arg2));
1911 _resultobj = t_output_helper(_resultobj, o);
1912 }
1913 return _resultobj;
1914 }
1915
1916 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1917 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject * _resultobj;
1919 wxPoint * _result;
1920 wxWindow * _arg0;
1921 PyObject * _argo0 = 0;
1922 char *_kwnames[] = { "self", NULL };
1923 char _ptemp[128];
1924
1925 self = self;
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
1927 return NULL;
1928 if (_argo0) {
1929 if (_argo0 == Py_None) { _arg0 = NULL; }
1930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1932 return NULL;
1933 }
1934 }
1935 {
1936 wxPy_BEGIN_ALLOW_THREADS;
1937 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1938
1939 wxPy_END_ALLOW_THREADS;
1940 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1941 _resultobj = Py_BuildValue("s",_ptemp);
1942 return _resultobj;
1943 }
1944
1945 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1946 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject * _resultobj;
1948 wxRect * _result;
1949 wxWindow * _arg0;
1950 PyObject * _argo0 = 0;
1951 char *_kwnames[] = { "self", NULL };
1952 char _ptemp[128];
1953
1954 self = self;
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
1956 return NULL;
1957 if (_argo0) {
1958 if (_argo0 == Py_None) { _arg0 = NULL; }
1959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1961 return NULL;
1962 }
1963 }
1964 {
1965 wxPy_BEGIN_ALLOW_THREADS;
1966 _result = new wxRect (wxWindow_GetRect(_arg0));
1967
1968 wxPy_END_ALLOW_THREADS;
1969 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1970 _resultobj = Py_BuildValue("s",_ptemp);
1971 return _resultobj;
1972 }
1973
1974 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1975 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
1976 PyObject * _resultobj;
1977 int _result;
1978 wxWindow * _arg0;
1979 int _arg1;
1980 PyObject * _argo0 = 0;
1981 char *_kwnames[] = { "self","orientation", NULL };
1982
1983 self = self;
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
1985 return NULL;
1986 if (_argo0) {
1987 if (_argo0 == Py_None) { _arg0 = NULL; }
1988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1990 return NULL;
1991 }
1992 }
1993 {
1994 wxPy_BEGIN_ALLOW_THREADS;
1995 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1996
1997 wxPy_END_ALLOW_THREADS;
1998 } _resultobj = Py_BuildValue("i",_result);
1999 return _resultobj;
2000 }
2001
2002 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2003 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject * _resultobj;
2005 int _result;
2006 wxWindow * _arg0;
2007 int _arg1;
2008 PyObject * _argo0 = 0;
2009 char *_kwnames[] = { "self","orientation", NULL };
2010
2011 self = self;
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
2013 return NULL;
2014 if (_argo0) {
2015 if (_argo0 == Py_None) { _arg0 = NULL; }
2016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2018 return NULL;
2019 }
2020 }
2021 {
2022 wxPy_BEGIN_ALLOW_THREADS;
2023 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
2024
2025 wxPy_END_ALLOW_THREADS;
2026 } _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028 }
2029
2030 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2031 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject * _resultobj;
2033 int _result;
2034 wxWindow * _arg0;
2035 int _arg1;
2036 PyObject * _argo0 = 0;
2037 char *_kwnames[] = { "self","orientation", NULL };
2038
2039 self = self;
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
2041 return NULL;
2042 if (_argo0) {
2043 if (_argo0 == Py_None) { _arg0 = NULL; }
2044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2046 return NULL;
2047 }
2048 }
2049 {
2050 wxPy_BEGIN_ALLOW_THREADS;
2051 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
2052
2053 wxPy_END_ALLOW_THREADS;
2054 } _resultobj = Py_BuildValue("i",_result);
2055 return _resultobj;
2056 }
2057
2058 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2059 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2060 PyObject * _resultobj;
2061 wxWindow * _arg0;
2062 int * _arg1;
2063 int temp;
2064 int * _arg2;
2065 int temp0;
2066 PyObject * _argo0 = 0;
2067 char *_kwnames[] = { "self", NULL };
2068
2069 self = self;
2070 {
2071 _arg1 = &temp;
2072 }
2073 {
2074 _arg2 = &temp0;
2075 }
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
2077 return NULL;
2078 if (_argo0) {
2079 if (_argo0 == Py_None) { _arg0 = NULL; }
2080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2082 return NULL;
2083 }
2084 }
2085 {
2086 wxPy_BEGIN_ALLOW_THREADS;
2087 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
2088
2089 wxPy_END_ALLOW_THREADS;
2090 } Py_INCREF(Py_None);
2091 _resultobj = Py_None;
2092 {
2093 PyObject *o;
2094 o = PyInt_FromLong((long) (*_arg1));
2095 _resultobj = t_output_helper(_resultobj, o);
2096 }
2097 {
2098 PyObject *o;
2099 o = PyInt_FromLong((long) (*_arg2));
2100 _resultobj = t_output_helper(_resultobj, o);
2101 }
2102 return _resultobj;
2103 }
2104
2105 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2106 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject * _resultobj;
2108 wxSize * _result;
2109 wxWindow * _arg0;
2110 PyObject * _argo0 = 0;
2111 char *_kwnames[] = { "self", NULL };
2112 char _ptemp[128];
2113
2114 self = self;
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
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_GetSize. Expected _wxWindow_p.");
2121 return NULL;
2122 }
2123 }
2124 {
2125 wxPy_BEGIN_ALLOW_THREADS;
2126 _result = new wxSize (wxWindow_GetSize(_arg0));
2127
2128 wxPy_END_ALLOW_THREADS;
2129 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2130 _resultobj = Py_BuildValue("s",_ptemp);
2131 return _resultobj;
2132 }
2133
2134 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2135 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2136 PyObject * _resultobj;
2137 wxWindow * _arg0;
2138 wxString * _arg1;
2139 int * _arg2;
2140 int temp;
2141 int * _arg3;
2142 int temp0;
2143 PyObject * _argo0 = 0;
2144 PyObject * _obj1 = 0;
2145 char *_kwnames[] = { "self","string", NULL };
2146
2147 self = self;
2148 {
2149 _arg2 = &temp;
2150 }
2151 {
2152 _arg3 = &temp0;
2153 }
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2155 return NULL;
2156 if (_argo0) {
2157 if (_argo0 == Py_None) { _arg0 = NULL; }
2158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2160 return NULL;
2161 }
2162 }
2163 {
2164 if (!PyString_Check(_obj1)) {
2165 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2166 return NULL;
2167 }
2168 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2169 }
2170 {
2171 wxPy_BEGIN_ALLOW_THREADS;
2172 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2173
2174 wxPy_END_ALLOW_THREADS;
2175 } Py_INCREF(Py_None);
2176 _resultobj = Py_None;
2177 {
2178 PyObject *o;
2179 o = PyInt_FromLong((long) (*_arg2));
2180 _resultobj = t_output_helper(_resultobj, o);
2181 }
2182 {
2183 PyObject *o;
2184 o = PyInt_FromLong((long) (*_arg3));
2185 _resultobj = t_output_helper(_resultobj, o);
2186 }
2187 {
2188 if (_obj1)
2189 delete _arg1;
2190 }
2191 return _resultobj;
2192 }
2193
2194 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2195 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject * _resultobj;
2197 wxWindow * _arg0;
2198 wxString * _arg1;
2199 int * _arg2;
2200 int temp;
2201 int * _arg3;
2202 int temp0;
2203 int * _arg4;
2204 int temp1;
2205 int * _arg5;
2206 int temp2;
2207 wxFont * _arg6 = (wxFont *) NULL;
2208 PyObject * _argo0 = 0;
2209 PyObject * _obj1 = 0;
2210 PyObject * _argo6 = 0;
2211 char *_kwnames[] = { "self","string","font", NULL };
2212
2213 self = self;
2214 {
2215 _arg2 = &temp;
2216 }
2217 {
2218 _arg3 = &temp0;
2219 }
2220 {
2221 _arg4 = &temp1;
2222 }
2223 {
2224 _arg5 = &temp2;
2225 }
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2227 return NULL;
2228 if (_argo0) {
2229 if (_argo0 == Py_None) { _arg0 = NULL; }
2230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2232 return NULL;
2233 }
2234 }
2235 {
2236 if (!PyString_Check(_obj1)) {
2237 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2238 return NULL;
2239 }
2240 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2241 }
2242 if (_argo6) {
2243 if (_argo6 == Py_None) { _arg6 = NULL; }
2244 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2246 return NULL;
2247 }
2248 }
2249 {
2250 wxPy_BEGIN_ALLOW_THREADS;
2251 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2252
2253 wxPy_END_ALLOW_THREADS;
2254 } Py_INCREF(Py_None);
2255 _resultobj = Py_None;
2256 {
2257 PyObject *o;
2258 o = PyInt_FromLong((long) (*_arg2));
2259 _resultobj = t_output_helper(_resultobj, o);
2260 }
2261 {
2262 PyObject *o;
2263 o = PyInt_FromLong((long) (*_arg3));
2264 _resultobj = t_output_helper(_resultobj, o);
2265 }
2266 {
2267 PyObject *o;
2268 o = PyInt_FromLong((long) (*_arg4));
2269 _resultobj = t_output_helper(_resultobj, o);
2270 }
2271 {
2272 PyObject *o;
2273 o = PyInt_FromLong((long) (*_arg5));
2274 _resultobj = t_output_helper(_resultobj, o);
2275 }
2276 {
2277 if (_obj1)
2278 delete _arg1;
2279 }
2280 return _resultobj;
2281 }
2282
2283 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2284 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 wxString * _result;
2287 wxWindow * _arg0;
2288 PyObject * _argo0 = 0;
2289 char *_kwnames[] = { "self", NULL };
2290
2291 self = self;
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2293 return NULL;
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2298 return NULL;
2299 }
2300 }
2301 {
2302 wxPy_BEGIN_ALLOW_THREADS;
2303 _result = new wxString (wxWindow_GetTitle(_arg0));
2304
2305 wxPy_END_ALLOW_THREADS;
2306 }{
2307 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2308 }
2309 {
2310 delete _result;
2311 }
2312 return _resultobj;
2313 }
2314
2315 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2316 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject * _resultobj;
2318 wxRegion * _result;
2319 wxWindow * _arg0;
2320 PyObject * _argo0 = 0;
2321 char *_kwnames[] = { "self", NULL };
2322 char _ptemp[128];
2323
2324 self = self;
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2326 return NULL;
2327 if (_argo0) {
2328 if (_argo0 == Py_None) { _arg0 = NULL; }
2329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2331 return NULL;
2332 }
2333 }
2334 {
2335 wxPy_BEGIN_ALLOW_THREADS;
2336 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2337
2338 wxPy_END_ALLOW_THREADS;
2339 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2340 _resultobj = Py_BuildValue("s",_ptemp);
2341 return _resultobj;
2342 }
2343
2344 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2345 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject * _resultobj;
2347 long _result;
2348 wxWindow * _arg0;
2349 PyObject * _argo0 = 0;
2350 char *_kwnames[] = { "self", NULL };
2351
2352 self = self;
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2354 return NULL;
2355 if (_argo0) {
2356 if (_argo0 == Py_None) { _arg0 = NULL; }
2357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2359 return NULL;
2360 }
2361 }
2362 {
2363 wxPy_BEGIN_ALLOW_THREADS;
2364 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2365
2366 wxPy_END_ALLOW_THREADS;
2367 } _resultobj = Py_BuildValue("l",_result);
2368 return _resultobj;
2369 }
2370
2371 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2372 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject * _resultobj;
2374 bool _result;
2375 wxWindow * _arg0;
2376 PyObject * _argo0 = 0;
2377 char *_kwnames[] = { "self", NULL };
2378
2379 self = self;
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2381 return NULL;
2382 if (_argo0) {
2383 if (_argo0 == Py_None) { _arg0 = NULL; }
2384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2386 return NULL;
2387 }
2388 }
2389 {
2390 wxPy_BEGIN_ALLOW_THREADS;
2391 _result = (bool )wxWindow_Hide(_arg0);
2392
2393 wxPy_END_ALLOW_THREADS;
2394 } _resultobj = Py_BuildValue("i",_result);
2395 return _resultobj;
2396 }
2397
2398 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2399 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject * _resultobj;
2401 wxWindow * _arg0;
2402 PyObject * _argo0 = 0;
2403 char *_kwnames[] = { "self", NULL };
2404
2405 self = self;
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
2407 return NULL;
2408 if (_argo0) {
2409 if (_argo0 == Py_None) { _arg0 = NULL; }
2410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2412 return NULL;
2413 }
2414 }
2415 {
2416 wxPy_BEGIN_ALLOW_THREADS;
2417 wxWindow_InitDialog(_arg0);
2418
2419 wxPy_END_ALLOW_THREADS;
2420 } Py_INCREF(Py_None);
2421 _resultobj = Py_None;
2422 return _resultobj;
2423 }
2424
2425 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2426 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject * _resultobj;
2428 bool _result;
2429 wxWindow * _arg0;
2430 PyObject * _argo0 = 0;
2431 char *_kwnames[] = { "self", NULL };
2432
2433 self = self;
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
2435 return NULL;
2436 if (_argo0) {
2437 if (_argo0 == Py_None) { _arg0 = NULL; }
2438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2440 return NULL;
2441 }
2442 }
2443 {
2444 wxPy_BEGIN_ALLOW_THREADS;
2445 _result = (bool )wxWindow_IsEnabled(_arg0);
2446
2447 wxPy_END_ALLOW_THREADS;
2448 } _resultobj = Py_BuildValue("i",_result);
2449 return _resultobj;
2450 }
2451
2452 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2453 static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject * _resultobj;
2455 bool _result;
2456 wxWindow * _arg0;
2457 int _arg1;
2458 int _arg2;
2459 int _arg3 = (int ) 0;
2460 int _arg4 = (int ) 0;
2461 PyObject * _argo0 = 0;
2462 char *_kwnames[] = { "self","x","y","w","h", NULL };
2463
2464 self = self;
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2466 return NULL;
2467 if (_argo0) {
2468 if (_argo0 == Py_None) { _arg0 = NULL; }
2469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2471 return NULL;
2472 }
2473 }
2474 {
2475 wxPy_BEGIN_ALLOW_THREADS;
2476 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
2477
2478 wxPy_END_ALLOW_THREADS;
2479 } _resultobj = Py_BuildValue("i",_result);
2480 return _resultobj;
2481 }
2482
2483 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2484 static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject * _resultobj;
2486 bool _result;
2487 wxWindow * _arg0;
2488 wxPoint * _arg1;
2489 PyObject * _argo0 = 0;
2490 wxPoint temp;
2491 PyObject * _obj1 = 0;
2492 char *_kwnames[] = { "self","pt", NULL };
2493
2494 self = self;
2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
2496 return NULL;
2497 if (_argo0) {
2498 if (_argo0 == Py_None) { _arg0 = NULL; }
2499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2501 return NULL;
2502 }
2503 }
2504 {
2505 _arg1 = &temp;
2506 if (! wxPoint_helper(_obj1, &_arg1))
2507 return NULL;
2508 }
2509 {
2510 wxPy_BEGIN_ALLOW_THREADS;
2511 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
2512
2513 wxPy_END_ALLOW_THREADS;
2514 } _resultobj = Py_BuildValue("i",_result);
2515 return _resultobj;
2516 }
2517
2518 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2519 static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject * _resultobj;
2521 bool _result;
2522 wxWindow * _arg0;
2523 wxRect * _arg1;
2524 PyObject * _argo0 = 0;
2525 wxRect temp;
2526 PyObject * _obj1 = 0;
2527 char *_kwnames[] = { "self","rect", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
2531 return NULL;
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2536 return NULL;
2537 }
2538 }
2539 {
2540 _arg1 = &temp;
2541 if (! wxRect_helper(_obj1, &_arg1))
2542 return NULL;
2543 }
2544 {
2545 wxPy_BEGIN_ALLOW_THREADS;
2546 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
2547
2548 wxPy_END_ALLOW_THREADS;
2549 } _resultobj = Py_BuildValue("i",_result);
2550 return _resultobj;
2551 }
2552
2553 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2554 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject * _resultobj;
2556 bool _result;
2557 wxWindow * _arg0;
2558 PyObject * _argo0 = 0;
2559 char *_kwnames[] = { "self", NULL };
2560
2561 self = self;
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
2563 return NULL;
2564 if (_argo0) {
2565 if (_argo0 == Py_None) { _arg0 = NULL; }
2566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2568 return NULL;
2569 }
2570 }
2571 {
2572 wxPy_BEGIN_ALLOW_THREADS;
2573 _result = (bool )wxWindow_IsRetained(_arg0);
2574
2575 wxPy_END_ALLOW_THREADS;
2576 } _resultobj = Py_BuildValue("i",_result);
2577 return _resultobj;
2578 }
2579
2580 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2581 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject * _resultobj;
2583 bool _result;
2584 wxWindow * _arg0;
2585 PyObject * _argo0 = 0;
2586 char *_kwnames[] = { "self", NULL };
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
2590 return NULL;
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2595 return NULL;
2596 }
2597 }
2598 {
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 _result = (bool )wxWindow_IsShown(_arg0);
2601
2602 wxPy_END_ALLOW_THREADS;
2603 } _resultobj = Py_BuildValue("i",_result);
2604 return _resultobj;
2605 }
2606
2607 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2608 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject * _resultobj;
2610 bool _result;
2611 wxWindow * _arg0;
2612 PyObject * _argo0 = 0;
2613 char *_kwnames[] = { "self", NULL };
2614
2615 self = self;
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
2617 return NULL;
2618 if (_argo0) {
2619 if (_argo0 == Py_None) { _arg0 = NULL; }
2620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2622 return NULL;
2623 }
2624 }
2625 {
2626 wxPy_BEGIN_ALLOW_THREADS;
2627 _result = (bool )wxWindow_IsTopLevel(_arg0);
2628
2629 wxPy_END_ALLOW_THREADS;
2630 } _resultobj = Py_BuildValue("i",_result);
2631 return _resultobj;
2632 }
2633
2634 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2635 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject * _resultobj;
2637 wxWindow * _arg0;
2638 PyObject * _argo0 = 0;
2639 char *_kwnames[] = { "self", NULL };
2640
2641 self = self;
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
2643 return NULL;
2644 if (_argo0) {
2645 if (_argo0 == Py_None) { _arg0 = NULL; }
2646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2648 return NULL;
2649 }
2650 }
2651 {
2652 wxPy_BEGIN_ALLOW_THREADS;
2653 wxWindow_Layout(_arg0);
2654
2655 wxPy_END_ALLOW_THREADS;
2656 } Py_INCREF(Py_None);
2657 _resultobj = Py_None;
2658 return _resultobj;
2659 }
2660
2661 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2662 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject * _resultobj;
2664 bool _result;
2665 wxWindow * _arg0;
2666 wxWindow * _arg1;
2667 wxString * _arg2;
2668 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
2669 PyObject * _argo0 = 0;
2670 PyObject * _argo1 = 0;
2671 PyObject * _obj2 = 0;
2672 PyObject * _argo3 = 0;
2673 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
2674
2675 self = self;
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
2677 return NULL;
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2682 return NULL;
2683 }
2684 }
2685 if (_argo1) {
2686 if (_argo1 == Py_None) { _arg1 = NULL; }
2687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2689 return NULL;
2690 }
2691 }
2692 {
2693 if (!PyString_Check(_obj2)) {
2694 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2695 return NULL;
2696 }
2697 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2698 }
2699 if (_argo3) {
2700 if (_argo3 == Py_None) { _arg3 = NULL; }
2701 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
2702 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2703 return NULL;
2704 }
2705 }
2706 {
2707 wxPy_BEGIN_ALLOW_THREADS;
2708 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
2709
2710 wxPy_END_ALLOW_THREADS;
2711 } _resultobj = Py_BuildValue("i",_result);
2712 {
2713 if (_obj2)
2714 delete _arg2;
2715 }
2716 return _resultobj;
2717 }
2718
2719 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2720 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject * _resultobj;
2722 wxWindow * _arg0;
2723 PyObject * _argo0 = 0;
2724 char *_kwnames[] = { "self", NULL };
2725
2726 self = self;
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
2728 return NULL;
2729 if (_argo0) {
2730 if (_argo0 == Py_None) { _arg0 = NULL; }
2731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2733 return NULL;
2734 }
2735 }
2736 {
2737 wxPy_BEGIN_ALLOW_THREADS;
2738 wxWindow_Lower(_arg0);
2739
2740 wxPy_END_ALLOW_THREADS;
2741 } Py_INCREF(Py_None);
2742 _resultobj = Py_None;
2743 return _resultobj;
2744 }
2745
2746 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2747 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject * _resultobj;
2749 wxWindow * _arg0;
2750 bool _arg1;
2751 PyObject * _argo0 = 0;
2752 int tempbool1;
2753 char *_kwnames[] = { "self","flag", NULL };
2754
2755 self = self;
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
2757 return NULL;
2758 if (_argo0) {
2759 if (_argo0 == Py_None) { _arg0 = NULL; }
2760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2762 return NULL;
2763 }
2764 }
2765 _arg1 = (bool ) tempbool1;
2766 {
2767 wxPy_BEGIN_ALLOW_THREADS;
2768 wxWindow_MakeModal(_arg0,_arg1);
2769
2770 wxPy_END_ALLOW_THREADS;
2771 } Py_INCREF(Py_None);
2772 _resultobj = Py_None;
2773 return _resultobj;
2774 }
2775
2776 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2777 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject * _resultobj;
2779 wxWindow * _arg0;
2780 int _arg1;
2781 int _arg2;
2782 PyObject * _argo0 = 0;
2783 char *_kwnames[] = { "self","x","y", NULL };
2784
2785 self = self;
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2787 return NULL;
2788 if (_argo0) {
2789 if (_argo0 == Py_None) { _arg0 = NULL; }
2790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2792 return NULL;
2793 }
2794 }
2795 {
2796 wxPy_BEGIN_ALLOW_THREADS;
2797 wxWindow_MoveXY(_arg0,_arg1,_arg2);
2798
2799 wxPy_END_ALLOW_THREADS;
2800 } Py_INCREF(Py_None);
2801 _resultobj = Py_None;
2802 return _resultobj;
2803 }
2804
2805 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2806 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject * _resultobj;
2808 wxWindow * _arg0;
2809 wxPoint * _arg1;
2810 PyObject * _argo0 = 0;
2811 wxPoint temp;
2812 PyObject * _obj1 = 0;
2813 char *_kwnames[] = { "self","point", NULL };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Move",_kwnames,&_argo0,&_obj1))
2817 return NULL;
2818 if (_argo0) {
2819 if (_argo0 == Py_None) { _arg0 = NULL; }
2820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2822 return NULL;
2823 }
2824 }
2825 {
2826 _arg1 = &temp;
2827 if (! wxPoint_helper(_obj1, &_arg1))
2828 return NULL;
2829 }
2830 {
2831 wxPy_BEGIN_ALLOW_THREADS;
2832 wxWindow_Move(_arg0,*_arg1);
2833
2834 wxPy_END_ALLOW_THREADS;
2835 } Py_INCREF(Py_None);
2836 _resultobj = Py_None;
2837 return _resultobj;
2838 }
2839
2840 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2841 static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject * _resultobj;
2843 wxEvtHandler * _result;
2844 wxWindow * _arg0;
2845 bool _arg1 = (bool ) FALSE;
2846 PyObject * _argo0 = 0;
2847 int tempbool1 = (int) FALSE;
2848 char *_kwnames[] = { "self","deleteHandler", NULL };
2849 char _ptemp[128];
2850
2851 self = self;
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
2853 return NULL;
2854 if (_argo0) {
2855 if (_argo0 == Py_None) { _arg0 = NULL; }
2856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2858 return NULL;
2859 }
2860 }
2861 _arg1 = (bool ) tempbool1;
2862 {
2863 wxPy_BEGIN_ALLOW_THREADS;
2864 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
2865
2866 wxPy_END_ALLOW_THREADS;
2867 } if (_result) {
2868 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
2869 _resultobj = Py_BuildValue("s",_ptemp);
2870 } else {
2871 Py_INCREF(Py_None);
2872 _resultobj = Py_None;
2873 }
2874 return _resultobj;
2875 }
2876
2877 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2878 static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject * _resultobj;
2880 wxWindow * _arg0;
2881 wxEvtHandler * _arg1;
2882 PyObject * _argo0 = 0;
2883 PyObject * _argo1 = 0;
2884 char *_kwnames[] = { "self","handler", NULL };
2885
2886 self = self;
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
2888 return NULL;
2889 if (_argo0) {
2890 if (_argo0 == Py_None) { _arg0 = NULL; }
2891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2893 return NULL;
2894 }
2895 }
2896 if (_argo1) {
2897 if (_argo1 == Py_None) { _arg1 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2900 return NULL;
2901 }
2902 }
2903 {
2904 wxPy_BEGIN_ALLOW_THREADS;
2905 wxWindow_PushEventHandler(_arg0,_arg1);
2906
2907 wxPy_END_ALLOW_THREADS;
2908 } Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910 return _resultobj;
2911 }
2912
2913 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2914 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 bool _result;
2917 wxWindow * _arg0;
2918 wxMenu * _arg1;
2919 int _arg2;
2920 int _arg3;
2921 PyObject * _argo0 = 0;
2922 PyObject * _argo1 = 0;
2923 char *_kwnames[] = { "self","menu","x","y", NULL };
2924
2925 self = self;
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2927 return NULL;
2928 if (_argo0) {
2929 if (_argo0 == Py_None) { _arg0 = NULL; }
2930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2932 return NULL;
2933 }
2934 }
2935 if (_argo1) {
2936 if (_argo1 == Py_None) { _arg1 = NULL; }
2937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2939 return NULL;
2940 }
2941 }
2942 {
2943 wxPy_BEGIN_ALLOW_THREADS;
2944 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
2945
2946 wxPy_END_ALLOW_THREADS;
2947 } _resultobj = Py_BuildValue("i",_result);
2948 return _resultobj;
2949 }
2950
2951 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2952 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject * _resultobj;
2954 bool _result;
2955 wxWindow * _arg0;
2956 wxMenu * _arg1;
2957 wxPoint * _arg2;
2958 PyObject * _argo0 = 0;
2959 PyObject * _argo1 = 0;
2960 wxPoint temp;
2961 PyObject * _obj2 = 0;
2962 char *_kwnames[] = { "self","menu","pos", NULL };
2963
2964 self = self;
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
2966 return NULL;
2967 if (_argo0) {
2968 if (_argo0 == Py_None) { _arg0 = NULL; }
2969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2971 return NULL;
2972 }
2973 }
2974 if (_argo1) {
2975 if (_argo1 == Py_None) { _arg1 = NULL; }
2976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2978 return NULL;
2979 }
2980 }
2981 {
2982 _arg2 = &temp;
2983 if (! wxPoint_helper(_obj2, &_arg2))
2984 return NULL;
2985 }
2986 {
2987 wxPy_BEGIN_ALLOW_THREADS;
2988 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
2989
2990 wxPy_END_ALLOW_THREADS;
2991 } _resultobj = Py_BuildValue("i",_result);
2992 return _resultobj;
2993 }
2994
2995 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2996 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 wxWindow * _arg0;
2999 PyObject * _argo0 = 0;
3000 char *_kwnames[] = { "self", NULL };
3001
3002 self = self;
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
3004 return NULL;
3005 if (_argo0) {
3006 if (_argo0 == Py_None) { _arg0 = NULL; }
3007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3009 return NULL;
3010 }
3011 }
3012 {
3013 wxPy_BEGIN_ALLOW_THREADS;
3014 wxWindow_Raise(_arg0);
3015
3016 wxPy_END_ALLOW_THREADS;
3017 } Py_INCREF(Py_None);
3018 _resultobj = Py_None;
3019 return _resultobj;
3020 }
3021
3022 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3023 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
3024 PyObject * _resultobj;
3025 wxWindow * _arg0;
3026 bool _arg1 = (bool ) TRUE;
3027 wxRect * _arg2 = (wxRect *) NULL;
3028 PyObject * _argo0 = 0;
3029 int tempbool1 = (int) TRUE;
3030 wxRect temp;
3031 PyObject * _obj2 = 0;
3032 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
3033
3034 self = self;
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
3036 return NULL;
3037 if (_argo0) {
3038 if (_argo0 == Py_None) { _arg0 = NULL; }
3039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3041 return NULL;
3042 }
3043 }
3044 _arg1 = (bool ) tempbool1;
3045 if (_obj2)
3046 {
3047 _arg2 = &temp;
3048 if (! wxRect_helper(_obj2, &_arg2))
3049 return NULL;
3050 }
3051 {
3052 wxPy_BEGIN_ALLOW_THREADS;
3053 wxWindow_Refresh(_arg0,_arg1,_arg2);
3054
3055 wxPy_END_ALLOW_THREADS;
3056 } Py_INCREF(Py_None);
3057 _resultobj = Py_None;
3058 return _resultobj;
3059 }
3060
3061 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3062 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject * _resultobj;
3064 wxWindow * _arg0;
3065 PyObject * _argo0 = 0;
3066 char *_kwnames[] = { "self", NULL };
3067
3068 self = self;
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
3070 return NULL;
3071 if (_argo0) {
3072 if (_argo0 == Py_None) { _arg0 = NULL; }
3073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3075 return NULL;
3076 }
3077 }
3078 {
3079 wxPy_BEGIN_ALLOW_THREADS;
3080 wxWindow_ReleaseMouse(_arg0);
3081
3082 wxPy_END_ALLOW_THREADS;
3083 } Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086 }
3087
3088 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3089 static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 wxWindow * _arg0;
3092 wxWindow * _arg1;
3093 PyObject * _argo0 = 0;
3094 PyObject * _argo1 = 0;
3095 char *_kwnames[] = { "self","child", NULL };
3096
3097 self = self;
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3099 return NULL;
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3104 return NULL;
3105 }
3106 }
3107 if (_argo1) {
3108 if (_argo1 == Py_None) { _arg1 = NULL; }
3109 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3110 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3111 return NULL;
3112 }
3113 }
3114 {
3115 wxPy_BEGIN_ALLOW_THREADS;
3116 wxWindow_RemoveChild(_arg0,_arg1);
3117
3118 wxPy_END_ALLOW_THREADS;
3119 } Py_INCREF(Py_None);
3120 _resultobj = Py_None;
3121 return _resultobj;
3122 }
3123
3124 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3125 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject * _resultobj;
3127 bool _result;
3128 wxWindow * _arg0;
3129 wxWindow * _arg1;
3130 PyObject * _argo0 = 0;
3131 PyObject * _argo1 = 0;
3132 char *_kwnames[] = { "self","newParent", NULL };
3133
3134 self = self;
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
3136 return NULL;
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3141 return NULL;
3142 }
3143 }
3144 if (_argo1) {
3145 if (_argo1 == Py_None) { _arg1 = NULL; }
3146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3148 return NULL;
3149 }
3150 }
3151 {
3152 wxPy_BEGIN_ALLOW_THREADS;
3153 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
3154
3155 wxPy_END_ALLOW_THREADS;
3156 } _resultobj = Py_BuildValue("i",_result);
3157 return _resultobj;
3158 }
3159
3160 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3161 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject * _resultobj;
3163 wxWindow * _arg0;
3164 int * _arg1;
3165 int * _arg2;
3166 PyObject * _argo0 = 0;
3167 int temp;
3168 PyObject * _obj1 = 0;
3169 int temp0;
3170 PyObject * _obj2 = 0;
3171 char *_kwnames[] = { "self","x","y", NULL };
3172
3173 self = self;
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
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_ScreenToClientXY. Expected _wxWindow_p.");
3180 return NULL;
3181 }
3182 }
3183 {
3184 temp = (int) PyInt_AsLong(_obj1);
3185 _arg1 = &temp;
3186 }
3187 {
3188 temp0 = (int) PyInt_AsLong(_obj2);
3189 _arg2 = &temp0;
3190 }
3191 {
3192 wxPy_BEGIN_ALLOW_THREADS;
3193 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
3194
3195 wxPy_END_ALLOW_THREADS;
3196 } Py_INCREF(Py_None);
3197 _resultobj = Py_None;
3198 {
3199 PyObject *o;
3200 o = PyInt_FromLong((long) (*_arg1));
3201 _resultobj = t_output_helper(_resultobj, o);
3202 }
3203 {
3204 PyObject *o;
3205 o = PyInt_FromLong((long) (*_arg2));
3206 _resultobj = t_output_helper(_resultobj, o);
3207 }
3208 return _resultobj;
3209 }
3210
3211 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3212 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
3213 PyObject * _resultobj;
3214 wxPoint * _result;
3215 wxWindow * _arg0;
3216 wxPoint * _arg1;
3217 PyObject * _argo0 = 0;
3218 wxPoint temp;
3219 PyObject * _obj1 = 0;
3220 char *_kwnames[] = { "self","pt", NULL };
3221 char _ptemp[128];
3222
3223 self = self;
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
3225 return NULL;
3226 if (_argo0) {
3227 if (_argo0 == Py_None) { _arg0 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3230 return NULL;
3231 }
3232 }
3233 {
3234 _arg1 = &temp;
3235 if (! wxPoint_helper(_obj1, &_arg1))
3236 return NULL;
3237 }
3238 {
3239 wxPy_BEGIN_ALLOW_THREADS;
3240 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
3241
3242 wxPy_END_ALLOW_THREADS;
3243 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3244 _resultobj = Py_BuildValue("s",_ptemp);
3245 return _resultobj;
3246 }
3247
3248 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3249 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject * _resultobj;
3251 wxWindow * _arg0;
3252 int _arg1;
3253 int _arg2;
3254 wxRect * _arg3 = (wxRect *) NULL;
3255 PyObject * _argo0 = 0;
3256 wxRect temp;
3257 PyObject * _obj3 = 0;
3258 char *_kwnames[] = { "self","dx","dy","rect", NULL };
3259
3260 self = self;
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3262 return NULL;
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3267 return NULL;
3268 }
3269 }
3270 if (_obj3)
3271 {
3272 _arg3 = &temp;
3273 if (! wxRect_helper(_obj3, &_arg3))
3274 return NULL;
3275 }
3276 {
3277 wxPy_BEGIN_ALLOW_THREADS;
3278 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3279
3280 wxPy_END_ALLOW_THREADS;
3281 } Py_INCREF(Py_None);
3282 _resultobj = Py_None;
3283 return _resultobj;
3284 }
3285
3286 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3287 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject * _resultobj;
3289 wxWindow * _arg0;
3290 wxAcceleratorTable * _arg1;
3291 PyObject * _argo0 = 0;
3292 PyObject * _argo1 = 0;
3293 char *_kwnames[] = { "self","accel", NULL };
3294
3295 self = self;
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
3297 return NULL;
3298 if (_argo0) {
3299 if (_argo0 == Py_None) { _arg0 = NULL; }
3300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3302 return NULL;
3303 }
3304 }
3305 if (_argo1) {
3306 if (_argo1 == Py_None) { _arg1 = NULL; }
3307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
3308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3309 return NULL;
3310 }
3311 }
3312 {
3313 wxPy_BEGIN_ALLOW_THREADS;
3314 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
3315
3316 wxPy_END_ALLOW_THREADS;
3317 } Py_INCREF(Py_None);
3318 _resultobj = Py_None;
3319 return _resultobj;
3320 }
3321
3322 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3323 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject * _resultobj;
3325 wxWindow * _arg0;
3326 bool _arg1;
3327 PyObject * _argo0 = 0;
3328 int tempbool1;
3329 char *_kwnames[] = { "self","autoLayout", NULL };
3330
3331 self = self;
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
3333 return NULL;
3334 if (_argo0) {
3335 if (_argo0 == Py_None) { _arg0 = NULL; }
3336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3338 return NULL;
3339 }
3340 }
3341 _arg1 = (bool ) tempbool1;
3342 {
3343 wxPy_BEGIN_ALLOW_THREADS;
3344 wxWindow_SetAutoLayout(_arg0,_arg1);
3345
3346 wxPy_END_ALLOW_THREADS;
3347 } Py_INCREF(Py_None);
3348 _resultobj = Py_None;
3349 return _resultobj;
3350 }
3351
3352 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3353 static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject * _resultobj;
3355 bool _result;
3356 wxWindow * _arg0;
3357 PyObject * _argo0 = 0;
3358 char *_kwnames[] = { "self", NULL };
3359
3360 self = self;
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3362 return NULL;
3363 if (_argo0) {
3364 if (_argo0 == Py_None) { _arg0 = NULL; }
3365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3367 return NULL;
3368 }
3369 }
3370 {
3371 wxPy_BEGIN_ALLOW_THREADS;
3372 _result = (bool )wxWindow_GetAutoLayout(_arg0);
3373
3374 wxPy_END_ALLOW_THREADS;
3375 } _resultobj = Py_BuildValue("i",_result);
3376 return _resultobj;
3377 }
3378
3379 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3380 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 wxWindow * _arg0;
3383 wxColour * _arg1;
3384 PyObject * _argo0 = 0;
3385 PyObject * _argo1 = 0;
3386 char *_kwnames[] = { "self","colour", NULL };
3387
3388 self = self;
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
3390 return NULL;
3391 if (_argo0) {
3392 if (_argo0 == Py_None) { _arg0 = NULL; }
3393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3395 return NULL;
3396 }
3397 }
3398 if (_argo1) {
3399 if (_argo1 == Py_None) { _arg1 = NULL; }
3400 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3401 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3402 return NULL;
3403 }
3404 }
3405 {
3406 wxPy_BEGIN_ALLOW_THREADS;
3407 wxWindow_SetBackgroundColour(_arg0,*_arg1);
3408
3409 wxPy_END_ALLOW_THREADS;
3410 } Py_INCREF(Py_None);
3411 _resultobj = Py_None;
3412 return _resultobj;
3413 }
3414
3415 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3416 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject * _resultobj;
3418 wxWindow * _arg0;
3419 wxLayoutConstraints * _arg1;
3420 PyObject * _argo0 = 0;
3421 PyObject * _argo1 = 0;
3422 char *_kwnames[] = { "self","constraints", NULL };
3423
3424 self = self;
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
3426 return NULL;
3427 if (_argo0) {
3428 if (_argo0 == Py_None) { _arg0 = NULL; }
3429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3431 return NULL;
3432 }
3433 }
3434 if (_argo1) {
3435 if (_argo1 == Py_None) { _arg1 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3437 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3438 return NULL;
3439 }
3440 }
3441 {
3442 wxPy_BEGIN_ALLOW_THREADS;
3443 wxWindow_SetConstraints(_arg0,_arg1);
3444
3445 wxPy_END_ALLOW_THREADS;
3446 } Py_INCREF(Py_None);
3447 _resultobj = Py_None;
3448 return _resultobj;
3449 }
3450
3451 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3452 static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject * _resultobj;
3454 wxWindow * _arg0;
3455 wxLayoutConstraints * _arg1;
3456 PyObject * _argo0 = 0;
3457 PyObject * _argo1 = 0;
3458 char *_kwnames[] = { "self","constraints", NULL };
3459
3460 self = self;
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3462 return NULL;
3463 if (_argo0) {
3464 if (_argo0 == Py_None) { _arg0 = NULL; }
3465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3467 return NULL;
3468 }
3469 }
3470 if (_argo1) {
3471 if (_argo1 == Py_None) { _arg1 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3474 return NULL;
3475 }
3476 }
3477 {
3478 wxPy_BEGIN_ALLOW_THREADS;
3479 wxWindow_UnsetConstraints(_arg0,_arg1);
3480
3481 wxPy_END_ALLOW_THREADS;
3482 } Py_INCREF(Py_None);
3483 _resultobj = Py_None;
3484 return _resultobj;
3485 }
3486
3487 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3488 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3489 PyObject * _resultobj;
3490 wxWindow * _arg0;
3491 PyObject * _argo0 = 0;
3492 char *_kwnames[] = { "self", NULL };
3493
3494 self = self;
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
3496 return NULL;
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3501 return NULL;
3502 }
3503 }
3504 {
3505 wxPy_BEGIN_ALLOW_THREADS;
3506 wxWindow_SetFocus(_arg0);
3507
3508 wxPy_END_ALLOW_THREADS;
3509 } Py_INCREF(Py_None);
3510 _resultobj = Py_None;
3511 return _resultobj;
3512 }
3513
3514 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3515 static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject * _resultobj;
3517 bool _result;
3518 wxWindow * _arg0;
3519 PyObject * _argo0 = 0;
3520 char *_kwnames[] = { "self", NULL };
3521
3522 self = self;
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
3524 return NULL;
3525 if (_argo0) {
3526 if (_argo0 == Py_None) { _arg0 = NULL; }
3527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3529 return NULL;
3530 }
3531 }
3532 {
3533 wxPy_BEGIN_ALLOW_THREADS;
3534 _result = (bool )wxWindow_AcceptsFocus(_arg0);
3535
3536 wxPy_END_ALLOW_THREADS;
3537 } _resultobj = Py_BuildValue("i",_result);
3538 return _resultobj;
3539 }
3540
3541 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3542 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject * _resultobj;
3544 wxWindow * _arg0;
3545 wxFont * _arg1;
3546 PyObject * _argo0 = 0;
3547 PyObject * _argo1 = 0;
3548 char *_kwnames[] = { "self","font", NULL };
3549
3550 self = self;
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
3552 return NULL;
3553 if (_argo0) {
3554 if (_argo0 == Py_None) { _arg0 = NULL; }
3555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3557 return NULL;
3558 }
3559 }
3560 if (_argo1) {
3561 if (_argo1 == Py_None) { _arg1 = NULL; }
3562 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3563 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3564 return NULL;
3565 }
3566 }
3567 {
3568 wxPy_BEGIN_ALLOW_THREADS;
3569 wxWindow_SetFont(_arg0,*_arg1);
3570
3571 wxPy_END_ALLOW_THREADS;
3572 } Py_INCREF(Py_None);
3573 _resultobj = Py_None;
3574 return _resultobj;
3575 }
3576
3577 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3578 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject * _resultobj;
3580 wxWindow * _arg0;
3581 wxColour * _arg1;
3582 PyObject * _argo0 = 0;
3583 PyObject * _argo1 = 0;
3584 char *_kwnames[] = { "self","colour", NULL };
3585
3586 self = self;
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_argo1))
3588 return NULL;
3589 if (_argo0) {
3590 if (_argo0 == Py_None) { _arg0 = NULL; }
3591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3593 return NULL;
3594 }
3595 }
3596 if (_argo1) {
3597 if (_argo1 == Py_None) { _arg1 = NULL; }
3598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3600 return NULL;
3601 }
3602 }
3603 {
3604 wxPy_BEGIN_ALLOW_THREADS;
3605 wxWindow_SetForegroundColour(_arg0,*_arg1);
3606
3607 wxPy_END_ALLOW_THREADS;
3608 } Py_INCREF(Py_None);
3609 _resultobj = Py_None;
3610 return _resultobj;
3611 }
3612
3613 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3614 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject * _resultobj;
3616 wxWindow * _arg0;
3617 int _arg1;
3618 PyObject * _argo0 = 0;
3619 char *_kwnames[] = { "self","id", NULL };
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3628 return NULL;
3629 }
3630 }
3631 {
3632 wxPy_BEGIN_ALLOW_THREADS;
3633 wxWindow_SetId(_arg0,_arg1);
3634
3635 wxPy_END_ALLOW_THREADS;
3636 } Py_INCREF(Py_None);
3637 _resultobj = Py_None;
3638 return _resultobj;
3639 }
3640
3641 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3642 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject * _resultobj;
3644 wxWindow * _arg0;
3645 wxString * _arg1;
3646 PyObject * _argo0 = 0;
3647 PyObject * _obj1 = 0;
3648 char *_kwnames[] = { "self","name", NULL };
3649
3650 self = self;
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
3652 return NULL;
3653 if (_argo0) {
3654 if (_argo0 == Py_None) { _arg0 = NULL; }
3655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3657 return NULL;
3658 }
3659 }
3660 {
3661 if (!PyString_Check(_obj1)) {
3662 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3663 return NULL;
3664 }
3665 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3666 }
3667 {
3668 wxPy_BEGIN_ALLOW_THREADS;
3669 wxWindow_SetName(_arg0,*_arg1);
3670
3671 wxPy_END_ALLOW_THREADS;
3672 } Py_INCREF(Py_None);
3673 _resultobj = Py_None;
3674 {
3675 if (_obj1)
3676 delete _arg1;
3677 }
3678 return _resultobj;
3679 }
3680
3681 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3682 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject * _resultobj;
3684 wxWindow * _arg0;
3685 int _arg1;
3686 int _arg2;
3687 int _arg3;
3688 int _arg4;
3689 int _arg5 = (int ) TRUE;
3690 PyObject * _argo0 = 0;
3691 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
3692
3693 self = self;
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3695 return NULL;
3696 if (_argo0) {
3697 if (_argo0 == Py_None) { _arg0 = NULL; }
3698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3700 return NULL;
3701 }
3702 }
3703 {
3704 wxPy_BEGIN_ALLOW_THREADS;
3705 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3706
3707 wxPy_END_ALLOW_THREADS;
3708 } Py_INCREF(Py_None);
3709 _resultobj = Py_None;
3710 return _resultobj;
3711 }
3712
3713 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3714 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject * _resultobj;
3716 wxWindow * _arg0;
3717 int _arg1;
3718 int _arg2;
3719 bool _arg3 = (bool ) TRUE;
3720 PyObject * _argo0 = 0;
3721 int tempbool3 = (int) TRUE;
3722 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
3723
3724 self = self;
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
3726 return NULL;
3727 if (_argo0) {
3728 if (_argo0 == Py_None) { _arg0 = NULL; }
3729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3731 return NULL;
3732 }
3733 }
3734 _arg3 = (bool ) tempbool3;
3735 {
3736 wxPy_BEGIN_ALLOW_THREADS;
3737 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
3738
3739 wxPy_END_ALLOW_THREADS;
3740 } Py_INCREF(Py_None);
3741 _resultobj = Py_None;
3742 return _resultobj;
3743 }
3744
3745 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3746 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject * _resultobj;
3748 wxWindow * _arg0;
3749 int _arg1;
3750 int _arg2;
3751 int _arg3;
3752 int _arg4;
3753 int _arg5 = (int ) wxSIZE_AUTO;
3754 PyObject * _argo0 = 0;
3755 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3756
3757 self = self;
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3759 return NULL;
3760 if (_argo0) {
3761 if (_argo0 == Py_None) { _arg0 = NULL; }
3762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3764 return NULL;
3765 }
3766 }
3767 {
3768 wxPy_BEGIN_ALLOW_THREADS;
3769 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3770
3771 wxPy_END_ALLOW_THREADS;
3772 } Py_INCREF(Py_None);
3773 _resultobj = Py_None;
3774 return _resultobj;
3775 }
3776
3777 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
3778 self->SetSize(size);
3779 }
3780 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxWindow * _arg0;
3783 wxSize * _arg1;
3784 PyObject * _argo0 = 0;
3785 wxSize temp;
3786 PyObject * _obj1 = 0;
3787 char *_kwnames[] = { "self","size", NULL };
3788
3789 self = self;
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
3791 return NULL;
3792 if (_argo0) {
3793 if (_argo0 == Py_None) { _arg0 = NULL; }
3794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3796 return NULL;
3797 }
3798 }
3799 {
3800 _arg1 = &temp;
3801 if (! wxSize_helper(_obj1, &_arg1))
3802 return NULL;
3803 }
3804 {
3805 wxPy_BEGIN_ALLOW_THREADS;
3806 wxWindow_SetSize(_arg0,*_arg1);
3807
3808 wxPy_END_ALLOW_THREADS;
3809 } Py_INCREF(Py_None);
3810 _resultobj = Py_None;
3811 return _resultobj;
3812 }
3813
3814 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
3815 self->Move(pos);
3816 }
3817 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject * _resultobj;
3819 wxWindow * _arg0;
3820 wxPoint * _arg1;
3821 PyObject * _argo0 = 0;
3822 wxPoint temp;
3823 PyObject * _obj1 = 0;
3824 char *_kwnames[] = { "self","pos", NULL };
3825
3826 self = self;
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1))
3828 return NULL;
3829 if (_argo0) {
3830 if (_argo0 == Py_None) { _arg0 = NULL; }
3831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3833 return NULL;
3834 }
3835 }
3836 {
3837 _arg1 = &temp;
3838 if (! wxPoint_helper(_obj1, &_arg1))
3839 return NULL;
3840 }
3841 {
3842 wxPy_BEGIN_ALLOW_THREADS;
3843 wxWindow_SetPosition(_arg0,*_arg1);
3844
3845 wxPy_END_ALLOW_THREADS;
3846 } Py_INCREF(Py_None);
3847 _resultobj = Py_None;
3848 return _resultobj;
3849 }
3850
3851 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3852 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject * _resultobj;
3854 wxWindow * _arg0;
3855 int _arg1 = (int ) -1;
3856 int _arg2 = (int ) -1;
3857 int _arg3 = (int ) -1;
3858 int _arg4 = (int ) -1;
3859 int _arg5 = (int ) -1;
3860 int _arg6 = (int ) -1;
3861 PyObject * _argo0 = 0;
3862 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
3863
3864 self = self;
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3871 return NULL;
3872 }
3873 }
3874 {
3875 wxPy_BEGIN_ALLOW_THREADS;
3876 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3877
3878 wxPy_END_ALLOW_THREADS;
3879 } Py_INCREF(Py_None);
3880 _resultobj = Py_None;
3881 return _resultobj;
3882 }
3883
3884 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3885 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject * _resultobj;
3887 wxWindow * _arg0;
3888 int _arg1;
3889 int _arg2;
3890 PyObject * _argo0 = 0;
3891 char *_kwnames[] = { "self","width","height", NULL };
3892
3893 self = self;
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
3895 return NULL;
3896 if (_argo0) {
3897 if (_argo0 == Py_None) { _arg0 = NULL; }
3898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3900 return NULL;
3901 }
3902 }
3903 {
3904 wxPy_BEGIN_ALLOW_THREADS;
3905 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
3906
3907 wxPy_END_ALLOW_THREADS;
3908 } Py_INCREF(Py_None);
3909 _resultobj = Py_None;
3910 return _resultobj;
3911 }
3912
3913 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3914 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject * _resultobj;
3916 wxWindow * _arg0;
3917 wxSize * _arg1;
3918 PyObject * _argo0 = 0;
3919 wxSize temp;
3920 PyObject * _obj1 = 0;
3921 char *_kwnames[] = { "self","size", NULL };
3922
3923 self = self;
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
3925 return NULL;
3926 if (_argo0) {
3927 if (_argo0 == Py_None) { _arg0 = NULL; }
3928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3930 return NULL;
3931 }
3932 }
3933 {
3934 _arg1 = &temp;
3935 if (! wxSize_helper(_obj1, &_arg1))
3936 return NULL;
3937 }
3938 {
3939 wxPy_BEGIN_ALLOW_THREADS;
3940 wxWindow_SetClientSize(_arg0,*_arg1);
3941
3942 wxPy_END_ALLOW_THREADS;
3943 } Py_INCREF(Py_None);
3944 _resultobj = Py_None;
3945 return _resultobj;
3946 }
3947
3948 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3949 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject * _resultobj;
3951 wxWindow * _arg0;
3952 wxCursor * _arg1;
3953 PyObject * _argo0 = 0;
3954 PyObject * _argo1 = 0;
3955 char *_kwnames[] = { "self","cursor", NULL };
3956
3957 self = self;
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
3959 return NULL;
3960 if (_argo0) {
3961 if (_argo0 == Py_None) { _arg0 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3964 return NULL;
3965 }
3966 }
3967 if (_argo1) {
3968 if (_argo1 == Py_None) { _arg1 = NULL; }
3969 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3971 return NULL;
3972 }
3973 }
3974 {
3975 wxPy_BEGIN_ALLOW_THREADS;
3976 wxWindow_SetCursor(_arg0,*_arg1);
3977
3978 wxPy_END_ALLOW_THREADS;
3979 } Py_INCREF(Py_None);
3980 _resultobj = Py_None;
3981 return _resultobj;
3982 }
3983
3984 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3985 static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject * _resultobj;
3987 wxWindow * _arg0;
3988 wxEvtHandler * _arg1;
3989 PyObject * _argo0 = 0;
3990 PyObject * _argo1 = 0;
3991 char *_kwnames[] = { "self","handler", NULL };
3992
3993 self = self;
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
3995 return NULL;
3996 if (_argo0) {
3997 if (_argo0 == Py_None) { _arg0 = NULL; }
3998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4000 return NULL;
4001 }
4002 }
4003 if (_argo1) {
4004 if (_argo1 == Py_None) { _arg1 = NULL; }
4005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4007 return NULL;
4008 }
4009 }
4010 {
4011 wxPy_BEGIN_ALLOW_THREADS;
4012 wxWindow_SetEventHandler(_arg0,_arg1);
4013
4014 wxPy_END_ALLOW_THREADS;
4015 } Py_INCREF(Py_None);
4016 _resultobj = Py_None;
4017 return _resultobj;
4018 }
4019
4020 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4021 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject * _resultobj;
4023 wxWindow * _arg0;
4024 wxString * _arg1;
4025 PyObject * _argo0 = 0;
4026 PyObject * _obj1 = 0;
4027 char *_kwnames[] = { "self","title", NULL };
4028
4029 self = self;
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
4031 return NULL;
4032 if (_argo0) {
4033 if (_argo0 == Py_None) { _arg0 = NULL; }
4034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4036 return NULL;
4037 }
4038 }
4039 {
4040 if (!PyString_Check(_obj1)) {
4041 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4042 return NULL;
4043 }
4044 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4045 }
4046 {
4047 wxPy_BEGIN_ALLOW_THREADS;
4048 wxWindow_SetTitle(_arg0,*_arg1);
4049
4050 wxPy_END_ALLOW_THREADS;
4051 } Py_INCREF(Py_None);
4052 _resultobj = Py_None;
4053 {
4054 if (_obj1)
4055 delete _arg1;
4056 }
4057 return _resultobj;
4058 }
4059
4060 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4061 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject * _resultobj;
4063 bool _result;
4064 wxWindow * _arg0;
4065 bool _arg1;
4066 PyObject * _argo0 = 0;
4067 int tempbool1;
4068 char *_kwnames[] = { "self","show", NULL };
4069
4070 self = self;
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
4072 return NULL;
4073 if (_argo0) {
4074 if (_argo0 == Py_None) { _arg0 = NULL; }
4075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4077 return NULL;
4078 }
4079 }
4080 _arg1 = (bool ) tempbool1;
4081 {
4082 wxPy_BEGIN_ALLOW_THREADS;
4083 _result = (bool )wxWindow_Show(_arg0,_arg1);
4084
4085 wxPy_END_ALLOW_THREADS;
4086 } _resultobj = Py_BuildValue("i",_result);
4087 return _resultobj;
4088 }
4089
4090 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4091 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject * _resultobj;
4093 bool _result;
4094 wxWindow * _arg0;
4095 PyObject * _argo0 = 0;
4096 char *_kwnames[] = { "self", NULL };
4097
4098 self = self;
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
4100 return NULL;
4101 if (_argo0) {
4102 if (_argo0 == Py_None) { _arg0 = NULL; }
4103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4105 return NULL;
4106 }
4107 }
4108 {
4109 wxPy_BEGIN_ALLOW_THREADS;
4110 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
4111
4112 wxPy_END_ALLOW_THREADS;
4113 } _resultobj = Py_BuildValue("i",_result);
4114 return _resultobj;
4115 }
4116
4117 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4118 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject * _resultobj;
4120 bool _result;
4121 wxWindow * _arg0;
4122 PyObject * _argo0 = 0;
4123 char *_kwnames[] = { "self", NULL };
4124
4125 self = self;
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
4127 return NULL;
4128 if (_argo0) {
4129 if (_argo0 == Py_None) { _arg0 = NULL; }
4130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4132 return NULL;
4133 }
4134 }
4135 {
4136 wxPy_BEGIN_ALLOW_THREADS;
4137 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
4138
4139 wxPy_END_ALLOW_THREADS;
4140 } _resultobj = Py_BuildValue("i",_result);
4141 return _resultobj;
4142 }
4143
4144 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4145 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject * _resultobj;
4147 bool _result;
4148 wxWindow * _arg0;
4149 PyObject * _argo0 = 0;
4150 char *_kwnames[] = { "self", NULL };
4151
4152 self = self;
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
4154 return NULL;
4155 if (_argo0) {
4156 if (_argo0 == Py_None) { _arg0 = NULL; }
4157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4159 return NULL;
4160 }
4161 }
4162 {
4163 wxPy_BEGIN_ALLOW_THREADS;
4164 _result = (bool )wxWindow_Validate(_arg0);
4165
4166 wxPy_END_ALLOW_THREADS;
4167 } _resultobj = Py_BuildValue("i",_result);
4168 return _resultobj;
4169 }
4170
4171 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4172 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject * _resultobj;
4174 wxWindow * _arg0;
4175 int _arg1;
4176 int _arg2;
4177 PyObject * _argo0 = 0;
4178 char *_kwnames[] = { "self","x","y", NULL };
4179
4180 self = self;
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
4182 return NULL;
4183 if (_argo0) {
4184 if (_argo0 == Py_None) { _arg0 = NULL; }
4185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4187 return NULL;
4188 }
4189 }
4190 {
4191 wxPy_BEGIN_ALLOW_THREADS;
4192 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
4193
4194 wxPy_END_ALLOW_THREADS;
4195 } Py_INCREF(Py_None);
4196 _resultobj = Py_None;
4197 return _resultobj;
4198 }
4199
4200 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4201 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject * _resultobj;
4203 wxPoint * _result;
4204 wxWindow * _arg0;
4205 wxPoint * _arg1;
4206 PyObject * _argo0 = 0;
4207 wxPoint temp;
4208 PyObject * _obj1 = 0;
4209 char *_kwnames[] = { "self","pt", NULL };
4210 char _ptemp[128];
4211
4212 self = self;
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
4214 return NULL;
4215 if (_argo0) {
4216 if (_argo0 == Py_None) { _arg0 = NULL; }
4217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4219 return NULL;
4220 }
4221 }
4222 {
4223 _arg1 = &temp;
4224 if (! wxPoint_helper(_obj1, &_arg1))
4225 return NULL;
4226 }
4227 {
4228 wxPy_BEGIN_ALLOW_THREADS;
4229 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
4230
4231 wxPy_END_ALLOW_THREADS;
4232 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4233 _resultobj = Py_BuildValue("s",_ptemp);
4234 return _resultobj;
4235 }
4236
4237 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4238 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject * _resultobj;
4240 wxSize * _result;
4241 wxWindow * _arg0;
4242 wxSize * _arg1;
4243 PyObject * _argo0 = 0;
4244 wxSize temp;
4245 PyObject * _obj1 = 0;
4246 char *_kwnames[] = { "self","sz", NULL };
4247 char _ptemp[128];
4248
4249 self = self;
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
4251 return NULL;
4252 if (_argo0) {
4253 if (_argo0 == Py_None) { _arg0 = NULL; }
4254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4256 return NULL;
4257 }
4258 }
4259 {
4260 _arg1 = &temp;
4261 if (! wxSize_helper(_obj1, &_arg1))
4262 return NULL;
4263 }
4264 {
4265 wxPy_BEGIN_ALLOW_THREADS;
4266 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
4267
4268 wxPy_END_ALLOW_THREADS;
4269 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4270 _resultobj = Py_BuildValue("s",_ptemp);
4271 return _resultobj;
4272 }
4273
4274 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4275 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject * _resultobj;
4277 wxPoint * _result;
4278 wxWindow * _arg0;
4279 wxPoint * _arg1;
4280 PyObject * _argo0 = 0;
4281 wxPoint temp;
4282 PyObject * _obj1 = 0;
4283 char *_kwnames[] = { "self","pt", NULL };
4284 char _ptemp[128];
4285
4286 self = self;
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
4288 return NULL;
4289 if (_argo0) {
4290 if (_argo0 == Py_None) { _arg0 = NULL; }
4291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4293 return NULL;
4294 }
4295 }
4296 {
4297 _arg1 = &temp;
4298 if (! wxPoint_helper(_obj1, &_arg1))
4299 return NULL;
4300 }
4301 {
4302 wxPy_BEGIN_ALLOW_THREADS;
4303 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
4304
4305 wxPy_END_ALLOW_THREADS;
4306 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4307 _resultobj = Py_BuildValue("s",_ptemp);
4308 return _resultobj;
4309 }
4310
4311 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4312 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject * _resultobj;
4314 wxSize * _result;
4315 wxWindow * _arg0;
4316 wxSize * _arg1;
4317 PyObject * _argo0 = 0;
4318 wxSize temp;
4319 PyObject * _obj1 = 0;
4320 char *_kwnames[] = { "self","sz", NULL };
4321 char _ptemp[128];
4322
4323 self = self;
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
4325 return NULL;
4326 if (_argo0) {
4327 if (_argo0 == Py_None) { _arg0 = NULL; }
4328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4330 return NULL;
4331 }
4332 }
4333 {
4334 _arg1 = &temp;
4335 if (! wxSize_helper(_obj1, &_arg1))
4336 return NULL;
4337 }
4338 {
4339 wxPy_BEGIN_ALLOW_THREADS;
4340 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
4341
4342 wxPy_END_ALLOW_THREADS;
4343 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4344 _resultobj = Py_BuildValue("s",_ptemp);
4345 return _resultobj;
4346 }
4347
4348 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4349 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject * _resultobj;
4351 wxWindow * _arg0;
4352 wxString * _arg1;
4353 PyObject * _argo0 = 0;
4354 PyObject * _obj1 = 0;
4355 char *_kwnames[] = { "self","tip", NULL };
4356
4357 self = self;
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
4359 return NULL;
4360 if (_argo0) {
4361 if (_argo0 == Py_None) { _arg0 = NULL; }
4362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4364 return NULL;
4365 }
4366 }
4367 {
4368 if (!PyString_Check(_obj1)) {
4369 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4370 return NULL;
4371 }
4372 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4373 }
4374 {
4375 wxPy_BEGIN_ALLOW_THREADS;
4376 wxWindow_SetToolTipString(_arg0,*_arg1);
4377
4378 wxPy_END_ALLOW_THREADS;
4379 } Py_INCREF(Py_None);
4380 _resultobj = Py_None;
4381 {
4382 if (_obj1)
4383 delete _arg1;
4384 }
4385 return _resultobj;
4386 }
4387
4388 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4389 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject * _resultobj;
4391 wxWindow * _arg0;
4392 wxToolTip * _arg1;
4393 PyObject * _argo0 = 0;
4394 PyObject * _argo1 = 0;
4395 char *_kwnames[] = { "self","tooltip", NULL };
4396
4397 self = self;
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
4399 return NULL;
4400 if (_argo0) {
4401 if (_argo0 == Py_None) { _arg0 = NULL; }
4402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4404 return NULL;
4405 }
4406 }
4407 if (_argo1) {
4408 if (_argo1 == Py_None) { _arg1 = NULL; }
4409 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
4410 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4411 return NULL;
4412 }
4413 }
4414 {
4415 wxPy_BEGIN_ALLOW_THREADS;
4416 wxWindow_SetToolTip(_arg0,_arg1);
4417
4418 wxPy_END_ALLOW_THREADS;
4419 } Py_INCREF(Py_None);
4420 _resultobj = Py_None;
4421 return _resultobj;
4422 }
4423
4424 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4425 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4426 PyObject * _resultobj;
4427 wxToolTip * _result;
4428 wxWindow * _arg0;
4429 PyObject * _argo0 = 0;
4430 char *_kwnames[] = { "self", NULL };
4431 char _ptemp[128];
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4440 return NULL;
4441 }
4442 }
4443 {
4444 wxPy_BEGIN_ALLOW_THREADS;
4445 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
4446
4447 wxPy_END_ALLOW_THREADS;
4448 } if (_result) {
4449 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
4450 _resultobj = Py_BuildValue("s",_ptemp);
4451 } else {
4452 Py_INCREF(Py_None);
4453 _resultobj = Py_None;
4454 }
4455 return _resultobj;
4456 }
4457
4458 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4459 static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject * _resultobj;
4461 wxWindow * _arg0;
4462 wxSizer * _arg1;
4463 PyObject * _argo0 = 0;
4464 PyObject * _argo1 = 0;
4465 char *_kwnames[] = { "self","sizer", NULL };
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1))
4469 return NULL;
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4474 return NULL;
4475 }
4476 }
4477 if (_argo1) {
4478 if (_argo1 == Py_None) { _arg1 = NULL; }
4479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
4480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4481 return NULL;
4482 }
4483 }
4484 {
4485 wxPy_BEGIN_ALLOW_THREADS;
4486 wxWindow_SetSizer(_arg0,_arg1);
4487
4488 wxPy_END_ALLOW_THREADS;
4489 } Py_INCREF(Py_None);
4490 _resultobj = Py_None;
4491 return _resultobj;
4492 }
4493
4494 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4495 static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject * _resultobj;
4497 wxValidator * _result;
4498 wxWindow * _arg0;
4499 PyObject * _argo0 = 0;
4500 char *_kwnames[] = { "self", NULL };
4501 char _ptemp[128];
4502
4503 self = self;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
4505 return NULL;
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4510 return NULL;
4511 }
4512 }
4513 {
4514 wxPy_BEGIN_ALLOW_THREADS;
4515 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
4516
4517 wxPy_END_ALLOW_THREADS;
4518 } if (_result) {
4519 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
4520 _resultobj = Py_BuildValue("s",_ptemp);
4521 } else {
4522 Py_INCREF(Py_None);
4523 _resultobj = Py_None;
4524 }
4525 return _resultobj;
4526 }
4527
4528 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4529 static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject * _resultobj;
4531 wxWindow * _arg0;
4532 wxValidator * _arg1;
4533 PyObject * _argo0 = 0;
4534 PyObject * _argo1 = 0;
4535 char *_kwnames[] = { "self","validator", NULL };
4536
4537 self = self;
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
4539 return NULL;
4540 if (_argo0) {
4541 if (_argo0 == Py_None) { _arg0 = NULL; }
4542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4544 return NULL;
4545 }
4546 }
4547 if (_argo1) {
4548 if (_argo1 == Py_None) { _arg1 = NULL; }
4549 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
4550 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4551 return NULL;
4552 }
4553 }
4554 {
4555 wxPy_BEGIN_ALLOW_THREADS;
4556 wxWindow_SetValidator(_arg0,*_arg1);
4557
4558 wxPy_END_ALLOW_THREADS;
4559 } Py_INCREF(Py_None);
4560 _resultobj = Py_None;
4561 return _resultobj;
4562 }
4563
4564 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4565 static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject * _resultobj;
4567 wxWindow * _arg0;
4568 wxDropTarget * _arg1;
4569 PyObject * _argo0 = 0;
4570 PyObject * _argo1 = 0;
4571 char *_kwnames[] = { "self","target", NULL };
4572
4573 self = self;
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
4575 return NULL;
4576 if (_argo0) {
4577 if (_argo0 == Py_None) { _arg0 = NULL; }
4578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4580 return NULL;
4581 }
4582 }
4583 if (_argo1) {
4584 if (_argo1 == Py_None) { _arg1 = NULL; }
4585 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
4586 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4587 return NULL;
4588 }
4589 }
4590 {
4591 wxPy_BEGIN_ALLOW_THREADS;
4592 wxWindow_SetDropTarget(_arg0,_arg1);
4593
4594 wxPy_END_ALLOW_THREADS;
4595 } Py_INCREF(Py_None);
4596 _resultobj = Py_None;
4597 return _resultobj;
4598 }
4599
4600 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4601 static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxDropTarget * _result;
4604 wxWindow * _arg0;
4605 PyObject * _argo0 = 0;
4606 char *_kwnames[] = { "self", NULL };
4607 char _ptemp[128];
4608
4609 self = self;
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
4611 return NULL;
4612 if (_argo0) {
4613 if (_argo0 == Py_None) { _arg0 = NULL; }
4614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4616 return NULL;
4617 }
4618 }
4619 {
4620 wxPy_BEGIN_ALLOW_THREADS;
4621 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
4622
4623 wxPy_END_ALLOW_THREADS;
4624 } if (_result) {
4625 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
4626 _resultobj = Py_BuildValue("s",_ptemp);
4627 } else {
4628 Py_INCREF(Py_None);
4629 _resultobj = Py_None;
4630 }
4631 return _resultobj;
4632 }
4633
4634 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4635 static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject * _resultobj;
4637 wxSize * _result;
4638 wxWindow * _arg0;
4639 PyObject * _argo0 = 0;
4640 char *_kwnames[] = { "self", NULL };
4641 char _ptemp[128];
4642
4643 self = self;
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
4645 return NULL;
4646 if (_argo0) {
4647 if (_argo0 == Py_None) { _arg0 = NULL; }
4648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4650 return NULL;
4651 }
4652 }
4653 {
4654 wxPy_BEGIN_ALLOW_THREADS;
4655 _result = new wxSize (wxWindow_GetBestSize(_arg0));
4656
4657 wxPy_END_ALLOW_THREADS;
4658 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4659 _resultobj = Py_BuildValue("s",_ptemp);
4660 return _resultobj;
4661 }
4662
4663 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4664 static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
4665 PyObject * _resultobj;
4666 wxWindow * _arg0;
4667 wxCaret * _arg1;
4668 PyObject * _argo0 = 0;
4669 PyObject * _argo1 = 0;
4670 char *_kwnames[] = { "self","caret", NULL };
4671
4672 self = self;
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
4674 return NULL;
4675 if (_argo0) {
4676 if (_argo0 == Py_None) { _arg0 = NULL; }
4677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4679 return NULL;
4680 }
4681 }
4682 if (_argo1) {
4683 if (_argo1 == Py_None) { _arg1 = NULL; }
4684 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
4685 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4686 return NULL;
4687 }
4688 }
4689 {
4690 wxPy_BEGIN_ALLOW_THREADS;
4691 wxWindow_SetCaret(_arg0,_arg1);
4692
4693 wxPy_END_ALLOW_THREADS;
4694 } Py_INCREF(Py_None);
4695 _resultobj = Py_None;
4696 return _resultobj;
4697 }
4698
4699 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4700 static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
4701 PyObject * _resultobj;
4702 wxCaret * _result;
4703 wxWindow * _arg0;
4704 PyObject * _argo0 = 0;
4705 char *_kwnames[] = { "self", NULL };
4706 char _ptemp[128];
4707
4708 self = self;
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
4710 return NULL;
4711 if (_argo0) {
4712 if (_argo0 == Py_None) { _arg0 = NULL; }
4713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4715 return NULL;
4716 }
4717 }
4718 {
4719 wxPy_BEGIN_ALLOW_THREADS;
4720 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
4721
4722 wxPy_END_ALLOW_THREADS;
4723 } if (_result) {
4724 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
4725 _resultobj = Py_BuildValue("s",_ptemp);
4726 } else {
4727 Py_INCREF(Py_None);
4728 _resultobj = Py_None;
4729 }
4730 return _resultobj;
4731 }
4732
4733 static void *SwigwxPanelTowxWindow(void *ptr) {
4734 wxPanel *src;
4735 wxWindow *dest;
4736 src = (wxPanel *) ptr;
4737 dest = (wxWindow *) src;
4738 return (void *) dest;
4739 }
4740
4741 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
4742 wxPanel *src;
4743 wxEvtHandler *dest;
4744 src = (wxPanel *) ptr;
4745 dest = (wxEvtHandler *) src;
4746 return (void *) dest;
4747 }
4748
4749 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4750 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject * _resultobj;
4752 wxPanel * _result;
4753 wxWindow * _arg0;
4754 wxWindowID _arg1;
4755 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4756 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4757 long _arg4 = (long ) wxTAB_TRAVERSAL;
4758 char * _arg5 = (char *) "panel";
4759 PyObject * _argo0 = 0;
4760 wxPoint temp;
4761 PyObject * _obj2 = 0;
4762 wxSize temp0;
4763 PyObject * _obj3 = 0;
4764 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4765 char _ptemp[128];
4766
4767 self = self;
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4769 return NULL;
4770 if (_argo0) {
4771 if (_argo0 == Py_None) { _arg0 = NULL; }
4772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4774 return NULL;
4775 }
4776 }
4777 if (_obj2)
4778 {
4779 _arg2 = &temp;
4780 if (! wxPoint_helper(_obj2, &_arg2))
4781 return NULL;
4782 }
4783 if (_obj3)
4784 {
4785 _arg3 = &temp0;
4786 if (! wxSize_helper(_obj3, &_arg3))
4787 return NULL;
4788 }
4789 {
4790 wxPy_BEGIN_ALLOW_THREADS;
4791 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4792
4793 wxPy_END_ALLOW_THREADS;
4794 } if (_result) {
4795 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
4796 _resultobj = Py_BuildValue("s",_ptemp);
4797 } else {
4798 Py_INCREF(Py_None);
4799 _resultobj = Py_None;
4800 }
4801 return _resultobj;
4802 }
4803
4804 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4805 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject * _resultobj;
4807 wxPanel * _arg0;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 wxPanel_InitDialog(_arg0);
4824
4825 wxPy_END_ALLOW_THREADS;
4826 } Py_INCREF(Py_None);
4827 _resultobj = Py_None;
4828 return _resultobj;
4829 }
4830
4831 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4832 static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject * _resultobj;
4834 wxButton * _result;
4835 wxPanel * _arg0;
4836 PyObject * _argo0 = 0;
4837 char *_kwnames[] = { "self", NULL };
4838 char _ptemp[128];
4839
4840 self = self;
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_GetDefaultItem",_kwnames,&_argo0))
4842 return NULL;
4843 if (_argo0) {
4844 if (_argo0 == Py_None) { _arg0 = NULL; }
4845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4847 return NULL;
4848 }
4849 }
4850 {
4851 wxPy_BEGIN_ALLOW_THREADS;
4852 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
4853
4854 wxPy_END_ALLOW_THREADS;
4855 } if (_result) {
4856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
4857 _resultobj = Py_BuildValue("s",_ptemp);
4858 } else {
4859 Py_INCREF(Py_None);
4860 _resultobj = Py_None;
4861 }
4862 return _resultobj;
4863 }
4864
4865 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4866 static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxPanel * _arg0;
4869 wxButton * _arg1;
4870 PyObject * _argo0 = 0;
4871 PyObject * _argo1 = 0;
4872 char *_kwnames[] = { "self","btn", NULL };
4873
4874 self = self;
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPanel_SetDefaultItem",_kwnames,&_argo0,&_argo1))
4876 return NULL;
4877 if (_argo0) {
4878 if (_argo0 == Py_None) { _arg0 = NULL; }
4879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4881 return NULL;
4882 }
4883 }
4884 if (_argo1) {
4885 if (_argo1 == Py_None) { _arg1 = NULL; }
4886 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxButton_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4888 return NULL;
4889 }
4890 }
4891 {
4892 wxPy_BEGIN_ALLOW_THREADS;
4893 wxPanel_SetDefaultItem(_arg0,_arg1);
4894
4895 wxPy_END_ALLOW_THREADS;
4896 } Py_INCREF(Py_None);
4897 _resultobj = Py_None;
4898 return _resultobj;
4899 }
4900
4901 static void *SwigwxDialogTowxPanel(void *ptr) {
4902 wxDialog *src;
4903 wxPanel *dest;
4904 src = (wxDialog *) ptr;
4905 dest = (wxPanel *) src;
4906 return (void *) dest;
4907 }
4908
4909 static void *SwigwxDialogTowxWindow(void *ptr) {
4910 wxDialog *src;
4911 wxWindow *dest;
4912 src = (wxDialog *) ptr;
4913 dest = (wxWindow *) src;
4914 return (void *) dest;
4915 }
4916
4917 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
4918 wxDialog *src;
4919 wxEvtHandler *dest;
4920 src = (wxDialog *) ptr;
4921 dest = (wxEvtHandler *) src;
4922 return (void *) dest;
4923 }
4924
4925 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4926 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 wxDialog * _result;
4929 wxWindow * _arg0;
4930 wxWindowID _arg1;
4931 wxString * _arg2;
4932 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
4933 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
4934 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
4935 char * _arg6 = (char *) "dialogBox";
4936 PyObject * _argo0 = 0;
4937 PyObject * _obj2 = 0;
4938 wxPoint temp;
4939 PyObject * _obj3 = 0;
4940 wxSize temp0;
4941 PyObject * _obj4 = 0;
4942 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
4943 char _ptemp[128];
4944
4945 self = self;
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
4947 return NULL;
4948 if (_argo0) {
4949 if (_argo0 == Py_None) { _arg0 = NULL; }
4950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4952 return NULL;
4953 }
4954 }
4955 {
4956 if (!PyString_Check(_obj2)) {
4957 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4958 return NULL;
4959 }
4960 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4961 }
4962 if (_obj3)
4963 {
4964 _arg3 = &temp;
4965 if (! wxPoint_helper(_obj3, &_arg3))
4966 return NULL;
4967 }
4968 if (_obj4)
4969 {
4970 _arg4 = &temp0;
4971 if (! wxSize_helper(_obj4, &_arg4))
4972 return NULL;
4973 }
4974 {
4975 wxPy_BEGIN_ALLOW_THREADS;
4976 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4977
4978 wxPy_END_ALLOW_THREADS;
4979 } if (_result) {
4980 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
4981 _resultobj = Py_BuildValue("s",_ptemp);
4982 } else {
4983 Py_INCREF(Py_None);
4984 _resultobj = Py_None;
4985 }
4986 {
4987 if (_obj2)
4988 delete _arg2;
4989 }
4990 return _resultobj;
4991 }
4992
4993 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4994 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject * _resultobj;
4996 wxDialog * _arg0;
4997 int _arg1 = (int ) wxBOTH;
4998 PyObject * _argo0 = 0;
4999 char *_kwnames[] = { "self","direction", NULL };
5000
5001 self = self;
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
5003 return NULL;
5004 if (_argo0) {
5005 if (_argo0 == Py_None) { _arg0 = NULL; }
5006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5008 return NULL;
5009 }
5010 }
5011 {
5012 wxPy_BEGIN_ALLOW_THREADS;
5013 wxDialog_Centre(_arg0,_arg1);
5014
5015 wxPy_END_ALLOW_THREADS;
5016 } Py_INCREF(Py_None);
5017 _resultobj = Py_None;
5018 return _resultobj;
5019 }
5020
5021 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5022 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject * _resultobj;
5024 wxDialog * _arg0;
5025 int _arg1;
5026 PyObject * _argo0 = 0;
5027 char *_kwnames[] = { "self","retCode", NULL };
5028
5029 self = self;
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
5031 return NULL;
5032 if (_argo0) {
5033 if (_argo0 == Py_None) { _arg0 = NULL; }
5034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5036 return NULL;
5037 }
5038 }
5039 {
5040 wxPy_BEGIN_ALLOW_THREADS;
5041 wxDialog_EndModal(_arg0,_arg1);
5042
5043 wxPy_END_ALLOW_THREADS;
5044 } Py_INCREF(Py_None);
5045 _resultobj = Py_None;
5046 return _resultobj;
5047 }
5048
5049 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5050 static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject * _resultobj;
5052 wxString * _result;
5053 wxDialog * _arg0;
5054 PyObject * _argo0 = 0;
5055 char *_kwnames[] = { "self", NULL };
5056
5057 self = self;
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetTitle",_kwnames,&_argo0))
5059 return NULL;
5060 if (_argo0) {
5061 if (_argo0 == Py_None) { _arg0 = NULL; }
5062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5064 return NULL;
5065 }
5066 }
5067 {
5068 wxPy_BEGIN_ALLOW_THREADS;
5069 _result = new wxString (wxDialog_GetTitle(_arg0));
5070
5071 wxPy_END_ALLOW_THREADS;
5072 }{
5073 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5074 }
5075 {
5076 delete _result;
5077 }
5078 return _resultobj;
5079 }
5080
5081 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5082 static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject * _resultobj;
5084 wxDialog * _arg0;
5085 bool _arg1;
5086 PyObject * _argo0 = 0;
5087 int tempbool1;
5088 char *_kwnames[] = { "self","iconize", NULL };
5089
5090 self = self;
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Iconize",_kwnames,&_argo0,&tempbool1))
5092 return NULL;
5093 if (_argo0) {
5094 if (_argo0 == Py_None) { _arg0 = NULL; }
5095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5097 return NULL;
5098 }
5099 }
5100 _arg1 = (bool ) tempbool1;
5101 {
5102 wxPy_BEGIN_ALLOW_THREADS;
5103 wxDialog_Iconize(_arg0,_arg1);
5104
5105 wxPy_END_ALLOW_THREADS;
5106 } Py_INCREF(Py_None);
5107 _resultobj = Py_None;
5108 return _resultobj;
5109 }
5110
5111 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5112 static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject * _resultobj;
5114 bool _result;
5115 wxDialog * _arg0;
5116 PyObject * _argo0 = 0;
5117 char *_kwnames[] = { "self", NULL };
5118
5119 self = self;
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsIconized",_kwnames,&_argo0))
5121 return NULL;
5122 if (_argo0) {
5123 if (_argo0 == Py_None) { _arg0 = NULL; }
5124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5126 return NULL;
5127 }
5128 }
5129 {
5130 wxPy_BEGIN_ALLOW_THREADS;
5131 _result = (bool )wxDialog_IsIconized(_arg0);
5132
5133 wxPy_END_ALLOW_THREADS;
5134 } _resultobj = Py_BuildValue("i",_result);
5135 return _resultobj;
5136 }
5137
5138 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5139 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject * _resultobj;
5141 wxDialog * _arg0;
5142 bool _arg1;
5143 PyObject * _argo0 = 0;
5144 int tempbool1;
5145 char *_kwnames[] = { "self","flag", NULL };
5146
5147 self = self;
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
5149 return NULL;
5150 if (_argo0) {
5151 if (_argo0 == Py_None) { _arg0 = NULL; }
5152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5154 return NULL;
5155 }
5156 }
5157 _arg1 = (bool ) tempbool1;
5158 {
5159 wxPy_BEGIN_ALLOW_THREADS;
5160 wxDialog_SetModal(_arg0,_arg1);
5161
5162 wxPy_END_ALLOW_THREADS;
5163 } Py_INCREF(Py_None);
5164 _resultobj = Py_None;
5165 return _resultobj;
5166 }
5167
5168 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5169 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject * _resultobj;
5171 bool _result;
5172 wxDialog * _arg0;
5173 PyObject * _argo0 = 0;
5174 char *_kwnames[] = { "self", NULL };
5175
5176 self = self;
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
5178 return NULL;
5179 if (_argo0) {
5180 if (_argo0 == Py_None) { _arg0 = NULL; }
5181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5183 return NULL;
5184 }
5185 }
5186 {
5187 wxPy_BEGIN_ALLOW_THREADS;
5188 _result = (bool )wxDialog_IsModal(_arg0);
5189
5190 wxPy_END_ALLOW_THREADS;
5191 } _resultobj = Py_BuildValue("i",_result);
5192 return _resultobj;
5193 }
5194
5195 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5196 static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5197 PyObject * _resultobj;
5198 wxDialog * _arg0;
5199 wxString * _arg1;
5200 PyObject * _argo0 = 0;
5201 PyObject * _obj1 = 0;
5202 char *_kwnames[] = { "self","title", NULL };
5203
5204 self = self;
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_SetTitle",_kwnames,&_argo0,&_obj1))
5206 return NULL;
5207 if (_argo0) {
5208 if (_argo0 == Py_None) { _arg0 = NULL; }
5209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5211 return NULL;
5212 }
5213 }
5214 {
5215 if (!PyString_Check(_obj1)) {
5216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5217 return NULL;
5218 }
5219 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5220 }
5221 {
5222 wxPy_BEGIN_ALLOW_THREADS;
5223 wxDialog_SetTitle(_arg0,*_arg1);
5224
5225 wxPy_END_ALLOW_THREADS;
5226 } Py_INCREF(Py_None);
5227 _resultobj = Py_None;
5228 {
5229 if (_obj1)
5230 delete _arg1;
5231 }
5232 return _resultobj;
5233 }
5234
5235 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5236 static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject * _resultobj;
5238 bool _result;
5239 wxDialog * _arg0;
5240 bool _arg1;
5241 PyObject * _argo0 = 0;
5242 int tempbool1;
5243 char *_kwnames[] = { "self","show", NULL };
5244
5245 self = self;
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Show",_kwnames,&_argo0,&tempbool1))
5247 return NULL;
5248 if (_argo0) {
5249 if (_argo0 == Py_None) { _arg0 = NULL; }
5250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5252 return NULL;
5253 }
5254 }
5255 _arg1 = (bool ) tempbool1;
5256 {
5257 wxPy_BEGIN_ALLOW_THREADS;
5258 _result = (bool )wxDialog_Show(_arg0,_arg1);
5259
5260 wxPy_END_ALLOW_THREADS;
5261 } _resultobj = Py_BuildValue("i",_result);
5262 return _resultobj;
5263 }
5264
5265 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5266 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
5267 PyObject * _resultobj;
5268 int _result;
5269 wxDialog * _arg0;
5270 PyObject * _argo0 = 0;
5271 char *_kwnames[] = { "self", NULL };
5272
5273 self = self;
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
5275 return NULL;
5276 if (_argo0) {
5277 if (_argo0 == Py_None) { _arg0 = NULL; }
5278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5280 return NULL;
5281 }
5282 }
5283 {
5284 wxPy_BEGIN_ALLOW_THREADS;
5285 _result = (int )wxDialog_ShowModal(_arg0);
5286
5287 wxPy_END_ALLOW_THREADS;
5288 } _resultobj = Py_BuildValue("i",_result);
5289 return _resultobj;
5290 }
5291
5292 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5293 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject * _resultobj;
5295 int _result;
5296 wxDialog * _arg0;
5297 PyObject * _argo0 = 0;
5298 char *_kwnames[] = { "self", NULL };
5299
5300 self = self;
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
5302 return NULL;
5303 if (_argo0) {
5304 if (_argo0 == Py_None) { _arg0 = NULL; }
5305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5307 return NULL;
5308 }
5309 }
5310 {
5311 wxPy_BEGIN_ALLOW_THREADS;
5312 _result = (int )wxDialog_GetReturnCode(_arg0);
5313
5314 wxPy_END_ALLOW_THREADS;
5315 } _resultobj = Py_BuildValue("i",_result);
5316 return _resultobj;
5317 }
5318
5319 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5320 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5321 PyObject * _resultobj;
5322 wxDialog * _arg0;
5323 int _arg1;
5324 PyObject * _argo0 = 0;
5325 char *_kwnames[] = { "self","retCode", NULL };
5326
5327 self = self;
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
5329 return NULL;
5330 if (_argo0) {
5331 if (_argo0 == Py_None) { _arg0 = NULL; }
5332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5334 return NULL;
5335 }
5336 }
5337 {
5338 wxPy_BEGIN_ALLOW_THREADS;
5339 wxDialog_SetReturnCode(_arg0,_arg1);
5340
5341 wxPy_END_ALLOW_THREADS;
5342 } Py_INCREF(Py_None);
5343 _resultobj = Py_None;
5344 return _resultobj;
5345 }
5346
5347 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
5348 wxScrolledWindow *src;
5349 wxPanel *dest;
5350 src = (wxScrolledWindow *) ptr;
5351 dest = (wxPanel *) src;
5352 return (void *) dest;
5353 }
5354
5355 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
5356 wxScrolledWindow *src;
5357 wxWindow *dest;
5358 src = (wxScrolledWindow *) ptr;
5359 dest = (wxWindow *) src;
5360 return (void *) dest;
5361 }
5362
5363 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
5364 wxScrolledWindow *src;
5365 wxEvtHandler *dest;
5366 src = (wxScrolledWindow *) ptr;
5367 dest = (wxEvtHandler *) src;
5368 return (void *) dest;
5369 }
5370
5371 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5372 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject * _resultobj;
5374 wxScrolledWindow * _result;
5375 wxWindow * _arg0;
5376 wxWindowID _arg1 = (wxWindowID ) -1;
5377 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
5378 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
5379 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
5380 char * _arg5 = (char *) "scrolledWindow";
5381 PyObject * _argo0 = 0;
5382 wxPoint temp;
5383 PyObject * _obj2 = 0;
5384 wxSize temp0;
5385 PyObject * _obj3 = 0;
5386 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
5387 char _ptemp[128];
5388
5389 self = self;
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
5391 return NULL;
5392 if (_argo0) {
5393 if (_argo0 == Py_None) { _arg0 = NULL; }
5394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5396 return NULL;
5397 }
5398 }
5399 if (_obj2)
5400 {
5401 _arg2 = &temp;
5402 if (! wxPoint_helper(_obj2, &_arg2))
5403 return NULL;
5404 }
5405 if (_obj3)
5406 {
5407 _arg3 = &temp0;
5408 if (! wxSize_helper(_obj3, &_arg3))
5409 return NULL;
5410 }
5411 {
5412 wxPy_BEGIN_ALLOW_THREADS;
5413 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
5414
5415 wxPy_END_ALLOW_THREADS;
5416 } if (_result) {
5417 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
5418 _resultobj = Py_BuildValue("s",_ptemp);
5419 } else {
5420 Py_INCREF(Py_None);
5421 _resultobj = Py_None;
5422 }
5423 return _resultobj;
5424 }
5425
5426 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5427 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject * _resultobj;
5429 wxScrolledWindow * _arg0;
5430 bool _arg1;
5431 bool _arg2;
5432 PyObject * _argo0 = 0;
5433 int tempbool1;
5434 int tempbool2;
5435 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
5436
5437 self = self;
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
5439 return NULL;
5440 if (_argo0) {
5441 if (_argo0 == Py_None) { _arg0 = NULL; }
5442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5444 return NULL;
5445 }
5446 }
5447 _arg1 = (bool ) tempbool1;
5448 _arg2 = (bool ) tempbool2;
5449 {
5450 wxPy_BEGIN_ALLOW_THREADS;
5451 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
5452
5453 wxPy_END_ALLOW_THREADS;
5454 } Py_INCREF(Py_None);
5455 _resultobj = Py_None;
5456 return _resultobj;
5457 }
5458
5459 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5460 static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject * _resultobj;
5462 int _result;
5463 wxScrolledWindow * _arg0;
5464 int _arg1;
5465 PyObject * _argo0 = 0;
5466 char *_kwnames[] = { "self","orient", NULL };
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5475 return NULL;
5476 }
5477 }
5478 {
5479 wxPy_BEGIN_ALLOW_THREADS;
5480 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
5481
5482 wxPy_END_ALLOW_THREADS;
5483 } _resultobj = Py_BuildValue("i",_result);
5484 return _resultobj;
5485 }
5486
5487 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5488 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject * _resultobj;
5490 wxScrolledWindow * _arg0;
5491 int * _arg1;
5492 int temp;
5493 int * _arg2;
5494 int temp0;
5495 PyObject * _argo0 = 0;
5496 char *_kwnames[] = { "self", NULL };
5497
5498 self = self;
5499 {
5500 _arg1 = &temp;
5501 }
5502 {
5503 _arg2 = &temp0;
5504 }
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5511 return NULL;
5512 }
5513 }
5514 {
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
5517
5518 wxPy_END_ALLOW_THREADS;
5519 } Py_INCREF(Py_None);
5520 _resultobj = Py_None;
5521 {
5522 PyObject *o;
5523 o = PyInt_FromLong((long) (*_arg1));
5524 _resultobj = t_output_helper(_resultobj, o);
5525 }
5526 {
5527 PyObject *o;
5528 o = PyInt_FromLong((long) (*_arg2));
5529 _resultobj = t_output_helper(_resultobj, o);
5530 }
5531 return _resultobj;
5532 }
5533
5534 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5535 static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxWindow * _result;
5538 wxScrolledWindow * _arg0;
5539 PyObject * _argo0 = 0;
5540 char *_kwnames[] = { "self", NULL };
5541 char _ptemp[128];
5542
5543 self = self;
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
5545 return NULL;
5546 if (_argo0) {
5547 if (_argo0 == Py_None) { _arg0 = NULL; }
5548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5550 return NULL;
5551 }
5552 }
5553 {
5554 wxPy_BEGIN_ALLOW_THREADS;
5555 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
5556
5557 wxPy_END_ALLOW_THREADS;
5558 } if (_result) {
5559 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
5560 _resultobj = Py_BuildValue("s",_ptemp);
5561 } else {
5562 Py_INCREF(Py_None);
5563 _resultobj = Py_None;
5564 }
5565 return _resultobj;
5566 }
5567
5568 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5569 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5570 PyObject * _resultobj;
5571 wxScrolledWindow * _arg0;
5572 int * _arg1;
5573 int temp;
5574 int * _arg2;
5575 int temp0;
5576 PyObject * _argo0 = 0;
5577 char *_kwnames[] = { "self", NULL };
5578
5579 self = self;
5580 {
5581 _arg1 = &temp;
5582 }
5583 {
5584 _arg2 = &temp0;
5585 }
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
5587 return NULL;
5588 if (_argo0) {
5589 if (_argo0 == Py_None) { _arg0 = NULL; }
5590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5592 return NULL;
5593 }
5594 }
5595 {
5596 wxPy_BEGIN_ALLOW_THREADS;
5597 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
5598
5599 wxPy_END_ALLOW_THREADS;
5600 } Py_INCREF(Py_None);
5601 _resultobj = Py_None;
5602 {
5603 PyObject *o;
5604 o = PyInt_FromLong((long) (*_arg1));
5605 _resultobj = t_output_helper(_resultobj, o);
5606 }
5607 {
5608 PyObject *o;
5609 o = PyInt_FromLong((long) (*_arg2));
5610 _resultobj = t_output_helper(_resultobj, o);
5611 }
5612 return _resultobj;
5613 }
5614
5615 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5616 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject * _resultobj;
5618 bool _result;
5619 wxScrolledWindow * _arg0;
5620 PyObject * _argo0 = 0;
5621 char *_kwnames[] = { "self", NULL };
5622
5623 self = self;
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
5625 return NULL;
5626 if (_argo0) {
5627 if (_argo0 == Py_None) { _arg0 = NULL; }
5628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5630 return NULL;
5631 }
5632 }
5633 {
5634 wxPy_BEGIN_ALLOW_THREADS;
5635 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
5636
5637 wxPy_END_ALLOW_THREADS;
5638 } _resultobj = Py_BuildValue("i",_result);
5639 return _resultobj;
5640 }
5641
5642 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5643 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject * _resultobj;
5645 wxScrolledWindow * _arg0;
5646 wxDC * _arg1;
5647 PyObject * _argo0 = 0;
5648 PyObject * _argo1 = 0;
5649 char *_kwnames[] = { "self","dc", NULL };
5650
5651 self = self;
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
5653 return NULL;
5654 if (_argo0) {
5655 if (_argo0 == Py_None) { _arg0 = NULL; }
5656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5658 return NULL;
5659 }
5660 }
5661 if (_argo1) {
5662 if (_argo1 == Py_None) { _arg1 = NULL; }
5663 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5665 return NULL;
5666 }
5667 }
5668 {
5669 wxPy_BEGIN_ALLOW_THREADS;
5670 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
5671
5672 wxPy_END_ALLOW_THREADS;
5673 } Py_INCREF(Py_None);
5674 _resultobj = Py_None;
5675 return _resultobj;
5676 }
5677
5678 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5679 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject * _resultobj;
5681 wxScrolledWindow * _arg0;
5682 int _arg1;
5683 int _arg2;
5684 PyObject * _argo0 = 0;
5685 char *_kwnames[] = { "self","x","y", NULL };
5686
5687 self = self;
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
5689 return NULL;
5690 if (_argo0) {
5691 if (_argo0 == Py_None) { _arg0 = NULL; }
5692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5694 return NULL;
5695 }
5696 }
5697 {
5698 wxPy_BEGIN_ALLOW_THREADS;
5699 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
5700
5701 wxPy_END_ALLOW_THREADS;
5702 } Py_INCREF(Py_None);
5703 _resultobj = Py_None;
5704 return _resultobj;
5705 }
5706
5707 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5708 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
5709 PyObject * _resultobj;
5710 wxScrolledWindow * _arg0;
5711 int _arg1;
5712 int _arg2;
5713 int _arg3;
5714 int _arg4;
5715 int _arg5 = (int ) 0;
5716 int _arg6 = (int ) 0;
5717 PyObject * _argo0 = 0;
5718 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL };
5719
5720 self = self;
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
5722 return NULL;
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5727 return NULL;
5728 }
5729 }
5730 {
5731 wxPy_BEGIN_ALLOW_THREADS;
5732 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5733
5734 wxPy_END_ALLOW_THREADS;
5735 } Py_INCREF(Py_None);
5736 _resultobj = Py_None;
5737 return _resultobj;
5738 }
5739
5740 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5741 static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject * _resultobj;
5743 wxScrolledWindow * _arg0;
5744 int _arg1;
5745 int _arg2;
5746 PyObject * _argo0 = 0;
5747 char *_kwnames[] = { "self","orient","pageSize", NULL };
5748
5749 self = self;
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
5751 return NULL;
5752 if (_argo0) {
5753 if (_argo0 == Py_None) { _arg0 = NULL; }
5754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5756 return NULL;
5757 }
5758 }
5759 {
5760 wxPy_BEGIN_ALLOW_THREADS;
5761 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
5762
5763 wxPy_END_ALLOW_THREADS;
5764 } Py_INCREF(Py_None);
5765 _resultobj = Py_None;
5766 return _resultobj;
5767 }
5768
5769 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5770 static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject * _resultobj;
5772 wxScrolledWindow * _arg0;
5773 wxWindow * _arg1;
5774 PyObject * _argo0 = 0;
5775 PyObject * _argo1 = 0;
5776 char *_kwnames[] = { "self","window", NULL };
5777
5778 self = self;
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
5780 return NULL;
5781 if (_argo0) {
5782 if (_argo0 == Py_None) { _arg0 = NULL; }
5783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5785 return NULL;
5786 }
5787 }
5788 if (_argo1) {
5789 if (_argo1 == Py_None) { _arg1 = NULL; }
5790 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5791 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5792 return NULL;
5793 }
5794 }
5795 {
5796 wxPy_BEGIN_ALLOW_THREADS;
5797 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
5798
5799 wxPy_END_ALLOW_THREADS;
5800 } Py_INCREF(Py_None);
5801 _resultobj = Py_None;
5802 return _resultobj;
5803 }
5804
5805 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5806 static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject * _resultobj;
5808 wxScrolledWindow * _arg0;
5809 int * _arg1;
5810 int temp;
5811 int * _arg2;
5812 int temp0;
5813 PyObject * _argo0 = 0;
5814 char *_kwnames[] = { "self", NULL };
5815
5816 self = self;
5817 {
5818 _arg1 = &temp;
5819 }
5820 {
5821 _arg2 = &temp0;
5822 }
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_ViewStart",_kwnames,&_argo0))
5824 return NULL;
5825 if (_argo0) {
5826 if (_argo0 == Py_None) { _arg0 = NULL; }
5827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5829 return NULL;
5830 }
5831 }
5832 {
5833 wxPy_BEGIN_ALLOW_THREADS;
5834 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
5835
5836 wxPy_END_ALLOW_THREADS;
5837 } Py_INCREF(Py_None);
5838 _resultobj = Py_None;
5839 {
5840 PyObject *o;
5841 o = PyInt_FromLong((long) (*_arg1));
5842 _resultobj = t_output_helper(_resultobj, o);
5843 }
5844 {
5845 PyObject *o;
5846 o = PyInt_FromLong((long) (*_arg2));
5847 _resultobj = t_output_helper(_resultobj, o);
5848 }
5849 return _resultobj;
5850 }
5851
5852 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5853 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject * _resultobj;
5855 wxScrolledWindow * _arg0;
5856 int _arg1;
5857 int _arg2;
5858 int * _arg3;
5859 int temp;
5860 int * _arg4;
5861 int temp0;
5862 PyObject * _argo0 = 0;
5863 char *_kwnames[] = { "self","x","y", NULL };
5864
5865 self = self;
5866 {
5867 _arg3 = &temp;
5868 }
5869 {
5870 _arg4 = &temp0;
5871 }
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5873 return NULL;
5874 if (_argo0) {
5875 if (_argo0 == Py_None) { _arg0 = NULL; }
5876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5878 return NULL;
5879 }
5880 }
5881 {
5882 wxPy_BEGIN_ALLOW_THREADS;
5883 wxScrolledWindow_CalcScrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5884
5885 wxPy_END_ALLOW_THREADS;
5886 } Py_INCREF(Py_None);
5887 _resultobj = Py_None;
5888 {
5889 PyObject *o;
5890 o = PyInt_FromLong((long) (*_arg3));
5891 _resultobj = t_output_helper(_resultobj, o);
5892 }
5893 {
5894 PyObject *o;
5895 o = PyInt_FromLong((long) (*_arg4));
5896 _resultobj = t_output_helper(_resultobj, o);
5897 }
5898 return _resultobj;
5899 }
5900
5901 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5902 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5903 PyObject * _resultobj;
5904 wxScrolledWindow * _arg0;
5905 int _arg1;
5906 int _arg2;
5907 int * _arg3;
5908 int temp;
5909 int * _arg4;
5910 int temp0;
5911 PyObject * _argo0 = 0;
5912 char *_kwnames[] = { "self","x","y", NULL };
5913
5914 self = self;
5915 {
5916 _arg3 = &temp;
5917 }
5918 {
5919 _arg4 = &temp0;
5920 }
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5922 return NULL;
5923 if (_argo0) {
5924 if (_argo0 == Py_None) { _arg0 = NULL; }
5925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5927 return NULL;
5928 }
5929 }
5930 {
5931 wxPy_BEGIN_ALLOW_THREADS;
5932 wxScrolledWindow_CalcUnscrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5933
5934 wxPy_END_ALLOW_THREADS;
5935 } Py_INCREF(Py_None);
5936 _resultobj = Py_None;
5937 {
5938 PyObject *o;
5939 o = PyInt_FromLong((long) (*_arg3));
5940 _resultobj = t_output_helper(_resultobj, o);
5941 }
5942 {
5943 PyObject *o;
5944 o = PyInt_FromLong((long) (*_arg4));
5945 _resultobj = t_output_helper(_resultobj, o);
5946 }
5947 return _resultobj;
5948 }
5949
5950 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
5951 wxMenu *src;
5952 wxEvtHandler *dest;
5953 src = (wxMenu *) ptr;
5954 dest = (wxEvtHandler *) src;
5955 return (void *) dest;
5956 }
5957
5958 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5959 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject * _resultobj;
5961 wxMenu * _result;
5962 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
5963 long _arg1 = (long ) 0;
5964 PyObject * _obj0 = 0;
5965 char *_kwnames[] = { "title","style", NULL };
5966 char _ptemp[128];
5967
5968 self = self;
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
5970 return NULL;
5971 if (_obj0)
5972 {
5973 if (!PyString_Check(_obj0)) {
5974 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5975 return NULL;
5976 }
5977 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
5978 }
5979 {
5980 wxPy_BEGIN_ALLOW_THREADS;
5981 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
5982
5983 wxPy_END_ALLOW_THREADS;
5984 } if (_result) {
5985 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5986 _resultobj = Py_BuildValue("s",_ptemp);
5987 } else {
5988 Py_INCREF(Py_None);
5989 _resultobj = Py_None;
5990 }
5991 {
5992 if (_obj0)
5993 delete _arg0;
5994 }
5995 return _resultobj;
5996 }
5997
5998 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5999 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject * _resultobj;
6001 wxMenu * _arg0;
6002 int _arg1;
6003 wxString * _arg2;
6004 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
6005 int _arg4 = (int ) FALSE;
6006 PyObject * _argo0 = 0;
6007 PyObject * _obj2 = 0;
6008 PyObject * _obj3 = 0;
6009 char *_kwnames[] = { "self","id","item","helpString","checkable", NULL };
6010
6011 self = self;
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
6013 return NULL;
6014 if (_argo0) {
6015 if (_argo0 == Py_None) { _arg0 = NULL; }
6016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6018 return NULL;
6019 }
6020 }
6021 {
6022 if (!PyString_Check(_obj2)) {
6023 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6024 return NULL;
6025 }
6026 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6027 }
6028 if (_obj3)
6029 {
6030 if (!PyString_Check(_obj3)) {
6031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6032 return NULL;
6033 }
6034 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
6035 }
6036 {
6037 wxPy_BEGIN_ALLOW_THREADS;
6038 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
6039
6040 wxPy_END_ALLOW_THREADS;
6041 } Py_INCREF(Py_None);
6042 _resultobj = Py_None;
6043 {
6044 if (_obj2)
6045 delete _arg2;
6046 }
6047 {
6048 if (_obj3)
6049 delete _arg3;
6050 }
6051 return _resultobj;
6052 }
6053
6054 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6055 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
6056 PyObject * _resultobj;
6057 wxMenu * _arg0;
6058 int _arg1;
6059 wxString * _arg2;
6060 wxMenu * _arg3;
6061 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
6062 PyObject * _argo0 = 0;
6063 PyObject * _obj2 = 0;
6064 PyObject * _argo3 = 0;
6065 PyObject * _obj4 = 0;
6066 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6075 return NULL;
6076 }
6077 }
6078 {
6079 if (!PyString_Check(_obj2)) {
6080 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6081 return NULL;
6082 }
6083 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6084 }
6085 if (_argo3) {
6086 if (_argo3 == Py_None) { _arg3 = NULL; }
6087 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
6088 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6089 return NULL;
6090 }
6091 }
6092 if (_obj4)
6093 {
6094 if (!PyString_Check(_obj4)) {
6095 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6096 return NULL;
6097 }
6098 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
6099 }
6100 {
6101 wxPy_BEGIN_ALLOW_THREADS;
6102 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
6103
6104 wxPy_END_ALLOW_THREADS;
6105 } Py_INCREF(Py_None);
6106 _resultobj = Py_None;
6107 {
6108 if (_obj2)
6109 delete _arg2;
6110 }
6111 {
6112 if (_obj4)
6113 delete _arg4;
6114 }
6115 return _resultobj;
6116 }
6117
6118 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6119 static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject * _resultobj;
6121 wxMenu * _arg0;
6122 wxMenuItem * _arg1;
6123 PyObject * _argo0 = 0;
6124 PyObject * _argo1 = 0;
6125 char *_kwnames[] = { "self","item", NULL };
6126
6127 self = self;
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
6129 return NULL;
6130 if (_argo0) {
6131 if (_argo0 == Py_None) { _arg0 = NULL; }
6132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6134 return NULL;
6135 }
6136 }
6137 if (_argo1) {
6138 if (_argo1 == Py_None) { _arg1 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6141 return NULL;
6142 }
6143 }
6144 {
6145 wxPy_BEGIN_ALLOW_THREADS;
6146 wxMenu_AppendItem(_arg0,_arg1);
6147
6148 wxPy_END_ALLOW_THREADS;
6149 } Py_INCREF(Py_None);
6150 _resultobj = Py_None;
6151 return _resultobj;
6152 }
6153
6154 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6155 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject * _resultobj;
6157 wxMenu * _arg0;
6158 PyObject * _argo0 = 0;
6159 char *_kwnames[] = { "self", NULL };
6160
6161 self = self;
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
6163 return NULL;
6164 if (_argo0) {
6165 if (_argo0 == Py_None) { _arg0 = NULL; }
6166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6168 return NULL;
6169 }
6170 }
6171 {
6172 wxPy_BEGIN_ALLOW_THREADS;
6173 wxMenu_AppendSeparator(_arg0);
6174
6175 wxPy_END_ALLOW_THREADS;
6176 } Py_INCREF(Py_None);
6177 _resultobj = Py_None;
6178 return _resultobj;
6179 }
6180
6181 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6182 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject * _resultobj;
6184 wxMenu * _arg0;
6185 PyObject * _argo0 = 0;
6186 char *_kwnames[] = { "self", NULL };
6187
6188 self = self;
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
6190 return NULL;
6191 if (_argo0) {
6192 if (_argo0 == Py_None) { _arg0 = NULL; }
6193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6195 return NULL;
6196 }
6197 }
6198 {
6199 wxPy_BEGIN_ALLOW_THREADS;
6200 wxMenu_Break(_arg0);
6201
6202 wxPy_END_ALLOW_THREADS;
6203 } Py_INCREF(Py_None);
6204 _resultobj = Py_None;
6205 return _resultobj;
6206 }
6207
6208 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6209 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6210 PyObject * _resultobj;
6211 wxMenu * _arg0;
6212 int _arg1;
6213 bool _arg2;
6214 PyObject * _argo0 = 0;
6215 int tempbool2;
6216 char *_kwnames[] = { "self","id","flag", NULL };
6217
6218 self = self;
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
6220 return NULL;
6221 if (_argo0) {
6222 if (_argo0 == Py_None) { _arg0 = NULL; }
6223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6225 return NULL;
6226 }
6227 }
6228 _arg2 = (bool ) tempbool2;
6229 {
6230 wxPy_BEGIN_ALLOW_THREADS;
6231 wxMenu_Check(_arg0,_arg1,_arg2);
6232
6233 wxPy_END_ALLOW_THREADS;
6234 } Py_INCREF(Py_None);
6235 _resultobj = Py_None;
6236 return _resultobj;
6237 }
6238
6239 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6240 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject * _resultobj;
6242 bool _result;
6243 wxMenu * _arg0;
6244 int _arg1;
6245 PyObject * _argo0 = 0;
6246 char *_kwnames[] = { "self","id", NULL };
6247
6248 self = self;
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
6250 return NULL;
6251 if (_argo0) {
6252 if (_argo0 == Py_None) { _arg0 = NULL; }
6253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6255 return NULL;
6256 }
6257 }
6258 {
6259 wxPy_BEGIN_ALLOW_THREADS;
6260 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
6261
6262 wxPy_END_ALLOW_THREADS;
6263 } _resultobj = Py_BuildValue("i",_result);
6264 return _resultobj;
6265 }
6266
6267 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6268 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject * _resultobj;
6270 wxMenu * _arg0;
6271 int _arg1;
6272 bool _arg2;
6273 PyObject * _argo0 = 0;
6274 int tempbool2;
6275 char *_kwnames[] = { "self","id","enable", NULL };
6276
6277 self = self;
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
6279 return NULL;
6280 if (_argo0) {
6281 if (_argo0 == Py_None) { _arg0 = NULL; }
6282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6284 return NULL;
6285 }
6286 }
6287 _arg2 = (bool ) tempbool2;
6288 {
6289 wxPy_BEGIN_ALLOW_THREADS;
6290 wxMenu_Enable(_arg0,_arg1,_arg2);
6291
6292 wxPy_END_ALLOW_THREADS;
6293 } Py_INCREF(Py_None);
6294 _resultobj = Py_None;
6295 return _resultobj;
6296 }
6297
6298 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6299 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 bool _result;
6302 wxMenu * _arg0;
6303 int _arg1;
6304 PyObject * _argo0 = 0;
6305 char *_kwnames[] = { "self","id", NULL };
6306
6307 self = self;
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
6309 return NULL;
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6314 return NULL;
6315 }
6316 }
6317 {
6318 wxPy_BEGIN_ALLOW_THREADS;
6319 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
6320
6321 wxPy_END_ALLOW_THREADS;
6322 } _resultobj = Py_BuildValue("i",_result);
6323 return _resultobj;
6324 }
6325
6326 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6327 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject * _resultobj;
6329 int _result;
6330 wxMenu * _arg0;
6331 wxString * _arg1;
6332 PyObject * _argo0 = 0;
6333 PyObject * _obj1 = 0;
6334 char *_kwnames[] = { "self","itemString", NULL };
6335
6336 self = self;
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
6338 return NULL;
6339 if (_argo0) {
6340 if (_argo0 == Py_None) { _arg0 = NULL; }
6341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6343 return NULL;
6344 }
6345 }
6346 {
6347 if (!PyString_Check(_obj1)) {
6348 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6349 return NULL;
6350 }
6351 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6352 }
6353 {
6354 wxPy_BEGIN_ALLOW_THREADS;
6355 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
6356
6357 wxPy_END_ALLOW_THREADS;
6358 } _resultobj = Py_BuildValue("i",_result);
6359 {
6360 if (_obj1)
6361 delete _arg1;
6362 }
6363 return _resultobj;
6364 }
6365
6366 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6367 static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject * _resultobj;
6369 wxMenuItem * _result;
6370 wxMenu * _arg0;
6371 int _arg1;
6372 PyObject * _argo0 = 0;
6373 char *_kwnames[] = { "self","id", NULL };
6374 char _ptemp[128];
6375
6376 self = self;
6377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
6378 return NULL;
6379 if (_argo0) {
6380 if (_argo0 == Py_None) { _arg0 = NULL; }
6381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6383 return NULL;
6384 }
6385 }
6386 {
6387 wxPy_BEGIN_ALLOW_THREADS;
6388 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
6389
6390 wxPy_END_ALLOW_THREADS;
6391 } if (_result) {
6392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6393 _resultobj = Py_BuildValue("s",_ptemp);
6394 } else {
6395 Py_INCREF(Py_None);
6396 _resultobj = Py_None;
6397 }
6398 return _resultobj;
6399 }
6400
6401 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6402 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6403 PyObject * _resultobj;
6404 wxString * _result;
6405 wxMenu * _arg0;
6406 PyObject * _argo0 = 0;
6407 char *_kwnames[] = { "self", NULL };
6408
6409 self = self;
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
6411 return NULL;
6412 if (_argo0) {
6413 if (_argo0 == Py_None) { _arg0 = NULL; }
6414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6416 return NULL;
6417 }
6418 }
6419 {
6420 wxPy_BEGIN_ALLOW_THREADS;
6421 _result = new wxString (wxMenu_GetTitle(_arg0));
6422
6423 wxPy_END_ALLOW_THREADS;
6424 }{
6425 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6426 }
6427 {
6428 delete _result;
6429 }
6430 return _resultobj;
6431 }
6432
6433 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6434 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject * _resultobj;
6436 wxMenu * _arg0;
6437 wxString * _arg1;
6438 PyObject * _argo0 = 0;
6439 PyObject * _obj1 = 0;
6440 char *_kwnames[] = { "self","title", NULL };
6441
6442 self = self;
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
6444 return NULL;
6445 if (_argo0) {
6446 if (_argo0 == Py_None) { _arg0 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6449 return NULL;
6450 }
6451 }
6452 {
6453 if (!PyString_Check(_obj1)) {
6454 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6455 return NULL;
6456 }
6457 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6458 }
6459 {
6460 wxPy_BEGIN_ALLOW_THREADS;
6461 wxMenu_SetTitle(_arg0,*_arg1);
6462
6463 wxPy_END_ALLOW_THREADS;
6464 } Py_INCREF(Py_None);
6465 _resultobj = Py_None;
6466 {
6467 if (_obj1)
6468 delete _arg1;
6469 }
6470 return _resultobj;
6471 }
6472
6473 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6474 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject * _resultobj;
6476 wxString * _result;
6477 wxMenu * _arg0;
6478 int _arg1;
6479 PyObject * _argo0 = 0;
6480 char *_kwnames[] = { "self","id", NULL };
6481
6482 self = self;
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
6484 return NULL;
6485 if (_argo0) {
6486 if (_argo0 == Py_None) { _arg0 = NULL; }
6487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6489 return NULL;
6490 }
6491 }
6492 {
6493 wxPy_BEGIN_ALLOW_THREADS;
6494 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
6495
6496 wxPy_END_ALLOW_THREADS;
6497 }{
6498 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6499 }
6500 {
6501 delete _result;
6502 }
6503 return _resultobj;
6504 }
6505
6506 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6507 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject * _resultobj;
6509 wxMenu * _arg0;
6510 int _arg1;
6511 wxString * _arg2;
6512 PyObject * _argo0 = 0;
6513 PyObject * _obj2 = 0;
6514 char *_kwnames[] = { "self","id","label", NULL };
6515
6516 self = self;
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
6518 return NULL;
6519 if (_argo0) {
6520 if (_argo0 == Py_None) { _arg0 = NULL; }
6521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6523 return NULL;
6524 }
6525 }
6526 {
6527 if (!PyString_Check(_obj2)) {
6528 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6529 return NULL;
6530 }
6531 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6532 }
6533 {
6534 wxPy_BEGIN_ALLOW_THREADS;
6535 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
6536
6537 wxPy_END_ALLOW_THREADS;
6538 } Py_INCREF(Py_None);
6539 _resultobj = Py_None;
6540 {
6541 if (_obj2)
6542 delete _arg2;
6543 }
6544 return _resultobj;
6545 }
6546
6547 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6548 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject * _resultobj;
6550 wxString * _result;
6551 wxMenu * _arg0;
6552 int _arg1;
6553 PyObject * _argo0 = 0;
6554 char *_kwnames[] = { "self","id", NULL };
6555
6556 self = self;
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
6558 return NULL;
6559 if (_argo0) {
6560 if (_argo0 == Py_None) { _arg0 = NULL; }
6561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6563 return NULL;
6564 }
6565 }
6566 {
6567 wxPy_BEGIN_ALLOW_THREADS;
6568 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
6569
6570 wxPy_END_ALLOW_THREADS;
6571 }{
6572 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6573 }
6574 {
6575 delete _result;
6576 }
6577 return _resultobj;
6578 }
6579
6580 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6581 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject * _resultobj;
6583 wxMenu * _arg0;
6584 int _arg1;
6585 wxString * _arg2;
6586 PyObject * _argo0 = 0;
6587 PyObject * _obj2 = 0;
6588 char *_kwnames[] = { "self","id","helpString", NULL };
6589
6590 self = self;
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
6592 return NULL;
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6597 return NULL;
6598 }
6599 }
6600 {
6601 if (!PyString_Check(_obj2)) {
6602 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6603 return NULL;
6604 }
6605 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6606 }
6607 {
6608 wxPy_BEGIN_ALLOW_THREADS;
6609 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
6610
6611 wxPy_END_ALLOW_THREADS;
6612 } Py_INCREF(Py_None);
6613 _resultobj = Py_None;
6614 {
6615 if (_obj2)
6616 delete _arg2;
6617 }
6618 return _resultobj;
6619 }
6620
6621 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6622 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
6623 PyObject * _resultobj;
6624 wxMenu * _arg0;
6625 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
6626 PyObject * _argo0 = 0;
6627 PyObject * _argo1 = 0;
6628 char *_kwnames[] = { "self","source", NULL };
6629
6630 self = self;
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
6632 return NULL;
6633 if (_argo0) {
6634 if (_argo0 == Py_None) { _arg0 = NULL; }
6635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6637 return NULL;
6638 }
6639 }
6640 if (_argo1) {
6641 if (_argo1 == Py_None) { _arg1 = NULL; }
6642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
6643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6644 return NULL;
6645 }
6646 }
6647 {
6648 wxPy_BEGIN_ALLOW_THREADS;
6649 wxMenu_UpdateUI(_arg0,_arg1);
6650
6651 wxPy_END_ALLOW_THREADS;
6652 } Py_INCREF(Py_None);
6653 _resultobj = Py_None;
6654 return _resultobj;
6655 }
6656
6657 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6658 static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject * _resultobj;
6660 bool _result;
6661 wxMenu * _arg0;
6662 int _arg1;
6663 PyObject * _argo0 = 0;
6664 char *_kwnames[] = { "self","id", NULL };
6665
6666 self = self;
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
6668 return NULL;
6669 if (_argo0) {
6670 if (_argo0 == Py_None) { _arg0 = NULL; }
6671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6673 return NULL;
6674 }
6675 }
6676 {
6677 wxPy_BEGIN_ALLOW_THREADS;
6678 _result = (bool )wxMenu_Delete(_arg0,_arg1);
6679
6680 wxPy_END_ALLOW_THREADS;
6681 } _resultobj = Py_BuildValue("i",_result);
6682 return _resultobj;
6683 }
6684
6685 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6686 static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject * _resultobj;
6688 bool _result;
6689 wxMenu * _arg0;
6690 wxMenuItem * _arg1;
6691 PyObject * _argo0 = 0;
6692 PyObject * _argo1 = 0;
6693 char *_kwnames[] = { "self","item", NULL };
6694
6695 self = self;
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
6697 return NULL;
6698 if (_argo0) {
6699 if (_argo0 == Py_None) { _arg0 = NULL; }
6700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6702 return NULL;
6703 }
6704 }
6705 if (_argo1) {
6706 if (_argo1 == Py_None) { _arg1 = NULL; }
6707 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6708 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6709 return NULL;
6710 }
6711 }
6712 {
6713 wxPy_BEGIN_ALLOW_THREADS;
6714 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
6715
6716 wxPy_END_ALLOW_THREADS;
6717 } _resultobj = Py_BuildValue("i",_result);
6718 return _resultobj;
6719 }
6720
6721 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6722 static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject * _resultobj;
6724 bool _result;
6725 wxMenu * _arg0;
6726 size_t _arg1;
6727 wxMenuItem * _arg2;
6728 PyObject * _argo0 = 0;
6729 PyObject * _argo2 = 0;
6730 char *_kwnames[] = { "self","pos","item", NULL };
6731
6732 self = self;
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_argo2))
6734 return NULL;
6735 if (_argo0) {
6736 if (_argo0 == Py_None) { _arg0 = NULL; }
6737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6739 return NULL;
6740 }
6741 }
6742 if (_argo2) {
6743 if (_argo2 == Py_None) { _arg2 = NULL; }
6744 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
6745 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6746 return NULL;
6747 }
6748 }
6749 {
6750 wxPy_BEGIN_ALLOW_THREADS;
6751 _result = (bool )wxMenu_Insert(_arg0,_arg1,_arg2);
6752
6753 wxPy_END_ALLOW_THREADS;
6754 } _resultobj = Py_BuildValue("i",_result);
6755 return _resultobj;
6756 }
6757
6758 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6759 static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject * _resultobj;
6761 wxMenuItem * _result;
6762 wxMenu * _arg0;
6763 int _arg1;
6764 PyObject * _argo0 = 0;
6765 char *_kwnames[] = { "self","id", NULL };
6766 char _ptemp[128];
6767
6768 self = self;
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
6770 return NULL;
6771 if (_argo0) {
6772 if (_argo0 == Py_None) { _arg0 = NULL; }
6773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6775 return NULL;
6776 }
6777 }
6778 {
6779 wxPy_BEGIN_ALLOW_THREADS;
6780 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
6781
6782 wxPy_END_ALLOW_THREADS;
6783 } if (_result) {
6784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6785 _resultobj = Py_BuildValue("s",_ptemp);
6786 } else {
6787 Py_INCREF(Py_None);
6788 _resultobj = Py_None;
6789 }
6790 return _resultobj;
6791 }
6792
6793 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6794 static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject * _resultobj;
6796 wxMenuItem * _result;
6797 wxMenu * _arg0;
6798 wxMenuItem * _arg1;
6799 PyObject * _argo0 = 0;
6800 PyObject * _argo1 = 0;
6801 char *_kwnames[] = { "self","item", NULL };
6802 char _ptemp[128];
6803
6804 self = self;
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
6806 return NULL;
6807 if (_argo0) {
6808 if (_argo0 == Py_None) { _arg0 = NULL; }
6809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6811 return NULL;
6812 }
6813 }
6814 if (_argo1) {
6815 if (_argo1 == Py_None) { _arg1 = NULL; }
6816 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6817 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6818 return NULL;
6819 }
6820 }
6821 {
6822 wxPy_BEGIN_ALLOW_THREADS;
6823 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
6824
6825 wxPy_END_ALLOW_THREADS;
6826 } if (_result) {
6827 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6828 _resultobj = Py_BuildValue("s",_ptemp);
6829 } else {
6830 Py_INCREF(Py_None);
6831 _resultobj = Py_None;
6832 }
6833 return _resultobj;
6834 }
6835
6836 static void wxMenu_Destroy(wxMenu *self) { delete self; }
6837 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject * _resultobj;
6839 wxMenu * _arg0;
6840 PyObject * _argo0 = 0;
6841 char *_kwnames[] = { "self", NULL };
6842
6843 self = self;
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
6845 return NULL;
6846 if (_argo0) {
6847 if (_argo0 == Py_None) { _arg0 = NULL; }
6848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6850 return NULL;
6851 }
6852 }
6853 {
6854 wxPy_BEGIN_ALLOW_THREADS;
6855 wxMenu_Destroy(_arg0);
6856
6857 wxPy_END_ALLOW_THREADS;
6858 } Py_INCREF(Py_None);
6859 _resultobj = Py_None;
6860 return _resultobj;
6861 }
6862
6863 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6864 static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject * _resultobj;
6866 bool _result;
6867 wxMenu * _arg0;
6868 int _arg1;
6869 PyObject * _argo0 = 0;
6870 char *_kwnames[] = { "self","id", NULL };
6871
6872 self = self;
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
6874 return NULL;
6875 if (_argo0) {
6876 if (_argo0 == Py_None) { _arg0 = NULL; }
6877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6879 return NULL;
6880 }
6881 }
6882 {
6883 wxPy_BEGIN_ALLOW_THREADS;
6884 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
6885
6886 wxPy_END_ALLOW_THREADS;
6887 } _resultobj = Py_BuildValue("i",_result);
6888 return _resultobj;
6889 }
6890
6891 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6892 static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject * _resultobj;
6894 bool _result;
6895 wxMenu * _arg0;
6896 wxMenuItem * _arg1;
6897 PyObject * _argo0 = 0;
6898 PyObject * _argo1 = 0;
6899 char *_kwnames[] = { "self","item", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6908 return NULL;
6909 }
6910 }
6911 if (_argo1) {
6912 if (_argo1 == Py_None) { _arg1 = NULL; }
6913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6915 return NULL;
6916 }
6917 }
6918 {
6919 wxPy_BEGIN_ALLOW_THREADS;
6920 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
6921
6922 wxPy_END_ALLOW_THREADS;
6923 } _resultobj = Py_BuildValue("i",_result);
6924 return _resultobj;
6925 }
6926
6927 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6928 static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject * _resultobj;
6930 size_t _result;
6931 wxMenu * _arg0;
6932 PyObject * _argo0 = 0;
6933 char *_kwnames[] = { "self", NULL };
6934
6935 self = self;
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
6937 return NULL;
6938 if (_argo0) {
6939 if (_argo0 == Py_None) { _arg0 = NULL; }
6940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6942 return NULL;
6943 }
6944 }
6945 {
6946 wxPy_BEGIN_ALLOW_THREADS;
6947 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
6948
6949 wxPy_END_ALLOW_THREADS;
6950 } _resultobj = Py_BuildValue("i",_result);
6951 return _resultobj;
6952 }
6953
6954 static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
6955 wxMenuItemList& list = self->GetMenuItems();
6956 return wxPy_ConvertList(&list, "wxMenuItem");
6957 }
6958 static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject * _resultobj;
6960 PyObject * _result;
6961 wxMenu * _arg0;
6962 PyObject * _argo0 = 0;
6963 char *_kwnames[] = { "self", NULL };
6964
6965 self = self;
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
6967 return NULL;
6968 if (_argo0) {
6969 if (_argo0 == Py_None) { _arg0 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6972 return NULL;
6973 }
6974 }
6975 {
6976 wxPy_BEGIN_ALLOW_THREADS;
6977 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
6978
6979 wxPy_END_ALLOW_THREADS;
6980 }{
6981 _resultobj = _result;
6982 }
6983 return _resultobj;
6984 }
6985
6986 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6987 static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject * _resultobj;
6989 wxMenu * _arg0;
6990 wxEvtHandler * _arg1;
6991 PyObject * _argo0 = 0;
6992 PyObject * _argo1 = 0;
6993 char *_kwnames[] = { "self","handler", NULL };
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
6997 return NULL;
6998 if (_argo0) {
6999 if (_argo0 == Py_None) { _arg0 = NULL; }
7000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7002 return NULL;
7003 }
7004 }
7005 if (_argo1) {
7006 if (_argo1 == Py_None) { _arg1 = NULL; }
7007 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
7008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7009 return NULL;
7010 }
7011 }
7012 {
7013 wxPy_BEGIN_ALLOW_THREADS;
7014 wxMenu_SetEventHandler(_arg0,_arg1);
7015
7016 wxPy_END_ALLOW_THREADS;
7017 } Py_INCREF(Py_None);
7018 _resultobj = Py_None;
7019 return _resultobj;
7020 }
7021
7022 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7023 static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject * _resultobj;
7025 wxEvtHandler * _result;
7026 wxMenu * _arg0;
7027 PyObject * _argo0 = 0;
7028 char *_kwnames[] = { "self", NULL };
7029 char _ptemp[128];
7030
7031 self = self;
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
7033 return NULL;
7034 if (_argo0) {
7035 if (_argo0 == Py_None) { _arg0 = NULL; }
7036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7038 return NULL;
7039 }
7040 }
7041 {
7042 wxPy_BEGIN_ALLOW_THREADS;
7043 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
7044
7045 wxPy_END_ALLOW_THREADS;
7046 } if (_result) {
7047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
7048 _resultobj = Py_BuildValue("s",_ptemp);
7049 } else {
7050 Py_INCREF(Py_None);
7051 _resultobj = Py_None;
7052 }
7053 return _resultobj;
7054 }
7055
7056 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7057 static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject * _resultobj;
7059 wxMenu * _arg0;
7060 wxWindow * _arg1;
7061 PyObject * _argo0 = 0;
7062 PyObject * _argo1 = 0;
7063 char *_kwnames[] = { "self","win", NULL };
7064
7065 self = self;
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
7067 return NULL;
7068 if (_argo0) {
7069 if (_argo0 == Py_None) { _arg0 = NULL; }
7070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7072 return NULL;
7073 }
7074 }
7075 if (_argo1) {
7076 if (_argo1 == Py_None) { _arg1 = NULL; }
7077 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7078 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7079 return NULL;
7080 }
7081 }
7082 {
7083 wxPy_BEGIN_ALLOW_THREADS;
7084 wxMenu_SetInvokingWindow(_arg0,_arg1);
7085
7086 wxPy_END_ALLOW_THREADS;
7087 } Py_INCREF(Py_None);
7088 _resultobj = Py_None;
7089 return _resultobj;
7090 }
7091
7092 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7093 static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject * _resultobj;
7095 wxWindow * _result;
7096 wxMenu * _arg0;
7097 PyObject * _argo0 = 0;
7098 char *_kwnames[] = { "self", NULL };
7099 char _ptemp[128];
7100
7101 self = self;
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
7103 return NULL;
7104 if (_argo0) {
7105 if (_argo0 == Py_None) { _arg0 = NULL; }
7106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7108 return NULL;
7109 }
7110 }
7111 {
7112 wxPy_BEGIN_ALLOW_THREADS;
7113 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
7114
7115 wxPy_END_ALLOW_THREADS;
7116 } if (_result) {
7117 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
7118 _resultobj = Py_BuildValue("s",_ptemp);
7119 } else {
7120 Py_INCREF(Py_None);
7121 _resultobj = Py_None;
7122 }
7123 return _resultobj;
7124 }
7125
7126 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7127 static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject * _resultobj;
7129 long _result;
7130 wxMenu * _arg0;
7131 PyObject * _argo0 = 0;
7132 char *_kwnames[] = { "self", NULL };
7133
7134 self = self;
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
7136 return NULL;
7137 if (_argo0) {
7138 if (_argo0 == Py_None) { _arg0 = NULL; }
7139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7141 return NULL;
7142 }
7143 }
7144 {
7145 wxPy_BEGIN_ALLOW_THREADS;
7146 _result = (long )wxMenu_GetStyle(_arg0);
7147
7148 wxPy_END_ALLOW_THREADS;
7149 } _resultobj = Py_BuildValue("l",_result);
7150 return _resultobj;
7151 }
7152
7153 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7154 static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject * _resultobj;
7156 bool _result;
7157 wxMenu * _arg0;
7158 PyObject * _argo0 = 0;
7159 char *_kwnames[] = { "self", NULL };
7160
7161 self = self;
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
7163 return NULL;
7164 if (_argo0) {
7165 if (_argo0 == Py_None) { _arg0 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7168 return NULL;
7169 }
7170 }
7171 {
7172 wxPy_BEGIN_ALLOW_THREADS;
7173 _result = (bool )wxMenu_IsAttached(_arg0);
7174
7175 wxPy_END_ALLOW_THREADS;
7176 } _resultobj = Py_BuildValue("i",_result);
7177 return _resultobj;
7178 }
7179
7180 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7181 static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7182 PyObject * _resultobj;
7183 wxMenu * _arg0;
7184 wxMenu * _arg1;
7185 PyObject * _argo0 = 0;
7186 PyObject * _argo1 = 0;
7187 char *_kwnames[] = { "self","parent", NULL };
7188
7189 self = self;
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
7191 return NULL;
7192 if (_argo0) {
7193 if (_argo0 == Py_None) { _arg0 = NULL; }
7194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7196 return NULL;
7197 }
7198 }
7199 if (_argo1) {
7200 if (_argo1 == Py_None) { _arg1 = NULL; }
7201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
7202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7203 return NULL;
7204 }
7205 }
7206 {
7207 wxPy_BEGIN_ALLOW_THREADS;
7208 wxMenu_SetParent(_arg0,_arg1);
7209
7210 wxPy_END_ALLOW_THREADS;
7211 } Py_INCREF(Py_None);
7212 _resultobj = Py_None;
7213 return _resultobj;
7214 }
7215
7216 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7217 static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject * _resultobj;
7219 wxMenu * _result;
7220 wxMenu * _arg0;
7221 PyObject * _argo0 = 0;
7222 char *_kwnames[] = { "self", NULL };
7223 char _ptemp[128];
7224
7225 self = self;
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
7227 return NULL;
7228 if (_argo0) {
7229 if (_argo0 == Py_None) { _arg0 = NULL; }
7230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7232 return NULL;
7233 }
7234 }
7235 {
7236 wxPy_BEGIN_ALLOW_THREADS;
7237 _result = (wxMenu *)wxMenu_GetParent(_arg0);
7238
7239 wxPy_END_ALLOW_THREADS;
7240 } if (_result) {
7241 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7242 _resultobj = Py_BuildValue("s",_ptemp);
7243 } else {
7244 Py_INCREF(Py_None);
7245 _resultobj = Py_None;
7246 }
7247 return _resultobj;
7248 }
7249
7250 static void *SwigwxMenuBarTowxWindow(void *ptr) {
7251 wxMenuBar *src;
7252 wxWindow *dest;
7253 src = (wxMenuBar *) ptr;
7254 dest = (wxWindow *) src;
7255 return (void *) dest;
7256 }
7257
7258 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
7259 wxMenuBar *src;
7260 wxEvtHandler *dest;
7261 src = (wxMenuBar *) ptr;
7262 dest = (wxEvtHandler *) src;
7263 return (void *) dest;
7264 }
7265
7266 #define new_wxMenuBar() (new wxMenuBar())
7267 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject * _resultobj;
7269 wxMenuBar * _result;
7270 char *_kwnames[] = { NULL };
7271 char _ptemp[128];
7272
7273 self = self;
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuBar",_kwnames))
7275 return NULL;
7276 {
7277 wxPy_BEGIN_ALLOW_THREADS;
7278 _result = (wxMenuBar *)new_wxMenuBar();
7279
7280 wxPy_END_ALLOW_THREADS;
7281 } if (_result) {
7282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
7283 _resultobj = Py_BuildValue("s",_ptemp);
7284 } else {
7285 Py_INCREF(Py_None);
7286 _resultobj = Py_None;
7287 }
7288 return _resultobj;
7289 }
7290
7291 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7292 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject * _resultobj;
7294 bool _result;
7295 wxMenuBar * _arg0;
7296 wxMenu * _arg1;
7297 wxString * _arg2;
7298 PyObject * _argo0 = 0;
7299 PyObject * _argo1 = 0;
7300 PyObject * _obj2 = 0;
7301 char *_kwnames[] = { "self","menu","title", NULL };
7302
7303 self = self;
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
7305 return NULL;
7306 if (_argo0) {
7307 if (_argo0 == Py_None) { _arg0 = NULL; }
7308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7310 return NULL;
7311 }
7312 }
7313 if (_argo1) {
7314 if (_argo1 == Py_None) { _arg1 = NULL; }
7315 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
7316 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7317 return NULL;
7318 }
7319 }
7320 {
7321 if (!PyString_Check(_obj2)) {
7322 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7323 return NULL;
7324 }
7325 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7326 }
7327 {
7328 wxPy_BEGIN_ALLOW_THREADS;
7329 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
7330
7331 wxPy_END_ALLOW_THREADS;
7332 } _resultobj = Py_BuildValue("i",_result);
7333 {
7334 if (_obj2)
7335 delete _arg2;
7336 }
7337 return _resultobj;
7338 }
7339
7340 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7341 static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject * _resultobj;
7343 bool _result;
7344 wxMenuBar * _arg0;
7345 size_t _arg1;
7346 wxMenu * _arg2;
7347 wxString * _arg3;
7348 PyObject * _argo0 = 0;
7349 PyObject * _argo2 = 0;
7350 PyObject * _obj3 = 0;
7351 char *_kwnames[] = { "self","pos","menu","title", NULL };
7352
7353 self = self;
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7355 return NULL;
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7360 return NULL;
7361 }
7362 }
7363 if (_argo2) {
7364 if (_argo2 == Py_None) { _arg2 = NULL; }
7365 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
7366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7367 return NULL;
7368 }
7369 }
7370 {
7371 if (!PyString_Check(_obj3)) {
7372 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7373 return NULL;
7374 }
7375 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
7376 }
7377 {
7378 wxPy_BEGIN_ALLOW_THREADS;
7379 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
7380
7381 wxPy_END_ALLOW_THREADS;
7382 } _resultobj = Py_BuildValue("i",_result);
7383 {
7384 if (_obj3)
7385 delete _arg3;
7386 }
7387 return _resultobj;
7388 }
7389
7390 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7391 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject * _resultobj;
7393 size_t _result;
7394 wxMenuBar * _arg0;
7395 PyObject * _argo0 = 0;
7396 char *_kwnames[] = { "self", NULL };
7397
7398 self = self;
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
7400 return NULL;
7401 if (_argo0) {
7402 if (_argo0 == Py_None) { _arg0 = NULL; }
7403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7405 return NULL;
7406 }
7407 }
7408 {
7409 wxPy_BEGIN_ALLOW_THREADS;
7410 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
7411
7412 wxPy_END_ALLOW_THREADS;
7413 } _resultobj = Py_BuildValue("i",_result);
7414 return _resultobj;
7415 }
7416
7417 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7418 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject * _resultobj;
7420 wxMenu * _result;
7421 wxMenuBar * _arg0;
7422 size_t _arg1;
7423 PyObject * _argo0 = 0;
7424 char *_kwnames[] = { "self","pos", NULL };
7425 char _ptemp[128];
7426
7427 self = self;
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
7429 return NULL;
7430 if (_argo0) {
7431 if (_argo0 == Py_None) { _arg0 = NULL; }
7432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7434 return NULL;
7435 }
7436 }
7437 {
7438 wxPy_BEGIN_ALLOW_THREADS;
7439 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
7440
7441 wxPy_END_ALLOW_THREADS;
7442 } if (_result) {
7443 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7444 _resultobj = Py_BuildValue("s",_ptemp);
7445 } else {
7446 Py_INCREF(Py_None);
7447 _resultobj = Py_None;
7448 }
7449 return _resultobj;
7450 }
7451
7452 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7453 static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject * _resultobj;
7455 wxMenu * _result;
7456 wxMenuBar * _arg0;
7457 size_t _arg1;
7458 wxMenu * _arg2;
7459 wxString * _arg3;
7460 PyObject * _argo0 = 0;
7461 PyObject * _argo2 = 0;
7462 PyObject * _obj3 = 0;
7463 char *_kwnames[] = { "self","pos","menu","title", NULL };
7464 char _ptemp[128];
7465
7466 self = self;
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7468 return NULL;
7469 if (_argo0) {
7470 if (_argo0 == Py_None) { _arg0 = NULL; }
7471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7473 return NULL;
7474 }
7475 }
7476 if (_argo2) {
7477 if (_argo2 == Py_None) { _arg2 = NULL; }
7478 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
7479 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7480 return NULL;
7481 }
7482 }
7483 {
7484 if (!PyString_Check(_obj3)) {
7485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7486 return NULL;
7487 }
7488 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
7489 }
7490 {
7491 wxPy_BEGIN_ALLOW_THREADS;
7492 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
7493
7494 wxPy_END_ALLOW_THREADS;
7495 } if (_result) {
7496 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7497 _resultobj = Py_BuildValue("s",_ptemp);
7498 } else {
7499 Py_INCREF(Py_None);
7500 _resultobj = Py_None;
7501 }
7502 {
7503 if (_obj3)
7504 delete _arg3;
7505 }
7506 return _resultobj;
7507 }
7508
7509 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7510 static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject * _resultobj;
7512 wxMenu * _result;
7513 wxMenuBar * _arg0;
7514 size_t _arg1;
7515 PyObject * _argo0 = 0;
7516 char *_kwnames[] = { "self","pos", NULL };
7517 char _ptemp[128];
7518
7519 self = self;
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
7521 return NULL;
7522 if (_argo0) {
7523 if (_argo0 == Py_None) { _arg0 = NULL; }
7524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7526 return NULL;
7527 }
7528 }
7529 {
7530 wxPy_BEGIN_ALLOW_THREADS;
7531 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
7532
7533 wxPy_END_ALLOW_THREADS;
7534 } if (_result) {
7535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7536 _resultobj = Py_BuildValue("s",_ptemp);
7537 } else {
7538 Py_INCREF(Py_None);
7539 _resultobj = Py_None;
7540 }
7541 return _resultobj;
7542 }
7543
7544 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7545 static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject * _resultobj;
7547 wxMenuBar * _arg0;
7548 size_t _arg1;
7549 bool _arg2;
7550 PyObject * _argo0 = 0;
7551 int tempbool2;
7552 char *_kwnames[] = { "self","pos","enable", NULL };
7553
7554 self = self;
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
7556 return NULL;
7557 if (_argo0) {
7558 if (_argo0 == Py_None) { _arg0 = NULL; }
7559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7561 return NULL;
7562 }
7563 }
7564 _arg2 = (bool ) tempbool2;
7565 {
7566 wxPy_BEGIN_ALLOW_THREADS;
7567 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
7568
7569 wxPy_END_ALLOW_THREADS;
7570 } Py_INCREF(Py_None);
7571 _resultobj = Py_None;
7572 return _resultobj;
7573 }
7574
7575 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7576 static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject * _resultobj;
7578 wxMenuBar * _arg0;
7579 size_t _arg1;
7580 wxString * _arg2;
7581 PyObject * _argo0 = 0;
7582 PyObject * _obj2 = 0;
7583 char *_kwnames[] = { "self","pos","label", NULL };
7584
7585 self = self;
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
7587 return NULL;
7588 if (_argo0) {
7589 if (_argo0 == Py_None) { _arg0 = NULL; }
7590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7592 return NULL;
7593 }
7594 }
7595 {
7596 if (!PyString_Check(_obj2)) {
7597 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7598 return NULL;
7599 }
7600 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7601 }
7602 {
7603 wxPy_BEGIN_ALLOW_THREADS;
7604 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
7605
7606 wxPy_END_ALLOW_THREADS;
7607 } Py_INCREF(Py_None);
7608 _resultobj = Py_None;
7609 {
7610 if (_obj2)
7611 delete _arg2;
7612 }
7613 return _resultobj;
7614 }
7615
7616 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7617 static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject * _resultobj;
7619 wxString * _result;
7620 wxMenuBar * _arg0;
7621 size_t _arg1;
7622 PyObject * _argo0 = 0;
7623 char *_kwnames[] = { "self","pos", NULL };
7624
7625 self = self;
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
7627 return NULL;
7628 if (_argo0) {
7629 if (_argo0 == Py_None) { _arg0 = NULL; }
7630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7632 return NULL;
7633 }
7634 }
7635 {
7636 wxPy_BEGIN_ALLOW_THREADS;
7637 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
7638
7639 wxPy_END_ALLOW_THREADS;
7640 }{
7641 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7642 }
7643 {
7644 delete _result;
7645 }
7646 return _resultobj;
7647 }
7648
7649 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7650 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject * _resultobj;
7652 int _result;
7653 wxMenuBar * _arg0;
7654 wxString * _arg1;
7655 wxString * _arg2;
7656 PyObject * _argo0 = 0;
7657 PyObject * _obj1 = 0;
7658 PyObject * _obj2 = 0;
7659 char *_kwnames[] = { "self","menuString","itemString", NULL };
7660
7661 self = self;
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
7663 return NULL;
7664 if (_argo0) {
7665 if (_argo0 == Py_None) { _arg0 = NULL; }
7666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7668 return NULL;
7669 }
7670 }
7671 {
7672 if (!PyString_Check(_obj1)) {
7673 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7674 return NULL;
7675 }
7676 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7677 }
7678 {
7679 if (!PyString_Check(_obj2)) {
7680 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7681 return NULL;
7682 }
7683 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7684 }
7685 {
7686 wxPy_BEGIN_ALLOW_THREADS;
7687 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
7688
7689 wxPy_END_ALLOW_THREADS;
7690 } _resultobj = Py_BuildValue("i",_result);
7691 {
7692 if (_obj1)
7693 delete _arg1;
7694 }
7695 {
7696 if (_obj2)
7697 delete _arg2;
7698 }
7699 return _resultobj;
7700 }
7701
7702 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7703 static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject * _resultobj;
7705 wxMenuItem * _result;
7706 wxMenuBar * _arg0;
7707 int _arg1;
7708 PyObject * _argo0 = 0;
7709 char *_kwnames[] = { "self","id", NULL };
7710 char _ptemp[128];
7711
7712 self = self;
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
7714 return NULL;
7715 if (_argo0) {
7716 if (_argo0 == Py_None) { _arg0 = NULL; }
7717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7719 return NULL;
7720 }
7721 }
7722 {
7723 wxPy_BEGIN_ALLOW_THREADS;
7724 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
7725
7726 wxPy_END_ALLOW_THREADS;
7727 } if (_result) {
7728 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
7729 _resultobj = Py_BuildValue("s",_ptemp);
7730 } else {
7731 Py_INCREF(Py_None);
7732 _resultobj = Py_None;
7733 }
7734 return _resultobj;
7735 }
7736
7737 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7738 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
7739 PyObject * _resultobj;
7740 wxMenuBar * _arg0;
7741 int _arg1;
7742 bool _arg2;
7743 PyObject * _argo0 = 0;
7744 int tempbool2;
7745 char *_kwnames[] = { "self","id","enable", NULL };
7746
7747 self = self;
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
7749 return NULL;
7750 if (_argo0) {
7751 if (_argo0 == Py_None) { _arg0 = NULL; }
7752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7754 return NULL;
7755 }
7756 }
7757 _arg2 = (bool ) tempbool2;
7758 {
7759 wxPy_BEGIN_ALLOW_THREADS;
7760 wxMenuBar_Enable(_arg0,_arg1,_arg2);
7761
7762 wxPy_END_ALLOW_THREADS;
7763 } Py_INCREF(Py_None);
7764 _resultobj = Py_None;
7765 return _resultobj;
7766 }
7767
7768 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7769 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject * _resultobj;
7771 wxMenuBar * _arg0;
7772 int _arg1;
7773 bool _arg2;
7774 PyObject * _argo0 = 0;
7775 int tempbool2;
7776 char *_kwnames[] = { "self","id","check", NULL };
7777
7778 self = self;
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
7780 return NULL;
7781 if (_argo0) {
7782 if (_argo0 == Py_None) { _arg0 = NULL; }
7783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7785 return NULL;
7786 }
7787 }
7788 _arg2 = (bool ) tempbool2;
7789 {
7790 wxPy_BEGIN_ALLOW_THREADS;
7791 wxMenuBar_Check(_arg0,_arg1,_arg2);
7792
7793 wxPy_END_ALLOW_THREADS;
7794 } Py_INCREF(Py_None);
7795 _resultobj = Py_None;
7796 return _resultobj;
7797 }
7798
7799 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7800 static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject * _resultobj;
7802 bool _result;
7803 wxMenuBar * _arg0;
7804 int _arg1;
7805 PyObject * _argo0 = 0;
7806 char *_kwnames[] = { "self","id", NULL };
7807
7808 self = self;
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
7810 return NULL;
7811 if (_argo0) {
7812 if (_argo0 == Py_None) { _arg0 = NULL; }
7813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7815 return NULL;
7816 }
7817 }
7818 {
7819 wxPy_BEGIN_ALLOW_THREADS;
7820 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
7821
7822 wxPy_END_ALLOW_THREADS;
7823 } _resultobj = Py_BuildValue("i",_result);
7824 return _resultobj;
7825 }
7826
7827 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7828 static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject * _resultobj;
7830 bool _result;
7831 wxMenuBar * _arg0;
7832 int _arg1;
7833 PyObject * _argo0 = 0;
7834 char *_kwnames[] = { "self","id", NULL };
7835
7836 self = self;
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
7838 return NULL;
7839 if (_argo0) {
7840 if (_argo0 == Py_None) { _arg0 = NULL; }
7841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7843 return NULL;
7844 }
7845 }
7846 {
7847 wxPy_BEGIN_ALLOW_THREADS;
7848 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
7849
7850 wxPy_END_ALLOW_THREADS;
7851 } _resultobj = Py_BuildValue("i",_result);
7852 return _resultobj;
7853 }
7854
7855 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7856 static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject * _resultobj;
7858 wxMenuBar * _arg0;
7859 int _arg1;
7860 wxString * _arg2;
7861 PyObject * _argo0 = 0;
7862 PyObject * _obj2 = 0;
7863 char *_kwnames[] = { "self","id","label", NULL };
7864
7865 self = self;
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
7867 return NULL;
7868 if (_argo0) {
7869 if (_argo0 == Py_None) { _arg0 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7872 return NULL;
7873 }
7874 }
7875 {
7876 if (!PyString_Check(_obj2)) {
7877 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7878 return NULL;
7879 }
7880 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7881 }
7882 {
7883 wxPy_BEGIN_ALLOW_THREADS;
7884 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
7885
7886 wxPy_END_ALLOW_THREADS;
7887 } Py_INCREF(Py_None);
7888 _resultobj = Py_None;
7889 {
7890 if (_obj2)
7891 delete _arg2;
7892 }
7893 return _resultobj;
7894 }
7895
7896 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7897 static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject * _resultobj;
7899 wxString * _result;
7900 wxMenuBar * _arg0;
7901 int _arg1;
7902 PyObject * _argo0 = 0;
7903 char *_kwnames[] = { "self","id", NULL };
7904
7905 self = self;
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
7907 return NULL;
7908 if (_argo0) {
7909 if (_argo0 == Py_None) { _arg0 = NULL; }
7910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7912 return NULL;
7913 }
7914 }
7915 {
7916 wxPy_BEGIN_ALLOW_THREADS;
7917 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
7918
7919 wxPy_END_ALLOW_THREADS;
7920 }{
7921 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7922 }
7923 {
7924 delete _result;
7925 }
7926 return _resultobj;
7927 }
7928
7929 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7930 static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject * _resultobj;
7932 wxMenuBar * _arg0;
7933 int _arg1;
7934 wxString * _arg2;
7935 PyObject * _argo0 = 0;
7936 PyObject * _obj2 = 0;
7937 char *_kwnames[] = { "self","id","helpString", NULL };
7938
7939 self = self;
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
7941 return NULL;
7942 if (_argo0) {
7943 if (_argo0 == Py_None) { _arg0 = NULL; }
7944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7946 return NULL;
7947 }
7948 }
7949 {
7950 if (!PyString_Check(_obj2)) {
7951 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7952 return NULL;
7953 }
7954 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7955 }
7956 {
7957 wxPy_BEGIN_ALLOW_THREADS;
7958 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
7959
7960 wxPy_END_ALLOW_THREADS;
7961 } Py_INCREF(Py_None);
7962 _resultobj = Py_None;
7963 {
7964 if (_obj2)
7965 delete _arg2;
7966 }
7967 return _resultobj;
7968 }
7969
7970 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7971 static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject * _resultobj;
7973 wxString * _result;
7974 wxMenuBar * _arg0;
7975 int _arg1;
7976 PyObject * _argo0 = 0;
7977 char *_kwnames[] = { "self","id", NULL };
7978
7979 self = self;
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
7981 return NULL;
7982 if (_argo0) {
7983 if (_argo0 == Py_None) { _arg0 = NULL; }
7984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7986 return NULL;
7987 }
7988 }
7989 {
7990 wxPy_BEGIN_ALLOW_THREADS;
7991 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
7992
7993 wxPy_END_ALLOW_THREADS;
7994 }{
7995 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7996 }
7997 {
7998 delete _result;
7999 }
8000 return _resultobj;
8001 }
8002
8003 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8004 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject * _resultobj;
8006 wxMenuItem * _result;
8007 wxMenu * _arg0 = (wxMenu *) NULL;
8008 int _arg1 = (int ) ID_SEPARATOR;
8009 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8010 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
8011 bool _arg4 = (bool ) FALSE;
8012 wxMenu * _arg5 = (wxMenu *) NULL;
8013 PyObject * _argo0 = 0;
8014 PyObject * _obj2 = 0;
8015 PyObject * _obj3 = 0;
8016 int tempbool4 = (int) FALSE;
8017 PyObject * _argo5 = 0;
8018 char *_kwnames[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL };
8019 char _ptemp[128];
8020
8021 self = self;
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&tempbool4,&_argo5))
8023 return NULL;
8024 if (_argo0) {
8025 if (_argo0 == Py_None) { _arg0 = NULL; }
8026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8028 return NULL;
8029 }
8030 }
8031 if (_obj2)
8032 {
8033 if (!PyString_Check(_obj2)) {
8034 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8035 return NULL;
8036 }
8037 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8038 }
8039 if (_obj3)
8040 {
8041 if (!PyString_Check(_obj3)) {
8042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8043 return NULL;
8044 }
8045 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
8046 }
8047 _arg4 = (bool ) tempbool4;
8048 if (_argo5) {
8049 if (_argo5 == Py_None) { _arg5 = NULL; }
8050 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
8051 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8052 return NULL;
8053 }
8054 }
8055 {
8056 wxPy_BEGIN_ALLOW_THREADS;
8057 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
8058
8059 wxPy_END_ALLOW_THREADS;
8060 } if (_result) {
8061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
8062 _resultobj = Py_BuildValue("s",_ptemp);
8063 } else {
8064 Py_INCREF(Py_None);
8065 _resultobj = Py_None;
8066 }
8067 {
8068 if (_obj2)
8069 delete _arg2;
8070 }
8071 {
8072 if (_obj3)
8073 delete _arg3;
8074 }
8075 return _resultobj;
8076 }
8077
8078 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8079 static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject * _resultobj;
8081 wxMenu * _result;
8082 wxMenuItem * _arg0;
8083 PyObject * _argo0 = 0;
8084 char *_kwnames[] = { "self", NULL };
8085 char _ptemp[128];
8086
8087 self = self;
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8089 return NULL;
8090 if (_argo0) {
8091 if (_argo0 == Py_None) { _arg0 = NULL; }
8092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8094 return NULL;
8095 }
8096 }
8097 {
8098 wxPy_BEGIN_ALLOW_THREADS;
8099 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
8100
8101 wxPy_END_ALLOW_THREADS;
8102 } if (_result) {
8103 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8104 _resultobj = Py_BuildValue("s",_ptemp);
8105 } else {
8106 Py_INCREF(Py_None);
8107 _resultobj = Py_None;
8108 }
8109 return _resultobj;
8110 }
8111
8112 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8113 static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8114 PyObject * _resultobj;
8115 wxMenuItem * _arg0;
8116 int _arg1;
8117 PyObject * _argo0 = 0;
8118 char *_kwnames[] = { "self","id", NULL };
8119
8120 self = self;
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8122 return NULL;
8123 if (_argo0) {
8124 if (_argo0 == Py_None) { _arg0 = NULL; }
8125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8127 return NULL;
8128 }
8129 }
8130 {
8131 wxPy_BEGIN_ALLOW_THREADS;
8132 wxMenuItem_SetId(_arg0,_arg1);
8133
8134 wxPy_END_ALLOW_THREADS;
8135 } Py_INCREF(Py_None);
8136 _resultobj = Py_None;
8137 return _resultobj;
8138 }
8139
8140 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8141 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject * _resultobj;
8143 int _result;
8144 wxMenuItem * _arg0;
8145 PyObject * _argo0 = 0;
8146 char *_kwnames[] = { "self", NULL };
8147
8148 self = self;
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8150 return NULL;
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8155 return NULL;
8156 }
8157 }
8158 {
8159 wxPy_BEGIN_ALLOW_THREADS;
8160 _result = (int )wxMenuItem_GetId(_arg0);
8161
8162 wxPy_END_ALLOW_THREADS;
8163 } _resultobj = Py_BuildValue("i",_result);
8164 return _resultobj;
8165 }
8166
8167 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8168 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8169 PyObject * _resultobj;
8170 bool _result;
8171 wxMenuItem * _arg0;
8172 PyObject * _argo0 = 0;
8173 char *_kwnames[] = { "self", NULL };
8174
8175 self = self;
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8177 return NULL;
8178 if (_argo0) {
8179 if (_argo0 == Py_None) { _arg0 = NULL; }
8180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8182 return NULL;
8183 }
8184 }
8185 {
8186 wxPy_BEGIN_ALLOW_THREADS;
8187 _result = (bool )wxMenuItem_IsSeparator(_arg0);
8188
8189 wxPy_END_ALLOW_THREADS;
8190 } _resultobj = Py_BuildValue("i",_result);
8191 return _resultobj;
8192 }
8193
8194 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8195 static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject * _resultobj;
8197 wxMenuItem * _arg0;
8198 wxString * _arg1;
8199 PyObject * _argo0 = 0;
8200 PyObject * _obj1 = 0;
8201 char *_kwnames[] = { "self","str", NULL };
8202
8203 self = self;
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8205 return NULL;
8206 if (_argo0) {
8207 if (_argo0 == Py_None) { _arg0 = NULL; }
8208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8210 return NULL;
8211 }
8212 }
8213 {
8214 if (!PyString_Check(_obj1)) {
8215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8216 return NULL;
8217 }
8218 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8219 }
8220 {
8221 wxPy_BEGIN_ALLOW_THREADS;
8222 wxMenuItem_SetText(_arg0,*_arg1);
8223
8224 wxPy_END_ALLOW_THREADS;
8225 } Py_INCREF(Py_None);
8226 _resultobj = Py_None;
8227 {
8228 if (_obj1)
8229 delete _arg1;
8230 }
8231 return _resultobj;
8232 }
8233
8234 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8235 static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject * _resultobj;
8237 wxString * _result;
8238 wxMenuItem * _arg0;
8239 PyObject * _argo0 = 0;
8240 char *_kwnames[] = { "self", NULL };
8241
8242 self = self;
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8244 return NULL;
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8249 return NULL;
8250 }
8251 }
8252 {
8253 wxPy_BEGIN_ALLOW_THREADS;
8254 _result = new wxString (wxMenuItem_GetLabel(_arg0));
8255
8256 wxPy_END_ALLOW_THREADS;
8257 }{
8258 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8259 }
8260 {
8261 delete _result;
8262 }
8263 return _resultobj;
8264 }
8265
8266 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8267 static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject * _resultobj;
8269 wxString * _result;
8270 wxMenuItem * _arg0;
8271 PyObject * _argo0 = 0;
8272 char *_kwnames[] = { "self", NULL };
8273
8274 self = self;
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
8276 return NULL;
8277 if (_argo0) {
8278 if (_argo0 == Py_None) { _arg0 = NULL; }
8279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8281 return NULL;
8282 }
8283 }
8284 {
8285 wxPy_BEGIN_ALLOW_THREADS;
8286 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
8287 _result = (wxString *) &_result_ref;
8288
8289 wxPy_END_ALLOW_THREADS;
8290 }{
8291 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8292 }
8293 return _resultobj;
8294 }
8295
8296 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8297 static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
8298 PyObject * _resultobj;
8299 wxMenuItem * _arg0;
8300 bool _arg1;
8301 PyObject * _argo0 = 0;
8302 int tempbool1;
8303 char *_kwnames[] = { "self","checkable", NULL };
8304
8305 self = self;
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
8307 return NULL;
8308 if (_argo0) {
8309 if (_argo0 == Py_None) { _arg0 = NULL; }
8310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8312 return NULL;
8313 }
8314 }
8315 _arg1 = (bool ) tempbool1;
8316 {
8317 wxPy_BEGIN_ALLOW_THREADS;
8318 wxMenuItem_SetCheckable(_arg0,_arg1);
8319
8320 wxPy_END_ALLOW_THREADS;
8321 } Py_INCREF(Py_None);
8322 _resultobj = Py_None;
8323 return _resultobj;
8324 }
8325
8326 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8327 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject * _resultobj;
8329 bool _result;
8330 wxMenuItem * _arg0;
8331 PyObject * _argo0 = 0;
8332 char *_kwnames[] = { "self", NULL };
8333
8334 self = self;
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
8336 return NULL;
8337 if (_argo0) {
8338 if (_argo0 == Py_None) { _arg0 = NULL; }
8339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8341 return NULL;
8342 }
8343 }
8344 {
8345 wxPy_BEGIN_ALLOW_THREADS;
8346 _result = (bool )wxMenuItem_IsCheckable(_arg0);
8347
8348 wxPy_END_ALLOW_THREADS;
8349 } _resultobj = Py_BuildValue("i",_result);
8350 return _resultobj;
8351 }
8352
8353 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8354 static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject * _resultobj;
8356 bool _result;
8357 wxMenuItem * _arg0;
8358 PyObject * _argo0 = 0;
8359 char *_kwnames[] = { "self", NULL };
8360
8361 self = self;
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
8363 return NULL;
8364 if (_argo0) {
8365 if (_argo0 == Py_None) { _arg0 = NULL; }
8366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8368 return NULL;
8369 }
8370 }
8371 {
8372 wxPy_BEGIN_ALLOW_THREADS;
8373 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
8374
8375 wxPy_END_ALLOW_THREADS;
8376 } _resultobj = Py_BuildValue("i",_result);
8377 return _resultobj;
8378 }
8379
8380 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8381 static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject * _resultobj;
8383 wxMenuItem * _arg0;
8384 wxMenu * _arg1;
8385 PyObject * _argo0 = 0;
8386 PyObject * _argo1 = 0;
8387 char *_kwnames[] = { "self","menu", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8396 return NULL;
8397 }
8398 }
8399 if (_argo1) {
8400 if (_argo1 == Py_None) { _arg1 = NULL; }
8401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8403 return NULL;
8404 }
8405 }
8406 {
8407 wxPy_BEGIN_ALLOW_THREADS;
8408 wxMenuItem_SetSubMenu(_arg0,_arg1);
8409
8410 wxPy_END_ALLOW_THREADS;
8411 } Py_INCREF(Py_None);
8412 _resultobj = Py_None;
8413 return _resultobj;
8414 }
8415
8416 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8417 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject * _resultobj;
8419 wxMenu * _result;
8420 wxMenuItem * _arg0;
8421 PyObject * _argo0 = 0;
8422 char *_kwnames[] = { "self", NULL };
8423 char _ptemp[128];
8424
8425 self = self;
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
8427 return NULL;
8428 if (_argo0) {
8429 if (_argo0 == Py_None) { _arg0 = NULL; }
8430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8432 return NULL;
8433 }
8434 }
8435 {
8436 wxPy_BEGIN_ALLOW_THREADS;
8437 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
8438
8439 wxPy_END_ALLOW_THREADS;
8440 } if (_result) {
8441 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8442 _resultobj = Py_BuildValue("s",_ptemp);
8443 } else {
8444 Py_INCREF(Py_None);
8445 _resultobj = Py_None;
8446 }
8447 return _resultobj;
8448 }
8449
8450 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8451 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject * _resultobj;
8453 wxMenuItem * _arg0;
8454 bool _arg1 = (bool ) TRUE;
8455 PyObject * _argo0 = 0;
8456 int tempbool1 = (int) TRUE;
8457 char *_kwnames[] = { "self","enable", NULL };
8458
8459 self = self;
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
8461 return NULL;
8462 if (_argo0) {
8463 if (_argo0 == Py_None) { _arg0 = NULL; }
8464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8466 return NULL;
8467 }
8468 }
8469 _arg1 = (bool ) tempbool1;
8470 {
8471 wxPy_BEGIN_ALLOW_THREADS;
8472 wxMenuItem_Enable(_arg0,_arg1);
8473
8474 wxPy_END_ALLOW_THREADS;
8475 } Py_INCREF(Py_None);
8476 _resultobj = Py_None;
8477 return _resultobj;
8478 }
8479
8480 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8481 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject * _resultobj;
8483 bool _result;
8484 wxMenuItem * _arg0;
8485 PyObject * _argo0 = 0;
8486 char *_kwnames[] = { "self", NULL };
8487
8488 self = self;
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
8490 return NULL;
8491 if (_argo0) {
8492 if (_argo0 == Py_None) { _arg0 = NULL; }
8493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8495 return NULL;
8496 }
8497 }
8498 {
8499 wxPy_BEGIN_ALLOW_THREADS;
8500 _result = (bool )wxMenuItem_IsEnabled(_arg0);
8501
8502 wxPy_END_ALLOW_THREADS;
8503 } _resultobj = Py_BuildValue("i",_result);
8504 return _resultobj;
8505 }
8506
8507 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8508 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject * _resultobj;
8510 wxMenuItem * _arg0;
8511 bool _arg1 = (bool ) TRUE;
8512 PyObject * _argo0 = 0;
8513 int tempbool1 = (int) TRUE;
8514 char *_kwnames[] = { "self","check", NULL };
8515
8516 self = self;
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
8518 return NULL;
8519 if (_argo0) {
8520 if (_argo0 == Py_None) { _arg0 = NULL; }
8521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8523 return NULL;
8524 }
8525 }
8526 _arg1 = (bool ) tempbool1;
8527 {
8528 wxPy_BEGIN_ALLOW_THREADS;
8529 wxMenuItem_Check(_arg0,_arg1);
8530
8531 wxPy_END_ALLOW_THREADS;
8532 } Py_INCREF(Py_None);
8533 _resultobj = Py_None;
8534 return _resultobj;
8535 }
8536
8537 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8538 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject * _resultobj;
8540 bool _result;
8541 wxMenuItem * _arg0;
8542 PyObject * _argo0 = 0;
8543 char *_kwnames[] = { "self", NULL };
8544
8545 self = self;
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
8547 return NULL;
8548 if (_argo0) {
8549 if (_argo0 == Py_None) { _arg0 = NULL; }
8550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8552 return NULL;
8553 }
8554 }
8555 {
8556 wxPy_BEGIN_ALLOW_THREADS;
8557 _result = (bool )wxMenuItem_IsChecked(_arg0);
8558
8559 wxPy_END_ALLOW_THREADS;
8560 } _resultobj = Py_BuildValue("i",_result);
8561 return _resultobj;
8562 }
8563
8564 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8565 static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject * _resultobj;
8567 wxMenuItem * _arg0;
8568 PyObject * _argo0 = 0;
8569 char *_kwnames[] = { "self", NULL };
8570
8571 self = self;
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
8573 return NULL;
8574 if (_argo0) {
8575 if (_argo0 == Py_None) { _arg0 = NULL; }
8576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8578 return NULL;
8579 }
8580 }
8581 {
8582 wxPy_BEGIN_ALLOW_THREADS;
8583 wxMenuItem_Toggle(_arg0);
8584
8585 wxPy_END_ALLOW_THREADS;
8586 } Py_INCREF(Py_None);
8587 _resultobj = Py_None;
8588 return _resultobj;
8589 }
8590
8591 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8592 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject * _resultobj;
8594 wxMenuItem * _arg0;
8595 wxString * _arg1;
8596 PyObject * _argo0 = 0;
8597 PyObject * _obj1 = 0;
8598 char *_kwnames[] = { "self","str", NULL };
8599
8600 self = self;
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
8602 return NULL;
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8607 return NULL;
8608 }
8609 }
8610 {
8611 if (!PyString_Check(_obj1)) {
8612 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8613 return NULL;
8614 }
8615 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8616 }
8617 {
8618 wxPy_BEGIN_ALLOW_THREADS;
8619 wxMenuItem_SetHelp(_arg0,*_arg1);
8620
8621 wxPy_END_ALLOW_THREADS;
8622 } Py_INCREF(Py_None);
8623 _resultobj = Py_None;
8624 {
8625 if (_obj1)
8626 delete _arg1;
8627 }
8628 return _resultobj;
8629 }
8630
8631 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8632 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject * _resultobj;
8634 wxString * _result;
8635 wxMenuItem * _arg0;
8636 PyObject * _argo0 = 0;
8637 char *_kwnames[] = { "self", NULL };
8638
8639 self = self;
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
8641 return NULL;
8642 if (_argo0) {
8643 if (_argo0 == Py_None) { _arg0 = NULL; }
8644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8646 return NULL;
8647 }
8648 }
8649 {
8650 wxPy_BEGIN_ALLOW_THREADS;
8651 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
8652 _result = (wxString *) &_result_ref;
8653
8654 wxPy_END_ALLOW_THREADS;
8655 }{
8656 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8657 }
8658 return _resultobj;
8659 }
8660
8661 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8662 static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject * _resultobj;
8664 wxAcceleratorEntry * _result;
8665 wxMenuItem * _arg0;
8666 PyObject * _argo0 = 0;
8667 char *_kwnames[] = { "self", NULL };
8668 char _ptemp[128];
8669
8670 self = self;
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
8672 return NULL;
8673 if (_argo0) {
8674 if (_argo0 == Py_None) { _arg0 = NULL; }
8675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8677 return NULL;
8678 }
8679 }
8680 {
8681 wxPy_BEGIN_ALLOW_THREADS;
8682 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
8683
8684 wxPy_END_ALLOW_THREADS;
8685 } if (_result) {
8686 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
8687 _resultobj = Py_BuildValue("s",_ptemp);
8688 } else {
8689 Py_INCREF(Py_None);
8690 _resultobj = Py_None;
8691 }
8692 return _resultobj;
8693 }
8694
8695 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8696 static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject * _resultobj;
8698 wxMenuItem * _arg0;
8699 wxAcceleratorEntry * _arg1;
8700 PyObject * _argo0 = 0;
8701 PyObject * _argo1 = 0;
8702 char *_kwnames[] = { "self","accel", NULL };
8703
8704 self = self;
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
8706 return NULL;
8707 if (_argo0) {
8708 if (_argo0 == Py_None) { _arg0 = NULL; }
8709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8711 return NULL;
8712 }
8713 }
8714 if (_argo1) {
8715 if (_argo1 == Py_None) { _arg1 = NULL; }
8716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
8717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8718 return NULL;
8719 }
8720 }
8721 {
8722 wxPy_BEGIN_ALLOW_THREADS;
8723 wxMenuItem_SetAccel(_arg0,_arg1);
8724
8725 wxPy_END_ALLOW_THREADS;
8726 } Py_INCREF(Py_None);
8727 _resultobj = Py_None;
8728 return _resultobj;
8729 }
8730
8731 static PyMethodDef windowscMethods[] = {
8732 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
8733 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
8734 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
8735 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
8736 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
8737 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
8738 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
8739 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8740 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
8741 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
8742 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
8743 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
8744 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
8745 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
8746 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
8747 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
8748 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
8749 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
8750 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
8751 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
8752 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
8753 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
8754 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
8755 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
8756 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
8757 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
8758 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8759 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
8760 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
8761 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
8762 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
8763 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
8764 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
8765 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
8766 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
8767 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
8768 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
8769 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
8770 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
8771 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
8772 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
8773 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
8774 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
8775 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
8776 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
8777 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
8778 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
8779 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
8780 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8781 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8782 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
8783 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
8784 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
8785 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
8786 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
8787 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
8788 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
8789 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
8790 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
8791 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
8792 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
8793 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
8794 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
8795 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
8796 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
8797 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
8798 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
8799 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
8800 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
8801 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8802 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
8803 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
8804 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
8805 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
8806 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
8807 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
8808 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
8809 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
8810 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
8811 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
8812 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
8813 { "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
8814 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
8815 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
8816 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
8817 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
8818 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
8819 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
8820 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
8821 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
8822 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
8823 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
8824 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
8825 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
8826 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
8827 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
8828 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
8829 { "wxDialog_Show", (PyCFunction) _wrap_wxDialog_Show, METH_VARARGS | METH_KEYWORDS },
8830 { "wxDialog_SetTitle", (PyCFunction) _wrap_wxDialog_SetTitle, METH_VARARGS | METH_KEYWORDS },
8831 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
8832 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
8833 { "wxDialog_IsIconized", (PyCFunction) _wrap_wxDialog_IsIconized, METH_VARARGS | METH_KEYWORDS },
8834 { "wxDialog_Iconize", (PyCFunction) _wrap_wxDialog_Iconize, METH_VARARGS | METH_KEYWORDS },
8835 { "wxDialog_GetTitle", (PyCFunction) _wrap_wxDialog_GetTitle, METH_VARARGS | METH_KEYWORDS },
8836 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
8837 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
8838 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
8839 { "wxPanel_SetDefaultItem", (PyCFunction) _wrap_wxPanel_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
8840 { "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
8841 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
8842 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
8843 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
8844 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
8845 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
8846 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
8847 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
8848 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
8849 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
8850 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
8851 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
8852 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
8853 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
8854 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
8855 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
8856 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
8857 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
8858 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
8859 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
8860 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
8861 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
8862 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
8863 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
8864 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
8865 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
8866 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8867 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
8868 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
8869 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
8870 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
8871 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
8872 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
8873 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
8874 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
8875 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
8876 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
8877 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
8878 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
8879 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
8880 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
8881 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
8882 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
8883 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
8884 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
8885 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
8886 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
8887 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
8888 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
8889 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
8890 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
8891 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
8892 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
8893 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
8894 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
8895 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
8896 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
8897 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
8898 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
8899 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
8900 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
8901 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
8902 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
8903 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
8904 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
8905 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
8906 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
8907 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
8908 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
8909 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
8910 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
8911 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
8912 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8913 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
8914 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
8915 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
8916 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
8917 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
8918 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
8919 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
8920 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
8921 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
8922 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
8923 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
8924 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
8925 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
8926 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
8927 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
8928 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
8929 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
8930 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
8931 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
8932 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
8933 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
8934 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
8935 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
8936 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
8937 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8938 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
8939 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
8940 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
8941 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
8942 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
8943 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
8944 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
8945 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
8946 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
8947 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
8948 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
8949 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
8950 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
8951 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
8952 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
8953 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
8954 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
8955 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
8956 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
8957 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
8958 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
8959 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
8960 { "wxPyValidator__setSelf", (PyCFunction) _wrap_wxPyValidator__setSelf, METH_VARARGS | METH_KEYWORDS },
8961 { "wxPyValidator_Destroy", (PyCFunction) _wrap_wxPyValidator_Destroy, METH_VARARGS | METH_KEYWORDS },
8962 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
8963 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
8964 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
8965 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
8966 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
8967 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
8968 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
8969 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8970 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
8971 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8972 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
8973 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
8974 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
8975 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
8976 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
8977 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
8978 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
8979 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
8980 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
8981 { NULL, NULL }
8982 };
8983 #ifdef __cplusplus
8984 }
8985 #endif
8986 /*
8987 * This table is used by the pointer type-checker
8988 */
8989 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8990 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8991 { "_signed_long","_long",0},
8992 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8993 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8994 { "_wxPrintQuality","_wxCoord",0},
8995 { "_wxPrintQuality","_int",0},
8996 { "_wxPrintQuality","_signed_int",0},
8997 { "_wxPrintQuality","_unsigned_int",0},
8998 { "_wxPrintQuality","_wxWindowID",0},
8999 { "_wxPrintQuality","_uint",0},
9000 { "_wxPrintQuality","_EBool",0},
9001 { "_wxPrintQuality","_size_t",0},
9002 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9003 { "_class_wxRegionIterator","_wxRegionIterator",0},
9004 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9005 { "_class_wxMenuBar","_wxMenuBar",0},
9006 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
9007 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
9008 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
9009 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
9010 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
9011 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
9012 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
9013 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
9014 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
9015 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
9016 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
9017 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
9018 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
9019 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
9020 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
9021 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
9022 { "_class_wxEvtHandler","_wxEvtHandler",0},
9023 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9024 { "_wxCursor","_class_wxCursor",0},
9025 { "_wxMask","_class_wxMask",0},
9026 { "_wxPen","_class_wxPen",0},
9027 { "_byte","_unsigned_char",0},
9028 { "_wxDataObject","_class_wxDataObject",0},
9029 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9030 { "_wxPyDropSource","_class_wxPyDropSource",0},
9031 { "_long","_unsigned_long",0},
9032 { "_long","_signed_long",0},
9033 { "_wxImageList","_class_wxImageList",0},
9034 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9035 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9036 { "_class_wxClipboard","_wxClipboard",0},
9037 { "_wxDC","_class_wxDC",0},
9038 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9039 { "_size_t","_wxCoord",0},
9040 { "_size_t","_wxPrintQuality",0},
9041 { "_size_t","_unsigned_int",0},
9042 { "_size_t","_int",0},
9043 { "_size_t","_wxWindowID",0},
9044 { "_size_t","_uint",0},
9045 { "_class_wxRealPoint","_wxRealPoint",0},
9046 { "_class_wxMenuItem","_wxMenuItem",0},
9047 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9048 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
9049 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
9050 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
9051 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
9052 { "_wxPanel","_class_wxPanel",0},
9053 { "_class_wxMask","_wxMask",0},
9054 { "_wxTextDataObject","_class_wxTextDataObject",0},
9055 { "_wxColour","_class_wxColour",0},
9056 { "_class_wxDialog","_wxDialog",0},
9057 { "_class_wxFileDataObject","_wxFileDataObject",0},
9058 { "_class_wxDataObject","_wxDataObject",0},
9059 { "_wxBrush","_class_wxBrush",0},
9060 { "_wxDataFormat","_class_wxDataFormat",0},
9061 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9062 { "_uint","_wxCoord",0},
9063 { "_uint","_wxPrintQuality",0},
9064 { "_uint","_size_t",0},
9065 { "_uint","_unsigned_int",0},
9066 { "_uint","_int",0},
9067 { "_uint","_wxWindowID",0},
9068 { "_wxPyValidator","_class_wxPyValidator",0},
9069 { "_wxRect","_class_wxRect",0},
9070 { "_wxPoint","_class_wxPoint",0},
9071 { "_wxBitmap","_class_wxBitmap",0},
9072 { "_char","_wxDash",0},
9073 { "_wxPyTimer","_class_wxPyTimer",0},
9074 { "_wxWindowDC","_class_wxWindowDC",0},
9075 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9076 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
9077 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
9078 { "_class_wxValidator","_wxValidator",0},
9079 { "_wxDropTarget","_class_wxDropTarget",0},
9080 { "_EBool","_wxCoord",0},
9081 { "_EBool","_wxPrintQuality",0},
9082 { "_EBool","_signed_int",0},
9083 { "_EBool","_int",0},
9084 { "_EBool","_wxWindowID",0},
9085 { "_class_wxRegion","_wxRegion",0},
9086 { "_class_wxDataFormat","_wxDataFormat",0},
9087 { "_wxFont","_class_wxFont",0},
9088 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9089 { "_unsigned_long","_long",0},
9090 { "_class_wxRect","_wxRect",0},
9091 { "_class_wxDC","_wxDC",0},
9092 { "_class_wxPyTimer","_wxPyTimer",0},
9093 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9094 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
9095 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
9096 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
9097 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
9098 { "_class_wxPanel","_wxPanel",0},
9099 { "_signed_int","_wxCoord",0},
9100 { "_signed_int","_wxPrintQuality",0},
9101 { "_signed_int","_EBool",0},
9102 { "_signed_int","_wxWindowID",0},
9103 { "_signed_int","_int",0},
9104 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9105 { "_class_wxTextDataObject","_wxTextDataObject",0},
9106 { "_wxMenu","_class_wxMenu",0},
9107 { "_wxScreenDC","_class_wxScreenDC",0},
9108 { "_WXTYPE","_short",0},
9109 { "_WXTYPE","_signed_short",0},
9110 { "_WXTYPE","_unsigned_short",0},
9111 { "_class_wxDropTarget","_wxDropTarget",0},
9112 { "_class_wxBrush","_wxBrush",0},
9113 { "_unsigned_short","_WXTYPE",0},
9114 { "_unsigned_short","_short",0},
9115 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
9116 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
9117 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
9118 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
9119 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
9120 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
9121 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
9122 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
9123 { "_class_wxWindow","_wxWindow",0},
9124 { "_class_wxFont","_wxFont",0},
9125 { "_wxClipboard","_class_wxClipboard",0},
9126 { "_class_wxPyValidator","_wxPyValidator",0},
9127 { "_wxBusyInfo","_class_wxBusyInfo",0},
9128 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9129 { "_wxClientDC","_class_wxClientDC",0},
9130 { "_class_wxPoint","_wxPoint",0},
9131 { "_wxRealPoint","_class_wxRealPoint",0},
9132 { "_signed_short","_WXTYPE",0},
9133 { "_signed_short","_short",0},
9134 { "_wxMemoryDC","_class_wxMemoryDC",0},
9135 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9136 { "_wxPaintDC","_class_wxPaintDC",0},
9137 { "_class_wxWindowDC","_wxWindowDC",0},
9138 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9139 { "_class_wxCursor","_wxCursor",0},
9140 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9141 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9142 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9143 { "_unsigned_char","_byte",0},
9144 { "_class_wxMenu","_wxMenu",0},
9145 { "_unsigned_int","_wxCoord",0},
9146 { "_unsigned_int","_wxPrintQuality",0},
9147 { "_unsigned_int","_size_t",0},
9148 { "_unsigned_int","_uint",0},
9149 { "_unsigned_int","_wxWindowID",0},
9150 { "_unsigned_int","_int",0},
9151 { "_wxIcon","_class_wxIcon",0},
9152 { "_wxDialog","_class_wxDialog",0},
9153 { "_class_wxPen","_wxPen",0},
9154 { "_short","_WXTYPE",0},
9155 { "_short","_unsigned_short",0},
9156 { "_short","_signed_short",0},
9157 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9158 { "_class_wxPyDropSource","_wxPyDropSource",0},
9159 { "_class_wxImageList","_wxImageList",0},
9160 { "_wxWindowID","_wxCoord",0},
9161 { "_wxWindowID","_wxPrintQuality",0},
9162 { "_wxWindowID","_size_t",0},
9163 { "_wxWindowID","_EBool",0},
9164 { "_wxWindowID","_uint",0},
9165 { "_wxWindowID","_int",0},
9166 { "_wxWindowID","_signed_int",0},
9167 { "_wxWindowID","_unsigned_int",0},
9168 { "_int","_wxCoord",0},
9169 { "_int","_wxPrintQuality",0},
9170 { "_int","_size_t",0},
9171 { "_int","_EBool",0},
9172 { "_int","_uint",0},
9173 { "_int","_wxWindowID",0},
9174 { "_int","_unsigned_int",0},
9175 { "_int","_signed_int",0},
9176 { "_wxSize","_class_wxSize",0},
9177 { "_wxRegionIterator","_class_wxRegionIterator",0},
9178 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9179 { "_class_wxPaintDC","_wxPaintDC",0},
9180 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9181 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
9182 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
9183 { "_wxValidator","_class_wxValidator",0},
9184 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9185 { "_class_wxIcon","_wxIcon",0},
9186 { "_class_wxColour","_wxColour",0},
9187 { "_class_wxScreenDC","_wxScreenDC",0},
9188 { "_wxPalette","_class_wxPalette",0},
9189 { "_wxCoord","_int",0},
9190 { "_wxCoord","_signed_int",0},
9191 { "_wxCoord","_unsigned_int",0},
9192 { "_wxCoord","_wxWindowID",0},
9193 { "_wxCoord","_uint",0},
9194 { "_wxCoord","_EBool",0},
9195 { "_wxCoord","_size_t",0},
9196 { "_wxCoord","_wxPrintQuality",0},
9197 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9198 { "_wxRegion","_class_wxRegion",0},
9199 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9200 { "_class_wxBusyInfo","_wxBusyInfo",0},
9201 { "_class_wxClientDC","_wxClientDC",0},
9202 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9203 { "_class_wxSize","_wxSize",0},
9204 { "_class_wxBitmap","_wxBitmap",0},
9205 { "_class_wxMemoryDC","_wxMemoryDC",0},
9206 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9207 { "_wxMenuBar","_class_wxMenuBar",0},
9208 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
9209 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
9210 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
9211 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
9212 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
9213 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
9214 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
9215 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
9216 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
9217 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
9218 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
9219 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
9220 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
9221 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
9222 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
9223 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
9224 { "_wxEvtHandler","_class_wxEvtHandler",0},
9225 { "_wxMenuItem","_class_wxMenuItem",0},
9226 { "_wxDash","_char",0},
9227 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9228 { "_class_wxPalette","_wxPalette",0},
9229 { "_wxFileDataObject","_class_wxFileDataObject",0},
9230 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9231 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
9232 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
9233 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
9234 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
9235 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
9236 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
9237 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
9238 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
9239 { "_wxWindow","_class_wxWindow",0},
9240 {0,0,0}};
9241
9242 static PyObject *SWIG_globals;
9243 #ifdef __cplusplus
9244 extern "C"
9245 #endif
9246 SWIGEXPORT(void) initwindowsc() {
9247 PyObject *m, *d;
9248 SWIG_globals = SWIG_newvarlink();
9249 m = Py_InitModule("windowsc", windowscMethods);
9250 d = PyModule_GetDict(m);
9251 {
9252 int i;
9253 for (i = 0; _swig_mapping[i].n1; i++)
9254 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
9255 }
9256 }