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