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