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