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