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