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