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