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