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