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