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