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