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