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