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