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