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